<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Silicon Co-Design: Digital AI SW Architecture]]></title><description><![CDATA[This section contains more digital and AI Software related topics]]></description><link>https://www.siliconcodesign.com/s/digital-ai-arch</link><image><url>https://substackcdn.com/image/fetch/$s_!zk4Z!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e3afa0d-f6a9-41c3-9784-4ea1c049266d_509x509.png</url><title>Silicon Co-Design: Digital AI SW Architecture</title><link>https://www.siliconcodesign.com/s/digital-ai-arch</link></image><generator>Substack</generator><lastBuildDate>Mon, 10 Aug 2026 15:39:39 GMT</lastBuildDate><atom:link href="https://www.siliconcodesign.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Chad Wallace]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[chadw@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[chadw@substack.com]]></itunes:email><itunes:name><![CDATA[Chad]]></itunes:name></itunes:owner><itunes:author><![CDATA[Chad]]></itunes:author><googleplay:owner><![CDATA[chadw@substack.com]]></googleplay:owner><googleplay:email><![CDATA[chadw@substack.com]]></googleplay:email><googleplay:author><![CDATA[Chad]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Design Automation Conference 2026 - The Bottlenecks that Limit AI Use in Chip Design]]></title><description><![CDATA[VLSI fundamentals, vibe coding RTL, why chip design takes so long, and key bottlenecks that limit AI use in chip design to quality-of-life enhancements]]></description><link>https://www.siliconcodesign.com/p/design-automation-conference-2026</link><guid isPermaLink="false">https://www.siliconcodesign.com/p/design-automation-conference-2026</guid><dc:creator><![CDATA[Chad]]></dc:creator><pubDate>Tue, 04 Aug 2026 16:52:21 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/c36d237f-e35f-4e27-8b72-56d2735d6471_1688x899.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2UOH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2UOH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2UOH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2UOH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2UOH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2UOH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14236947,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/208372649?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!2UOH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2UOH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2UOH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2UOH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c5740c7-5683-43df-bd83-bfa1c8ffda6e_6000x4000.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">AI is EDA is not as effective as pundits claim it to be, for now. Artour Levin, CVP AI Silicon Engineering, Microsoft, &#8220;EDA Opportunities in building high performance AI accelerators&#8221; DAC 2026 </figcaption></figure></div><p>AI will not replace chip designers anytime soon. In fact, AI has made chip design even harder in many ways. This post will illustrate why from first principles by covering the following topics:</p><ul><li><p>High Level Overview of VLSI Design Process</p></li><li><p>Vibe Coding RTL &#8211; Systolic Array example</p><ul><li><p>Benefits and Risks</p></li></ul></li><li><p>Why Chip Design Takes So Long: Cost of Error due to Fab Bottlenecks</p></li><li><p>Key Bottlenecks that Limit AI use in Chip Design to Quality-of-Life Enhancements</p><ul><li><p><span>&#128274;</span>Functional Verification</p></li><li><p>&#128274;Physical Co-design: Modularity and Thermal/PDN/SI/Packaging Constraints</p></li><li><p><span>&#128274;</span>AI-Driven Design Space Exploration </p></li><li><p><span>&#128274;</span>The Hidden &#8220;Memory Wall&#8221; - Compute Resource Bottlenecks </p></li></ul></li></ul><p>I went to the floor of the Design Automation Conference on July 26-29 in Long Beach, CA. This is conference #5 of a broader conference tour this year (ISSCC, DesignCon, APEC, and ECTC) where I&#8217;ve worked my way up in abstraction levels to better understand the complete AI datacenter stack and educate you on it.</p><p>I&#8217;ve noticed a lot of prominent writers who don&#8217;t know much about chip design speculate about how Agentic AI will impact it. Most people assume that AI will have the same disruptive impact in the SW and chip industries since software and RTL code can easily be generated with LLMs, creating a lot of FUD.</p><p>I&#8217;ll highlight the benefits of AI with a vibe coding tutorial of RTL and how chip designers can benefit. Then I&#8217;ll show the critical flow differences in chip design that need to be scrutinized and cause veteran engineers to not completely trust AI.</p><p>Please note that I have more experience in analog / mixed signal design, not digital design. I have interfaced with digital / verification people and written my share of VerilogAMS to have a working understanding of the VLSI design flow. I reference the book &#8220;<strong>VLSI Physical Design: From Graph Partitioning to Timing Closure&#8221; </strong>for more detailed flow information.</p><p>As always, if you&#8217;re an expert in this area and notice a mistake, please reach out to me so I can have it promptly corrected.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Silicon Co-Design is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h2><span>High Level Overview of VLSI Design Flow</span></h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Yo_3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Yo_3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png 424w, https://substackcdn.com/image/fetch/$s_!Yo_3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png 848w, https://substackcdn.com/image/fetch/$s_!Yo_3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png 1272w, https://substackcdn.com/image/fetch/$s_!Yo_3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Yo_3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png" width="929" height="523" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:523,&quot;width&quot;:929,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:382215,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203497021?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!Yo_3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png 424w, https://substackcdn.com/image/fetch/$s_!Yo_3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png 848w, https://substackcdn.com/image/fetch/$s_!Yo_3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png 1272w, https://substackcdn.com/image/fetch/$s_!Yo_3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47a4f469-dcc9-455c-8d5b-8f4e1800f73e_929x523.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Mark Ren &#8220;Agentic AI for Chip Design: Agentic Design Automation (ADA) beyond EDA&#8221; DesignCon 2026</figcaption></figure></div><p>Chips have become much more complex over the years due to a well known phenomenon of Moore&#8217;s law. Moore&#8217;s law enables more transistors to be placed and doubling compute density about every two years. <strong>Very Large Scale Integration (VLSI) </strong>is the umbrella term used to refer to the tight integration density of the various classes of chips (SoC, GPU, ASIC, FPGA).</p><p>Automation is necessary for chip design because of the <strong>sheer design complexity</strong> and <strong>errors in chip designs are much harder and costly to fix that board-level errors</strong>. As a result, the entire EDA industry revolves around <strong>robust automation tools</strong> to perform a lot of complicated steps automatically. Only low-level JP and customized analog blocks tend to be hand drawn and instantiated by the tool at higher lever assemblies. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nfLo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nfLo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png 424w, https://substackcdn.com/image/fetch/$s_!nfLo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png 848w, https://substackcdn.com/image/fetch/$s_!nfLo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png 1272w, https://substackcdn.com/image/fetch/$s_!nfLo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nfLo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png" width="915" height="522" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/580eda58-025e-481a-ac58-4303f12f0deb_915x522.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:522,&quot;width&quot;:915,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:104814,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203497021?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!nfLo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png 424w, https://substackcdn.com/image/fetch/$s_!nfLo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png 848w, https://substackcdn.com/image/fetch/$s_!nfLo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png 1272w, https://substackcdn.com/image/fetch/$s_!nfLo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F580eda58-025e-481a-ac58-4303f12f0deb_915x522.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Mark Ren &#8220;Agentic AI for Chip Design: Agentic Design Automation (ADA) beyond EDA&#8221; DesignCon 2026</figcaption></figure></div><p>At a DesignCon keynote &#8220;Agentic AI for Chip Design&#8221;, Mark Ren, founder and CEO of AGENTRYS, notes how <strong>EDA tools flow raised the abstraction level that humans operate at</strong>. AI enables an even higher level of abstraction by allowing engineers to specify design intent in plain language rather than a specific programming language.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4yV7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4yV7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!4yV7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!4yV7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!4yV7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4yV7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:12663962,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203497021?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!4yV7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!4yV7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!4yV7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!4yV7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39e0818f-0572-4c1e-b3cf-a5885f669f2e_6000x4000.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Marc Halpern, Gartner, &#8220;Deterministic, Solver&#8209;Accurate Physics Intelligence for Chips&#8209;to&#8209;Systems Design: What Breaks, What Validates, What Automates&#8221; DAC 2026</figcaption></figure></div><p>The goal of the VLSI design process is to produce a fabricable, error free mask that implements the desired system specification within the constraints of the fabrication Process Development Kit (PDK). The VLSI design process evolved over time to incorporate the following major steps:</p><ul><li><p><strong>System Specification. </strong>The overall high level goals of the system are defined collectively amongst chip architects, product marketers, and ASIC engineers</p></li><li><p><strong>Architectural Design.</strong> An architecture must be defined to achieve the high level goals of the system. These include:</p><ul><li><p>Analog/Mixed-Signal Blocks - ADCs/DACs, regulators </p></li><li><p>Digital Blocks - DSPs, and types of computational blocks </p></li><li><p>Interfaces - I2C, UCIe, PCIe</p></li><li><p>Hard / Soft IP </p></li><li><p>Packaging</p></li><li><p>Clocking Architecture</p></li><li><p>Process Node</p></li></ul></li><li><p><strong>Functional Design and Logic Design</strong> - Logic design is performed at the RTL level using a HDL such as Verilog or VHDL. </p></li><li><p><strong>Custom Circuit Design - </strong>A handful of critical blocks such as ESD protection, I/O, analog circuits, and RAM blocks have to be hand-designed. </p><ul><li><p>Companies can develop these IP in house with library / IP teams across major projects or license IP from specific vendors.</p></li><li><p>In some cases of one-time jobs, such as customized analog blocks, companies can utilize <strong>contract labor</strong> to complete the work if there is not a steady workload for a W2 employee. </p></li></ul></li><li><p><strong>Physical Design - </strong>The RTL is synthesized and billions of design components get instantiated with their geometric representations using highly sophisticated Place-and-Route Tools. Physical design is highly iterative and includes the following steps:</p><ul><li><p>Partitioning</p></li><li><p>Floorplanning</p></li><li><p>Placement</p></li><li><p>Clock tree Synthesis</p></li><li><p>Routing</p></li><li><p>Timing / Power Closure</p></li></ul></li><li><p><strong>Physical Verification and Signoff. </strong>The layout needs to be checked against different design rules defined by the fab (DRC, LVS)</p><ul><li><p>The design needs to be officially &#8220;signed off&#8221; by specific tools to keep a paper trail should errors arise down the line. These tools often have valuable information in the logfiles that can pinpoint sources of errors. Design waivers can be made to in special circumstances to overcome tool constraints and are agreed upon in design reviews, but are generally avoided at all costs. </p></li></ul></li><li><p><strong>Fabrication</strong> - The final layout is streamed out as a GDSII Stream format and is sent to a fab. </p></li><li><p><strong>Packaging and Testing</strong> - The chips are packaged using appropriate package types such as DIPs, PGA, BPA, flip chip, or WLCSP. </p></li></ul><p>The design flow is <strong>iterative, </strong>with engineers making design choices at each step based on simulation feedback before handing off the work to the next step. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Jp-R!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Jp-R!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Jp-R!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Jp-R!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Jp-R!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Jp-R!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/be42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13173635,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/208372649?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Jp-R!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Jp-R!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Jp-R!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Jp-R!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe42684f-f51d-4e2d-9edc-a7506b72d64e_6000x4000.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Marc Halpern, Gartner, &#8220;Deterministic, Solver&#8209;Accurate Physics Intelligence for Chips&#8209;to&#8209;Systems Design: What Breaks, What Validates, What Automates&#8221; DAC 2026</figcaption></figure></div><p>Chip design has historically been siloed with well-defined specialties and tool flows developed within each specialty to maintain consistent flows along process node improvements. This approach has worked to scale chip performance for a number of years, but the slowing down of Moore&#8217;s law and multiphysics constraints had led to a <strong>paradigm shift toward cross-domain engineering</strong>. This approach requires a shift in engineering mindset that is not always easy to transition to due to entrenched organizational incentives. This substack aims to facilitate that mindset shift by making cross-domain information easier to access.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Silicon Co-Design is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h2><span>Vibe Coding RTL &#8211; Systolic Array example</span></h2><p>Before I talk about the challenges of AI for chip design, I&#8217;ll highlight a positive example of how AI can benefit chip designers: code generation of RTL.</p><p>At the beginning of DAC, Steven Truitt, Nan Wu, and Liu Liu gave a very good tutorial &#8220;<strong>From Vibe Coding to Silicon: Engineering Agentic Systems for Hardware Design</strong>&#8221; using <strong>Microsoft Discovery</strong>. Their GitHub is public at the following link that you can check out:</p><p><a href="https://github.com/stevetru1/DAC2026_Vibes">https://github.com/stevetru1/DAC2026_Vibes</a></p><p><a href="https://github.com/ORCA-lab/DAC26_VibeCoding_Runs">https://github.com/ORCA-lab/DAC26_VibeCoding_Runs</a></p><h4>What is Vibe Engineering</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ch6q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ch6q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png 424w, https://substackcdn.com/image/fetch/$s_!Ch6q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png 848w, https://substackcdn.com/image/fetch/$s_!Ch6q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png 1272w, https://substackcdn.com/image/fetch/$s_!Ch6q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ch6q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png" width="1248" height="670" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:670,&quot;width&quot;:1248,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;The diagram illustrates the key differences between traditional engineering and Vibe Coding Engineering, emphasizing Vibe's approach of starting with deep decomposition, focusing on natural language descriptions, and automating code generation.\n\nAI-generated content may be incorrect.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="The diagram illustrates the key differences between traditional engineering and Vibe Coding Engineering, emphasizing Vibe's approach of starting with deep decomposition, focusing on natural language descriptions, and automating code generation.

AI-generated content may be incorrect." title="The diagram illustrates the key differences between traditional engineering and Vibe Coding Engineering, emphasizing Vibe's approach of starting with deep decomposition, focusing on natural language descriptions, and automating code generation.

AI-generated content may be incorrect." srcset="https://substackcdn.com/image/fetch/$s_!Ch6q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png 424w, https://substackcdn.com/image/fetch/$s_!Ch6q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png 848w, https://substackcdn.com/image/fetch/$s_!Ch6q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png 1272w, https://substackcdn.com/image/fetch/$s_!Ch6q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe2b55f-a60e-41be-8d44-c6612283a1bf_1248x670.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Steven Truitt. &#8220;Vibes -&gt; Silicon: Agentic Design for Real Work&#8221; DAC 2026</figcaption></figure></div><p>Vibe engineering is the hottest trend in SW engineering that enables non-SW engineers to code SW and offers productivity enhancements for junior engineer-level tasks. Vibe engineering can also apply to the SW portions of chip design, including RTL coding. </p><p>Vibe engineering involves thinking an <strong>abstraction level higher</strong> than traditional engineering. You rigorously describe your intent in terms of the desired outcome, rather than the programming language, for your agent to perform. The design is iterated on through conversation and feedback loops based on what the agent produces.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4sIl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4sIl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png 424w, https://substackcdn.com/image/fetch/$s_!4sIl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png 848w, https://substackcdn.com/image/fetch/$s_!4sIl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png 1272w, https://substackcdn.com/image/fetch/$s_!4sIl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4sIl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png" width="918" height="496" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:496,&quot;width&quot;:918,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:107900,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/208372649?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4sIl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png 424w, https://substackcdn.com/image/fetch/$s_!4sIl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png 848w, https://substackcdn.com/image/fetch/$s_!4sIl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png 1272w, https://substackcdn.com/image/fetch/$s_!4sIl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eeba73a-6527-40cb-bb13-0e6ba4781c13_918x496.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Nan Wu and Liu Liu. &#8220;From Specification to Real HLS Implementation: DAC26 Vibe Coding Tutorial&#8221; DAC 2026</figcaption></figure></div><p>Here is an example prompt template where the desired outcomes are rigorously specified for the agent.</p><p>One important consideration in vibe engineering is defining the <strong>definition of done</strong>. Task organization up front is extremely important to properly decompose, organize tasks, and build the harness flow for the agent to execute in. The test and evaluation suite is also very important to evaluate agent performance properly. </p><p>Vibe engineering places more emphasis on <strong>judgement in execution</strong> rather than <strong>execution expertise</strong>. The challenge is <strong>figuring out the right thing to build</strong>, instead of <strong>building faster</strong>. As a result, the human layer carries more weight.</p><h4>Example: Systolic Array</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!e8oj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!e8oj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png 424w, https://substackcdn.com/image/fetch/$s_!e8oj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png 848w, https://substackcdn.com/image/fetch/$s_!e8oj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png 1272w, https://substackcdn.com/image/fetch/$s_!e8oj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!e8oj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png" width="921" height="490" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:490,&quot;width&quot;:921,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:79877,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/208372649?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!e8oj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png 424w, https://substackcdn.com/image/fetch/$s_!e8oj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png 848w, https://substackcdn.com/image/fetch/$s_!e8oj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png 1272w, https://substackcdn.com/image/fetch/$s_!e8oj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F743837ef-120c-4eab-8f14-eadf4a719d10_921x490.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Nan Wu and Liu Liu. &#8220;From Specification to Real HLS Implementation: DAC26 Vibe Coding Tutorial&#8221; DAC 2026</figcaption></figure></div><p>One key block in AI accelerated ML applications is the <strong>systolic array.</strong> Systolic arrays are often used for AI acceleration and are typically co-designed to the specific data needs. I&#8217;ve written on Systolic arrays previously in my other posts.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;fe8933e0-dd65-41ae-87c3-9bc4ac783a2d&quot;,&quot;caption&quot;:&quot;I believe its important for people working around AI - ML engineers, semiconductor engineers, and end-users - to have a holistic understanding of AI, including the software interface and hardware underneath that optimizes calculations.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;An Overview of AI Accelerators: MAC Operations, DRAM/SRAM, Performance Metrics, and Architecture  &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:127334549,&quot;name&quot;:&quot;Chad&quot;,&quot;bio&quot;:&quot;Interdisciplinary deep-dives to enable full hardware/software co-design of AI Accelerators: Mixed-Signal ICs, Optical/CPO, high-power PMICs, advanced packaging, and AI Compute Paradigms&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/24d480ae-4576-4826-91fd-2c951dfd0b24_3426x3426.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-01-27T16:01:50.107Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!ZCEN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.siliconcodesign.com/p/ai-accelerators-a-primer&quot;,&quot;section_name&quot;:&quot;Digital AI SW Architecture&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:185475328,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:12,&quot;comment_count&quot;:0,&quot;publication_id&quot;:7378748,&quot;publication_name&quot;:&quot;Silicon Co-Design&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!3NJI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ac30ce-68b7-42f3-b6aa-67d00c07fdb6_328x328.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;cee5c0c2-694e-470f-a2a0-2cd5278f22fc&quot;,&quot;caption&quot;:&quot;Editors Note: (7/22/26): I trimmed the paywall to only paywall the scaling challenges with Analog CiM. This way, you can come away with a mental framework for the components of the Analog CiM.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;A Comprehensive Overview of the AI Accelerator Landscape: From Digital to Analog Compute-in-Memory Architectures&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:127334549,&quot;name&quot;:&quot;Chad&quot;,&quot;bio&quot;:&quot;Interdisciplinary deep-dives to enable full hardware/software co-design of AI Accelerators: Mixed-Signal ICs, Optical/CPO, high-power PMICs, advanced packaging, and AI Compute Paradigms&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/24d480ae-4576-4826-91fd-2c951dfd0b24_3426x3426.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-07-21T16:19:09.349Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!qRyn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.siliconcodesign.com/p/a-comprehensive-overview-of-the-ai&quot;,&quot;section_name&quot;:&quot;Digital AI SW Architecture&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:203531150,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:8,&quot;comment_count&quot;:0,&quot;publication_id&quot;:7378748,&quot;publication_name&quot;:&quot;Silicon Co-Design&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!3NJI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ac30ce-68b7-42f3-b6aa-67d00c07fdb6_328x328.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>A description a vibe coder might give an agent can look something like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xzJf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xzJf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png 424w, https://substackcdn.com/image/fetch/$s_!xzJf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png 848w, https://substackcdn.com/image/fetch/$s_!xzJf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png 1272w, https://substackcdn.com/image/fetch/$s_!xzJf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xzJf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png" width="671" height="545.0163265306122" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:796,&quot;width&quot;:980,&quot;resizeWidth&quot;:671,&quot;bytes&quot;:201845,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/208372649?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!xzJf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png 424w, https://substackcdn.com/image/fetch/$s_!xzJf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png 848w, https://substackcdn.com/image/fetch/$s_!xzJf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png 1272w, https://substackcdn.com/image/fetch/$s_!xzJf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4cb7f42-0f11-4970-a551-9b53c21d3f8a_980x796.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Steven Truitt. &#8220;Vibes -&gt; Silicon: Agentic Design for Real Work&#8221; DAC 2026</figcaption></figure></div><p>Now I&#8217;ll admit: I hate writing RTL code, even though I have taken a Verilog and VHDL class, so I find this vibe engineering approach such a breath of fresh air.</p><p>More detailed information can be found in the slide decks and tutorials; I&#8217;ll leave it up to you to check those out.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Silicon Co-Design is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h2>Why Chip Design Takes So Long: Cost of Error due to Fab Bottlenecks</h2><p>Chip Design is one of the most brutally unforgiving industries because chip design is very expensive, time consuming, and carries a high cost of error.</p><p>In board-level design, any design errors can be easily fixed after fabrication because the device is more interpretable and technicians can workaround issues such as adding jumpers and lifting off pins. As a result, there is less scrutiny during board design because components with datasheets can be hooked up with passives in between and simulated in SPICE at a high level. </p><p>Chip design has way more components than boards and does not offer that deep of a debug capability to probe deep inside the circuit. Test modes and circuits for DFT must be inserted such as scan-chains and test mode registers. It takes 3 - 4 months for a chip to be fabricated because each individual fabrication step can take days due to manufacturing queue times and tool bottlenecks. </p><h4>First Pass Silicon Success</h4><p>Generally speaking, there is a low pass rate of first pass success, around 14% nowadays. This might come at a surprise for outsiders, but not unexpected for engineers as schedules typically account for this. For most practical purposes, the first silicon revision is used to identify bugs that weren't caught early on, and the second revision is used to fix them. Two revisions are generally considered standard, with some CEOs like Intel&#8217;s Lip-Bu Tan threatening to fire engineers who exceed this. </p><p>There are a few ways to minimize time delays and errors:</p><ul><li><p><strong>Pre-Silicon Emulation. </strong>The design is loaded on an FPGA or hardware array to make sure the design is bug-free. Emulation is much faster than computation-heavy simulation and typically run at lower clock speeds to test specific test cases and interactions within blocks. </p></li><li><p><strong>Pre-Silicon Prototyping. </strong>Not only does the chip has to work as designed, it also has to work as intended in the broader system context. Prototyping serves an important function to ensure you build the system you intended, not the bug free one you built.</p></li><li><p><strong>IP Reuse.</strong> Almost all new chip designs have a starting point with known good IP blocks. Low risk IP can be incorporated in a new design, and new IP to implement the performance requirements needs to be modified or created out of scratch. The overall design risk is assessed based on the risk of existing and new IP blocks themselves. </p></li><li><p><strong>Wafer Staging.</strong> During fabrication, several wafers are &#8220;staged&#8221; where only the time-consuming FEOL layers are formed. In case of bugs identified early that can be fixed in metal-only, this shortens the fab time to get wafers back without having to go through the entire PnR flow all over again. </p><ul><li><p>Companies generally name revisions A0, A1, B0, where A0 is the first revision, A1 represents a metal change, and B0 represents a whole new silicon revision with a new mask set. </p></li><li><p>The fabrication cost and time is largely dictated by the # of masks since each tool loads a specific mask.</p></li></ul></li></ul><p>First pass silicon success is really only feasible when either the chip is simple enough, there is enough existing IP that is leveraged, or there are heavy emulation/prototyping efforts. Some companies who want to specifically integrate specific circuits want to see a test chip done first, key data taken, and risk evaluated before committing the chip to be integrated in their product in the next revision. General market products can be a bit more lax. </p><h4>Scar Tissue</h4><p>The long fab time and cost of error leads to a less discussed phenomenon in the chip industry: <strong>scar tissue,</strong> which is a form of lessons learned painfully through delays and expenses.</p><p>Scar tissue is one big reason why experienced silicon veterans often push back against claims that AI will &#8220;autonomously design chips&#8221; because it doesn&#8217;t carry accountability. This lack of accountability for AI tools means that it won&#8217;t replace human designers anytime soon. </p><h2><span>Key Bottlenecks That Limit AI use in Chip Design</span></h2><p>I&#8217;ll discuss four key bottlenecks that several panelists at DAC raised and promising solutions within them.</p><h4>Functional Verification</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RRsE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RRsE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg 424w, https://substackcdn.com/image/fetch/$s_!RRsE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg 848w, https://substackcdn.com/image/fetch/$s_!RRsE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!RRsE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RRsE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg" width="1248" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&quot;width&quot;:1248,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Engineers Spend Most Time Today,\n\nAI-generated content may be incorrect.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Engineers Spend Most Time Today,

AI-generated content may be incorrect." title="Engineers Spend Most Time Today,

AI-generated content may be incorrect." srcset="https://substackcdn.com/image/fetch/$s_!RRsE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg 424w, https://substackcdn.com/image/fetch/$s_!RRsE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg 848w, https://substackcdn.com/image/fetch/$s_!RRsE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!RRsE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce10addb-a59c-4483-a6b1-a44793bbfbb4_1248x832.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">William Wang &#8220;From Hype to Impact: Where Agentic AI Actually Delivers Value in Chip Design Today&#8221; DAC 2026</figcaption></figure></div><p>Most people outside of the semiconductor industry don&#8217;t know that verification, not design, has historically been the most labor and time intensive task. Let me give a bit of context to what verification should be, and how its implemented in practice.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Silicon Co-Design is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/p/design-automation-conference-2026?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.siliconcodesign.com/p/design-automation-conference-2026?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p>
      <p>
          <a href="https://www.siliconcodesign.com/p/design-automation-conference-2026">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[A Comprehensive Overview of the AI Accelerator Landscape: From Digital to Analog Compute-in-Memory Architectures]]></title><description><![CDATA[A survey of major AI accelerator categories, and a deep dive into the scaling challenges with Analog Compute-in-memory]]></description><link>https://www.siliconcodesign.com/p/a-comprehensive-overview-of-the-ai</link><guid isPermaLink="false">https://www.siliconcodesign.com/p/a-comprehensive-overview-of-the-ai</guid><dc:creator><![CDATA[Chad]]></dc:creator><pubDate>Tue, 21 Jul 2026 16:19:09 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!qRyn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qRyn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qRyn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png 424w, https://substackcdn.com/image/fetch/$s_!qRyn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png 848w, https://substackcdn.com/image/fetch/$s_!qRyn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png 1272w, https://substackcdn.com/image/fetch/$s_!qRyn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qRyn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png" width="923" height="482" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/adda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:482,&quot;width&quot;:923,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:21973,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!qRyn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png 424w, https://substackcdn.com/image/fetch/$s_!qRyn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png 848w, https://substackcdn.com/image/fetch/$s_!qRyn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png 1272w, https://substackcdn.com/image/fetch/$s_!qRyn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fadda3eb6-e632-4584-96e2-146d5a7e16cc_923x482.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Editors Note: (7/22/26): I trimmed the paywall to only paywall the scaling challenges with Analog CiM. This way, you can come away with a mental framework for the components of the Analog CiM. </em></p><div><hr></div><p>Compute-in-memory has emerged as a promising technology to overcome the Von-Neumann bottlenecks of conventional digital computing. Many venture-backed  startups have entered this space with promising solutions to enhance compute efficiency.</p><p>In this post I&#8217;ll cover a broad overview of the AI accelerator landscape and do a deep dive into the challenges with <strong>scaling Analog Compute-in-memory</strong>. The outline of this post is as follows:</p><ul><li><p><strong>A Survey of the AI Accelerator landscape</strong></p><ul><li><p>Application Spaces - from VLP to Data Center Systems</p></li><li><p>Scaling Trends - Co-Design and Specialized Architecture</p></li><li><p>Hardware Classifications of Compute in/near memory AI Accelerators</p><ul><li><p>Parallel Threads (NVIDIA GPU)</p></li><li><p>Tensor Array (Google TPU, Groq)</p></li><li><p>Manycore Accelerators (Cerebras, Tenstorrent)</p></li></ul></li><li><p>Digital Compute-in-Memory</p><p></p></li></ul></li><li><p><strong>The Building Blocks of Analog Compute-in-Memory</strong></p><ul><li><p>SRAM Arrays</p></li><li><p>Input Encoding </p></li><li><p>Charge / Current Domain Devices</p><p></p></li></ul></li><li><p><strong><span>&#128274;</span>Scaling Challenges with Analog CiM</strong></p><ul><li><p><span>&#128274;</span>Array Nonidealities that degrade SNR</p></li><li><p><span>&#128274;Area Inefficiency</span></p></li><li><p><span>&#128274;</span>Modality Conversion Overhead</p></li><li><p><span>&#128274;</span>Example CiM startup: Encharge AI</p></li></ul></li><li><p><span>&#128274;</span><strong>BONUS: The Challenges of Optical Compute for AI </strong></p></li></ul><p>Back in February 2026 at ISSCC in San Francisco, CA, I personally sat in the tutorial &#8220;<strong>Fundamentals of Compute-in-Memory: From Circuits to Systems</strong>&#8221; by Prof. Jaydeep P. Kulkarni at the beginning and an all-day forum &#8220;<strong>Analog for AI and AI for Analog</strong>&#8221; at the end. Several heavyweights in the analog community such as Prof. Naveen Verma and EDA community such as Prof. David Pan were present to discuss trends in <strong>Analog CiM</strong> and <strong>Automation for AMS/RFIC Signal Design</strong>, the latter of which I will eventually cover after DAC. </p><p>Personally, <strong>analog compute-in-memory</strong> is one of my favorite topics because it almost resembled the way the<strong> brain processes data.</strong> Analog CiM is perhaps the most interdisciplinary topics among semiconductor specialties<strong> because it combines knowledge from digital, mixed signal, logic fabrication, and memory domains</strong>. I think the circuits are inherently <strong>power efficient for repetitive </strong>computations.</p><p>However, the CiM space is filled with a lot of <strong>dense</strong> academic research and <strong>marketing claims of VC-backed companies</strong>. During those ISSCC sessions and while researching CiM papers, I initially found CiM difficult to digest because <strong>there aren&#8217;t universally agreed on standards to classify related architectures. The terminology is also inconsistent; </strong>some authors use compute-in memory, others use processing-in-memory, and other add subcategories of their own. Moreover, most papers tend to jump right into the block diagrams of specific applications known among academics in that space. I&#8217;m sure many of you also feel the same way trying to understand the space. </p><p><strong>In my opinion, CiM is a space where broad system benefits can be lost in the vast chasm between marketing claims and actual technical challenges. </strong>I believe that researchers are candid about the real engineering challenges. However, claims of performance benefits tend to narrowly focus on the energy savings of ONE part of the whole computational energy budget. These claims tend to get picked up and hyped up by non-technical people without their proper nuances, which, for some companies, is a marketing strategy all in itself. </p><p>Having sat in those rooms and felt the confusion myself, I aim to bring clarity to the space. Here are some of my previous posts I&#8217;ve written that lay a foundation for this material from both the software and hardware side:</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;ba8587ff-9f0d-42a0-b660-6424e3d1eaa8&quot;,&quot;caption&quot;:&quot;Demis Hassabis is perhaps one of the most important influences in Modern AI that isn&#8217;t a household name.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;From Atari to ChatGPT: The Technical and Corporate Forces Shaping Frontier AI &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:127334549,&quot;name&quot;:&quot;Chad&quot;,&quot;bio&quot;:&quot;Deep-dive engineering analysis for next-gen high-speed and high-power hardware, bridging the interdisciplinary gap between electrical, mechanical, and thermal domains &quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/df535658-4d2d-47e2-b284-347d631aee52_4644x4644.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-04-29T17:54:36.593Z&quot;,&quot;cover_image&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fcc0b821-27c2-4f6d-b4e3-b1750426a5f6_1201x673.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.siliconcodesign.com/p/a-brief-history-of-modern-ai-deepmind&quot;,&quot;section_name&quot;:&quot;Digital AI SW Architecture&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:195320512,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:4,&quot;comment_count&quot;:0,&quot;publication_id&quot;:7378748,&quot;publication_name&quot;:&quot;Silicon Co-Design&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!3NJI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ac30ce-68b7-42f3-b6aa-67d00c07fdb6_328x328.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;6478c7ac-c4f4-4670-8f6c-3b8d14780046&quot;,&quot;caption&quot;:&quot;I believe its important for people working around AI - ML engineers, semiconductor engineers, and end-users - to have a holistic understanding of AI, including the software interface and hardware underneath that optimizes calculations.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;An Overview of AI Accelerators: MAC Operations, DRAM/SRAM, Performance Metrics, and Architecture  &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:127334549,&quot;name&quot;:&quot;Chad&quot;,&quot;bio&quot;:&quot;Deeply-researched System Architecture breakdowns for Silicon Co-Design of AI Datacenters - On-Chip Mixed Signal Blocks, High Speed Optical/Wireline, Power Electronics, and Advanced Packaging&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0323475-8f2d-49b5-830d-a258693263cf_503x503.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-01-27T16:01:50.107Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!ZCEN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.siliconcodesign.com/p/ai-accelerators-a-primer&quot;,&quot;section_name&quot;:&quot;Digital AI SW Architecture&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:185475328,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:10,&quot;comment_count&quot;:0,&quot;publication_id&quot;:7378748,&quot;publication_name&quot;:&quot;Silicon Co-Design&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!WIKb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a70d8c6-6b56-41f4-b513-b689b17a4d19_503x503.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Silicon Co-Design is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h2>A Survey of the AI Accelerator Landscape</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VKmf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VKmf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png 424w, https://substackcdn.com/image/fetch/$s_!VKmf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png 848w, https://substackcdn.com/image/fetch/$s_!VKmf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png 1272w, https://substackcdn.com/image/fetch/$s_!VKmf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VKmf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png" width="1088" height="413" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:413,&quot;width&quot;:1088,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:167664,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!VKmf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png 424w, https://substackcdn.com/image/fetch/$s_!VKmf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png 848w, https://substackcdn.com/image/fetch/$s_!VKmf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png 1272w, https://substackcdn.com/image/fetch/$s_!VKmf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3358f64f-ad7d-4687-9908-12824b0ad723_1088x413.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1. Scaling trends among Compute, Memory, and Interconnect. Source: A. Gholami. &#8220;AI and Memory Wall,&#8221; , Medium, 2021</figcaption></figure></div><p>GenAI and Agentic AI models have exploded in the past few years with a combination of gigantic training sets and powerful models to handle a variety of AI applications. This creates a huge demand for tokens for Agentic AI that is primarily satisfied by high power, general-purpose data center GPUs in data centers. </p><p>The underlying hardware is becoming more powerful to satisfy this demand. However, the logic is scaling much faster than the memory and interconnect by approximately ~2x. This means that the compute bottleneck is not in the compute itself, but the <strong>data movement</strong>. As models become more powerful, <strong>memory transfer operations </strong>are consuming more and more <strong>energy</strong> and <strong>latency</strong>. </p><p>As a result in the explosion of compute power, <strong>co-packaged optics</strong> and <strong>vertical power delivery</strong> are emerging and widely discussed trends to satisfy these demands. I have written extensively on these topics on my website. </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Mv2w!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mv2w!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png 424w, https://substackcdn.com/image/fetch/$s_!Mv2w!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png 848w, https://substackcdn.com/image/fetch/$s_!Mv2w!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png 1272w, https://substackcdn.com/image/fetch/$s_!Mv2w!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mv2w!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png" width="603" height="198.37706043956044" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:479,&quot;width&quot;:1456,&quot;resizeWidth&quot;:603,&quot;bytes&quot;:237595,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!Mv2w!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png 424w, https://substackcdn.com/image/fetch/$s_!Mv2w!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png 848w, https://substackcdn.com/image/fetch/$s_!Mv2w!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png 1272w, https://substackcdn.com/image/fetch/$s_!Mv2w!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1fef032-cfac-434b-a7c9-dfe53e23a1d1_1690x556.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Figure 2. Energy consumption of various compute operations. Source: M. Horowitz, &#8220;1.1 Computing&#8217;s energy problem (and what we can do about it),&#8221; 2014 IEEE International Solid-State Circuits Conference Digest of Technical Papers (ISSCC), San Francisco, CA, USA, 2014, pp. 10-14, doi: 10.1109/ISSCC.2014.6757323.</figcaption></figure></div><p>One of the main arguments for CiM is to <strong>minimize the power overhead in compute-memory transfers. </strong>Here is a prominent slide given in 2014 with ballpark energy consumption of various computational operations and memory accesses. Notice the  order of magnitude difference between the energy used in cache and DRAM accesses, and the higher energy consumption for higher precision operations. This chart has driven a trend toward <strong>lower precision computations </strong>in the digital domain and <strong>memory efficient architectures.</strong></p><h4>Application Space - from VLP to Data Center Systems</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!x4wE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!x4wE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png 424w, https://substackcdn.com/image/fetch/$s_!x4wE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png 848w, https://substackcdn.com/image/fetch/$s_!x4wE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png 1272w, https://substackcdn.com/image/fetch/$s_!x4wE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!x4wE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png" width="955" height="528" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:528,&quot;width&quot;:955,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:288079,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!x4wE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png 424w, https://substackcdn.com/image/fetch/$s_!x4wE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png 848w, https://substackcdn.com/image/fetch/$s_!x4wE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png 1272w, https://substackcdn.com/image/fetch/$s_!x4wE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F292bf08f-7063-416e-95ea-6518bca2a5ee_955x528.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 3. A scatterplot of peak performance vs power of publicly announced AI Accelerators. Source: A. Reuther et al. <a href="https://arxiv.org/abs/2510.20931">[2510.20931] Lincoln AI Computing Survey (LAICS) and Trends</a></figcaption></figure></div><p>AI accelerators are not just limited to centralized data center GPUs, but also embedded applications with many different form factors and use cases. </p><p>Here we notice a range of publicly announced accelerators that range in compute efficiency from 0.1 - 100 TOPs/W. Notice how there is a cluster primarily centered around <strong>1 TeraOps / W for general purpose GPUs data centers. </strong>Also notice how at lower power, accelerators <strong>specialized</strong> for embedded applications tend to have higher TOPs/W because they are tailored for the specific power / performance / form factor requirements of the system they are in. In those cases, it doesn&#8217;t make sense to stream data to a centralized data center to run inference on. </p><p>General purpose GPUs are built to support both training and inference across a broad range of AI models targeted for different applications, depending on the tasks you throw at it. Two common applications include:</p><ul><li><p>CNNs: Uses <strong>deep neural networks</strong> to extract lower level features and are used for image / speech classification</p></li><li><p>LLMs: Uses <strong>attention layers</strong> to calculate relations between words using Query, Key, and Value vectors and require <strong>large KV cache storage</strong> for long sequences</p></li></ul><p></p><h4>Scaling Trends - Co-design and Specialized Architecture</h4><p>Massive scale-up of AI clusters are driving a huge need for <strong>compute efficiency</strong>. Large networks of parallel general-purpose GPUs move a lot of data around, consuming vast amounts of power and generating a lot of heat in the process.</p><p>To address this need for more compute efficiency, the industry is shifting from <strong>general purpose</strong> to <strong>hardware-software</strong> <strong>Co-Design</strong> (or co-optimization) of both DNN Models and Hardware. </p><p>This involves customizing the HW to be as efficient at computing its specific task. Some optimization examples include:</p><ul><li><p><strong>Memory: </strong>Higher bandwidth and more tightly integrated memory</p></li><li><p><strong>On the SW Side</strong>: </p><ul><li><p>More aggressive quantization / lower precision architectures</p></li><li><p>Sparse weights</p></li></ul></li><li><p><strong>HW architecture: </strong>Stationary architectures that &#8220;fix&#8221; one value in an array and stream in the other (weight, output, and input)</p></li></ul><p>In general, all else being equal, there is a tradeoff between <strong>compute efficiency</strong> and <strong>how specialized the hardware is</strong>. Specialized hardware can augment general purpose GPUs but run the risk of being considered <strong>&#8220;one trick ponies&#8221; </strong>if data needs change in the future. </p><p>I personally think what most people describe as &#8220;co-design&#8221; should<strong> extend beyond the HW-SW interface</strong> into the broader high speed communication, power, and packaging subsystem. <strong>That is what my website aims to achieve</strong>. </p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Silicon Co-Design is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h2>A Taxonomy of the Compute-in-Memory Landscape</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fDhy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fDhy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png 424w, https://substackcdn.com/image/fetch/$s_!fDhy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png 848w, https://substackcdn.com/image/fetch/$s_!fDhy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png 1272w, https://substackcdn.com/image/fetch/$s_!fDhy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fDhy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png" width="1456" height="731" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/df49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:731,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:495094,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!fDhy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png 424w, https://substackcdn.com/image/fetch/$s_!fDhy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png 848w, https://substackcdn.com/image/fetch/$s_!fDhy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png 1272w, https://substackcdn.com/image/fetch/$s_!fDhy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf49de4e-240c-435e-b86a-587a0dfcfc93_1964x986.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 4. A broad taxonomy of the Compute-memory architectures. Source: J. Kulkarni. &#8220;Fundamentals of Compute-in-Memory: From Circuits to Systems&#8221; ISSCC 2026 </figcaption></figure></div><p>In classical computer architectures, main memory is stored on a huge chunk of off-chip DRAM (HBM) and chunks of data are read onto on-chip caches (typically SRAM) when requested. When MAC operations occur, intermediate results needs to be stored in registers until the final result is computed on. </p><p>Depending on how much you read/write data to/from memory, <strong>up to 30-70% (or even higher) of the compute energy can from memory transfers, not the compute itself. </strong>This makes efforts to optimize / trim data transfers between compute and memory such an attractive option to scale compute efficiency along with performance. </p><p>There are three major architectural classifications that classify how close the memory is to the bit cell: </p><ul><li><p>Compute with large memory</p></li><li><p>Compute near memory </p></li><li><p>Compute-in-memory</p></li></ul><p>We&#8217;ll go through examples within each classification.</p><h4>Compute with Large Memory </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DmJm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DmJm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png 424w, https://substackcdn.com/image/fetch/$s_!DmJm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png 848w, https://substackcdn.com/image/fetch/$s_!DmJm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png 1272w, https://substackcdn.com/image/fetch/$s_!DmJm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DmJm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png" width="749" height="316" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:316,&quot;width&quot;:749,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:127641,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!DmJm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png 424w, https://substackcdn.com/image/fetch/$s_!DmJm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png 848w, https://substackcdn.com/image/fetch/$s_!DmJm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png 1272w, https://substackcdn.com/image/fetch/$s_!DmJm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe771b794-5fa6-4312-9c49-ecc367db7aab_749x316.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 5. AI Accelerator categories with various application specificities. Source: A. Reuther et al. &#8220;Lincoln AI Computing Survey (LAICS) and Trends&#8221; <a href="https://arxiv.org/abs/2510.20931">[2510.20931] Lincoln AI Computing Survey (LAICS) and Trends</a></figcaption></figure></div><p>Compute with large memory is the easiest solution to scale in existing paradigms with a large GPU and HBM side by side. </p><p>There is a wide range of chip architectures within this compute fabric that vary in <strong>specificity</strong> and <strong>programmability.</strong> Most AI accelerators fall in between two conventional categories:</p><ul><li><p><strong>CPUs:</strong> Very flexible compute-wise but not optimized for highly parallel inference and training computations. </p></li><li><p><strong>FPGAs:</strong> Used off-the-shelf and easily repurposable for specific embedded applications. FPGAs are preferred for faster time-to-market over custom ASICs since they can be modified with RTL. However, for large models AI, FPGAs are not &#8220;programmable&#8221; in the SW sense because the hardware effectively changes every time the FPGA is programmed.</p></li></ul><p>The bulk of compute-efficient AI accelerator products lie in-between these two categories to enable software, hardware, and algorithm co-optimization. Two such categories in between fall in the &#8220;compute with large memory&#8221; paradigm:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!C9cY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!C9cY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png 424w, https://substackcdn.com/image/fetch/$s_!C9cY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png 848w, https://substackcdn.com/image/fetch/$s_!C9cY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png 1272w, https://substackcdn.com/image/fetch/$s_!C9cY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!C9cY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png" width="265" height="361" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a52400fb-af10-477e-91da-7c529f7078cc_265x361.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:361,&quot;width&quot;:265,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:23229,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!C9cY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png 424w, https://substackcdn.com/image/fetch/$s_!C9cY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png 848w, https://substackcdn.com/image/fetch/$s_!C9cY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png 1272w, https://substackcdn.com/image/fetch/$s_!C9cY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa52400fb-af10-477e-91da-7c529f7078cc_265x361.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 6. A SIMD Temporal Architecture. Source: V. Sze, Y. Chen, T. Yang, J Emer. &#8220;Efficient Processing of Deep Neural Networks: A Tutorial and Survey&#8221; <a href="https://arxiv.org/abs/1703.09039">https://arxiv.org/abs/1703.09039</a></figcaption></figure></div><ul><li><p><strong>Parallel thread accelerators</strong></p><ul><li><p>Use a temporal architecture with traditional <strong>ALUs computed in a SIMT (Single Instruction, Multiple Threads / Data )</strong> paradigm</p><ul><li><p>Typically, one CUDA-thread processes one element of the target data set</p></li><li><p>All threads in a process share the same memory heap</p></li></ul></li><li><p>Key Features</p><ul><li><p><strong>Warp Scheduler</strong> - controls a large number of ALU&#8217;s by broadcasting a single instruction to all of them to execute in lockstep</p></li><li><p><strong>Memory Coalescing</strong> - combines multiple memory requests from parallel threads into a single, highly efficient memory transaction from the HBM</p><ul><li><p>Memory coalescing is critically important for making data transfer efficient from the HBM </p><p></p></li></ul></li></ul></li><li><p>Advantages</p><ul><li><p><strong>Quick to program</strong></p></li><li><p><strong>The most flexible to handle a wide range of AI applications</strong></p></li><li><p><strong>Massive parallelism </strong></p><p></p></li></ul></li><li><p>Disadvantages</p><ul><li><p><strong>Low compute efficiency</strong></p></li><li><p><strong>Needs sophisticated control circuitry</strong> to coordinately data movement across ALUs and memory</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Dznn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Dznn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png 424w, https://substackcdn.com/image/fetch/$s_!Dznn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png 848w, https://substackcdn.com/image/fetch/$s_!Dznn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png 1272w, https://substackcdn.com/image/fetch/$s_!Dznn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Dznn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png" width="1036" height="358" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e096da38-c99f-449c-b618-74928fa2e47b_1036x358.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:358,&quot;width&quot;:1036,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:76137,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Dznn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png 424w, https://substackcdn.com/image/fetch/$s_!Dznn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png 848w, https://substackcdn.com/image/fetch/$s_!Dznn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png 1272w, https://substackcdn.com/image/fetch/$s_!Dznn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe096da38-c99f-449c-b618-74928fa2e47b_1036x358.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 7. A comparison of general purpose GPU systems. Source: C. Silvano et al. &#8220;A Survey on Deep Learning Hardware Accelerators for Heterogeneous HPC Platforms&#8221; <a href="https://arxiv.org/abs/2306.15552">https://arxiv.org/abs/2306.15552</a></figcaption></figure></div></li></ul></li><li><p>Examples</p><ul><li><p>NVIDIA H100</p></li><li><p>AMD Instinct MI250X</p></li><li><p>Intel Arc 770</p></li></ul><p></p><p>Generally speaking, powerful GPUs are used for heavier, general purpose tasks that require large complex models. </p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Qi0z!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Qi0z!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png 424w, https://substackcdn.com/image/fetch/$s_!Qi0z!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png 848w, https://substackcdn.com/image/fetch/$s_!Qi0z!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png 1272w, https://substackcdn.com/image/fetch/$s_!Qi0z!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Qi0z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png" width="274" height="364" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:364,&quot;width&quot;:274,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:22346,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Qi0z!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png 424w, https://substackcdn.com/image/fetch/$s_!Qi0z!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png 848w, https://substackcdn.com/image/fetch/$s_!Qi0z!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png 1272w, https://substackcdn.com/image/fetch/$s_!Qi0z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6fa67183-d748-4033-8423-fe07d68eae7b_274x364.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 8. A Spatial Architecture for dataflow processing. Source: V. Sze, Y. Chen, T. Yang, J Emer. &#8220;Efficient Processing of Deep Neural Networks: A Tutorial and Survey&#8221; <a href="https://arxiv.org/abs/1703.09039">https://arxiv.org/abs/1703.09039</a></figcaption></figure></div></li><li><p><strong>Tensor Array</strong></p><ul><li><p><strong>Tensors</strong> are mathematical objects that generalizes scalars, vectors, and matrices to higher dimensions</p></li><li><p>Tensor Arrays use <strong>Systolic Arrays</strong> or static spatial pipelines. A systolic array is a 2D grid of tightly integrated <strong>Processing Elements (PEs) </strong>which are a more specialized form of ALUs tailored for MAC operations.</p></li><li><p>A classic example of one is Eyeriss which I described in more detail in my previous post.</p></li><li><p>Key Features</p><ul><li><p><strong>Static scheduling</strong> - preload model parameters into accelerator before executing inference/training on them</p></li></ul></li><li><p>Advantages</p><ul><li><p><strong>Data reuse</strong> - data doesn&#8217;t have to be stored in registers and can flow between ALUs that perform either <strong>Multiply</strong> or <strong>Accumulate</strong> operations</p></li><li><p><strong>Dense Compute Density</strong></p></li><li><p><strong>Latency is deterministic </strong>- no complexity overhead from unpredictable scheduling</p></li></ul></li><li><p>Disadvantages</p><ul><li><p><strong>Rigid, inflexible structure.</strong> The array size must be tailored to the specific application</p></li><li><p><strong>Inefficient at handling sparsity. </strong>The sparse data still has to flow through the array</p></li><li><p><strong>SW compiler complexity</strong></p></li></ul></li><li><p>Examples</p><ul><li><p>Google TPU - showcased the first TPU in 2017</p></li><li><p>Groq LPU</p></li><li><p>Intel Gaudi</p></li></ul><p>In short, Tensor arrays have the potential to be computationally efficient, but only for specific array sizes. </p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Silicon Co-Design is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h4>Compute Near Memory - Manycore</h4><p>Manycore is an example of <strong>compute-near-memory</strong>.  This architecture <strong>decentralizes</strong> both compute and memory arrays them along a grid. This shortens the data path from the local SRAM memory to the compute units.</p><p>Prominent examples of manycore include:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TR02!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TR02!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png 424w, https://substackcdn.com/image/fetch/$s_!TR02!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png 848w, https://substackcdn.com/image/fetch/$s_!TR02!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png 1272w, https://substackcdn.com/image/fetch/$s_!TR02!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TR02!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png" width="1034" height="637" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:637,&quot;width&quot;:1034,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:277661,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TR02!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png 424w, https://substackcdn.com/image/fetch/$s_!TR02!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png 848w, https://substackcdn.com/image/fetch/$s_!TR02!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png 1272w, https://substackcdn.com/image/fetch/$s_!TR02!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3c73a61-9b97-47ad-83a2-4e227e88911b_1034x637.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 9. Cerebras manycore architecture integrated in their wafer-scale engine. Source: S. Lie. &#8220;Cerebras Architecture Deep Dive: First Look Inside the HW/SW Co-Design for Deep Learning&#8221; Hot Chips 2022</figcaption></figure></div><ul><li><p><strong>Cerebras</strong></p><ul><li><p>Perhaps the most well-known example of manycore with cores arranged on a wafer scale engine (WSE) with 850k cores </p></li><li><p>The memory is <strong>fully distributed, </strong>with the SRAM using 50% of the die area that provides full memory bandwidth to all data paths at full performance, removing the need for data reuse</p></li><li><p>Their WSE is efficient for sparse matrix operations </p></li></ul></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ghqb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ghqb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png 424w, https://substackcdn.com/image/fetch/$s_!ghqb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png 848w, https://substackcdn.com/image/fetch/$s_!ghqb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png 1272w, https://substackcdn.com/image/fetch/$s_!ghqb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ghqb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png" width="482" height="462.44240837696333" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ed6326b7-e35c-4935-932e-d12a87940235_764x733.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:733,&quot;width&quot;:764,&quot;resizeWidth&quot;:482,&quot;bytes&quot;:111318,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ghqb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png 424w, https://substackcdn.com/image/fetch/$s_!ghqb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png 848w, https://substackcdn.com/image/fetch/$s_!ghqb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png 1272w, https://substackcdn.com/image/fetch/$s_!ghqb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed6326b7-e35c-4935-932e-d12a87940235_764x733.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 10. Tenstorrent architecture of a Tensix core in their Wormhole architecture. Source: N. Taylor &#8220;Numerical Kernels on a Spatial Accelerator: A Study of Tenstorrent Wormhole&#8221; https://arxiv.org/abs/2603.23343</figcaption></figure></div><ul><li><p><strong>Tenstorrent</strong></p><ul><li><p>Tenstorrent has a very similar architecture to Cerebras, which fuses a NoC interface to move data to local SRAM to be computed on in each Tensix core.</p></li></ul></li></ul><p>Advantages</p><ul><li><p>Memory path is short between compute and memory</p></li></ul><p>Disadvantages</p><ul><li><p>Additional <strong>software overhead</strong> to coordinate data movement to individual cores</p></li></ul><p></p><h4>Other accelerator options</h4><p>There are other accelerator options available:</p><ul><li><p><strong>Neural Processing Unit (NPU): </strong>NPUs are built specifically to accelerate AI tasks directly on devices like smartphones and laptops</p></li><li><p><strong>RISC-V processors: </strong>RISC-V is a open source ISA widely used among academia and emerging startups. Its modular nature allows easier integration capabilities with embedded applications. </p></li></ul><p>Within the CiM space there are two major categories: Digital, and Analog. </p><h4>Digital Compute-in-Memory</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GeAH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GeAH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png 424w, https://substackcdn.com/image/fetch/$s_!GeAH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png 848w, https://substackcdn.com/image/fetch/$s_!GeAH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png 1272w, https://substackcdn.com/image/fetch/$s_!GeAH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GeAH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png" width="292" height="368.17391304347825" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:406,&quot;width&quot;:322,&quot;resizeWidth&quot;:292,&quot;bytes&quot;:56279,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GeAH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png 424w, https://substackcdn.com/image/fetch/$s_!GeAH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png 848w, https://substackcdn.com/image/fetch/$s_!GeAH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png 1272w, https://substackcdn.com/image/fetch/$s_!GeAH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c27ad30-60e5-493c-89c5-c3f8c9263ffa_322x406.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 11. A high level look into DCIM with Adder tree. Source: Y. -D. Chih et al., &#8220;16.4 An 89TOPS/W and 16.3TOPS/mm2 All-Digital SRAM-Based Full-Precision Compute-In Memory Macro in 22nm for Machine-Learning Edge Applications,&#8221; 2021 IEEE International Solid-State Circuits Conference (ISSCC), San Francisco, CA, USA, 2021, pp. 252-254</figcaption></figure></div><p>In standard digital PE-based accelerators, the partial sums of the matrix operations are stored in registers and accumulated with PEs. In Digital CiM, these intermediate registers are eliminated and uses <strong>digital adder trees after the digital multiply to perform the accumulation of partial sums.</strong></p><p>Digital CiM offers the potential to improve energy efficiency MAC operation through bit serial / parallel operations as well as sophisticated control circuits to better control data movement. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wWc0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wWc0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png 424w, https://substackcdn.com/image/fetch/$s_!wWc0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png 848w, https://substackcdn.com/image/fetch/$s_!wWc0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png 1272w, https://substackcdn.com/image/fetch/$s_!wWc0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wWc0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png" width="688" height="325" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:325,&quot;width&quot;:688,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:80520,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wWc0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png 424w, https://substackcdn.com/image/fetch/$s_!wWc0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png 848w, https://substackcdn.com/image/fetch/$s_!wWc0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png 1272w, https://substackcdn.com/image/fetch/$s_!wWc0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80048366-3099-4efa-963e-9c8c1f8e49d5_688x325.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 12. The Basics of Floating Point that DCIM optimizes. Source: J. Kulkarni. &#8220;Fundamentals of Compute-in-Memory: From Circuits to Systems&#8221; ISSCC 2026</figcaption></figure></div><p>Most efficiency analysis of DCIM is done by examining the intricacies of floating point operations and accounting for the energy consumption of individual operations, which is beyond the scope of this post. In general, with data accumulation trees, the floating point operations need to be <strong>synchronized</strong>, with a few optimization choices including <strong>alignment-first</strong> and <strong>multiply-first</strong>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nOp_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nOp_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png 424w, https://substackcdn.com/image/fetch/$s_!nOp_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png 848w, https://substackcdn.com/image/fetch/$s_!nOp_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png 1272w, https://substackcdn.com/image/fetch/$s_!nOp_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nOp_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png" width="657" height="362" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:362,&quot;width&quot;:657,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:53901,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nOp_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png 424w, https://substackcdn.com/image/fetch/$s_!nOp_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png 848w, https://substackcdn.com/image/fetch/$s_!nOp_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png 1272w, https://substackcdn.com/image/fetch/$s_!nOp_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ca135f8-0097-49f3-88f1-a3cb596a888d_657x362.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 13. D-Matrix Block Floating point. Source: D-Matrix &#8220;d-Matrix&#174; Corsair&#8482; Redefines Performance and Efficiency for AI Inference at Scale&#8221; <a href="https://d-matrix.ai/pdf/d-Matrix-WhitePaper-Technical-FINAL.pdf">Link.</a></figcaption></figure></div><p>D-Matrix is one of the most prominent examples that leverages their in-SRAM computing techniques. Here they optimize data movement by building SRAM directly into the compute units and use block floating-point math to assign a single shared exponent to a group of numbers. </p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Silicon Co-Design is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/p/a-comprehensive-overview-of-the-ai?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.siliconcodesign.com/p/a-comprehensive-overview-of-the-ai?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p><br></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;57543654-e5af-40b9-8781-87c90c24c368&quot;,&quot;caption&quot;:&quot;Demis Hassabis is perhaps one of the most important influences in Modern AI that isn&#8217;t a household name.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;From Atari to ChatGPT: The Technical and Corporate Forces Shaping Frontier AI &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:127334549,&quot;name&quot;:&quot;Chad&quot;,&quot;bio&quot;:&quot;Deep-dive engineering analysis for next-gen high-speed and high-power hardware, bridging the interdisciplinary gap between electrical, mechanical, and thermal domains &quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/df535658-4d2d-47e2-b284-347d631aee52_4644x4644.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-04-29T17:54:36.593Z&quot;,&quot;cover_image&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fcc0b821-27c2-4f6d-b4e3-b1750426a5f6_1201x673.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.siliconcodesign.com/p/a-brief-history-of-modern-ai-deepmind&quot;,&quot;section_name&quot;:&quot;Digital AI SW Architecture&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:195320512,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:4,&quot;comment_count&quot;:0,&quot;publication_id&quot;:7378748,&quot;publication_name&quot;:&quot;Silicon Co-Design&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!3NJI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4ac30ce-68b7-42f3-b6aa-67d00c07fdb6_328x328.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;572eb30b-74f6-4815-ac33-b5f0e2ca6efb&quot;,&quot;caption&quot;:&quot;I believe its important for people working around AI - ML engineers, semiconductor engineers, and end-users - to have a holistic understanding of AI, including the software interface and hardware underneath that optimizes calculations.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;An Overview of AI Accelerators: MAC Operations, DRAM/SRAM, Performance Metrics, and Architecture  &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:127334549,&quot;name&quot;:&quot;Chad&quot;,&quot;bio&quot;:&quot;Deeply-researched System Architecture breakdowns for Silicon Co-Design of AI Datacenters - On-Chip Mixed Signal Blocks, High Speed Optical/Wireline, Power Electronics, and Advanced Packaging&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0323475-8f2d-49b5-830d-a258693263cf_503x503.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-01-27T16:01:50.107Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!ZCEN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.siliconcodesign.com/p/ai-accelerators-a-primer&quot;,&quot;section_name&quot;:&quot;Digital AI SW Architecture&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:185475328,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:10,&quot;comment_count&quot;:0,&quot;publication_id&quot;:7378748,&quot;publication_name&quot;:&quot;Silicon Co-Design&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!WIKb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a70d8c6-6b56-41f4-b513-b689b17a4d19_503x503.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!btYW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!btYW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png 424w, https://substackcdn.com/image/fetch/$s_!btYW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png 848w, https://substackcdn.com/image/fetch/$s_!btYW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png 1272w, https://substackcdn.com/image/fetch/$s_!btYW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!btYW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png" width="984" height="533" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:533,&quot;width&quot;:984,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:284145,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!btYW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png 424w, https://substackcdn.com/image/fetch/$s_!btYW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png 848w, https://substackcdn.com/image/fetch/$s_!btYW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png 1272w, https://substackcdn.com/image/fetch/$s_!btYW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F869f22e2-981b-4992-8f2e-4c07fd80164b_984x533.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>One issue with <strong>DCIM is that logic is incredibly bloated compared to memory</strong>. In the example above, 70% of the area is taken up by the MAC and 11% taken up by the memory. </p><p>When compared against a <strong>standard, state-of-the-art digital processing element (PE) </strong>on the exact same technology node, we see that there appears to be a big efficiency gain. However, most of the area efficiency gain comes from <strong>custom</strong> DCIM hard macros that can be generally made much denser, but adds to physical design time. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MfK0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MfK0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png 424w, https://substackcdn.com/image/fetch/$s_!MfK0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png 848w, https://substackcdn.com/image/fetch/$s_!MfK0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png 1272w, https://substackcdn.com/image/fetch/$s_!MfK0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MfK0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png" width="813" height="392" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:392,&quot;width&quot;:813,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:161635,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MfK0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png 424w, https://substackcdn.com/image/fetch/$s_!MfK0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png 848w, https://substackcdn.com/image/fetch/$s_!MfK0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png 1272w, https://substackcdn.com/image/fetch/$s_!MfK0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffefdd437-e926-4eda-a9a2-89965abbf6b3_813x392.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 15. The Marginal Benefit of DCIM as argued from an analog CiM point of view. Source: N. Verma. &#8220;What Role Can Analog Computation Play in Next Generation AI Systems&#8221; ISSCC 2026</figcaption></figure></div><p>As a result, some people amongst the analog CiM community argue that DCIM reverts to standard digital PE acceleration with little efficiency gain when compared apples-to-apples. Here we see another slide with a side by side comparison of TOPs performance of digital accelerators vs digital IMC. <strong>Claims and counterclaims like this is partly why analyzing the performance benefits of IMC is so confusing because there are a lot of nuances.</strong></p><p>So, yes, in theory, DCIM can be potentially compute dense <em>if</em> you hire an army of custom layout engineers to route the wires, but most companies don&#8217;t do that due to the <strong>time-to-market</strong> implications. </p><p>So in short, digital CiM offers marginal efficiency advantage for the effort involved, but it hasn&#8217;t stopped startups such as D-matrix from trying. </p><p></p><h2>The Building Blocks of Analog Compute in Memory</h2><h4>SRAM Array Skeleton</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!g9RQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!g9RQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png 424w, https://substackcdn.com/image/fetch/$s_!g9RQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png 848w, https://substackcdn.com/image/fetch/$s_!g9RQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png 1272w, https://substackcdn.com/image/fetch/$s_!g9RQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!g9RQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png" width="617" height="282.6504120879121" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/caa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:667,&quot;width&quot;:1456,&quot;resizeWidth&quot;:617,&quot;bytes&quot;:180718,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!g9RQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png 424w, https://substackcdn.com/image/fetch/$s_!g9RQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png 848w, https://substackcdn.com/image/fetch/$s_!g9RQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png 1272w, https://substackcdn.com/image/fetch/$s_!g9RQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaa94721-bf05-46d3-92dd-cfd29e4f2172_1978x906.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 16. An SRAM array. Source: J. Kulkarni. &#8220;Fundamentals of Compute-in-Memory: From Circuits to Systems&#8221; ISSCC 2026</figcaption></figure></div><p>Most work done in Analog CIM involves modifying a conventional SRAM array with either <strong>modulated inputs</strong> or <strong>alternative devices</strong>. In an conventional SRAM array, SRAM unit cells are arranged in rows of wordlines and columns of bit lines. </p><p>When SRAM arrays are modified for Analog CiM, peripheral circuits are modified to handle parallel analog operations. These include the following components:</p><ul><li><p>Input </p><ul><li><p><strong>Decoder</strong> - asserts multiple wordlines simultaneously with modulated input values. You can&#8217;t normally do this in SRAM memories, but this is essential for parallel matrix operations. </p></li></ul></li></ul><ul><li><p>Output</p><ul><li><p><strong>Bit Line Processing</strong> - Performs SIMD analog processing for each column (such as a S/H or integrator)</p></li><li><p><strong>Cross bitline processor</strong> - Connects processing elements across different columns. This block performs analog averaging to clean up array non-idealities and common mode noise to enhance SNR</p></li><li><p><strong>Residual digital unit</strong> - The ADC that converts the result to digital domain</p></li></ul></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OavH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OavH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png 424w, https://substackcdn.com/image/fetch/$s_!OavH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png 848w, https://substackcdn.com/image/fetch/$s_!OavH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png 1272w, https://substackcdn.com/image/fetch/$s_!OavH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OavH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png" width="1058" height="489" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:489,&quot;width&quot;:1058,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:140895,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!OavH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png 424w, https://substackcdn.com/image/fetch/$s_!OavH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png 848w, https://substackcdn.com/image/fetch/$s_!OavH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png 1272w, https://substackcdn.com/image/fetch/$s_!OavH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2420074-5cb9-49cb-9787-6977e90921ee_1058x489.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 17. A breakdown of the components of Analog CiM, with Input encoding, charge/current domain weight storage devices, and an output Quantizer. Sources: (left) H. Tsai. &#8220;Algorithm Architecture Co-Design for Analog In-Memory Computing (AIMC)&#8221; ISSCC 2026, (center) J. Kulkarni. &#8220;Fundamentals of Compute-in-Memory: From Circuits to Systems&#8221; ISSCC 2026</figcaption></figure></div><p>Within this SRAM array the compute operation itself requires a few modifications. </p><h4>Input Encoding</h4><p>The input can be either an analog voltage or pulse width based, with the duty cycle representing the effective analog value to be either integrated or accumulated on. </p><h4>Weight Encoding.<strong> </strong></h4><p>There are two primary classifications of devices used to encode the weights that this input computes on.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GorE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GorE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png 424w, https://substackcdn.com/image/fetch/$s_!GorE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png 848w, https://substackcdn.com/image/fetch/$s_!GorE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png 1272w, https://substackcdn.com/image/fetch/$s_!GorE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GorE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png" width="488" height="554" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:554,&quot;width&quot;:488,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:63565,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GorE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png 424w, https://substackcdn.com/image/fetch/$s_!GorE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png 848w, https://substackcdn.com/image/fetch/$s_!GorE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png 1272w, https://substackcdn.com/image/fetch/$s_!GorE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2df28f6-f231-4f5d-acfe-ddb252f6a6a1_488x554.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 18. SRAM cell performing bit wise multiplication. Source: V. Sze, Y. Chen, T. Yang, J Emer. &#8220;Efficient Processing of Deep Neural Networks: A Tutorial and Survey&#8221; <a href="https://arxiv.org/abs/1703.09039">https://arxiv.org/abs/1703.09039</a></figcaption></figure></div><ul><li><p><strong>Charge Domain</strong></p><ul><li><p>Charge Domains devices perform parallel MAC operations by <strong>injecting charge across a target capacitance</strong> through <strong>PWM, PAM, or a direct analog voltage. </strong>The total accumulated charge creates a voltage shift that maps to the inner product output. </p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bdTi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bdTi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png 424w, https://substackcdn.com/image/fetch/$s_!bdTi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png 848w, https://substackcdn.com/image/fetch/$s_!bdTi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png 1272w, https://substackcdn.com/image/fetch/$s_!bdTi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bdTi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png" width="414" height="189" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:189,&quot;width&quot;:414,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:33503,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!bdTi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png 424w, https://substackcdn.com/image/fetch/$s_!bdTi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png 848w, https://substackcdn.com/image/fetch/$s_!bdTi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png 1272w, https://substackcdn.com/image/fetch/$s_!bdTi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd580edd-ae0c-4064-b5ba-5c93a8f197af_414x189.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Figure 19. Charge Domain Devices. Source: J. Kulkarni. &#8220;Fundamentals of Compute-in-Memory: From Circuits to Systems&#8221; ISSCC 2026</figcaption></figure></div><ul><li><p>Examples of charge domain devices include:</p><ul><li><p><strong>Conventional SRAM </strong>- uses either pulse amplitude or width modulation to <strong>charge</strong> the bitline voltage and reading the accumulated charged at fixed intervals</p><ul><li><p>This bit line must be pre-charged to a high voltage before every compute cycle </p></li><li><p>Then, a wordline pulse allows the bitline to discharge, lowering the voltage on the line. </p></li><li><p>Note that additional switches are typically added to make the 6T SRAM either 8T or 10T</p></li></ul></li><li><p><strong>DRAM</strong> - relies on <strong>charge sharing</strong> between the internal cell capacitance and the bitline capacitance</p><ul><li><p>Like with conventional DRAM, this can be potentially compute-dense, but required some modification to read out values non-destructively</p></li></ul></li><li><p><strong>Flash</strong> - Accumulating charge along a single bit line through non-volatile cells, effectively computing the entire parallel MAC operation natively.</p><ul><li><p>This is perhaps the most &#8220;brain like&#8221; structure, but is very sensitive to <strong>device variation</strong> and <strong>array size</strong> as line parasitics matter more.</p></li><li><p>Note that flash looks like a current domain device below, but can be made charge domain by turning on the transistor with a highly precise, strict time window with one of the inputs I described. </p></li></ul></li></ul></li></ul><p></p></li><li><p><strong>Current Domain</strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6imq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6imq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png 424w, https://substackcdn.com/image/fetch/$s_!6imq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png 848w, https://substackcdn.com/image/fetch/$s_!6imq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png 1272w, https://substackcdn.com/image/fetch/$s_!6imq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6imq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png" width="594" height="322.37746478873237" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:578,&quot;width&quot;:1065,&quot;resizeWidth&quot;:594,&quot;bytes&quot;:164424,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!6imq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png 424w, https://substackcdn.com/image/fetch/$s_!6imq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png 848w, https://substackcdn.com/image/fetch/$s_!6imq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png 1272w, https://substackcdn.com/image/fetch/$s_!6imq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e608585-9760-43de-a5c4-c21faa1cb108_1065x578.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 20. RRAM Crossbar array. Source: R. Balasubramonian, "Making the Case for Feature-Rich Memory Systems: The March Toward Specialized Systems," in IEEE Solid-State Circuits Magazine, vol. 8, no. 2, pp. 57-65, Spring 2016, doi: 10.1109/MSSC.2016.2546198.</figcaption></figure></div></li></ul><ul><li><p>Also know as resistance based memory, this memory exploits the resistance characteristics of non volatile memory to act as <strong>analog variable resistor</strong>. </p></li><li><p>The resistance are programmed using sophisticated methods well beyond the scope of this post.</p></li><li><p>When a voltage is applied to these lines, a current accumulates at the output, which is then processed and converted to the digital domain. </p></li><li><p>Embedded non volatile memory can potentially be a high density option, but the memory devices themselves are subject to inconsistent resistance across devices that affect SNR, as well as typical memory nonidealities such as write endurance and speed. </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WKCX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WKCX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png 424w, https://substackcdn.com/image/fetch/$s_!WKCX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png 848w, https://substackcdn.com/image/fetch/$s_!WKCX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png 1272w, https://substackcdn.com/image/fetch/$s_!WKCX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WKCX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png" width="442" height="201" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:201,&quot;width&quot;:442,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:36531,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WKCX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png 424w, https://substackcdn.com/image/fetch/$s_!WKCX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png 848w, https://substackcdn.com/image/fetch/$s_!WKCX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png 1272w, https://substackcdn.com/image/fetch/$s_!WKCX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d6f1ba2-f153-4bc4-82b8-968d0d40408a_442x201.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Figure 21. Current Domain Devices. Source: J. Kulkarni. &#8220;Fundamentals of Compute-in-Memory: From Circuits to Systems&#8221; ISSCC 2026</figcaption></figure></div></li><li><p>Examples of such devices include:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lDco!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lDco!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png 424w, https://substackcdn.com/image/fetch/$s_!lDco!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png 848w, https://substackcdn.com/image/fetch/$s_!lDco!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png 1272w, https://substackcdn.com/image/fetch/$s_!lDco!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lDco!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png" width="386" height="276.8856209150327" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:439,&quot;width&quot;:612,&quot;resizeWidth&quot;:386,&quot;bytes&quot;:156972,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lDco!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png 424w, https://substackcdn.com/image/fetch/$s_!lDco!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png 848w, https://substackcdn.com/image/fetch/$s_!lDco!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png 1272w, https://substackcdn.com/image/fetch/$s_!lDco!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114343dc-3f96-4f8a-81a1-7b5093e34d74_612x439.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 22. An RRAM Cell. Source: Z.-R. Wang, Y.-T. Su, Y. Li, Y.-X. Zhou, T.-J. Chu, K.-C. Chang, T.-C. Chang, T.-M. Tsai, S. M. Sze, and X.-S. Miao, &#8220;Functionally complete boolean logic in 1t1r resistive random access memory,&#8221; IEEE Electron Device Letters, vol. 38, no. 2, pp. 179&#8211;182, 2016.</figcaption></figure></div><ul><li><p><strong>RRAM</strong> - consists of a a top and bottom electrode with a thin oxide layer between. This devices exploits oxygen vacancies to create conductive filaments.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FCAY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FCAY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png 424w, https://substackcdn.com/image/fetch/$s_!FCAY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png 848w, https://substackcdn.com/image/fetch/$s_!FCAY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png 1272w, https://substackcdn.com/image/fetch/$s_!FCAY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FCAY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png" width="869" height="405" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:405,&quot;width&quot;:869,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:212916,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FCAY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png 424w, https://substackcdn.com/image/fetch/$s_!FCAY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png 848w, https://substackcdn.com/image/fetch/$s_!FCAY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png 1272w, https://substackcdn.com/image/fetch/$s_!FCAY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc13c20-6fcd-43d2-b863-b155d4748ae2_869x405.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 23. Phase Change Memory. Source: H. Tsai. &#8220;Algorithm Architecture Co-Design for Analog In-Memory Computing (AIMC)&#8221; ISSCC 2026</figcaption></figure></div></li><li><p><strong>Phase Change Memories (PCM)</strong> - One of the most extensively researched technologies, PCMs stores data by passing precise electrical current pulses through a chalcogenide material (almost like a flexible glass) to alter its atomic structure between a <strong>Crystalline Phase</strong> and <strong>Amorphous Phase. </strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MZI7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MZI7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png 424w, https://substackcdn.com/image/fetch/$s_!MZI7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png 848w, https://substackcdn.com/image/fetch/$s_!MZI7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png 1272w, https://substackcdn.com/image/fetch/$s_!MZI7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MZI7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png" width="757" height="447" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:447,&quot;width&quot;:757,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:205456,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.siliconcodesign.com/i/203531150?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MZI7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png 424w, https://substackcdn.com/image/fetch/$s_!MZI7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png 848w, https://substackcdn.com/image/fetch/$s_!MZI7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png 1272w, https://substackcdn.com/image/fetch/$s_!MZI7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42cef940-e2a2-4c23-9412-a659ff648c7c_757x447.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 24. Typical MRAM Array. Source: S. Angizi, Z. He, A. S. Rakin, and D. Fan, &#8220;Cmp-pim: an energy-efficient comparator-based processing-in-memory neural network accelerator,&#8221; in Proceedings of the 55th Annual Design Automation Conference, 2018, pp. 1&#8211;6.</figcaption></figure></div></li><li><p><strong>MRAM </strong>- Magnetic RAM consists of two ferromagnetic layers with a fixed and a free layer. The orientation between the two layers affects the resistance.</p><p></p></li></ul></li></ul><h2>Scaling Challenges with Analog CiM</h2><p></p>
      <p>
          <a href="https://www.siliconcodesign.com/p/a-comprehensive-overview-of-the-ai">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[From Atari to ChatGPT: The Technical and Corporate Forces Shaping Frontier AI ]]></title><description><![CDATA[How the intersection of scientific ambition, commercial urgency, and safety research birthed the modern scaling era.]]></description><link>https://www.siliconcodesign.com/p/a-brief-history-of-modern-ai-deepmind</link><guid isPermaLink="false">https://www.siliconcodesign.com/p/a-brief-history-of-modern-ai-deepmind</guid><dc:creator><![CDATA[Chad]]></dc:creator><pubDate>Wed, 29 Apr 2026 17:54:36 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/fcc0b821-27c2-4f6d-b4e3-b1750426a5f6_1201x673.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iEJ4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iEJ4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png 424w, https://substackcdn.com/image/fetch/$s_!iEJ4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png 848w, https://substackcdn.com/image/fetch/$s_!iEJ4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png 1272w, https://substackcdn.com/image/fetch/$s_!iEJ4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iEJ4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png" width="407" height="601.370477568741" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1021,&quot;width&quot;:691,&quot;resizeWidth&quot;:407,&quot;bytes&quot;:1396370,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iEJ4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png 424w, https://substackcdn.com/image/fetch/$s_!iEJ4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png 848w, https://substackcdn.com/image/fetch/$s_!iEJ4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png 1272w, https://substackcdn.com/image/fetch/$s_!iEJ4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5187456-2ee8-4525-9b42-3a609a0a72a1_691x1021.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><strong>Figure 1. </strong>&#8220;The Infinity Machine&#8221; by Sebastian Mallaby</figcaption></figure></div><p>Demis Hassabis is perhaps one of the most important influences in Modern AI that isn&#8217;t a household name.</p><p>Modern AI is not just a story of better models. It was shaped by the interaction between <strong>scientific ambition</strong>, <strong>commercial urgency</strong>, <strong>safety concerns</strong>, and the <strong>compute power</strong> available to model it. </p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Inside the Silicon Machine is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>Every AI enthusiast should read <strong>&#8220;The Infinity Machine&#8221;</strong> to better understand the <strong>development of modern AI</strong>. It tells the story of <strong>Demis Hassabis</strong>, CEO of Google DeepMind, from his origins, to his founding of DeepMind and its acquisition by Google. </p><p>I&#8217;ll highlight a brief history of AI through the <strong>formative years</strong> of Demis Hassabis, and cover the <strong>key technical developments</strong> and <strong>organizational challenges</strong> along the path to modern AI, particularly around <strong>AI safety</strong>. </p><p>I&#8217;ll also dive into the key papers addressed in the book that influence modern AI today such as <strong>deep reinforcement learning,</strong> <strong>transformer architecture</strong>, and <strong>chain-of-thought prompting</strong> that approximate <strong>human intuition.</strong></p><h2>Demis Hassabis</h2><p>From his early days Demis Hassabis is a modern example of a modern day Polymath, with broad-ranging interests from sci-fi, philosophy, computer science, and neuroscience. </p><p>His entire career has been dedicated to developing <strong>artificial general intelligence (AGI)</strong>, a hypothetical type of AI that <strong>matches or exceeds human cognitive abilities </strong>across a wide range of tasks. His dedication to this mission has him referred to as an <strong>&#8220;authentic entrepreneur&#8221;</strong> by VCs because he is genuinely dedicated to a cause, as opposed to entrepreneurs fishing for ideas to strike it rich. </p><p>We&#8217;ll see through his formative years in video game development about how he distinguishes between early machine vs human intelligence:</p><ul><li><p><strong>Early machine intelligence</strong> uses deductive, first order reasoning to reason through problems </p></li><li><p><strong>Human intelligence </strong>generally uses induction or high level pattern recognition to identify shapes, sounds, and reason through sentences</p></li></ul><h4>Formative Years</h4><p>Demis had a fairly modest upbringing in North London. When he was young he was highly influenced by classic Sci-Fi: &#8220;Enders Game&#8221;, &#8220;Foundation&#8221;, &#8220;Godel, Escher, Bach&#8221; and Ian Banks &#8220;Culture&#8221; series were some of his early influences. He was a chess genius and video game enthusiast in his early days, frequently ruminating on what algorithms are needed to program a machine to play chess.</p><p>He won admission at University of Cambridge to study CS, but he was too young at the age of 16. During this time gap, he worked on video game development at  Bullfrog with Peter Molyneux to develop video games, including <em>Theme Park</em>.</p><p>After he graduated, he founded Elixir Studios in 1998, a London-based video games developer, and work on developing video games that focused on complex decisions on the user&#8217;s part, including <em>Republic: The Revolution</em> and <em>Evil Genius</em>. </p><p>Elixir Studios ultimately failed in April 2005, at which point he decided to pursue his PhD in neuroscience at University College London (UCL) from 2005 to 2009. His studies focused on the field of imagination, memory, and amnesia.</p><p>After he obtained his PhD, Demis Hassabis founded <strong>DeepMind Technologies </strong>in London in 2010, a ML AI startup with Shane Legg and Mustafa Suleyman. The goal is to <strong>combine insights from neuroscience with ML and computing hardware to create new algorithms to advance toward AGI</strong>. His company was successful at training a <strong>Deep Q-Network</strong> to play Atari games in 2013. [1]</p><p>In 2014, <strong>Google purchased DeepMind for $400 million</strong> where it remained a separate, siloed entity from Google. Since being purchased, it racked up a list of accomplishments from 2014 to 2020:</p><ul><li><p>It created a clinical alert system, <strong>Streams</strong>, for acute kidney injury in the UK. While well intended, it was controversial because of concerns over patient data governance.</p></li><li><p>It created <strong>AlphaGo</strong>, a program that played Go. It defeated world champion Lee Sedol in 2016 and several other high level players with moves that humans had very little intuition for.</p></li><li><p>It created <strong>AlphaFold</strong> and <strong>AlphaFold 2</strong> to take on the CASP protein-structure prediction competitions. AlphaFold 2 achieved a breakthrough at CASP14 in 2020. In 2021, DeepMind and EMBL-EBI launched the AlphaFold Protein Structure Database, and by 2022 it included predictions for more than <strong>200 million protein structures</strong>. Hassabis later won a Nobel Prize in Chemistry for his contribution, along with John Jumper and David Baker.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fCVV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fCVV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png 424w, https://substackcdn.com/image/fetch/$s_!fCVV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png 848w, https://substackcdn.com/image/fetch/$s_!fCVV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png 1272w, https://substackcdn.com/image/fetch/$s_!fCVV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fCVV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png" width="530" height="291.9157720891825" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:667,&quot;width&quot;:1211,&quot;resizeWidth&quot;:530,&quot;bytes&quot;:1513119,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!fCVV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png 424w, https://substackcdn.com/image/fetch/$s_!fCVV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png 848w, https://substackcdn.com/image/fetch/$s_!fCVV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png 1272w, https://substackcdn.com/image/fetch/$s_!fCVV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06afa233-a5f7-4520-b51c-91e4ed351094_1211x667.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 2. Nobel Prize winners for AlphaFold2. Source: https://www.science.org/content/article/protein-designer-and-structure-solvers-win-chemistry-nobel</figcaption></figure></div><h2>AI Safety: Commercial time-to-market vs Research Discovery </h2><p>While DeepMind racked up an impressive list of accomplishments in its early years, it entered a ferocious competition to develop LLMs against OpenAI, led by Sam Altman.</p><p>Much of the story that follows revolves around two concepts:</p><ul><li><p>AI safety</p></li><li><p>Research vs Commercial Environments</p></li></ul><p>I&#8217;ll cover the groundwork for each concept, then dive into the high level narrative of the competition between OpenAI and DeepMind.</p><h4>AI Safety </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MTmi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MTmi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png 424w, https://substackcdn.com/image/fetch/$s_!MTmi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png 848w, https://substackcdn.com/image/fetch/$s_!MTmi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png 1272w, https://substackcdn.com/image/fetch/$s_!MTmi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MTmi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png" width="248" height="383" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:383,&quot;width&quot;:248,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:175993,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!MTmi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png 424w, https://substackcdn.com/image/fetch/$s_!MTmi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png 848w, https://substackcdn.com/image/fetch/$s_!MTmi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png 1272w, https://substackcdn.com/image/fetch/$s_!MTmi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4040ff8-45f0-4427-80c6-b03757b0c850_248x383.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 3. Cover of &#8220;I, Robot&#8221; by Isaac Asimov</figcaption></figure></div><p>Long before <strong>AI safety </strong>became a technical field, Sci-Fi gave the public a meaningful way to think about machine intelligence and control. &#8220;I, Robot&#8221; by Isaac Asimov in 1950, proposed the <strong>&#8220;the Three Laws of Robotics&#8221;</strong> that dictate that &#8220;robots must never harm humans, must obey orders unless they conflict with the first law, and must protect their own existence&#8221;. Additionally, classic Sci-Fi highlights the <strong>potential dangers of misuse of AI such as </strong>Terminator, Blade Runner, and Cyberpunk genres.</p><p>These examples influenced the development of AI where humans ensure that AI is safe and aligned with human <strong>intentions</strong>. Humans need to ensure that AI doesn&#8217;t deceive users by providing harmful / misleading information.</p><p>One way to test for AI safety is through <strong>adversarial testing</strong>, or <strong>&#8220;red teaming&#8221;</strong>, where <strong>human testers act as adversaries</strong> to intentionally break, deceive, or trigger harmful outputs from AI systems. Red teams simulate real-world attacks to identify safety, security, and ethical flaws, such as prompt injections, bias, or data leakage, before malicious actors exploit them. </p><p>As AI models <strong>scaled in complexity</strong>, they became <strong>harder to interpret</strong>. Inputs could be fed in during training and outputs could be evaluated during inference, but the<strong> internal representations became increasingly difficult to explain</strong>. AI can produce human-aligned outputs 99.9% of the time, but identifying the 0.1% of cases where it acts against human intentions can be difficult.</p><p>Red teaming alone does not guarantee total safety, but is one tool in a broad range of strategies to ensure that AI is aligned with human intentions. </p><h4>Research vs Commercial incentives </h4><p>In large tech corporations such as Google, there are two main categories of groups that contribute to business revenues:</p><ul><li><p><strong>Revenue-generating core business</strong> - Engineers who create products to <strong>take to market</strong> or <strong>maintain/update existing infrastructure</strong>. Here, work is considered to be <strong>low risk</strong> and <strong>execution on set priorities </strong>is important.</p></li><li><p><strong>Research and development - </strong>Researchers who work on<strong> high-risk</strong>, <strong>long-term,</strong> and <strong>ambitious</strong> ventures. In R&amp;D environments,<strong> ideas are incubated </strong>to either be published or folded into products to take to market.</p></li></ul><p>Organizations consist of groups that range from <strong>commercial readiness</strong> vs <strong>research focus</strong> that help sustain the revenue of the core business as well as bet on &#8220;moonshot&#8221; ideas that can generate revenue in the future. </p><p>In 2015, Google restructured under the umbrella holding company &#8220;Alphabet&#8221;, separating its core businesses from longer-term moonshot bets such as autonomous driving, fiber, and life sciences. This move positioned Google to overcome the <strong>&#8220;innovators dilemma&#8221;</strong> by incubating capabilities to enhance its core business or act as additional revenue generating streams in the future should outside disrupters arrive and threaten it. </p><p>DeepMind, HQed in London, was acquired by Google because its capabilities were potentially useful to the core business. However, it was <strong>heavily siloed </strong>from the main HQ in California at first. This siloing gave the researchers to environment to produce many of the key innovations but caused it to hesitate entering the market when commercial pressure arose. </p><p>OpenAI, on the other hand, is HQed in San Francisco, California, with a highly influential leader, Sam Altman, and the entire network and talent pool of the Valley nearby.</p><h4>OpenAI - Fast to Market, with Safety Governance Under Pressure</h4><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nVrk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nVrk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png 424w, https://substackcdn.com/image/fetch/$s_!nVrk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png 848w, https://substackcdn.com/image/fetch/$s_!nVrk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png 1272w, https://substackcdn.com/image/fetch/$s_!nVrk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nVrk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png" width="408" height="160" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:160,&quot;width&quot;:408,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20643,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nVrk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png 424w, https://substackcdn.com/image/fetch/$s_!nVrk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png 848w, https://substackcdn.com/image/fetch/$s_!nVrk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png 1272w, https://substackcdn.com/image/fetch/$s_!nVrk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04152b1-b3c4-4aac-bcc3-486b31c0fcf5_408x160.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>OpenAI was founded in 2015 by Sam Altman, Elon Musk, Greg Brockman, and others as a non-profit with the primary goal of ensuring that artificial general intelligence (AGI) benefits all of humanity.</p><p>In 2020, OpenAI published <strong>&#8220;Language Models are Few-Shot Learners,&#8221;</strong> introducing <strong>GPT-3</strong>, a 175-billion-parameter autoregressive language model, building off of the <strong>&#8220;Attention is all you Need&#8221;</strong> paper published in 2017. This was one of the first truly major, <strong>large-scale Large Language Models (LLMs)</strong>.</p><p>However, as models were becoming more complex, <strong>AI safety</strong> became a concern. Former OpenAI employees including Dario and Daniela Amodei defected and founded <strong>Anthropic </strong>in 2021 to prioritize <strong>AI safety, alignment, and research.</strong></p><p>To improve AI safety, OpenAI released a paper in 2022, <strong>&#8220;Training language models to follow instructions with human feedback&#8221;</strong> which used <strong>Reinforcement Learning with Human Feedback</strong> (RLHF). It demonstrated that humans are able to &#8220;teach&#8221; AI outputs that aligns with humans intention so that the AI can be trained more effectively. This paper demonstrated improvements in how humans can &#8220;guide&#8221; AI to produce output that aligns with its intentions.</p><p>On <strong>November 30, 2022, </strong>ChatGPT was officially released by OpenAI. It was intended to be introduced as a &#8220;research preview&#8221; and fast tracked to not let Anthropic get ahead. It <strong>quickly went viral</strong>, reaching one million users within a few days of its launch, the fastest growing consumer application ever at the time (Threads would later surpass this).</p><p>About a year later, the board was concerned about Sam Altman&#8217;s handling of AI safety and other allegations. The board abruptly fired Altman on November 17, 2023, citing concerns about his candor. But the move triggered a rapid employee and investor backlash: nearly all OpenAI employees threatened to leave unless he was reinstated, and Altman returned as CEO on November 22, 2023 with a restructured board.</p><h4>Google DeepMind - Prioritizing AI safety, but Caught in the Innovators Dilemma</h4><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!EHRh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EHRh!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png 424w, https://substackcdn.com/image/fetch/$s_!EHRh!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png 848w, https://substackcdn.com/image/fetch/$s_!EHRh!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png 1272w, https://substackcdn.com/image/fetch/$s_!EHRh!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EHRh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png" width="518" height="158" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:158,&quot;width&quot;:518,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:34715,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!EHRh!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png 424w, https://substackcdn.com/image/fetch/$s_!EHRh!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png 848w, https://substackcdn.com/image/fetch/$s_!EHRh!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png 1272w, https://substackcdn.com/image/fetch/$s_!EHRh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fab3ffa9c-59c2-4d08-82c7-c91bb7a678b9_518x158.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Google saw commercial potential in AI when it first acquired DeepMind because it <strong>recognized the strategic importance of AI</strong> in its core business. </p><p>At first, DeepMind&#8217;s culture leaned toward <strong>research depth</strong>, <strong>scientific credibility</strong>, and <strong>safety caution</strong>. It saw too much existential risk to let commercial priorities drive AI&#8217;s deployment, which made it slower to convert frontier models into consumer products. Demis wanted a path to spinout to a semi-independent Alphabet company, but ultimately didn&#8217;t due to the legal effort involved. </p><p>When OpenAI released GPT-3 in 2020, DeepMind did their own work on LLMs and published a few key papers, including Flamingo, Gato, and Chinchilla in 2022. In Sept 2022, it worked on Sparrow, DeepMind&#8217;s version of ChatGPT, which used RLHF. However, it was ultimately <strong>not released</strong> to the general public.</p><p>When OpenAI released ChatGPT, Google was briefly trapped by the <strong>innovators dilemma</strong> where it would put its brand at risk if it released an AI model too early and it hallucinated. During this time, a lot of DeepMind researchers were being poached by OpenAI who were frustrated by lack of progress by Google releasing a product. </p><p>On April 20, 2023, <strong>Google Brain </strong>(aimed at applied machine learning for Google products like TensorFlow) and <strong>DeepMind</strong> merged to form a single unit, <strong>Google DeepMind</strong>, to become one comprehensive unit.</p><p>Google DeepMind ultimately launched <strong>Gemini </strong>in Dec 2023 and upgraded versions that followed. While it is widely used nowadays and offers many benefits over ChatGPT (such as much larger context window for large documents), it ultimately suffered from the first mover advantage OpenAI had.</p><h2>Key Technical Developments in modern AI</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YtXF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YtXF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png 424w, https://substackcdn.com/image/fetch/$s_!YtXF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png 848w, https://substackcdn.com/image/fetch/$s_!YtXF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png 1272w, https://substackcdn.com/image/fetch/$s_!YtXF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YtXF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png" width="526" height="473.2554945054945" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1310,&quot;width&quot;:1456,&quot;resizeWidth&quot;:526,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YtXF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png 424w, https://substackcdn.com/image/fetch/$s_!YtXF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png 848w, https://substackcdn.com/image/fetch/$s_!YtXF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png 1272w, https://substackcdn.com/image/fetch/$s_!YtXF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2dd4607-596c-4762-b9cc-cdd1050a20de_2985x2685.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 4. Timeline of Evolution of LLMs. Source: https://toloka.ai/blog/history-of-llms/</figcaption></figure></div><p>With that institutional backdrop in place, the technical story becomes easier to understand. </p><p>Next I&#8217;ll dive deeper into the key technical developments along the way to modern AI <strong>referenced in the book</strong> that approximate <strong>human intuitions</strong>. This is by no means a complete list since this book does not cover the more recent &#8220;reasoning era&#8221; Agentic AI.</p><h4>Deep Reinforcement Learning (2013-2015) </h4><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zm3b!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zm3b!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png 424w, https://substackcdn.com/image/fetch/$s_!zm3b!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png 848w, https://substackcdn.com/image/fetch/$s_!zm3b!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png 1272w, https://substackcdn.com/image/fetch/$s_!zm3b!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zm3b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png" width="420" height="171.11111111111111" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:220,&quot;width&quot;:540,&quot;resizeWidth&quot;:420,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!zm3b!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png 424w, https://substackcdn.com/image/fetch/$s_!zm3b!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png 848w, https://substackcdn.com/image/fetch/$s_!zm3b!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png 1272w, https://substackcdn.com/image/fetch/$s_!zm3b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b72101e-ccd4-4709-a494-0323c5db70cc_540x220.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Figure 5. Overview of Reinforcement learning. Source: https://medium.com/@vishnuvijayanpv/deep-reinforcement-learning-artificial-intelligence-machine-learning-and-deep-learning-e52cb5974420</figcaption></figure></div><p>Reinforcement learning is a fairly intuitive, but math-heavy, ML method where an <strong>agent interacts with the world</strong> and <strong>periodically receives rewards / reinforcements </strong>that reflect how well its doing. Reinforcement learning is especially popular in environments where there are <strong>small number of training examples</strong> compared to the state space the agent exists in (like chess) that supervised learning would struggle in. </p><p>Each agent exists in an environment that resembles a <strong>Markov decision process</strong>, such as a maze, with other states that the agent can transition to. The agent has a policy that determines whether it will <strong>explore</strong> the environment or <strong>exploit</strong> an action with known outcomes. Each agent goes through several trials of decisions, determines which actions likely led to the desired outcomes, and updates its policies with what it learned.</p><p>One popular method of reinforcement learning is <strong>Q-learning </strong>(or Quality) where the agent estimates the max expected future reward for each action in each state. While Q learning is fairly primitive, it forms the basis for more sophisticated algorithms.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bX8X!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bX8X!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png 424w, https://substackcdn.com/image/fetch/$s_!bX8X!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png 848w, https://substackcdn.com/image/fetch/$s_!bX8X!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png 1272w, https://substackcdn.com/image/fetch/$s_!bX8X!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bX8X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png" width="396" height="180.46285714285713" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:319,&quot;width&quot;:700,&quot;resizeWidth&quot;:396,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!bX8X!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png 424w, https://substackcdn.com/image/fetch/$s_!bX8X!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png 848w, https://substackcdn.com/image/fetch/$s_!bX8X!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png 1272w, https://substackcdn.com/image/fetch/$s_!bX8X!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce36e8d5-bfc0-4c4b-83eb-35561f1a2caa_700x319.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Figure 6. Deep Reinforcement Learning. Source: https://medium.com/@vishnuvijayanpv/deep-reinforcement-learning-artificial-intelligence-machine-learning-and-deep-learning-e52cb5974420</figcaption></figure></div><p>In a 2013 paper, <strong>&#8220;Playing Atari with Deep Reinforcement Learning&#8221;</strong>, Hassabis attempted to combine deep and reinforcement learning to create a single NN agent that is able to <strong>learn to play as many of the games as possible without knowing the rules in advance</strong> [1]. However, combining deep learning and reinforcement learning presented some challenges:</p><ul><li><p><strong>Deep learning</strong> applications require <strong>large amounts of hand-labelled training data </strong>(at the time). It also assumes samples to be independent.</p></li><li><p><strong>RL algorithms,</strong> on the other hand, learn from a scalar reward signal that is frequently<strong> sparse, noisy and delayed</strong>. It also frequently encounters <strong>highly correlated states.</strong></p></li></ul><p>DeepMind used <strong>Deep Q-Networks (DQN) </strong>to play Atari games. They use a method of <strong>&#8220;experience replay&#8221;</strong> where the agent&#8217;s experiences are stored at each time step, then are <strong>sampled uniformly</strong> when performing updates. Randomizing samples helps break up correlations and allows the DNN to learn more effectively.</p><p>They demonstrate this approach on seven Atari Games (Beam Rider, Breakout, Enduro, Pong, Q*bert, Seaquest, and Space Invaders) and showed that it <strong>generalizes</strong> to a variety of games without specific information about each game. </p><h4>Transformer (2017)</h4><p>The Transformer architecture was introduced in the June 2017 seminal paper "<strong>Attention Is All You Need</strong>" by researchers from Google Brain and Google Research. <strong>It is widely considered one of the most important, consequential, and influential AI papers of the 21st century</strong> because it influences the architecture of Large Language Models we use today.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BbYY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BbYY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png 424w, https://substackcdn.com/image/fetch/$s_!BbYY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png 848w, https://substackcdn.com/image/fetch/$s_!BbYY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png 1272w, https://substackcdn.com/image/fetch/$s_!BbYY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BbYY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png" width="877" height="179" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f96583df-4af2-4737-9491-206f44e979cb_877x179.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:179,&quot;width&quot;:877,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13142,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BbYY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png 424w, https://substackcdn.com/image/fetch/$s_!BbYY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png 848w, https://substackcdn.com/image/fetch/$s_!BbYY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png 1272w, https://substackcdn.com/image/fetch/$s_!BbYY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff96583df-4af2-4737-9491-206f44e979cb_877x179.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Figure 7. A Sequence to Sequence Model with Long Short term Memory [2]</figcaption></figure></div><p>Prior to the transformer model, the standard approach for language training were <strong>Recurrent Neural Networks (RNNs)</strong> and <strong>sequence-to-sequence</strong> models with <strong>Long Short-Term Memory (LSTM</strong>). A RNN/LSTM processes words sequentially. This is useful in simple, condensed sentences structures such as subject-verb-object pairs. However, it suffers from modern sentences especially when <strong>meaning between words (both local and global context) are far away from each other in time. </strong></p><p>The proposed &#8220;<strong>Attention&#8221;</strong> mechanism allows <strong>each word context into what other related words are doing</strong>. To get an idea for how the Attention mechanism works, lets consider real sentences. </p><p>Real sentences can have <strong>multiple parts of speech</strong>, with nouns (things), adjectives (modifiers to nouns), verbs (actions) and other parts of speech. Nouns can take on multiple meanings depending on the &#8220;context&#8221; is it in. Take the word &#8220;apple&#8221; in the following sentences:</p><ul><li><p>Apple will release an iPhone next year.</p></li><li><p>I ate an apple and it was delicious.</p></li></ul><p>In each sentence, its clear to us what &#8220;Apple&#8221; refers to: a company in the first sentence because of the world &#8220;IPhone&#8221; that provided context, and a fruit in the second because of the word, &#8220;delicious&#8221;. We humans used <strong>context clues </strong>to determine what &#8220;apple&#8221; means based on supporting words around it.</p><p>This is roughly what &#8220;<strong>Attention&#8221;</strong> enables mathematically in the Transformer architecture.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!b6Oy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b6Oy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png 424w, https://substackcdn.com/image/fetch/$s_!b6Oy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png 848w, https://substackcdn.com/image/fetch/$s_!b6Oy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png 1272w, https://substackcdn.com/image/fetch/$s_!b6Oy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!b6Oy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png" width="287" height="399.0211800302572" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:919,&quot;width&quot;:661,&quot;resizeWidth&quot;:287,&quot;bytes&quot;:115042,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!b6Oy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png 424w, https://substackcdn.com/image/fetch/$s_!b6Oy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png 848w, https://substackcdn.com/image/fetch/$s_!b6Oy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png 1272w, https://substackcdn.com/image/fetch/$s_!b6Oy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99aee463-316f-43c6-a5bf-97ced3b42069_661x919.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 8. The Transformer Architecture [3]</figcaption></figure></div><p>In the original Transformer, words are processed in parallel through attention layers rather than one step at a time as in RNNs. These words are broken down into several units called <strong>&#8220;tokens&#8221;.</strong></p><p>Then, each token is converted to a high dimensional vector called an <strong>embedding</strong> that <strong>captures the meaning of each token</strong>. Think of this vector like the entries of a <strong>thesaurus</strong> where each tokens&#8217; values corresponds to how strong it correlates to each entry in the thesaurus. A word like apple can map well on the the position that represents companies (such as Tesla, Exxon) and another position that specific fruits (oranges, pears). These embedding values are found during <strong>training</strong> on billions of words since each embedding has multiple &#8220;dimensions&#8221; it sits on.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vovv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vovv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png 424w, https://substackcdn.com/image/fetch/$s_!vovv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png 848w, https://substackcdn.com/image/fetch/$s_!vovv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png 1272w, https://substackcdn.com/image/fetch/$s_!vovv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vovv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png" width="568" height="325.6178194607268" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f9b4505a-b006-415e-9641-fc3e19067d53_853x489.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:489,&quot;width&quot;:853,&quot;resizeWidth&quot;:568,&quot;bytes&quot;:235034,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!vovv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png 424w, https://substackcdn.com/image/fetch/$s_!vovv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png 848w, https://substackcdn.com/image/fetch/$s_!vovv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png 1272w, https://substackcdn.com/image/fetch/$s_!vovv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9b4505a-b006-415e-9641-fc3e19067d53_853x489.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 9. Attention Mechanism showing relationship between words stores as &#8220;weights&#8221; in a matrix of all possible combinations [3]</figcaption></figure></div><p>Then, through matrix operations, <strong>every word in a sentence calculates how much &#8220;attention&#8221; it should pay to every </strong><em><strong>other</strong></em><strong> word in that same sentence.</strong> This allows it to figure out relationship between words based on <strong>context clues.</strong></p><p>To accomplish this, each embedding vector is decomposed into three vectors : <strong>Query (Q)</strong>, <strong>Key (K)</strong>, and <strong>Value (V)</strong>.  The query vector for each word is then multiplied by the key vectors for all the other words to come up with an <strong>&#8220;Attention&#8221; matrix</strong> that represents how related words are to each other. This attention value is given by the following formula:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6O53!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6O53!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png 424w, https://substackcdn.com/image/fetch/$s_!6O53!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png 848w, https://substackcdn.com/image/fetch/$s_!6O53!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png 1272w, https://substackcdn.com/image/fetch/$s_!6O53!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6O53!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png" width="443" height="88.25725338491296" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:103,&quot;width&quot;:517,&quot;resizeWidth&quot;:443,&quot;bytes&quot;:19624,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!6O53!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png 424w, https://substackcdn.com/image/fetch/$s_!6O53!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png 848w, https://substackcdn.com/image/fetch/$s_!6O53!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png 1272w, https://substackcdn.com/image/fetch/$s_!6O53!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb25c47e-fd19-4585-9b1d-b73c5acc189e_517x103.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Figure 10. Attention Formula [3]</figcaption></figure></div><p>To predict the next word in the sequence, it uses a decoder to look at words in context to be able to generate the sequence of words that map well to the original meaning of the sentence.</p><p>AlphaFold 2 also showed how attention-like architectures could move beyond language: it used attention over sequence and pair representations to <strong>reason about relationships between amino acids</strong>, including residues far apart in the 1D sequence but close in 3D structure.</p><p>The transformer is significant because it is <strong>scalable along memory and compute:</strong></p><ul><li><p>The<strong> context window</strong> represents the &#8220;short term memory&#8221; as the maximum number of tokens (words) the model can &#8220;see&#8221; in one single look. </p></li><li><p>The main attention calculation is a <strong>matrix multiplication</strong>, so modern GPUs can <strong>parallelize these matrix multiplications</strong> to higher embedding dimensions.</p></li></ul><h4>Sentiment Neuron (2017)</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RItM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RItM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png 424w, https://substackcdn.com/image/fetch/$s_!RItM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png 848w, https://substackcdn.com/image/fetch/$s_!RItM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png 1272w, https://substackcdn.com/image/fetch/$s_!RItM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RItM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png" width="326" height="461.98342541436466" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1026,&quot;width&quot;:724,&quot;resizeWidth&quot;:326,&quot;bytes&quot;:573607,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!RItM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png 424w, https://substackcdn.com/image/fetch/$s_!RItM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png 848w, https://substackcdn.com/image/fetch/$s_!RItM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png 1272w, https://substackcdn.com/image/fetch/$s_!RItM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe611dd22-62e5-4e17-a855-cde2bdd8be6e_724x1026.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 11. Value of single Sentiment cell (positive, negative, neutral) while parsing IMBd review [4]</figcaption></figure></div><p>The paper <strong>&#8220;Learning to Generate Reviews and Discovering Sentiment&#8221;</strong> was released by OpenAI on April 5, 2017. This paper was consequential because it became an early and memorable example of a neural network learning an <strong>internal representation</strong> that researchers did not explicitly program.</p><p>Originally, the researchers at OpenAI trained a specific type of RNN called an <strong>mLSTM</strong> (Multiplicative LSTM) on 82 million Amazon reviews with unsupervised language modeling. They found that <strong>one single neuron</strong> had essentially "volunteered" to track sentiment of whether parts of the review were positive, neutral, or negative.</p><p>This paper is considered <strong>highly influential </strong>to AI safety because it gave insight to researchers that certain neurons can be &#8220;inspected&#8221; to find big picture behavior and debug potentially dangerous behavior.</p><h4>Few-shot and in-context learning in GPT-3 (2020)</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Mj4w!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mj4w!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png 424w, https://substackcdn.com/image/fetch/$s_!Mj4w!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png 848w, https://substackcdn.com/image/fetch/$s_!Mj4w!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png 1272w, https://substackcdn.com/image/fetch/$s_!Mj4w!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mj4w!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png" width="1456" height="666" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:666,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:109512,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Mj4w!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png 424w, https://substackcdn.com/image/fetch/$s_!Mj4w!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png 848w, https://substackcdn.com/image/fetch/$s_!Mj4w!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png 1272w, https://substackcdn.com/image/fetch/$s_!Mj4w!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff72c6e8d-6bcc-4be8-bd74-8ecbd847201a_1488x681.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 12. Meta Learning on a broadly trained LLM with context provided during inference to tailor the LLM to the specific task [5]</figcaption></figure></div><p>Since the transformer paper was published, the standard approach for LLMs was to pretrain the models on a ton of data and fine tune the model for each specific task, such as reading comprehension and answering questions. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_Ksx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_Ksx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png 424w, https://substackcdn.com/image/fetch/$s_!_Ksx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png 848w, https://substackcdn.com/image/fetch/$s_!_Ksx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png 1272w, https://substackcdn.com/image/fetch/$s_!_Ksx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_Ksx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png" width="409" height="353.0891530460624" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/58ea62f9-a084-44da-8958-5be095023698_673x581.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:581,&quot;width&quot;:673,&quot;resizeWidth&quot;:409,&quot;bytes&quot;:110466,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!_Ksx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png 424w, https://substackcdn.com/image/fetch/$s_!_Ksx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png 848w, https://substackcdn.com/image/fetch/$s_!_Ksx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png 1272w, https://substackcdn.com/image/fetch/$s_!_Ksx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F58ea62f9-a084-44da-8958-5be095023698_673x581.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 13. Examples of Prompts for in-context learning in zero-shot, one-shot, and few-shot learning [5]</figcaption></figure></div><p>In Apr 2020, when OpenAI released GPT-3, it published a paper, &#8220;Language Models are Few-Shot Learners&#8221;. This paper presents <strong>&#8220;Few-shot learning&#8221; </strong>where a model learns to perform new tasks or recognize patterns simply <strong>by providing examples in the prompt</strong>, a capability known as <strong>in-context learning</strong>. It demonstrated that a generalized LLM model could be <strong>taught to solve new tasks using only a very small amount of training data. </strong>Other settings such as zero-shot and one-shot were shown with some accuracy loss compared to few-shot at the time. </p><p>Together, the Transformer architecture and GPT-3 helped make <strong>scaling</strong> a central paradigm in AI: as model size, data, and compute increased, capabilities improved in increasingly predictable ways.</p><h4>Reinforcement Learning with Human Feedback (2022)</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xE7t!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xE7t!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png 424w, https://substackcdn.com/image/fetch/$s_!xE7t!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png 848w, https://substackcdn.com/image/fetch/$s_!xE7t!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png 1272w, https://substackcdn.com/image/fetch/$s_!xE7t!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xE7t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png" width="523" height="310.768115942029" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:492,&quot;width&quot;:828,&quot;resizeWidth&quot;:523,&quot;bytes&quot;:140909,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!xE7t!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png 424w, https://substackcdn.com/image/fetch/$s_!xE7t!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png 848w, https://substackcdn.com/image/fetch/$s_!xE7t!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png 1272w, https://substackcdn.com/image/fetch/$s_!xE7t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25f6ec9c-b360-4ff2-98e9-faa53fbc4043_828x492.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 14. Methodology for Reinforcement Learning with Human Feedback [6]</figcaption></figure></div><p>When LLMs began scaling in complexity, they sometimes generated outputs that were not <strong>aligned</strong> with their users, such as toxic or biased statements. The paper <strong>&#8220;Training language models to follow instructions with human feedback&#8221;</strong> used human-guided Reinforcement learning to &#8220;teach&#8221; the model what outputs are acceptable to humans. </p><p>OpenAI hired 40 contractors and trained a model, <strong>InstructGPT</strong>, with human feedback. They evaluated its responses vs GPT-3 and found that <strong>labelers significantly prefer InstructGPT</strong> outputs over outputs from GPT-3. </p><p>This procedure showed <strong>improvements in truthfulness and reducing toxicity</strong>. However, RLHF is hard to scale because human-provided feedback on AI is harder as AI generated more sophisticated outputs.</p><h4>Chain-of-thought Prompting (2022)</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DVyE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DVyE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png 424w, https://substackcdn.com/image/fetch/$s_!DVyE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png 848w, https://substackcdn.com/image/fetch/$s_!DVyE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png 1272w, https://substackcdn.com/image/fetch/$s_!DVyE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DVyE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png" width="621" height="305.37931034482756" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:656,&quot;width&quot;:1334,&quot;resizeWidth&quot;:621,&quot;bytes&quot;:187965,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!DVyE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png 424w, https://substackcdn.com/image/fetch/$s_!DVyE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png 848w, https://substackcdn.com/image/fetch/$s_!DVyE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png 1272w, https://substackcdn.com/image/fetch/$s_!DVyE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a64d73c-babe-46bb-a361-b7edf452fdff_1334x656.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 15. Illustration of Chain-of-Thought Prompting [7]</figcaption></figure></div><p>The concept of Chain-of-thought prompting was introduced in the 2022 paper, <strong>&#8220;Chain-of-Thought Prompting Elicits Reasoning in Large Language Models&#8221;</strong>. CoT was a major demonstration that providing <strong>intermediate reasoning examples</strong> to pretrained LLMs can <strong>improve performance on arithmetic, commonsense, and symbolic reasoning tasks</strong> in sufficiently large models.</p><p>CoT also made model outputs <strong>more interpretable</strong> at the surface level, because humans could inspect the generated intermediate steps, though those steps should not be treated as a guaranteed faithful transcript of the model&#8217;s internal computation.</p><p>This approach is similar to<strong> how humans learn by analogy/example.</strong> It is typical for humans to decompose the problem into intermediate steps and solve each before giving the final answer. Most of us were taught to <strong>&#8220;show your work&#8221; </strong>when solving complex problems and were rewarded partial credit even though our answer might be wrong, since the line of reasoning can be valid up to a certain point. </p><h4>Anthropic - Interpretability (2021-)</h4><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Egvl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Egvl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png 424w, https://substackcdn.com/image/fetch/$s_!Egvl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png 848w, https://substackcdn.com/image/fetch/$s_!Egvl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png 1272w, https://substackcdn.com/image/fetch/$s_!Egvl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Egvl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png" width="423" height="98" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:98,&quot;width&quot;:423,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:10781,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/195320512?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!Egvl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png 424w, https://substackcdn.com/image/fetch/$s_!Egvl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png 848w, https://substackcdn.com/image/fetch/$s_!Egvl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png 1272w, https://substackcdn.com/image/fetch/$s_!Egvl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe04be582-c0b3-4a38-a9a8-7cec31102e14_423x98.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Anthropic was founded in <strong>2021</strong> by former OpenAI executives Dario and Daniela Amodei and other colleagues. It was established as a public benefit corporation (PBC) dedicated to <strong>AI safety, focusing on creating reliable, interpretable, and safe AI systems</strong> (like Claude) following disagreements over the rapid commercialization and safety approach at OpenAI.</p><p>Anthropic&#8217;s safety research pushed hard on <strong>mechanistic interpretability:</strong> trying to identify features, circuits, and internal representations that help explain why a model produced a given output. </p><p>This matters because <strong>interpretability is one possible path toward moving AI safety </strong>beyond trial-and-error behavior testing. Red teaming can reveal when a model fails from the outside; interpretability tries to understand why the model behaves that way from the inside.</p><h2>Conclusion</h2><p>Modern AI did not emerge from a single breakthrough, company, or personality. It came from the <strong>convergence of several technical ideas:</strong> <strong>deep reinforcement learning, transformers, scaling laws, RLHF, chain-of-thought prompting, and interpretability </strong>&#8212; with a set of organizational tensions that shaped how quickly those ideas moved from <strong>research labs</strong> into the <strong>hands of the public.</strong></p><p>Demis Hassabis and Sam Altman represent two different archetypes in this story. </p><ul><li><p>Hassabis reflects the <strong>research-driven</strong>,<strong> long-horizon</strong> pursuit of intelligence as a scientific problem. </p></li><li><p>Altman reflects the <strong>commercial, political, and go-to-market instincts</strong> required to turn frontier research into a mass-market product. </p></li></ul><p>Both approaches have strengths and failure modes, and that tension is the real story of modern AI. </p><p>The next era of AI will likely be shaped not only by better models, but by how well institutions can balance those forces while building systems that are powerful, useful, and aligned with human intent.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Inside the Silicon Machine is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>If you want to continue expanding your knowledge on the HW side of AI, check out my other post:</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;ac625011-90ff-4725-a190-69907c0d8eea&quot;,&quot;caption&quot;:&quot;I believe its important for people working around AI - ML engineers, semiconductor engineers, and end-users - to have a holistic understanding of AI, including the software interface and hardware underneath that optimizes calculations.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;md&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;An Overview of AI Accelerators: MAC Operations, DRAM/SRAM, Performance Metrics, and Architecture&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:127334549,&quot;name&quot;:&quot;Chad Wallace&quot;,&quot;bio&quot;:&quot;Deeply-researched Mental Models on Mixed Signal architectures for AI Datacenters - High Speed Optical/Wireline, Power Electronics, and adjacent domains &quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/50804a2f-043d-47c7-915f-b30144640b1f_697x697.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-01-27T16:01:50.107Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!ZCEN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://chadw.substack.com/p/ai-accelerators-a-primer&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:185475328,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:8,&quot;comment_count&quot;:0,&quot;publication_id&quot;:7378748,&quot;publication_name&quot;:&quot;Inside the Silicon Machine&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!cXVP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2817a3aa-afa0-4d3a-b965-bace92d3d63e_902x902.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/p/a-brief-history-of-modern-ai-deepmind?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Thanks for reading Inside the Silicon Machine! This post is public so feel free to share it.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/p/a-brief-history-of-modern-ai-deepmind?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.siliconcodesign.com/p/a-brief-history-of-modern-ai-deepmind?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><h2>References</h2><p>[1] Mnih, V, et al. &#8220;Playing Atari with Deep Reinforcement Learning&#8221; https://arxiv.org/pdf/1312.5602</p><p>[2] Sutskever, I, Vinyals, O, Le, Q. &#8220;Sequence to Sequence Learning with Neural Networks&#8221; https://arxiv.org/pdf/1409.3215</p><p>[3] Vaswani, A, et al. &#8220;Attention Is All You Need&#8221; https://arxiv.org/pdf/1706.03762</p><p>[4] Radford, A, Jozefowicz, R, Sutskever, I. &#8220;Learning to Generate Reviews and Discovering Sentiment&#8221; https://arxiv.org/pdf/1704.01444</p><p>[5] Brown, T, et al. &#8220;Language Models are Few-Shot Learners&#8221; https://arxiv.org/pdf/2005.14165</p><p>[6] Ouyang, L, et al. &#8220;Training language models to follow instructions with human feedback&#8221; https://arxiv.org/pdf/2203.02155</p><p>[7] Wei, J, et al. &#8220;Chain-of-Thought Prompting Elicits Reasoning in Large Language Models&#8221; https://arxiv.org/pdf/2201.11903</p><p></p><p></p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Inside the Silicon Machine is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[An Overview of AI Accelerators: MAC Operations, DRAM/SRAM, Performance Metrics, and Architecture  ]]></title><description><![CDATA[Learning from a classic AI accelerator - Eyeriss]]></description><link>https://www.siliconcodesign.com/p/ai-accelerators-a-primer</link><guid isPermaLink="false">https://www.siliconcodesign.com/p/ai-accelerators-a-primer</guid><dc:creator><![CDATA[Chad]]></dc:creator><pubDate>Tue, 27 Jan 2026 16:01:50 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ZCEN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I believe its important for people working around AI - ML engineers, semiconductor engineers, and end-users - to have a <strong>holistic</strong> understanding of AI, including the software interface and hardware underneath that optimizes calculations. </p><p>This primer focuses on <strong>AI accelerators</strong>: hardware designed to run deep learning efficiently. We&#8217;ll build intuition from the ground up (MACs &#8594; DNN/CNN structure &#8594; memory), explain the <strong>Von Neumann bottleneck</strong>, introduce the key performance metrics, and then ground everything in a classic example: <strong>Eyeriss</strong>.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Inside the Silicon Machine! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>This post synthesizes ideas primarily from &#8220;<em>Efficient Processing of Deep Neural Networks&#8221;</em> and &#8220;<em>Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural Networks</em>.&#8221; Figures are adapted for educational commentary with attribution in captions; please see the original papers for full detail.</p><h4>The compute: The Multiply- accumulate</h4><p>The Multiply - accumulation operation is the heart of most deep learning applications. </p><p>In simplest form, </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!U3ob!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!U3ob!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png 424w, https://substackcdn.com/image/fetch/$s_!U3ob!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png 848w, https://substackcdn.com/image/fetch/$s_!U3ob!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png 1272w, https://substackcdn.com/image/fetch/$s_!U3ob!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!U3ob!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png" width="237" height="91" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:91,&quot;width&quot;:237,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3277,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!U3ob!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png 424w, https://substackcdn.com/image/fetch/$s_!U3ob!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png 848w, https://substackcdn.com/image/fetch/$s_!U3ob!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png 1272w, https://substackcdn.com/image/fetch/$s_!U3ob!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fc1d7f2-07bb-4f31-b8f8-e45d5db0496b_237x91.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>then applies a nonlinearity (often ReLU). At the output, sigmoid (binary) or softmax (multi-class) can convert logits into probabilities.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZCEN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZCEN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png 424w, https://substackcdn.com/image/fetch/$s_!ZCEN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png 848w, https://substackcdn.com/image/fetch/$s_!ZCEN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png 1272w, https://substackcdn.com/image/fetch/$s_!ZCEN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZCEN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png" width="568" height="335" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:335,&quot;width&quot;:568,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:22794,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZCEN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png 424w, https://substackcdn.com/image/fetch/$s_!ZCEN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png 848w, https://substackcdn.com/image/fetch/$s_!ZCEN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png 1272w, https://substackcdn.com/image/fetch/$s_!ZCEN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e4d9dff-3c5d-43cb-8488-71862bfffdf5_568x335.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 1. A &#8220;neuron&#8221; consisting of a MAC operation and a ReLU Activation function</figcaption></figure></div><p>There are few <strong>intuitions</strong> I use the thinking about Neural networks:</p><ul><li><p>MAC operations are analogous to <strong>biological neurons</strong>: many inputs influence an output, and the weights determine what patterns the unit responds to. (It&#8217;s an analogy&#8212;not a literal model of the brain&#8212;but it&#8217;s a useful intuition.)</p></li><li><p>A neuron (dot product + nonlinearity) behaves like a <strong>pattern detector </strong>where the output is high in response to a input pattern that correlates with the combination of weights.</p></li></ul><p>This multiple accumulate operation can be found across many range of deep learning applications.</p><h4>Feedforward Neural Networks</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uZVl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uZVl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png 424w, https://substackcdn.com/image/fetch/$s_!uZVl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png 848w, https://substackcdn.com/image/fetch/$s_!uZVl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png 1272w, https://substackcdn.com/image/fetch/$s_!uZVl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uZVl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png" width="564" height="546" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:546,&quot;width&quot;:564,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:53147,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uZVl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png 424w, https://substackcdn.com/image/fetch/$s_!uZVl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png 848w, https://substackcdn.com/image/fetch/$s_!uZVl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png 1272w, https://substackcdn.com/image/fetch/$s_!uZVl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab67a3a-4269-4f09-b75f-3ab0bb5db0a8_564x546.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Figure 2. Basic structure of a deep neural network. Each &#8220;web&#8221; of connections is represented as a matrix of weights that performs the MAC operation with the inputs. The &#8220;magnitude&#8221; of each weight is shown as boldness that is tuned during training</figcaption></figure></div><p>In feedforward neural networks, many of these neurons are assembled in parallel in a &#8220;pipelined&#8221; fashion. The inputs all connect to each &#8220;neuron&#8221;, each with its own unique set of weights to detect specific <strong>patterns</strong>, and these neurons then pass that information to later layers or the output. Additional layers can be added to be able to fine tune the pattern detection. </p><p>Adding &#8220;hidden&#8221; layers between the input and output allows the network to build up from <strong>simple features</strong> (edges/textures) to <strong>more complex features</strong> (higher-level shapes and objects).</p><p>There are two major operations performed on neural networks:</p><ul><li><p><strong>Training </strong>= learning the weights by passing images through, computing the error, and tuning the weights through &#8220;backpropagation&#8221;</p></li><li><p><strong>Inference</strong> = running a trained model to produce outputs</p></li></ul><p>Inference is commonly run on edge devices locally; training is usually done on large GPU/accelerator systems. Both training and inference can be run on GPUs or specialized accelerators optimized for these workloads.</p><h4>Convolutional Neural networks</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XZTv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XZTv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png 424w, https://substackcdn.com/image/fetch/$s_!XZTv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png 848w, https://substackcdn.com/image/fetch/$s_!XZTv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png 1272w, https://substackcdn.com/image/fetch/$s_!XZTv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XZTv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png" width="994" height="561" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:561,&quot;width&quot;:994,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:292776,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XZTv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png 424w, https://substackcdn.com/image/fetch/$s_!XZTv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png 848w, https://substackcdn.com/image/fetch/$s_!XZTv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png 1272w, https://substackcdn.com/image/fetch/$s_!XZTv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11230c43-7733-4b75-8bd2-45087a760fe9_994x561.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><strong>Figure 3. </strong>A Convolution Neural network for Image recognition, with &#8220;filters&#8221; as edge detectors. Images are represented as &#8220;tensors&#8221; where pixels have RGB values. The Filter is stepped across the image with a specific &#8220;stride&#8221; to generate an output fmap consisting of features that strongly correlate to the filter. These fmaps are then normalized, pooled, and processed in deeper layers to build more complex shapes.</figcaption></figure></div><p>Convolutional neural networks (CNNs) are widely used for <strong>image recognition and classification</strong>. Instead of connecting every pixel to every neuron (which would explode parameter count and compute), CNNs use <strong>small filters</strong> that slide across the input in <strong>strides</strong>. </p><p>Each layer of the Convolutional Neural Networks operates in the following way:</p><ul><li><p>Small filters represented as matrices can be customized to detect specific features, but the simplest case are <strong>&#8220;edge detectors&#8221;</strong> that detects vertical lines, horizontal lines, and diagonal dimensions.</p></li><li><p>These filters are &#8220;convolved&#8221; with each each <strong>input feature map (ifmaps)</strong>, which is image pixel that is most commonly represented by a <strong>tensor</strong> of RGB values. </p></li><li><p>The<strong> output feature map (ofmaps)</strong> is calculated by sliding the filter across the input and accumulating <strong>partial sums</strong> (<strong>psums</strong>) along the way. </p></li><li><p>This feature map is condensed through <strong>normalization</strong> and <strong>&#8220;pooling&#8221;</strong> operations. </p></li></ul><p>Each <strong>output feature map</strong> corresponds to a filter where the particular pattern is present (such as horizontal/vertical/diagonal line segments). As layers get deeper, higher order constructs are formed from simpler ones and <strong>spatial resolution shrinks</strong>. When dimensions are small enough, the CNN is connected to a <strong>fully connected layer</strong> that generates an output.</p><p>There are computational observations in both DNNs and CNNs as it relates to hardware:</p><ul><li><p>Filter weights can be <strong>reused</strong> in computation without needing to retrieve it from memory every time.</p></li><li><p>The tensor shapes and data dependencies are <strong>known ahead of time</strong>, so you can pre-plan tiling and data movement to minimize expensive memory traffic.</p></li></ul><p>These two points will become important later when we discuss <em>Eyeriss</em>. </p><h4>The Von Neumann bottleneck</h4><p><em>You have the best compute in the world, but it doesn&#8217;t matter if memory can&#8217;t keep up. </em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rhkm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rhkm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png 424w, https://substackcdn.com/image/fetch/$s_!rhkm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png 848w, https://substackcdn.com/image/fetch/$s_!rhkm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png 1272w, https://substackcdn.com/image/fetch/$s_!rhkm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rhkm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png" width="815" height="367" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/efdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:367,&quot;width&quot;:815,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20884,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!rhkm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png 424w, https://substackcdn.com/image/fetch/$s_!rhkm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png 848w, https://substackcdn.com/image/fetch/$s_!rhkm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png 1272w, https://substackcdn.com/image/fetch/$s_!rhkm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefdb868e-ab58-444b-80ce-8492ee4f6b07_815x367.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><strong>Figure 4.</strong> <em>A Von Neumann architecture with Data between Compute and Memory.</em></figcaption></figure></div><p>Most computing nowadays uses a <em>Von Neumann architecture</em>, where the compute and memory are split into two entities. Data stored in memory is retrieved and stored locally into CPU memory to perform operations on. When the result is computed, it is written back to the memory. </p><p>This architecture has worked as compute and memory are scaled. However, there are challenges being faced today:</p><ul><li><p>Compute throughput has scaled faster than memory bandwidth/latency improvements </p></li><li><p>There is a limit transfer rate and a high energy cost per memory retrieval</p></li></ul><p>This results in a <strong>bottleneck</strong>, where compute is limited by bandwidth + high energy per byte moved between memory and compute.</p><p>The question is, <em>why don&#8217;t you put compute and memory on the same chip</em>? You could, but its often not cost effective. Fab process for compute and memory optimize different things:</p><ul><li><p>Logic (CPU/GPUs) are optimized for <strong>speed of transistor switching</strong> and <strong>ease of routing interconnects</strong> through stacking metal layers</p></li><li><p>Memory requires <strong>high density storage</strong> and <strong>capacity</strong></p></li></ul><p>One method classical computer architecture employs to mitigate this issue is <strong>arranging memory in a hierarchy through caches</strong>. Here, data is retrieved from the main memory only as &#8220;needed&#8221;. This exploits a phenomenon called &#8220;<strong>spatial locality&#8221;</strong> where you are likely to retrieve data close to the one you retrieved. As a result, you can write a whole data &#8220;chunk&#8221; of memory to a cache to increases the chances that you &#8220;hit&#8221; data in the cache when going to retrieve it.</p><p>AI Accelerators exploit both <strong>spatial locality</strong> and <strong>data reuse</strong>. In order to take advantage of both, we need to understand two mature memory technologies used across the hierarchy: <strong>DRAM</strong>, and <strong>SRAM</strong>.</p><h4>The Memory: DRAM and SRAM</h4><p>In a na&#239;ve implementation, each MAC operation requires three memory reads and one memory write:</p><ul><li><p><strong>Read:</strong> weight</p></li><li><p><strong>Read: </strong>activation</p></li><li><p><strong>Read:</strong> accumulated partial sum</p></li><li><p><strong>Write: </strong>updated partial sum</p></li></ul><p>To store data into memory, there are two mature memory technologies available:</p><ol><li><p><strong>DRAM - Dynamic Random access memory</strong></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!c_-h!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!c_-h!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png 424w, https://substackcdn.com/image/fetch/$s_!c_-h!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png 848w, https://substackcdn.com/image/fetch/$s_!c_-h!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png 1272w, https://substackcdn.com/image/fetch/$s_!c_-h!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!c_-h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png" width="262" height="240" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:240,&quot;width&quot;:262,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3830,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!c_-h!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png 424w, https://substackcdn.com/image/fetch/$s_!c_-h!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png 848w, https://substackcdn.com/image/fetch/$s_!c_-h!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png 1272w, https://substackcdn.com/image/fetch/$s_!c_-h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84d6159c-2ad9-4243-8558-6872afed4e97_262x240.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Figure 5. A DRAM cell with transistor and capacitor</figcaption></figure></div><p>DRAM consists of capacitors that store charge and are read / written to word lines through a transistor. These memory cells  are are typically arrayed in a 2D grid of cells with vertical row lines and horizontal bit lines. Memory cells are places at the intersection of word lines and bit lines where each ones is accessed by a combination of specific word line and bit line. </p><p></p><p><strong>Pros: </strong>DRAM is <strong>cheap</strong> and <strong>dense</strong>.</p><p></p><p><strong>Cons: </strong>DRAM is <strong>volatile</strong> and requires periodic <strong>refresh</strong> because capacitor charge leaks. It also requires constant electrical power to hold data.</p><p></p></li><li><p><strong>SRAM - Static Random access memory</strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6FTP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6FTP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png 424w, https://substackcdn.com/image/fetch/$s_!6FTP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png 848w, https://substackcdn.com/image/fetch/$s_!6FTP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png 1272w, https://substackcdn.com/image/fetch/$s_!6FTP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6FTP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png" width="459" height="308.56424581005587" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:361,&quot;width&quot;:537,&quot;resizeWidth&quot;:459,&quot;bytes&quot;:10221,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!6FTP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png 424w, https://substackcdn.com/image/fetch/$s_!6FTP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png 848w, https://substackcdn.com/image/fetch/$s_!6FTP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png 1272w, https://substackcdn.com/image/fetch/$s_!6FTP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b85498-cd3b-48ab-ab7c-c221b3228f0b_537x361.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><strong>Figure 6</strong>. A 6 transistor SRAM cell with two inverters connected in a positive feedback configuration</figcaption></figure></div><p>SRAM consists of cross coupled inverters in a latch (or positive feedback)  configuration. The most common configuration is a 6 transistor  cross coupled inverters to hold data. To read and store data, bitlines are charged and the wordline (WL) is activated depending on the values being read/written from/to the cell. The bitline needs to be <strong>strong (i.e. generate a lot of current)</strong> during write operations to break the feedback loop of the latches in order to flip the state of the memory cell. As with DRAM, these cells are arranged in a grid with these cells at the intersections. </p><p></p><p><strong>Pros</strong> SRAM is <strong>faster</strong> and <strong>lower energy per access</strong> than DRAM. SRAM can also be easier to integrate on compute processes. </p><p></p><p><strong>Cons:</strong> SRAM is <strong>much less dense</strong> and <strong>more expensive</strong> per bit.</p><p></p></li></ol><h4>Cost of memory: energy and bandwidth</h4><p>There are two issues with DRAM:</p><ul><li><p><strong>The energy cost of DRAM is 1-2 orders of magnitude more expensive to access than on chip memory [1].</strong> There are several factors that contribute to this, one of the largest being constant refresh cycles needed when non-ideal capacitors discharge through leakage paths.</p></li><li><p><strong>The data bandwidth of DRAM is finite</strong>. In modern computer designs, DRAM is separate from the compute chips (CPU, GPU) and connected via busses with finite latency and throughput capabilities. In addition, DRAM itself has high latency due to steps of row activation, command delays, and precharging.</p></li></ul><p>Due to the high energy cost, <strong>it is not desirable to read / write from DRAM continuously.</strong> Its better to read/write a &#8220;chunk&#8221; of information at a time and store the data locally on the chip to be accessed at memory technologies with lower energy cost.</p><p>There are a few trends that have been going on improve performance without significant changes to the Von-Neumann paradigm:</p><ul><li><p><strong>High bandwidth memory (HBM)</strong> - stacked DRAM integrated closely with the compute package to increase bandwidth.</p></li><li><p><strong>Optimizing memory usage on chip into a memory &#8220;hierarchy&#8221;.</strong> When data is know in advance, it is possible to structure the data in a way that optimizes the memory cost and schedule data as such. </p></li><li><p><strong> &#8220;Compute in/near memory&#8221;</strong> which uses more efficient memory technologies designed to handle this type of computation, or architectures design to do the computation by storing weights in conductance of resistors. There are many intriguing niche approaches here [2] but are beyond the scope of this post. </p></li></ul><h4>Performance metrics for DNN Models</h4><p>&#8220;Performance&#8221; in a deep learning system consists of how performance is defined on both the model side and the Hardware side. Both are important and closely intertwined.</p><p>Metrics for DNN Models include:</p><ul><li><p><strong>Accuracy and robustness - </strong>How accurate is the model on common &#8220;benchmark&#8221; datasets</p></li><li><p><strong>Network architecture - </strong>The number of layers, filters, and sizes</p></li><li><p><strong>Number of weights - </strong>Affects storage requirements</p></li><li><p><strong>Number of MAC operations </strong></p></li></ul><p>Often times, performance is compared in terms of normalized energy per MAC to give an apples to apples comparison of performance across different models.</p><h4>Performance metrics for AI Accelerators</h4><p>Hardware optimized for AI computation has its own set of performance metrics that that are optimized depending on the application:</p><ul><li><p><strong>Energy and Power</strong> is important for most applications, including cloud data centers with stringent power ceilings, as well as portable devices with limited battery</p></li><li><p><strong>Low latency </strong>is important in real time interactive applications</p></li><li><p><strong>High throughput</strong> is important for big data analytics is important when action needs to be taken based on the data</p></li><li><p><strong>Hardware cost</strong> is important for most applications, when tightly integrating an AI chip on a consumer device to run inference, as well as integrating into a blade on a rack in a data center</p></li></ul><h4>Bridging Compute and Memory: Eyeriss [3]</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6pXe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6pXe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png 424w, https://substackcdn.com/image/fetch/$s_!6pXe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png 848w, https://substackcdn.com/image/fetch/$s_!6pXe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png 1272w, https://substackcdn.com/image/fetch/$s_!6pXe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6pXe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png" width="564" height="297" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:297,&quot;width&quot;:564,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:11131,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!6pXe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png 424w, https://substackcdn.com/image/fetch/$s_!6pXe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png 848w, https://substackcdn.com/image/fetch/$s_!6pXe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png 1272w, https://substackcdn.com/image/fetch/$s_!6pXe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dc70051-89ce-4e52-8abf-ec428f26091c_564x297.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><strong>Figure 7.</strong> <em>Eyeriss System Architecture.</em> <strong>Adapted from</strong> Y.-H. Chen, T. Krishna, J. S. Emer, and V. Sze, &#8220;Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural Networks,&#8221; <em>IEEE Journal of Solid-State Circuits</em>, early access, doi: <strong>10.1109/JSSC.2016.2616357</strong>, 2016, <strong>Fig. 2</strong>; Figure is simplified for clarity.</figcaption></figure></div><p>Eyeriss is a classic AI accelerator that optimizes for the <strong>deterministic</strong> nature of AI calculations. If you know the size and shapes of the filters, ifmaps, etc. you can optimize your flow to a given hardware set based on the size of the array. By doing so, <strong>you minimize the energy cost of moving data around.</strong></p><p>Eyeriss has a few key building blocks:</p><ul><li><p><strong>Processing Engine (PE)</strong></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qJt_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qJt_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png 424w, https://substackcdn.com/image/fetch/$s_!qJt_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png 848w, https://substackcdn.com/image/fetch/$s_!qJt_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png 1272w, https://substackcdn.com/image/fetch/$s_!qJt_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qJt_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png" width="504" height="228.11009174311926" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:444,&quot;width&quot;:981,&quot;resizeWidth&quot;:504,&quot;bytes&quot;:28199,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!qJt_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png 424w, https://substackcdn.com/image/fetch/$s_!qJt_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png 848w, https://substackcdn.com/image/fetch/$s_!qJt_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png 1272w, https://substackcdn.com/image/fetch/$s_!qJt_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8ca08c3-5f3d-4128-b0d8-a52b682652d2_981x444.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption"><strong>Figure 8.</strong> Inside a <em>Eyeriss Processing Unit.</em> <strong>Adapted from</strong> Y.-H. Chen, T. Krishna, J. S. Emer, and V. Sze, &#8220;Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural Networks,&#8221; <em>IEEE Journal of Solid-State Circuits</em>, early access, doi: <strong>10.1109/JSSC.2016.2616357</strong>, 2016, <strong>Fig. 12</strong>; Figure is simplified and colored added for clarity.</figcaption></figure></div><p></p><p>Each processing engine consists of a 16b two stage pipelined multiplier and adder, along with scratch pad memory to temporarily store the weights. </p><p></p></li><li><p><strong>Data parallelism through Network on chip (NoC)</strong></p><ul><li><p>There are 168 processing elements arranged in a Spatial architecture of <strong>12x14</strong>. </p></li><li><p>Each PE can communicate with neighboring PEs or the GLB through an NoC</p></li><li><p>The global input network handles the process of distributing the computations to each of the PEs though busses</p></li><li><p>Processing in each PE can be run independently from each other with data movement coordinated by the NoC</p></li></ul><p></p></li><li><p><strong>Four-level Memory Hierarchy</strong> </p><p>The memory hierarchy is arranged into four-level hierarchy in order of decreasing energy:</p><ul><li><p>Off Chip DRAM</p></li><li><p>108kB global buffer</p></li><li><p>NoC reuse paths (neighbor PE communication)</p></li><li><p>Scratch pads local to PE (520 bytes each)</p></li></ul></li></ul><p>The goal of this chip is simple:<strong> </strong></p><blockquote><p>To minimize high cost DRAM and GLB access by reusing data from low cost spads and inter-PE communication as much as possible. </p></blockquote><p>Eyeriss accomplishes this through a methodology called<strong> &#8220;Row stationary&#8221; </strong>that divides the matrix multiplication in a series of <strong>1D convolution primitives</strong> that form <strong>2D convolutional sets. </strong>:</p><ul><li><p><strong>1-D Convolution primitive in a PE</strong></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GZh8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GZh8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png 424w, https://substackcdn.com/image/fetch/$s_!GZh8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png 848w, https://substackcdn.com/image/fetch/$s_!GZh8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png 1272w, https://substackcdn.com/image/fetch/$s_!GZh8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GZh8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png" width="552" height="170" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:170,&quot;width&quot;:552,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:6543,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GZh8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png 424w, https://substackcdn.com/image/fetch/$s_!GZh8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png 848w, https://substackcdn.com/image/fetch/$s_!GZh8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png 1272w, https://substackcdn.com/image/fetch/$s_!GZh8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7180ea31-74cb-421a-af04-d97d9d695a39_552x170.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption"><strong>Figure 9.</strong> <em>A 1D Convolution Primitive.</em> <strong>Adapted from</strong> Y.-H. Chen, T. Krishna, J. S. Emer, and V. Sze, &#8220;Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural Networks,&#8221; <em>IEEE Journal of Solid-State Circuits</em>, early access, doi: <strong>10.1109/JSSC.2016.2616357</strong>, 2016, <strong>Fig. 3</strong>. Colors added for clarity</figcaption></figure></div><ul><li><p>A 1D convolution primitive can be best thought of as a &#8220;sliding window&#8221; approach because it &#8216;fixes&#8221; the filter weights in memory while the ifmaps are &#8220;slid&#8221; across it. </p></li><li><p>This allows weights/activations are reused many times before going back to DRAM and/or the GLB.</p></li><li><p>Accumulate psums from different primitives to generate the ofmap values</p></li></ul></li></ul><ul><li><p><strong>2D Convolution PE Set</strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7aXS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7aXS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png 424w, https://substackcdn.com/image/fetch/$s_!7aXS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png 848w, https://substackcdn.com/image/fetch/$s_!7aXS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png 1272w, https://substackcdn.com/image/fetch/$s_!7aXS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7aXS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png" width="381" height="389" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:389,&quot;width&quot;:381,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:17071,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://chadw.substack.com/i/185475328?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7aXS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png 424w, https://substackcdn.com/image/fetch/$s_!7aXS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png 848w, https://substackcdn.com/image/fetch/$s_!7aXS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png 1272w, https://substackcdn.com/image/fetch/$s_!7aXS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e73574e-a3db-4a5c-be85-1681b81099e6_381x389.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><strong>Figure 10.</strong> <em>A 2D Convolution Primitive with Constant value contours shown along the arrows.</em> <strong>Adapted from</strong> Y.-H. Chen, T. Krishna, J. S. Emer, and V. Sze, &#8220;Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural Networks,&#8221; <em>IEEE Journal of Solid-State Circuits</em>, early access, doi: <strong>10.1109/JSSC.2016.2616357</strong>, 2016, <strong>Fig. 4</strong>; Colors added for clarity</figcaption></figure></div><p></p><ul><li><p>2D convolution sets are formed from multiple 1D convolution primitives</p></li><li><p>In a 2D convolution set, the weight are written to spads in rows and the weights are &#8220;slid across&#8221; diagonally. It works in the following order:</p><ul><li><p><strong>Reuse</strong> each filter row horizontally </p></li><li><p><strong>Reuse</strong> each of ifmap diagonally </p></li><li><p><strong>Accumulate</strong> rows of psums vertically / features</p></li></ul></li><li><p>The challenge is to &#8220;map&#8221; PE sets onto the PE array <strong>cleanly</strong> due to different sizes of layer shapes and PE array dimensions. Any computation primitive that exceed the size of the PE array itself or width / height can incur a large energy cost and needs further optimization from RS dataflow. </p></li></ul></li></ul><p><strong>Other optimizations.</strong> These optimizations are also used and influential.</p><ul><li><p><strong>Run length compression</strong> - compress runs of 0&#8217;s</p></li><li><p>When distributing data from the GLB, only activate busses that correspond to the tag to save energy</p></li></ul><p><strong>A large fraction of the chip area goes to the memory, including the global buffer and on-chip storage close to the MACs.</strong></p><h4>Conclusion</h4><p>In this primer I built up intuition of how AI accelerators optimize energy of AI computations:</p><ul><li><p>MACs are the core primitive in most DNN workloads</p></li><li><p>DNN layers are repeated dot products with heavy weight/activation reuse potential</p></li><li><p>Performance is often limited by memory movement (energy + bandwidth), not arithmetic</p></li><li><p>Accelerators win by choosing dataflows + memory hierarchies that maximize reuse and minimize DRAM traffic</p></li></ul><p>There is a lot of research done to optimizing AI accelerators including related compute near memory architecture that leverage traditional compute architectures as much as possible, as well as intriguing compute in memory approaches. </p><p>If you want to learn more about the technical developments of AI on the SW modelling side, check out my other post, based heavily on the book &#8220;Infinity Machine&#8221;:</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;9a35f59f-f872-4015-9840-7db3157ed365&quot;,&quot;caption&quot;:&quot;Demis Hassabis is perhaps one of the most important influences in Modern AI that isn&#8217;t a household name.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;lg&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;From Atari to ChatGPT: The Technical and Corporate Forces Shaping Frontier AI&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:127334549,&quot;name&quot;:&quot;Chad Wallace&quot;,&quot;bio&quot;:&quot;Deeply-researched Mental Models on Mixed Signal architectures for AI Datacenters - High Speed Optical/Wireline, Power Electronics, and adjacent domains &quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/50804a2f-043d-47c7-915f-b30144640b1f_697x697.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-04-29T17:54:36.593Z&quot;,&quot;cover_image&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fcc0b821-27c2-4f6d-b4e3-b1750426a5f6_1201x673.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://chadw.substack.com/p/a-brief-history-of-modern-ai-deepmind&quot;,&quot;section_name&quot;:&quot;Business Library&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:195320512,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:2,&quot;comment_count&quot;:0,&quot;publication_id&quot;:7378748,&quot;publication_name&quot;:&quot;Inside the Silicon Machine&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!cXVP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2817a3aa-afa0-4d3a-b965-bace92d3d63e_902x902.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><h4>References</h4><p>[1] V. Sze, Y.-H. Chen, T.-J. Yang, and J. Emer, &#8220;Efficient Processing of Deep Neural Networks: A Tutorial and Survey,&#8221; arXiv:1703.09039v2, 2017.</p><p>[2] A. A. Khan, J. P. C. de Lima, H. Farzaneh, and J. Castrill&#243;n, &#8220;The Landscape of Compute-near-memory and Compute-in-memory: A Research and Commercial Overview,&#8221; <em>arXiv preprint</em> arXiv:2401.14428, 2024.</p><p>[3] Y.-H. Chen, T. Krishna, J. S. Emer, and V. Sze, &#8220;Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural Networks,&#8221; <em>IEEE Journal of Solid-State Circuits</em>, vol. 52, no. 1, pp. 127&#8211;138, Jan. 2017, doi: 10.1109/JSSC.2016.2616357.</p><p></p><p></p><p></p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.siliconcodesign.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Inside the Silicon Machine! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>