<?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[Into AI]]></title><description><![CDATA[Deep, research-driven explainers for AI engineers.
]]></description><link>https://www.intoai.pub</link><image><url>https://substackcdn.com/image/fetch/$s_!xBa1!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad0f7ec6-837c-4c2b-9b4d-5365d1a9e668_1080x1080.png</url><title>Into AI</title><link>https://www.intoai.pub</link></image><generator>Substack</generator><lastBuildDate>Sat, 03 Oct 2026 17:03:45 GMT</lastBuildDate><atom:link href="https://www.intoai.pub/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Dr. Ashish Bamania]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[intoai@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[intoai@substack.com]]></itunes:email><itunes:name><![CDATA[Dr. Ashish Bamania]]></itunes:name></itunes:owner><itunes:author><![CDATA[Dr. Ashish Bamania]]></itunes:author><googleplay:owner><![CDATA[intoai@substack.com]]></googleplay:owner><googleplay:email><![CDATA[intoai@substack.com]]></googleplay:email><googleplay:author><![CDATA[Dr. Ashish Bamania]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Jev, Simply Explained]]></title><description><![CDATA[A beginner's guide to Jev, the AI model that returns typed decisions and calibrated probabilities instead of text.]]></description><link>https://www.intoai.pub/p/jev</link><guid isPermaLink="false">https://www.intoai.pub/p/jev</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 28 Sep 2026 09:54:02 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/16e917a7-6beb-454a-a442-19e46669149a_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Jev is a new AI model introduced by TypeSafe AI. This is an AI lab co-founded by Diogo Almeida, one of the co-authors of OpenAI's InstructGPT paper, which applied RLHF to language models. (RLHF is an algorithm used to align LLMs to be helpful and harmless assistants to humans.)</p><p>Jev is not an LLM, but a <strong>System One model</strong>. This terminology is based on Daniel Kahneman&#8217;s systems of thinking, in which:</p><ul><li><p>System 1 refers to fast, pattern-based thinking (e.g., recognizing faces)</p></li><li><p>System 2 refers to slow, effortful reasoning (e.g., solving complex math problems)</p></li></ul><p>Like LLMs, System One models understand natural-language inputs.</p><p>But unlike LLMs, <span>they do not write replies, produce code, or generate explanations of their reasoning. Instead of generating text, </span>these models return<strong> typed decisions and probabilities.</strong> (<em>Classical ML enthusiasts would love this!</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_!B47j!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!B47j!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png 424w, https://substackcdn.com/image/fetch/$s_!B47j!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png 848w, https://substackcdn.com/image/fetch/$s_!B47j!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png 1272w, https://substackcdn.com/image/fetch/$s_!B47j!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!B47j!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png" width="1200" height="435.16483516483515" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:528,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:205460,&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.intoai.pub/i/216890471?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!B47j!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png 424w, https://substackcdn.com/image/fetch/$s_!B47j!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png 848w, https://substackcdn.com/image/fetch/$s_!B47j!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.png 1272w, https://substackcdn.com/image/fetch/$s_!B47j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6abbff51-e46e-4ecc-b3a9-aab293474f7a_2634x956.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Outputs from an LLM vs. Jev</figcaption></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>What do Jev&#8217;s inputs and outputs look like?</h3><p>Jev accepts the following two inputs:</p><ol><li><p><strong>State</strong>: the content that the model has to evaluate. This is text or JSON.</p></li><li><p><strong>Questions</strong>: the judgments the model should make given the state.</p></li></ol><p>Given these inputs, Jev returns <strong>one typed answer</strong> per question with <strong>probabilities</strong> and a <strong>confidence score</strong>.</p><p>For example, an input could be:</p><ul><li><p>State: &#8220;My app keeps crashing when I click the &#8216;Submit&#8217; button.&#8221;</p></li><li><p>Question: &#8220;Which team should handle this user request: Technical or the Marketing team?&#8221;</p></li></ul><p>For this input, the <span>model would return a response such as: </span></p><blockquote><p><span>&#8220;Technical (98% probability of this option with confidence of 95%).&#8221;</span></p></blockquote><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5eVe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5eVe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png 424w, https://substackcdn.com/image/fetch/$s_!5eVe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png 848w, https://substackcdn.com/image/fetch/$s_!5eVe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png 1272w, https://substackcdn.com/image/fetch/$s_!5eVe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5eVe!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png" width="1200" height="281.04395604395603" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:341,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:64441,&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.intoai.pub/i/216890471?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!5eVe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png 424w, https://substackcdn.com/image/fetch/$s_!5eVe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png 848w, https://substackcdn.com/image/fetch/$s_!5eVe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png 1272w, https://substackcdn.com/image/fetch/$s_!5eVe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78443a9f-e68e-4088-9291-ebdaa1e5b3c9_2154x504.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><p><em>Join the paid tier today to get access to all articles in this newsletter and level up as an AI engineer.</em></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber today&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoai.pub/subscribe"><span>Become a paid subscriber today</span></a></p><div><hr></div><h3>What is State?</h3><p>State is the content passed to Jev around which you ask questions. </p><p>It is declared using the <code>state</code><span> field in the input/ API request, and each such request evaluates one state against one or more questions. </span></p><p><span>A state could be either:</span></p><ul><li><p><span>a string </span></p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;plaintext&quot;,&quot;nodeId&quot;:&quot;960197cc-0b0b-42e8-aff3-2d50b02d595c&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-plaintext">"I have chest tightness for the last 2 days that worsens when going upstairs"</code></pre></div></li><li><p><span>an array </span></p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;plaintext&quot;,&quot;nodeId&quot;:&quot;a4a7d2a1-8e64-4759-97b1-be7097d9e97c&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-plaintext">[
  "Hi, I've had chest tightness that's worse when going upstairs for the last 2 days",
  "I have diabetes and high blood pressure"
]</code></pre></div></li><li><p><span>an object</span></p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;plaintext&quot;,&quot;nodeId&quot;:&quot;017e4d2d-9c27-4df7-963e-51de4cc03b63&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-plaintext">{
  "age": 67,
  "medical_conditions": ["Diabetes", "Hypertension"],
  "message": "I've chest tightness for 2 days that worsens when going upstairs"
}</code></pre></div></li></ul><div><hr></div><h3>What are Primitives?</h3><p>Primitives are the building blocks that form the inputs (questions) and outputs (answers) to Jev. These are of three types, and each answers something different:</p><ol><li><p><strong>Choice</strong>: Which of these options? (e.g., &#8220;Which team should the request be redirected to?&#8221;)</p></li><li><p><strong>Score</strong>: Which level/ score? (e.g., &#8220;How relevant is this candidate's experience to the job posting?&#8221;)</p></li><li><p><strong>Noul</strong>: Is this true or false?  (e.g., &#8220;Is the customer requesting a refund?&#8221;)</p></li></ol><p>These primitives are used to create questions that are passed to Jev. </p><p>Each <span>question has the following fields:</span></p><ul><li><p><code>ID</code>: This is used to identify the answer in the response.</p></li><li><p><code>type</code>: This is the type of primitive, either Choice, Score, or Noul.</p></li><li><p><code>instructions</code>: This is the question you are asking about the state.</p></li><li><p><span>If a question contains the Choice and Score primitives, they also take </span><code>criteria </code>(the possible answers)<span>, which define the options for a Choice question or the levels for a Score question.</span></p></li><li><p><span>Questions with the Noul primitive can also have an optional </span><code>criteria</code><span> which clarifies what yes and no mean.</span></p></li></ul><p>The answer depends on the type of primitive used in a question.</p><ul><li><p>Choice question returns:</p><ul><li><p><code>choice</code> (the option that Jev chose)</p></li><li><p><code>probabilities</code> (probability distribution over the options given in the <code>criteria</code> field), and</p></li><li><p><code>confidence</code> (this is a single value derived from the probability distribution which tells how certain Jev is about its choice)</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_!pQXR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pQXR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png 424w, https://substackcdn.com/image/fetch/$s_!pQXR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png 848w, https://substackcdn.com/image/fetch/$s_!pQXR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png 1272w, https://substackcdn.com/image/fetch/$s_!pQXR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pQXR!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png" width="1200" height="391.4835164835165" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:475,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:156019,&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.intoai.pub/i/216890471?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!pQXR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png 424w, https://substackcdn.com/image/fetch/$s_!pQXR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png 848w, https://substackcdn.com/image/fetch/$s_!pQXR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.png 1272w, https://substackcdn.com/image/fetch/$s_!pQXR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad48d3f-c4a1-43c0-a7cf-0c9341f6863a_2568x838.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><ul><li><p>A <strong>Score</strong> question returns:</p><ul><li><p><code>score</code> (a value between the given levels)</p></li><li><p><code>legend</code> (each level and its description)</p></li><li><p><code>probabilities</code> </p></li><li><p><code>confidence</code></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_!yr77!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yr77!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png 424w, https://substackcdn.com/image/fetch/$s_!yr77!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png 848w, https://substackcdn.com/image/fetch/$s_!yr77!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png 1272w, https://substackcdn.com/image/fetch/$s_!yr77!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yr77!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png" width="1200" height="314.010989010989" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:381,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:149294,&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.intoai.pub/i/216890471?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!yr77!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png 424w, https://substackcdn.com/image/fetch/$s_!yr77!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png 848w, https://substackcdn.com/image/fetch/$s_!yr77!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.png 1272w, https://substackcdn.com/image/fetch/$s_!yr77!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b1e9955-d3bc-4135-b59e-d0490221c956_2840x744.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><ul><li><p>A <strong>Noul</strong> question returns just <code>noul</code>. This is the probability that the answer is yes/ true. <br><br>A <code>confidence</code> value isn&#8217;t returned here, and a <code>noul</code> value near 1 means a strong yes, near 0 means a strong no, and 0.5 means uncertain.</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_!wbhU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wbhU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png 424w, https://substackcdn.com/image/fetch/$s_!wbhU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png 848w, https://substackcdn.com/image/fetch/$s_!wbhU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png 1272w, https://substackcdn.com/image/fetch/$s_!wbhU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wbhU!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png" width="1200" height="365.9340659340659" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:444,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:116934,&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.intoai.pub/i/216890471?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wbhU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png 424w, https://substackcdn.com/image/fetch/$s_!wbhU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png 848w, https://substackcdn.com/image/fetch/$s_!wbhU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.png 1272w, https://substackcdn.com/image/fetch/$s_!wbhU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36af19d6-8f9c-4967-a251-4e851a8d8662_2746x838.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><h3>Why State and Primitives?</h3><ul><li><p>Primitives make Jev <strong>type-safe</strong> with its inputs and outputs. You get the exact type of response that you intend.</p></li><li><p>Also, every answer that Jev chooses comes from the options given to it. This ensures that it <strong>never hallucinates new options</strong>. Note that this does not mean that Jev does not make mistakes. It can still choose the wrong option from the given ones, but it will never invent a new option.</p></li><li><p><strong>Confidence</strong> is what lets the model say it is not sure, rather than agreeing with what the user intends to get out of the model. This makes Jev foundational to building reliable systems.</p></li></ul><div><hr></div><h3>Constructing an input to Jev</h3><p>Now that we understand Primitives, it&#8217;s time to look at what an actual input to Jev looks like.</p><p>Consider the following input for a patient triage app where we send the state as an array of patient messages, and we ask three questions regarding it:</p><ul><li><p>a <code>Noul</code> question (labeled as <code>urgency</code>) on whether the patient message needs an urgent response</p></li><li><p>a <code>Choice</code> question (<code>team</code>) of which team should handle it, and </p></li><li><p>a <code>Score</code> question (<code>severity</code>) on how severe the symptoms are. </p></li></ul><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;json&quot;,&quot;nodeId&quot;:&quot;7e436be9-7cc4-4a74-a1b2-9018d3008c5e&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-json">{
  "model": "jev-latest",
  "state": [
    "Hi, I've had chest tightness that's worse when going upstairs for the last 2 days",
    "I have diabetes and high blood pressure"
  ],
  "questions": {
    "urgency": {
      "type": "noul",
      "instructions": "Does this patient message need urgent response?"
    },
    "team": {
      "type": "choice",
      "instructions": "Which team should handle this?",
      "criteria": {
        "pharmacy": "For medication based issues",
        "emergency_doctor": "For medical issues that need urgent or emergency attention",
        "billing": "For pricing related issues"
      }
    },
    "severity": {
      "type": "score",
      "instructions": "How severe are the symptoms described by the patient?",
      "criteria": [
        "Mild, no immediate concern",
        "Moderate, can be seen in a few days",
        "Serious, needs same-day attention",
        "Critical, needs emergency care now"
      ]
    }
  }
}</code></pre></div><p>Jev will answer all three questions independently in parallel and return their respective probabilities and confidence. </p><p>Note that the answer to one question does not affect another in any way. Questions are completely independent, and one question&#8217;s answer is not hidden context for another.</p><p>An example response looks as follows.</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;json&quot;,&quot;nodeId&quot;:&quot;0825c48a-3a21-4703-a3cc-bb15b9005dad&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-json">{
  "model": "jev-1.13.0",
  "answers": {
    "urgency": {
      "type": "noul",
      "noul": 0.94
    },
    "team": {
      "type": "choice",
      "choice": "emergency_doctor",
      "probabilities": {
        "pharmacy": 0.02,
        "emergency_doctor": 0.95,
        "billing": 0.03
      },
      "confidence": 0.93
    },
    "severity": {
      "type": "score",
      "score": 2.2,
      "legend": {
        "0": "Mild, no immediate concern",
        "1": "Moderate, can be seen in a few days",
        "2": "Serious, needs same-day attention",
        "3": "Critical, needs emergency care now"
      },
      "probabilities": {
        "0": 0.01,
        "1": 0.09,
        "2": 0.58,
        "3": 0.32
      },
      "confidence": 0.71
    }
  },
  "usage": {
    "input_tokens": 180,
    "output_tokens": 24
  }
}</code></pre></div><p>Notice the input and output tokens? You're billed only for input tokens, while the output tokens are completely free. We will discuss this in the next section.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>What makes Jev better than LLMs?</h3><p>LLMs are post-trained using RLHF. This teaches them to say things that people prefer. Now this works well for chatbots in most cases, but it also rewards sycophancy (models praising users insincerely), confident-sounding hallucinations (inventing things that do not exist), and a preference for a particular style of responses (<em>&#8220;You&#8217;re absolutely right!&#8221;</em>).</p><p>Instead of RLHF, Jev is trained using <strong>Reinforcement Learning for Calibrated Decisions (RLCD)</strong>. This algorithm trains Jev to output decisions and calibrated probabilities rather than generated text aligned with human preferences.</p><p>Jev is also <strong>cheap</strong>, at only $0.042 per million input tokens with completely free output tokens. This is because most computation occurs on the input tokens, and its outputs are tiny, since it does not generate text or reasoning tokens. </p><p>Compare this to Opus 5.5, a reasoning model that can produce a large volume of reasoning-related output tokens for decision-making and costs $4 <span>per </span>million input tokens and $20 per million output tokens.</p><p>(But take this price comparison with a grain of salt, as <a href="https://www.linkedin.com/feed/update/urn:li:activity:7509893065923272704/">Jev struggles when making complex decisions</a> and is not a replacement for reasoning LLMs in such use cases.)</p><p>Another great feature of Jev is its <strong>self-consistency</strong>, which makes its outputs reliable across repeated runs with the same input. In an <a href="https://www.langchain.com/blog/jev-agent-evals-langsmith">experiment</a> run by LangChain, <span>Jev had the lowest observed mean per-case variance of  </span><code>0.0000149</code><span>. In the same experiment, GPT&#8209;5.6 Luna&#8217;s variance was </span>433&#215;<span> higher, GPT-5.6 Terra&#8217;s was </span>913&#215;<span> higher, and Claude Sonnet 4.6&#8217;s was </span>92&#215;<span> higher.</span></p><div class="comment" data-attrs="{&quot;url&quot;:&quot;https://open.substack.com/&quot;,&quot;commentId&quot;:345892370,&quot;comment&quot;:{&quot;id&quot;:345892370,&quot;date&quot;:&quot;2026-09-25T21:02:01.974Z&quot;,&quot;edited_at&quot;:null,&quot;body&quot;:&quot;The coolest thing about Jev is how much more consistent it is than autoregressive classification methods.\n\nHigh accuracy + low variance = much more dependable in production.\n\nThe next closest tested model (Sonnet 4.6) was 92x more variable.\n\nProps to LangChain for testing this (their image below). You can find their article here: https://www.langchain.com/blog/jev-agent-evals-langsmith&quot;,&quot;body_json&quot;:{&quot;type&quot;:&quot;doc&quot;,&quot;attrs&quot;:{&quot;schemaVersion&quot;:&quot;v1&quot;,&quot;title&quot;:null},&quot;content&quot;:[{&quot;type&quot;:&quot;paragraph&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;text&quot;:&quot;The coolest thing about Jev is how much more consistent it is than autoregressive classification methods.&quot;}]},{&quot;type&quot;:&quot;paragraph&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;text&quot;:&quot;High accuracy + low variance = much more dependable in production.&quot;}]},{&quot;type&quot;:&quot;paragraph&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;text&quot;:&quot;The next closest tested model (Sonnet 4.6) was 92x more variable.&quot;}]},{&quot;type&quot;:&quot;paragraph&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;text&quot;:&quot;Props to LangChain for testing this (their image below). You can find their article here: &quot;},{&quot;type&quot;:&quot;text&quot;,&quot;text&quot;:&quot;https://www.langchain.com/blog/jev-agent-evals-langsmith&quot;,&quot;marks&quot;:[{&quot;type&quot;:&quot;link&quot;,&quot;attrs&quot;:{&quot;href&quot;:&quot;https://www.langchain.com/blog/jev-agent-evals-langsmith&quot;}}]}]}]},&quot;restacks&quot;:0,&quot;reaction_count&quot;:2,&quot;children_count&quot;:1,&quot;attachments&quot;:[{&quot;id&quot;:&quot;936ba1f4-fcc7-45ed-8142-6b3ca335cc40&quot;,&quot;type&quot;:&quot;image&quot;,&quot;imageUrl&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f024aabf-d73f-4b15-9990-016d0039e1cb_1600x594.webp&quot;,&quot;imageWidth&quot;:1600,&quot;imageHeight&quot;:594,&quot;explicit&quot;:false}],&quot;name&quot;:&quot;Logan Thorneloe&quot;,&quot;user_id&quot;:43759292,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7d4c900b-c6e4-41d1-bf81-c7bb3794c6e3_500x500.png&quot;,&quot;user_bestseller_tier&quot;:100,&quot;userStatus&quot;:{&quot;bestsellerTier&quot;:100,&quot;subscriberTier&quot;:1,&quot;leaderboard&quot;:null,&quot;vip&quot;:false,&quot;badge&quot;:{&quot;type&quot;:&quot;bestseller&quot;,&quot;tier&quot;:100},&quot;subscriber&quot;:null}},&quot;source&quot;:null,&quot;forumChannel&quot;:null}" data-component-name="CommentPlaceholder"></div><div><hr></div><h3>What can you use Jev for?</h3><p>Jev can be used for tasks that require fast, consistent decisions, ideally when those decisions do not require complex, multi-hop reasoning.</p><p>Some use cases of Jev are shown below. You can check out <a href="https://docs.typesafe.ai/concepts/use-case-map">this page</a> for a detailed description of these use cases.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mXvJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mXvJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png 424w, https://substackcdn.com/image/fetch/$s_!mXvJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png 848w, https://substackcdn.com/image/fetch/$s_!mXvJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png 1272w, https://substackcdn.com/image/fetch/$s_!mXvJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mXvJ!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png" width="1200" height="302.4725274725275" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/abf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:367,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:160176,&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.intoai.pub/i/216890471?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!mXvJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png 424w, https://substackcdn.com/image/fetch/$s_!mXvJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png 848w, https://substackcdn.com/image/fetch/$s_!mXvJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.png 1272w, https://substackcdn.com/image/fetch/$s_!mXvJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabf5620b-e361-4175-b330-0bbe4f7d6766_2800x706.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><h3>TL;DR</h3><ul><li><p>Jev is a System One model from TypeSafe AI, trained to generate decisions based on fast, pattern-based thinking rather than the complex reasoning used by System Two models like LLMs.</p></li><li><p>Instead of generating text, Jev returns typed decisions with probabilities and a confidence score.</p></li><li><p>Inputs to Jev are a state and one or more questions, based on three building blocks, or Primitives: Choice, Score, and Noul.</p></li><li><p>&#8216;Choice&#8217; based questions return a choice of answer from the given options, &#8216;Score&#8217; based questions return a score from the given levels, and &#8216;Noul&#8217; based questions return the probability that something is true.</p></li><li><p>Answers always come from the options that are given to the model to pick from and are returned with probabilities (and confidence for &#8216;Choice&#8217; and &#8216;Score&#8217; based questions).</p></li><li><p>Each question is answered independently, and one question&#8217;s answer is not used as hidden context for another.</p></li><li><p>Jev is trained using RLCD (Reinforcement Learning for Calibrated Decisions) instead of RLHF. This means that Jev is not post-trained to produce outputs that are aligned with human preferences.</p></li><li><p>It is built to be used for fast judgment tasks like model routing, content moderation, guardrails, risk assessment, and more.</p></li><li><p>It is highly self-consistent across repeated turns of the same input, making it ideal for building reliable systems.</p></li><li><p>It costs $0.042 per million input tokens with free output tokens.</p></li></ul><div><hr></div><p><strong>Join the paid tier today to get access to all posts in this newsletter</strong>, including:</p><ul><li><p>&#129489;&#127995;&#8205;&#128187; <a href="https://www.intoai.pub/p/build-and-train-a-diffusion-llm">Build and train a Diffusion LLM from scratch</a></p></li><li><p>&#127752; <a href="https://www.intoai.pub/p/pytorch-essentials">20 PyTorch Concepts, Explained Simply</a></p></li><li><p>&#9881;&#65039; <a href="https://www.intoai.pub/p/build-a-vector-database-from-scratch">Build A Vector Database From Scratch To Understand RAG In Depth</a></p></li><li><p>&#127853; <a href="https://www.intoai.pub/p/gpu-concepts-for-ai-engineers">9 GPU Concepts Every AI Engineer Should Know</a></p></li></ul><p>and so many more!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber today&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe"><span>Become a paid subscriber today</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[10 LLM Inference Metrics Every AI Engineer Must Know]]></title><description><![CDATA[TTFT, TPOT, ITL, Goodput, MBU, MFU, and more.]]></description><link>https://www.intoai.pub/p/llm-inference-metrics</link><guid isPermaLink="false">https://www.intoai.pub/p/llm-inference-metrics</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 21 Sep 2026 10:56:23 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/eec97099-c7c7-4bd3-b0af-9871df469040_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A little background before we start. LLM inference occurs in two phases:</p><ol><li><p><strong>Prefill</strong>, which processes the input prompt and creates the KV cache. Since it involves processing all tokens in the input prompt together, it is <strong>compute-bound</strong>.</p></li><li><p><strong>Decode</strong>, which generates tokens one at a time, autoregressively. It is <strong>memory-bandwidth bound</strong> because very little computation is performed at each step relative to the amount of data (primarily model parameters and the KV cache) moved from memory.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!X2u6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!X2u6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png 424w, https://substackcdn.com/image/fetch/$s_!X2u6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png 848w, https://substackcdn.com/image/fetch/$s_!X2u6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png 1272w, https://substackcdn.com/image/fetch/$s_!X2u6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!X2u6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png" width="1456" height="281" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:281,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:92558,&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.intoai.pub/i/216286337?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.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_!X2u6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png 424w, https://substackcdn.com/image/fetch/$s_!X2u6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png 848w, https://substackcdn.com/image/fetch/$s_!X2u6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png 1272w, https://substackcdn.com/image/fetch/$s_!X2u6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F546f50f8-97d7-460c-8ab1-169f5bdd5905_2760x532.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>Now that we understand this, here are the 10 inference metrics that you must know when deploying LLMs in production. Metrics 1-4 measure latency, 5-6 measure throughput, and 7-10 measure the efficiency of GPU compute, memory, and cache usage.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DYo9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DYo9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png 424w, https://substackcdn.com/image/fetch/$s_!DYo9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png 848w, https://substackcdn.com/image/fetch/$s_!DYo9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png 1272w, https://substackcdn.com/image/fetch/$s_!DYo9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DYo9!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png" width="1200" height="422.8021978021978" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:513,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:236468,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/216286337?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!DYo9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png 424w, https://substackcdn.com/image/fetch/$s_!DYo9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png 848w, https://substackcdn.com/image/fetch/$s_!DYo9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png 1272w, https://substackcdn.com/image/fetch/$s_!DYo9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36799c5e-b08c-4d88-9a1a-19c5cfda25e7_2846x1002.png 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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 class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>1. Time to first token (TTFT)</h3><p>This is the time between the request&#8217;s arrival at the serving system and the generation of the first token.</p><p>TTFT is the latency metric that users perceive when interacting with an LLM-based system. It is what makes or breaks an interactive workload such as a real-time chat application.</p><p>It is determined by:</p><ul><li><p><strong>Queue time</strong>, which means the time between request arrival and the forward pass through the LLM. This is when a request is waiting for GPU/batch resources. Higher queue time means longer TTFT.</p></li><li><p><strong>Length of the input prompt</strong>: Longer prompts take more time to process during prefill, resulting in a longer TTFT.</p></li><li><p><strong><a href="https://www.intoai.pub/i/213132425/4-compute-core-throughput">Prefill compute</a></strong>: The higher the compute available, the lower the TTFT.</p></li></ul><p>When optimizing for low TTFT, it must always be determined whether the cause is a bottleneck in the serving system or the GPU's compute limitations.</p><div><hr></div><h3>2. Time per output token (TPOT)</h3><p>TPOT is the average time to generate each token during Decode. The first token is excluded as it is a result of the Prefill.</p><p>The faster an LLM&#8217;s parameters can be moved from memory, the faster token generation during Decode is, and the lower the TPOT is.</p><p>TPOT is determined by:</p><ul><li><p>The number of model parameters and their precision (lower means lower TPOT because the amount of data moved per decode step goes down)</p></li><li><p>Context length (higher values mean higher TPOT because longer sequences increase KV&#8209;cache size that must be read to generate each token)</p></li><li><p>Batch size (higher values mean higher TPOT because more concurrent computation must occur per decode step)</p></li><li><p><a href="https://www.intoai.pub/i/213132425/3-gpu-memory-bandwidth">GPU memory bandwidth</a> (higher values mean lower TPOT because data can be moved faster from memory during Decode)</p></li></ul><div><hr></div><h3>3. <strong>Inter-token latency (ITL)</strong> </h3><p>ITL is frequently confused with TPOT. While TPOT measures the <strong>average</strong> time per generated token during Decode, ITL measures the latency between two consecutive generated tokens.</p><p>In simple terms, TPOT is the average of a request's ITLs.</p><p>For example, if the latency between tokens in a response is 42 ms, 46 ms, 60 ms, and 35 ms, these individual numbers are the ITLs, and their average (45.75 ms) is the TPOT.</p><p>When serving an interactive application, it is important to ensure that ITL remains consistent. Otherwise, the interaction will feel jittery, leading to poor user satisfaction.</p><p>The metric to consider in such cases is the <strong>p99 ITL</strong>, or the 99th percentile inter-token latency. As an example, if p99 ITL is 120 ms, it means 99% of ITLs are 120 ms or less, and the slowest 1% are above 120 ms.</p><p>p99 ITL is called <strong>tail latency</strong> because it measures latency in the high-percentile tail of the latency distribution.</p><div><hr></div><h3>4. End-to-end (E2E) latency</h3>
      <p>
          <a href="https://www.intoai.pub/p/llm-inference-metrics">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[PPO vs GRPO, Simply Explained]]></title><description><![CDATA[A simple lesson on two important LLM post-training algorithms.]]></description><link>https://www.intoai.pub/p/ppo-vs-grpo-simply-explained</link><guid isPermaLink="false">https://www.intoai.pub/p/ppo-vs-grpo-simply-explained</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Thu, 17 Sep 2026 11:47:38 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/ded4a10c-ffd8-4518-9fbf-0a5254976ff7_2320x1304.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_!PTgb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PTgb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png 424w, https://substackcdn.com/image/fetch/$s_!PTgb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png 848w, https://substackcdn.com/image/fetch/$s_!PTgb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png 1272w, https://substackcdn.com/image/fetch/$s_!PTgb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PTgb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png" width="1456" height="818" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:818,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:228501,&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.intoai.pub/i/215795532?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.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_!PTgb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png 424w, https://substackcdn.com/image/fetch/$s_!PTgb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png 848w, https://substackcdn.com/image/fetch/$s_!PTgb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.png 1272w, https://substackcdn.com/image/fetch/$s_!PTgb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2bbbdd7-d01b-4a2e-bdb8-b32bd987c160_2320x1304.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>LLM training is commonly done in three stages, and each stage helps the model to become more useful. These stages are as follows:</p><ol><li><p><strong>Pretraining</strong>: Teaches an LLM the basics of language and gives it foundational knowledge of the world.</p></li><li><p><strong>Mid-training</strong>: Improves the capabilities of an LLM in intended domains (coding, health, law, etc.).</p></li><li><p><strong>Post-training</strong>: Gives an LLM reasoning capabilities and helps align it to be a useful, human-value-aligned assistant.</p></li></ol><p>Two popular reinforcement learning algorithms used in LLM post-training are PPO and GRPO. Let&#8217;s learn how these work and differ.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>PPO</h3><p>Proximal Policy Optimization (PPO) is an algorithm used to align LLMs to be helpful, honest, and harmless assistants. This is done using a process called <strong>Reinforcement Learning from Human Feedback (RLHF)</strong>.</p><p>PPO was developed at OpenAI and later used to align a model called InstructGPT.  RLHF with PPO was subsequently used to align other ChatGPT models.</p><p>PPO belongs to the family of policy-based RL algorithms known as Policy gradient. <span>Here is how Policy gradient algorithms work:</span></p><ul><li><p>An LLM in training generates a response for a given prompt.</p></li><li><p>A reward model assigns a reward to the response.</p></li><li><p>The reward is compared to a baseline reward the LLM is expected to get for the prompt. The difference is called the <strong>Advantage</strong>, and it tells how much better or worse the response was than expected.</p></li><li><p>The LLM&#8217;s parameters are updated to increase the likelihood of responses with a positive advantage, and to decrease the likelihood of responses with a negative advantage.</p></li></ul><p>Standard policy gradient algorithms are good but not perfect and can lead to unstable alignment training.</p><p>Consider that an LLM is being trained to produce less verbose answers. Let&#8217;s say that while training, a very short response gets an unusually high reward. This will result in a large advantage and update the LLM's parameters significantly in one step.</p><p>This might make an LLM start giving one-word answers to every future prompt. And in the worst case, it might forget what it had learned in the past. </p><p>And this problem is what leads to PPO. </p><p>PPO carefully updates the LLM parameters so that the model&#8217;s behavior does not deviate too far from that of its previous version. (Hence, the term &#8216;Proximal&#8217; in its name.)</p><p>An LLM&#8217;s behavior is determined by the probabilities it assigns to the tokens it generates. PPO limits how much these token probabilities can change in a single step (clipped updates), regardless of how large the advantage is. This prevents large jumps in LLM behavior in a single step and makes training more stable.</p><p>PPO uses a separate model, called the <strong>Value model</strong>, to estimate the advantage. The Value model&#8217;s job is to predict the expected reward, or &#8220;Value&#8221;, at every token in the response. </p><p>The final reward is then combined with the Value model's per-token estimates to compute an advantage for each token. This helps figure out which tokens in the response are responsible for the good or bad score. </p><p>The Value model is also trained alongside the LLM, so its predictions improve over 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_!OdXM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OdXM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png 424w, https://substackcdn.com/image/fetch/$s_!OdXM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png 848w, https://substackcdn.com/image/fetch/$s_!OdXM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png 1272w, https://substackcdn.com/image/fetch/$s_!OdXM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OdXM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png" width="1456" height="943" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:943,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:107727,&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.intoai.pub/i/215795532?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.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_!OdXM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png 424w, https://substackcdn.com/image/fetch/$s_!OdXM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png 848w, https://substackcdn.com/image/fetch/$s_!OdXM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.png 1272w, https://substackcdn.com/image/fetch/$s_!OdXM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe47f4b86-cb48-48e8-91fb-77349336e056_1588x1028.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="callout-block" data-callout="true"><p><strong>Why isn&#8217;t the reward used directly to update the parameters, and why do we need advantage?</strong><em><strong><br></strong></em><br>Let&#8217;s say an LLM produces three responses to a given prompt and gets responses get rewards of 4, 7, and 10.</p><p>If the rewards are used directly, since all three are positive, the LLM parameters will be pushed towards generating all of them. This leads to noisy and slow training.</p><p>However, if we have an expected reward of 7 (coming from the Value model) for the prompt, the advantages are -3, 0, and +3. This trains the model to produce responses with higher advantage and to steer away from those with lower advantage.</p></div><div><hr></div><h3>GRPO</h3><p>GRPO (Group Relative Policy Optimization) was introduced by DeepSeek and used to train the DeepSeekMath model to improve its mathematical reasoning. GRPO and its variants have become the standard for post-training LLMs for reasoning today.</p><p>GRPO is itself a variant of PPO that <strong>removes the Value model</strong> for advantage calculation (but keeps PPO&#8217;s clipped updates), which makes it highly memory-efficient.</p><p>Here is how it works:</p><ul><li><p>For a given prompt, an LLM in training generates a <strong>group</strong> of responses.</p></li><li><p>A reward model or a verifier (when training for math and coding tasks) assigns a reward to each response.</p></li><li><p>The average and standard deviation of all rewards are calculated for the group of responses.</p></li><li><p>Advantage is calculated for each response as follows, where r(i) is the i-th response. Each token in the response gets this same advantage, which is the main trade-off of dropping the Value model. </p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;A_i = \\frac{r_i - \\text{mean}(r)}{\\text{std}(r)}&quot;,&quot;id&quot;:&quot;QSOAJTXAOW&quot;}" data-component-name="LatexBlockToDOM"></div></li><li><p>The LLM&#8217;s parameters are updated (using a clipped update) to increase the probability of generating high-advantage responses and reduce the probability of generating low-advantage responses.</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_!VpKD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VpKD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png 424w, https://substackcdn.com/image/fetch/$s_!VpKD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png 848w, https://substackcdn.com/image/fetch/$s_!VpKD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png 1272w, https://substackcdn.com/image/fetch/$s_!VpKD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VpKD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png" width="1456" height="977" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:977,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:134135,&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.intoai.pub/i/215795532?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.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_!VpKD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png 424w, https://substackcdn.com/image/fetch/$s_!VpKD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png 848w, https://substackcdn.com/image/fetch/$s_!VpKD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.png 1272w, https://substackcdn.com/image/fetch/$s_!VpKD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262c5a6c-5528-4684-b5aa-8da63c89255c_1824x1224.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><p>To simplify these algorithms, I have not shown:</p><ul><li><p>how <a href="https://apxml.com/courses/advanced-reinforcement-learning/chapter-3-advanced-policy-gradients-actor-critic/generalized-advantage-estimation">Generalized Advantage Estimation (GAE)</a> is used to calculate per-token advantages in PPO, and how the Value model is trained</p></li><li><p>A reference model, which is a frozen copy of the LLM before post-training, that is used to compute a <a href="https://en.wikipedia.org/wiki/Kullback%E2%80%93Leibler_divergence">KL penalty</a> that keeps the training LLM (Policy model) from deviating too far from it</p></li><li><p>How KL calculations are applied differently in PPO and GRPO</p></li><li><p>The full clipped objective for updating the LLM in training</p></li></ul><p>A more detailed comparison diagram is shown below from the research paper describing the DeepSeekMath<strong> </strong>model. If you&#8217;re interested in learning about these algorithms in detail, please refer to the &#8216;Further Reading&#8217; section.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8Xsl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8Xsl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png 424w, https://substackcdn.com/image/fetch/$s_!8Xsl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png 848w, https://substackcdn.com/image/fetch/$s_!8Xsl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!8Xsl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8Xsl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png" width="1456" height="702" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:702,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:276253,&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.intoai.pub/i/215795532?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.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_!8Xsl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png 424w, https://substackcdn.com/image/fetch/$s_!8Xsl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png 848w, https://substackcdn.com/image/fetch/$s_!8Xsl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!8Xsl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff661a14d-f26d-4831-84e8-2303c0e44ab6_2164x1044.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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"><a href="https://arxiv.org/pdf/2402.03300">Source</a></figcaption></figure></div><div><hr></div><h3>Further Reading</h3><ul><li><p><a href="https://levelup.gitconnected.com/21-reinforcement-learning-rl-concepts-explained-in-plain-english-79087514dba1">21 Reinforcement Learning (RL) Concepts Explained In Plain English</a></p></li><li><p><a href="https://www.intoai.pub/p/rlhf">A Detailed Guide To Reinforcement Learning From Human Feedback (RLHF) From Scratch</a></p></li><li><p><a href="https://www.intoai.pub/p/train-a-reasoning-model-using-grpo?utm_source=publication-search">Learn To Train A Reasoning Model From Scratch Using GRPO</a></p></li><li><p><a href="https://cameronrwolfe.substack.com/p/ppo-llm">PPO for LLMs: A Guide for Normal People</a> by<strong> </strong><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Cameron R. Wolfe, Ph.D.&quot;,&quot;id&quot;:29736521,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/69aba7df-b571-4609-aa47-fc2d031c11b8_1242x1595.jpeg&quot;,&quot;uuid&quot;:&quot;80a02673-c507-4464-a727-06e716d434ff&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><a href="https://magazine.sebastianraschka.com/p/llm-training-rlhf-and-its-alternatives">LLM Training: RLHF and Its Alternatives</a> by <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Sebastian Raschka, PhD&quot;,&quot;id&quot;:27393275,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F61f4c017-506f-4e9b-a24f-76340dad0309_800x800.jpeg&quot;,&quot;uuid&quot;:&quot;7fb6ca90-8882-437b-a876-65763f54f539&quot;}" data-component-name="MentionToDOM"></span> </p></li></ul><div><hr></div><p>This edition of the newsletter is completely free to read. Show your love by liking, restacking, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/ppo-vs-grpo-simply-explained?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.intoai.pub/p/ppo-vs-grpo-simply-explained?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p><strong>Join the paid tier today to get access to all posts in this newsletter</strong>, including:</p><ul><li><p>&#129489;&#127995;&#8205;&#128187; <a href="https://www.intoai.pub/p/build-and-train-a-diffusion-llm">Build and train a Diffusion LLM from scratch</a></p></li><li><p>&#127853; <a href="https://www.intoai.pub/p/gpu-concepts-for-ai-engineers">9 GPU Concepts Every AI Engineer Should Know</a></p></li><li><p>&#127752; <a href="https://www.intoai.pub/p/pytorch-essentials">20 PyTorch Concepts, Explained Simply</a></p></li><li><p>&#9881;&#65039; <a href="https://www.intoai.pub/p/build-a-vector-database-from-scratch">Build A Vector Database From Scratch To Understand RAG In Depth</a></p></li></ul><p>and so many more!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber today&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe"><span>Become a paid subscriber today</span></a></p>]]></content:encoded></item><item><title><![CDATA[On-Policy Distillation, Simply Explained]]></title><description><![CDATA[On-Policy Distillation (OPD) has become a popular algorithm for post-training LLMs, and almost all recent open-weight LLMs (Qwen3, GLM-5.3, and Nemotron-Cascade 2) have used it to achieve amazing performance.]]></description><link>https://www.intoai.pub/p/on-policy-distillation</link><guid isPermaLink="false">https://www.intoai.pub/p/on-policy-distillation</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Wed, 09 Sep 2026 19:22:38 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/bfc3141d-7693-4c95-9740-2696f47b4409_1250x1038.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="callout-block" data-callout="true"><p><strong>On-policy distillation (OPD) is a post-training method in which a student LLM generates its own responses, and a stronger teacher scores them token-by-token, with the student trained to minimize the reverse KL divergence between the two models&#8217; next-token distributions.</strong></p></div><p>On-Policy Distillation (OPD) has become a popular algorithm for post-training LLMs, and almost all recent open-weight LLMs (such as Qwen3, GLM-5.3, and Nemotron-Cascade 2) have used it to achieve amazing performance.</p><p>As an example, the post-training results for Qwen3-8B showed that OPD achieved significantly better performance than RL while requiring only about 1/10<sup>th</sup> of the GPU hours.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3a6l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3a6l!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png 424w, https://substackcdn.com/image/fetch/$s_!3a6l!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png 848w, https://substackcdn.com/image/fetch/$s_!3a6l!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png 1272w, https://substackcdn.com/image/fetch/$s_!3a6l!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3a6l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png" width="2330" height="360" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:360,&quot;width&quot;:2330,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:119619,&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.intoai.pub/i/211601997?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b95cd0-efc9-4a45-bf2f-ec3de73f102e_2330x360.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_!3a6l!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png 424w, https://substackcdn.com/image/fetch/$s_!3a6l!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png 848w, https://substackcdn.com/image/fetch/$s_!3a6l!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png 1272w, https://substackcdn.com/image/fetch/$s_!3a6l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa326d10a-9fdf-4167-8042-2b52a679e74f_2330x360.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption">Comparison of post-training with RL and OPD on Qwen3-8B. Numbers in parentheses indicate pass@64 scores (<a href="https://arxiv.org/pdf/2505.09388">Source</a>)</figcaption></figure></div><p>Many engineers still confuse OPD with RL, knowledge distillation, and SFT, but you do not have to. Here is a lesson that will help you understand it well.</p><div><hr></div><h3>What is On-Policy Distillation?</h3><p>LLM training takes place in three stages:</p><ol><li><p><strong>Pretraining:</strong> Teaches an LLM the basics of language (grammar, syntax, and semantic structure) and gives it foundational knowledge of the world</p></li><li><p><strong>Mid-training:</strong> Teaches an LLM domain-specific knowledge, improves reasoning, and extends context length</p></li><li><p><strong>Post-training: </strong>Further improves reasoning and instruction following, and aligns an LLM with human values to be helpful and not harmful</p></li></ol><p>Post-training takes place in two ways:</p><ol><li><p><strong>Off-policy:</strong> Where an LLM in training (called Policy) learns from data generated from an external source, either:</p><ul><li><p>Trajectories/ responses from a stronger teacher model (<a href="https://www.intoai.pub/p/how-llms-are-distilled-step-by-step">Knowledge distillation</a>)</p></li><li><p>A dataset of task-specific labeled examples (using supervised fine-tuning)</p></li></ul></li><li><p><strong>On-policy:</strong> Where the policy LLM learns from its own trajectories. This can be done using either reinforcement learning (which requires a reward signal) or distillation (which requires a stronger teacher model), i.e., On-policy distillation (OPD).</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kM1v!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kM1v!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png 424w, https://substackcdn.com/image/fetch/$s_!kM1v!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png 848w, https://substackcdn.com/image/fetch/$s_!kM1v!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png 1272w, https://substackcdn.com/image/fetch/$s_!kM1v!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kM1v!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png" width="1252" height="722" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:722,&quot;width&quot;:1252,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:48015,&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.intoai.pub/i/211601997?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.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_!kM1v!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png 424w, https://substackcdn.com/image/fetch/$s_!kM1v!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png 848w, https://substackcdn.com/image/fetch/$s_!kM1v!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.png 1272w, https://substackcdn.com/image/fetch/$s_!kM1v!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe41a903b-4163-4793-abd4-4a9678d85e8d_1252x722.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>OPD involves improving the capabilities of a weaker &#8220;student&#8221; model using a stronger &#8220;teacher&#8221; model. </p><p>It is called &#8220;On-policy&#8221; because the student model generates its own trajectories, which are then scored token-by-token by a stronger teacher model. This differs from conventional <a href="https://www.intoai.pub/p/how-llms-are-distilled-step-by-step">Knowledge distillation (KD)</a>, in which a student model learns from trajectories generated by a teacher model (an &#8220;Off-policy&#8221; approach).</p><p>KD is like a guitar teacher showing how to play like Jimi Hendrix, and a student trying to copy it. OPD, on the other hand, is like a student playing an easier song while the guitar teacher evaluates and corrects the student's playing.</p><p>With KD, a student tries to learn techniques they rarely encounter in their own playing, which can make them overconfident in their skills. With OPD, the student gradually learns from their own mistakes and improves.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>Understanding OPD with an example</h3><p>The process starts with two models: a stronger teacher model and a weaker student model.</p><p>The goal of OPD is to improve the student model's capabilities <strong>using its own trajectories </strong>(also called responses/ rollouts), supervised by the teacher model.</p><p>The process takes place as follows:</p><ul><li><p>Pass a prompt from the prompts dataset to the student model and collect its response at each generated token position.</p></li><li><p>Pass the prompt and the student-generated response to the student and the teacher, and collect their per-token next-token probability distributions along the same trajectory.</p></li><li><p>Calculate the per-token reverse KL divergence between the student&#8217;s and teacher&#8217;s next-token probability distributions. We will discuss later why reverse KL is used instead of forward KL in this step.</p></li><li><p>Use backpropagation to update only the student&#8217;s parameters, bringing it closer to the teacher's capabilities.</p></li><li><p>Repeat these steps using the updated student model.</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_!Abyr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Abyr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png 424w, https://substackcdn.com/image/fetch/$s_!Abyr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png 848w, https://substackcdn.com/image/fetch/$s_!Abyr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png 1272w, https://substackcdn.com/image/fetch/$s_!Abyr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Abyr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png" width="1456" height="1184" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1184,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:136130,&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.intoai.pub/i/211601997?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.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_!Abyr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png 424w, https://substackcdn.com/image/fetch/$s_!Abyr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png 848w, https://substackcdn.com/image/fetch/$s_!Abyr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.png 1272w, https://substackcdn.com/image/fetch/$s_!Abyr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98f14c95-5524-4b54-b809-2d1b2c44ca02_1466x1192.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">For each prompt, the student model generates a response. The resulting prompt-response pair is then passed through both the student and the teacher models to obtain their per-token next-token probability distributions. A reverse-KL loss is computed between these distributions at each response-token position and averaged across the student&#8217;s response to obtain the OPD loss. This loss is backpropagated through the student and used to update its parameters.</figcaption></figure></div><p>Let&#8217;s learn this better using an example.</p><p>Consider the following prompt from a prompt database:</p><blockquote><p>&#8220;Why is space black?&#8221;</p></blockquote><p>When this prompt is passed to the student model, it generates a response as follows:</p><blockquote><p>&#8220;Space looks black because there is no atmosphere to scatter sunlight.&#8221;</p></blockquote><p>Each token in this response is chosen from a next-token probability distribution at each step of generation. </p><p>(Also, please note that I am considering a word as a token for simplicity here. In reality, a token is typically a sub-word.)</p><p>Next, let&#8217;s look at this intermediate step in response generation with the following context: </p><blockquote><p>&#8220;Space looks black because there is no&#8221;</p></blockquote><p>The student and teacher models&#8217; probabilities for the next tokens at this step are as follows (only the top three token probabilities are shown explicitly for simplicity).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HFOs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HFOs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.png 424w, https://substackcdn.com/image/fetch/$s_!HFOs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.png 848w, https://substackcdn.com/image/fetch/$s_!HFOs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.png 1272w, https://substackcdn.com/image/fetch/$s_!HFOs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HFOs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.png" width="1456" height="417" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b74b675-f956-4348-97f6-673df55eee83_2682x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:417,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:107246,&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.intoai.pub/i/211601997?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.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_!HFOs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.png 424w, https://substackcdn.com/image/fetch/$s_!HFOs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.png 848w, https://substackcdn.com/image/fetch/$s_!HFOs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.png 1272w, https://substackcdn.com/image/fetch/$s_!HFOs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b74b675-f956-4348-97f6-673df55eee83_2682x768.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>The reverse KL divergence measures how these probability distributions differ and is calculated using the following formula:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;D_{\\mathrm{KL}}(P_S \\,\\|\\, P_T)\n=\n\\sum_t P_S(t)\\log\\left(\\frac{P_S (t)}{P_T (t)}\\right)&quot;,&quot;id&quot;:&quot;TETJRTJHNY&quot;}" data-component-name="LatexBlockToDOM"></div><p><br>where:</p><ul><li><p>P<sub>S</sub>&#8203; is the student model&#8217;s next-token probability distribution</p></li><li><p>P<sub>T</sub> is the teacher model&#8217;s next-token probability distribution</p></li><li><p>&#8216;t&#8217; is a token in the vocabulary</p></li><li><p>P<sub>S</sub>(t) is the probability the student assigns to token &#8216;t&#8217;</p></li><li><p>P<sub>T</sub>(t) is the probability the teacher assigns to token &#8216;t&#8217;</p></li></ul><p>The reverse KL divergence at this token generation step is calculated as:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;D_{\\mathrm{KL}}(P_S \\,\\|\\, P_T)\n= 0.52\\log\\left(\\frac{0.52}{0.80}\\right)\n+ 0.25\\log\\left(\\frac{0.25}{0.10}\\right)\n+ 0.12\\log\\left(\\frac{0.12}{0.09}\\right)\n+ 0.11\\log\\left(\\frac{0.11}{0.01}\\right)\n&quot;,&quot;id&quot;:&quot;UOCXNUUELZ&quot;}" data-component-name="LatexBlockToDOM"></div><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;D_{\\mathrm{KL}}(P_S \\,\\|\\, P_T)\n\\approx\n-0.224\n+0.229\n+0.035\n+0.264&quot;,&quot;id&quot;:&quot;NVNUUFNXOC&quot;}" data-component-name="LatexBlockToDOM"></div><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;D_{\\mathrm{KL}}(P_S \\,\\|\\, P_T)\n\\approx 0.3034 \\text{ nats}&quot;,&quot;id&quot;:&quot;USAIFPNDLP&quot;}" data-component-name="LatexBlockToDOM"></div><p><br>Similarly, the reverse KL divergence is computed between the two models&#8217; probability distributions at each generation step and averaged to obtain the OPD loss over the student-generated response.</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;L_{\\mathrm{OPD}}\n=\n\\frac{1}{N}\n\\sum_{i=1}^{N}\nD_{\\mathrm{KL}}^{(i)}&quot;,&quot;id&quot;:&quot;DQOCPAUNFE&quot;}" data-component-name="LatexBlockToDOM"></div><p><br>This loss (OPD loss) is used to update the student model&#8217;s parameters with backpropagation.</p><p>This process is repeated with the updated student model till we reach the loss minima and achieve the desired results.</p><div><hr></div><h3>Why is reverse KL divergence used as the OPD loss?</h3><p><a href="https://en.wikipedia.org/wiki/Kullback%E2%80%93Leibler_divergence">KL divergence</a> measures how a probability distribution differs from the true probability distribution.</p><p>In our case, it measures how much the student&#8217;s probability distribution (the approximating distribution) differs from the teacher&#8217;s (the true or target probability distribution).</p><ul><li><p>If the KL divergence is 0, the two distributions are identical.</p></li><li><p>The larger the value of the KL divergence, the more the two distributions differ.</p></li></ul><p>When we use forward KL, i.e., D<sub>KL</sub>&#8203;(Teacher || Student), as the post-training loss and iteratively minimize it, the student model tries to cover the teacher's entire output distribution. This is why forward KL is mass-covering or mean-seeking.</p><p>In simple words, when minimizing the forward KL, the teacher shows all the different kinds of answers it can generate, and the student is expected to cover/learn all of them.</p><p>With reverse KL, i.e., D<sub>KL</sub>(Student || Teacher), as the post-training loss, the student model focuses on covering the high-probability regions of the teacher&#8217;s distribution. This is why reverse KL is mode-seeking. </p><p>In simple words, when minimizing the reverse KL, the student avoids producing answers that the teacher would consider unlikely.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UO1i!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UO1i!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png 424w, https://substackcdn.com/image/fetch/$s_!UO1i!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png 848w, https://substackcdn.com/image/fetch/$s_!UO1i!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png 1272w, https://substackcdn.com/image/fetch/$s_!UO1i!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UO1i!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png" width="1456" height="623" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:623,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:296430,&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.intoai.pub/i/211601997?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.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_!UO1i!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png 424w, https://substackcdn.com/image/fetch/$s_!UO1i!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png 848w, https://substackcdn.com/image/fetch/$s_!UO1i!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.png 1272w, https://substackcdn.com/image/fetch/$s_!UO1i!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42b5ca23-b8c9-4c49-81c7-2209435fe9df_2256x966.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">The blue curve shows the teacher&#8217;s distribution while the red dashed curve shows the student&#8217;s output distribution. When training with forward KL, the student is mean-seeking and spreads across the teacher&#8217;s modes, but with reverse KL, the student is mode-seeking and focuses on the highest-probability mode.</figcaption></figure></div><p>Reverse KL suits OPD because the student generates outputs that the teacher evaluates. And since it is mode-seeking, it helps the student focus on the high-probability behavior of the teacher model rather than trying to cover every possible behavior of the teacher.</p><div><hr></div><p>This newsletter edition is completely free to read. Show your love by liking, restacking, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/on-policy-distillation?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.intoai.pub/p/on-policy-distillation?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p></p><p><strong>Join the paid tier today to get access to all posts in this newsletter</strong>, including:</p><ul><li><p>&#129489;&#127995;&#8205;&#128187; <a href="https://www.intoai.pub/p/build-and-train-a-diffusion-llm">Build and train a Diffusion LLM from scratch</a></p></li><li><p>&#127752; <a href="https://www.intoai.pub/p/pytorch-essentials">20 PyTorch Concepts, Explained Simply</a></p></li><li><p>&#9881;&#65039; <a href="https://www.intoai.pub/p/build-a-vector-database-from-scratch">Build A Vector Database From Scratch To Understand RAG In Depth</a></p></li><li><p>&#127853; <a href="https://www.intoai.pub/p/gpu-concepts-for-ai-engineers">9 GPU Concepts Every AI Engineer Should Know</a></p></li></ul><p>and so many more!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber today&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe"><span>Become a paid subscriber today</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[How to Read GPU Specs]]></title><description><![CDATA[A simple and jargon-free guide to reading GPU specs for LLM training and inference.]]></description><link>https://www.intoai.pub/p/how-to-read-gpu-specs</link><guid isPermaLink="false">https://www.intoai.pub/p/how-to-read-gpu-specs</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Fri, 04 Sep 2026 13:08:24 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/a8f2cc60-ffda-43f8-ba0d-469b95ba7fcb_1536x1024.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_!hWCl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hWCl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!hWCl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!hWCl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!hWCl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hWCl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png&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;:1849840,&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.intoai.pub/i/213132425?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.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_!hWCl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!hWCl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!hWCl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!hWCl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cf69333-11fe-4429-9075-9499d5acbc60_1536x1024.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="callout-block" data-callout="true"><p><strong>GPU specification sheets are packed with jargon and confusing metrics. This guide simplifies them and helps you learn how to pick the best GPUs for your LLM workflows.</strong></p></div><p>The NVIDIA H100 is one of the most popular GPUs for large-scale LLM training and inference. Here is what its GPU spec sheet looks like.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!w-zZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!w-zZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png 424w, https://substackcdn.com/image/fetch/$s_!w-zZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png 848w, https://substackcdn.com/image/fetch/$s_!w-zZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png 1272w, https://substackcdn.com/image/fetch/$s_!w-zZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!w-zZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png" width="1382" height="1388" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1388,&quot;width&quot;:1382,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:199433,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/213132425?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.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_!w-zZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png 424w, https://substackcdn.com/image/fetch/$s_!w-zZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png 848w, https://substackcdn.com/image/fetch/$s_!w-zZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png 1272w, https://substackcdn.com/image/fetch/$s_!w-zZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a84ce4a-b2c3-4442-adfa-1a2729bc5175_1382x1388.png 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">H100 GPU spec sheet (<a href="https://www.nvidia.com/en-gb/data-center/h100/">Source</a>)</figcaption></figure></div><p>Let&#8217;s break down and learn what each of these rows means, one at a time.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>1. Form factor</h3><p>Two variants of the H100 GPU are compared in the spec sheet: <strong>H100 SXM</strong> and <strong>H100 NVL</strong>.</p><p>The main difference between them is the form factor, which refers to the GPU's size, shape, and mounting style. The form factor determines the power limit, cooling design, and the number of GPUs that can be connected together.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LLF7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LLF7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png 424w, https://substackcdn.com/image/fetch/$s_!LLF7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png 848w, https://substackcdn.com/image/fetch/$s_!LLF7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png 1272w, https://substackcdn.com/image/fetch/$s_!LLF7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LLF7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png" width="1456" height="92" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:92,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:17658,&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.intoai.pub/i/213132425?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.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_!LLF7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png 424w, https://substackcdn.com/image/fetch/$s_!LLF7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png 848w, https://substackcdn.com/image/fetch/$s_!LLF7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png 1272w, https://substackcdn.com/image/fetch/$s_!LLF7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89be49d6-4b45-4720-a4a8-03872df54468_2082x132.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>H100 SXM</strong> (Server PCI Express Module) follows the SXM form factor. This means that the GPU can be directly mounted on a specialized GPU baseboard with a custom <a href="https://en.wikipedia.org/wiki/SXM_(socket)">SXM socket</a>. This provides higher performance and power, better cooling, and the option to connect 4 or 8 GPUs together using <a href="https://www.intoai.pub/p/what-every-ai-engineer-must-know-about-nvidia-gpus?open=false#%C2%A7understanding-inter-gpu-connections">NVLink/NVSwitch</a>, NVIDIA&#8217;s proprietary high-bandwidth interconnect.</p><p><strong>H100 NVL</strong> follows the PCIe form factor. This means the GPU must be connected to the motherboard using a <a href="https://en.wikipedia.org/wiki/PCI_Express">PCIe slot</a>, which offers greater compatibility and easier installation but provides a lower power limit and inter-GPU bandwidth. </p><p>H100 NVL is sold as a pair of GPUs connected via NVLink, and hence the name.</p><p>NVIDIA also produced the standard <strong>H100 PCIe</strong> version (not shown in the spec sheet above), which can also be connected to another H100 using NVLink. However, the H100 NVL has higher memory bandwidth than the PCIe version because it uses HBM3, whereas the PCIe version uses HBM2e, an earlier HBM standard.</p><div><hr></div><h3>2. GPU memory capacity</h3><p>The GPU memory row (also generally called VRAM) refers to the capacity of the GPU&#8217;s <a href="https://www.intoai.pub/i/212395480/4-high-bandwidth-memory">High Bandwidth Memory (HBM)</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MlAi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MlAi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png 424w, https://substackcdn.com/image/fetch/$s_!MlAi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png 848w, https://substackcdn.com/image/fetch/$s_!MlAi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png 1272w, https://substackcdn.com/image/fetch/$s_!MlAi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MlAi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png" width="1456" height="68" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/af21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:68,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:17328,&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.intoai.pub/i/213132425?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.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_!MlAi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png 424w, https://substackcdn.com/image/fetch/$s_!MlAi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png 848w, https://substackcdn.com/image/fetch/$s_!MlAi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png 1272w, https://substackcdn.com/image/fetch/$s_!MlAi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf21e300-6683-4ee1-b52e-97ce0d21ac1b_2088x98.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>When running an LLM, this is one of the first figures to consider. </p><p>A GPU&#8217;s HBM stores:</p><ul><li><p>LLM weights and activations (during both training and inference)</p></li><li><p>KV cache (during inference)</p></li><li><p>Gradients and optimizer states (during training)</p></li><li><p>CUDA/runtime workspaces and temporary buffers/tensors (during both training and inference)</p></li></ul><p>Let&#8217;s say that we are deploying the <a href="https://huggingface.co/Qwen/Qwen3-32B">Qwen3-32B model</a> in BF16 or FP16 precision. Since the model has 32.8B parameters and each parameter takes 2 bytes, the parameters alone require 61 GB (32.8B &#215; 2 bytes &#8776; 61 GB).</p><p>The H100 SXM has 80 GB of HBM, which is enough to hold this model&#8217;s parameters but can fill up quickly once you add the KV cache and runtime buffers, especially for longer context-length workloads.</p><p>The Qwen3-32B model has:</p><ul><li><p>64 layers</p></li><li><p>8 KV heads</p></li><li><p>128 dimensions per head</p></li></ul><p>At BF16, its KV cache is roughly:</p><blockquote><p>KV cache size = 64 x 8 x 2 (one each for K &amp; V) x 128 x 2 bytes = 262,144 bytes  &#8776; 0.25 MB per token</p></blockquote><p>For a sequence of length 8000 tokens and a batch size of 1, this makes:</p><blockquote><p>KV cache size = 8000 tokens x 0.25 MB &#8776; 2 GB</p></blockquote><p>These 61 GB of parameters, along with a 2 GB KV cache and additional overhead, might fit within the 80 GB of HBM. But if you require a <a href="https://www.intoai.pub/p/llm-inference-batching-strategies">larger batch size</a> or have long-context requests, you&#8217;d need to either:</p><ul><li><p>Reduce the precision of the model parameters</p></li><li><p>Use a GPU with more HBM (such as H100 NVL with 94 GB of HBM)</p></li><li><p><a href="https://www.intoai.pub/i/201900247/what-if-the-llm-is-too-big-for-the-gpu-memory">Connect multiple GPUs</a></p></li></ul><div><hr></div><h3>3. GPU memory bandwidth</h3><p>Memory bandwidth refers to how quickly the GPU can move data between its HBM and its <a href="https://www.intoai.pub/i/212395480/1-streaming-multiprocessor">streaming multiprocessors (SMs)</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cOkI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cOkI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png 424w, https://substackcdn.com/image/fetch/$s_!cOkI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png 848w, https://substackcdn.com/image/fetch/$s_!cOkI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png 1272w, https://substackcdn.com/image/fetch/$s_!cOkI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cOkI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png" width="1456" height="65" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:65,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19936,&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.intoai.pub/i/213132425?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.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_!cOkI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png 424w, https://substackcdn.com/image/fetch/$s_!cOkI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png 848w, https://substackcdn.com/image/fetch/$s_!cOkI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png 1272w, https://substackcdn.com/image/fetch/$s_!cOkI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10cda158-3b83-4dd2-9cd5-55ab21f33257_2094x94.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>H100 NVL has higher bandwidth than the SXM version. This means it can move LLM weights from HBM to the compute cores faster. </p>
      <p>
          <a href="https://www.intoai.pub/p/how-to-read-gpu-specs">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[9 GPU Concepts Every AI Engineer Should Know]]></title><description><![CDATA[A simple and practical guide to GPU internals that AI engineers actually need.]]></description><link>https://www.intoai.pub/p/gpu-concepts-for-ai-engineers</link><guid isPermaLink="false">https://www.intoai.pub/p/gpu-concepts-for-ai-engineers</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Thu, 27 Aug 2026 12:16:32 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/78ebc69a-5626-42da-8781-f89f0cf23ef8_1672x941.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="callout-block" data-callout="true"><p><em><strong>&#8220;This is the lesson that you need if you are new to GPUs and want to master them without getting overwhelmed.&#8221;</strong></em></p></div><p>Frameworks like PyTorch are easy to use because they hide away all the intricacies that occur at the GPU level. But companies and research labs today are looking for engineers who can look under the hood of PyTorch, explain where their compute budget is being spent, debug GPUs, and make LLMs more performant.</p><p>Here are 9 concepts explained simply that will help you better understand GPUs.</p><ul><li><p>1, 2, 3: discuss GPU computation hardware</p></li><li><p>4, 5, 6: discuss GPU memory</p></li><li><p>7, 8: discuss how programs are executed on GPUs</p></li><li><p>9: discusses how multiple GPUs are connected together</p></li></ul><p>Let&#8217;s begin!</p><div><hr></div><h3>1. Streaming Multiprocessor</h3><p>Streaming Multiprocessor (SM) is the core computational unit in NVIDIA GPUs. </p><p>It is similar to the cores of a CPU, with one major difference: it can execute parallel instructions and specific operations, such as matrix multiplication, much faster.</p><blockquote><p>While a CPU core is optimized for high execution speed of a single thread, an SM on a GPU is optimized for high throughput across many threads (running a large number of threads in parallel).</p></blockquote><p>A Streaming Multiprocessor (SM) is called so because:</p><ul><li><p>It works with streams of data (data inputs requiring similar computation that are continuously fed to it)</p></li><li><p>It contains multiple processing units that can perform computations on a data stream in parallel</p></li></ul><p>The main components of an SM are:</p><ul><li><p><strong>CUDA cores (INT32, FP32, FP64)</strong>: For basic arithmetic calculations</p></li><li><p><strong>Tensor Cores:</strong> For matrix multiplication calculations</p></li><li><p><strong>Warp schedulers and Dispatch units:</strong> For choosing which thread groups (warps) to run next</p></li><li><p><strong>Load/ Store (LD/ST) units:</strong> For moving data between memory and registers</p></li><li><p><strong>Registers/ Register files:</strong> For storing each thread&#8217;s data temporarily</p></li><li><p><strong>L1 cache:</strong> For temporarily storing data to be used across the components of an SM</p></li><li><p><strong>Shared memory:</strong> Partition of the same SRAM as the L1 cache that can be used to store data. While L1 caches data automatically, shared memory can be used programmatically.</p></li></ul><p>The following is an architectural diagram of the SM for an NVIDIA H100 GPU. A single H100 <a href="https://en.wikipedia.org/wiki/SXM_(socket)">SXM</a> has 132 such SMs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hf10!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hf10!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png 424w, https://substackcdn.com/image/fetch/$s_!hf10!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png 848w, https://substackcdn.com/image/fetch/$s_!hf10!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png 1272w, https://substackcdn.com/image/fetch/$s_!hf10!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hf10!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png" width="1076" height="1434" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1434,&quot;width&quot;:1076,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:485802,&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.intoai.pub/i/212395480?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.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_!hf10!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png 424w, https://substackcdn.com/image/fetch/$s_!hf10!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png 848w, https://substackcdn.com/image/fetch/$s_!hf10!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.png 1272w, https://substackcdn.com/image/fetch/$s_!hf10!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c8105-47f6-44cb-a359-b9c6c6f15d46_1076x1434.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Architecture of NVIDIA&#8217;s H100 GPU SM with 4 processing partitions and other shared components between them (<a href="https://resources.nvidia.com/en-us-hopper-architecture/nvidia-h100-tensor-c">Source</a>)</figcaption></figure></div><p>Although the above-mentioned components are most common in GPUs, you can see many more components in the H100 GPU, such as:</p><ul><li><p><strong>SFUs (Special Function Units):</strong> For performing exponential, logarithmic, and trigonometric functions.</p></li><li><p><strong>Texture (Tex) units:</strong> For processing surface texture data efficiently</p></li><li><p><strong>Tensor Memory Accelerator:</strong> For efficiently moving multi-dimensional data between global memory and shared memory</p></li><li><p><strong>L0 and L1 instruction cache:</strong> Small and fast cache memory that stores frequently used instructions close to the compute cores</p></li></ul><div><hr></div><h3>2. CUDA core</h3><p>A CUDA (Compute Unified Device Architecture) core handles a single simple arithmetic operation, such as integer and floating-point calculations, per clock cycle, in an SM.</p><p>Different CUDA cores handle different types of numerical precision, such as INT32, FP32, and FP64, as seen in the architectural diagram above.</p><p>An H100 SXM GPU has:</p><ul><li><p>128 FP32 CUDA cores per SM</p></li><li><p>16,896 FP32 CUDA cores per GPU</p></li></ul><p>A CUDA core is much simpler than a CPU core. While a CPU core can perform complex operations, a CUDA core&#8217;s job is to work as a simple calculator for basic arithmetic. It is the massive number of these cores performing calculations in parallel that makes a GPU so powerful.</p><p><em>Note that the term &#8216;CUDA core&#8217; refers to hardware and is not directly related to the CUDA software ecosystem.</em></p><div><hr></div><h3>3. Tensor core</h3><p>A Tensor core is a specialized unit in an SM that can perform fast matrix multiply-and-accumulate operations. </p><p>These operations make up the bulk of the workload in deep learning and are handled by the Tensor Cores, leaving non-matrix operations (such as activation functions, normalization, and element-wise operations) to the CUDA cores.</p><p>NVIDIA first introduced the Tensor Core in the Volta GPU architecture in 2017, which massively accelerated neural-network training workflows.</p><p>Tensor Cores are also specialized for different numeric precisions, such as FP16, BF16, TF32, and FP64. The H100 GPU has specialized tensor cores for low-precision formats such as FP8, while the Blackwell generation of GPUs includes tensor cores for FP4 (specifically, <a href="https://developer.nvidia.com/blog/introducing-nvfp4-for-efficient-and-accurate-low-precision-inference/">NVFP4</a>).</p><p>You will often find discussions of TFLOPS in GPU specs, which refer to the performance of the GPU's Tensor cores and CUDA cores.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aXrJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aXrJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png 424w, https://substackcdn.com/image/fetch/$s_!aXrJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png 848w, https://substackcdn.com/image/fetch/$s_!aXrJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png 1272w, https://substackcdn.com/image/fetch/$s_!aXrJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aXrJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png" width="1456" height="735" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:735,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:199721,&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.intoai.pub/i/212395480?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.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_!aXrJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png 424w, https://substackcdn.com/image/fetch/$s_!aXrJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png 848w, https://substackcdn.com/image/fetch/$s_!aXrJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.png 1272w, https://substackcdn.com/image/fetch/$s_!aXrJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc83e08cc-c7de-4e1f-beed-92fc2c601213_1616x816.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">NVIDIA H100 GPU Performance Specs for Tensor and CUDA cores (<a href="https://resources.nvidia.com/en-us-hopper-architecture/nvidia-h100-tensor-c">Source</a>)</figcaption></figure></div><div><hr></div><h3>4. High Bandwidth Memory</h3><p>High Bandwidth Memory (HBM) is a GPU&#8217;s main memory. It is also called global memory or VRAM. This is the memory that holds the model weights, activations, and KV cache.</p><p><span>HBM is mounted alongside the GPU die and works with </span>smaller memory components (L2, L1, and register files) that are etched directly on the die (on-chip memory). </p><p>It is a type of <a href="https://en.wikipedia.org/wiki/Dynamic_random-access_memory"><span>Dynamic random-access memory (DRAM)</span></a><span>, which offers larger capacity and is cheaper than </span>on-chip memory, a type of <a href="https://en.wikipedia.org/wiki/Static_random-access_memory">Static random-access memory (SRAM)</a>, which is extremely fast but much smaller.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mIsv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mIsv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png 424w, https://substackcdn.com/image/fetch/$s_!mIsv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png 848w, https://substackcdn.com/image/fetch/$s_!mIsv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png 1272w, https://substackcdn.com/image/fetch/$s_!mIsv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mIsv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png" width="1456" height="659" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:659,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&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_!mIsv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png 424w, https://substackcdn.com/image/fetch/$s_!mIsv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png 848w, https://substackcdn.com/image/fetch/$s_!mIsv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.png 1272w, https://substackcdn.com/image/fetch/$s_!mIsv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3a7d8ea-3216-47fa-a7f3-1fd86378e780_1984x898.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">A simplified architectural overview of a GPU (<a href="https://www.intoai.pub/p/a-hardware-level-tour-of-llm-inference">Source</a>)</figcaption></figure></div><div><hr></div><h3>5. On-chip memory</h3>
      <p>
          <a href="https://www.intoai.pub/p/gpu-concepts-for-ai-engineers">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[5 LLM inference batching techniques every AI engineer should know]]></title><description><![CDATA[Static, Dynamic, and Continuous batching, Chunked prefill, and Prefill-Decode disaggregation, simply explained.]]></description><link>https://www.intoai.pub/p/llm-inference-batching-strategies</link><guid isPermaLink="false">https://www.intoai.pub/p/llm-inference-batching-strategies</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Sat, 22 Aug 2026 11:44:27 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/2011e14c-11bf-4db8-a496-b4a01fc6b957_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><span>&#10024; This newsletter features new research from </span><a href="https://pathway.com/">Pathway</a><span>. &#10024;</span></p><p>BDH-CQ<span> is </span>a 150M-parameter reasoning model <span>that breaks the previously reported cost-accuracy Pareto frontier in ARC-AGI-1 and sets a new state-of-the-art for benchmark cost efficiency.</span></p><p>The model learns each new task from the examples it&#8217;s shown at inference time and progressively updates a recurrent memory to reason in latent space before giving an answer.</p><p><span>It achieves 29.5% pass@2 on ARC-AGI-1 at an inference cost of $0.0007 per task.</span></p><p>Although this is not the highest-accuracy result, BDH-CQ is ~57x cheaper than GPT 5.6 Luna (Low), which scores 34.2% (only 4.7% higher) at $0.040. Even after OpenAI announced a recent 80% reduction in API price, BDH-CQ is still ~11x cheaper than GPT 5.6 Luna (Low).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!w4Kl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!w4Kl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 424w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 848w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 1272w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png" width="1456" height="466" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:466,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2259064,&quot;alt&quot;:&quot;&quot;,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.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_!w4Kl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 424w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 848w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 1272w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><span>&#128104;&#127995;&#8205;&#128187; Read more about this research using these links: </span><a href="https://huggingface.co/papers/2608.09888">Hugging Face</a><span> | </span><a href="https://arxiv.org/pdf/2608.09888">ArXiv</a><span> | </span><a href="https://pathway.com/research/introducing-bdh-cq">Blog</a></p><div><hr></div><p style="text-align: center;"><em><a href="https://passionfroot.me/dr-ashish-bamania">Sponsor this newsletter to reach 12,000 smart AI engineers and leaders.</a></em></p><div><hr></div><p>While requests can be processed one at a time as they arrive (sequential/ serialized processing), batching them is one of the best ways to improve LLM throughput. A scheduler decides how batches are formed and updated.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bWyS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bWyS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png 424w, https://substackcdn.com/image/fetch/$s_!bWyS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png 848w, https://substackcdn.com/image/fetch/$s_!bWyS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png 1272w, https://substackcdn.com/image/fetch/$s_!bWyS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bWyS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png" width="728" height="213" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:426,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:134488,&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.intoai.pub/i/211305596?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.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_!bWyS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png 424w, https://substackcdn.com/image/fetch/$s_!bWyS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png 848w, https://substackcdn.com/image/fetch/$s_!bWyS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png 1272w, https://substackcdn.com/image/fetch/$s_!bWyS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c26a8ba-1c0f-40b7-9fae-72321c5ddf65_2482x726.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Here are the batching and serving strategies commonly used in modern inference architectures.</p><div><hr></div><h3>1. Static batching</h3><p>Static batching involves grouping incoming requests, and when a fixed preset number of requests (batch size) is reached, processing them together as a batch.</p><p>This is a simple batching strategy to implement, but it comes with high latency, as the preset batch size must be reached before processing requests begins. Also, the GPU has to wait for the longest request to finish before returning the batch outputs.</p><p>This strategy is used mainly for offline batch jobs or online inference systems with low, predictable traffic.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lYNb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lYNb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png 424w, https://substackcdn.com/image/fetch/$s_!lYNb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png 848w, https://substackcdn.com/image/fetch/$s_!lYNb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png 1272w, https://substackcdn.com/image/fetch/$s_!lYNb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lYNb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png" width="728" height="216" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:432,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:174097,&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.intoai.pub/i/211305596?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.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_!lYNb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png 424w, https://substackcdn.com/image/fetch/$s_!lYNb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png 848w, https://substackcdn.com/image/fetch/$s_!lYNb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png 1272w, https://substackcdn.com/image/fetch/$s_!lYNb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4101c14d-224a-41c7-85cc-47631cc7e3bd_2502x742.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><h3>2. Dynamic batching</h3><p>Dynamic batching involves grouping incoming requests and processing them in batches when either the maximum batch size or the maximum wait window is reached.</p><p>This means that:</p><ul><li><p>If a batch reaches the maximum size, processing begins immediately. </p></li><li><p>If the maximum wait window is reached, the processing begins immediately even if the batch contains only one request.</p></li></ul><p>This strategy can handle online inference with unpredictable traffic (variable inter-request intervals), but it still wastes compute, as the GPU must wait for the longest request to finish before returning outputs, even when shorter requests have already finished processing.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!inaG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!inaG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png 424w, https://substackcdn.com/image/fetch/$s_!inaG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png 848w, https://substackcdn.com/image/fetch/$s_!inaG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png 1272w, https://substackcdn.com/image/fetch/$s_!inaG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!inaG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png" width="728" height="194" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:388,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:206950,&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.intoai.pub/i/211305596?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.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_!inaG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png 424w, https://substackcdn.com/image/fetch/$s_!inaG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png 848w, https://substackcdn.com/image/fetch/$s_!inaG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png 1272w, https://substackcdn.com/image/fetch/$s_!inaG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6148389b-5299-48cd-af37-9ef3fa78ab59_2502x666.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!siui!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!siui!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png 424w, https://substackcdn.com/image/fetch/$s_!siui!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png 848w, https://substackcdn.com/image/fetch/$s_!siui!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png 1272w, https://substackcdn.com/image/fetch/$s_!siui!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!siui!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png" width="1456" height="559" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:559,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:113531,&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.intoai.pub/i/211305596?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.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_!siui!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png 424w, https://substackcdn.com/image/fetch/$s_!siui!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png 848w, https://substackcdn.com/image/fetch/$s_!siui!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.png 1272w, https://substackcdn.com/image/fetch/$s_!siui!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f499559-6626-4647-b8cd-e25f4e485705_2162x830.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Shortest requests must wait until the longest request in the batch has been processed before batch results are output</figcaption></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>3. Continuous batching</h3><p>Continuous batching adds and removes incoming requests between decoding iterations. This means a new request can be added to the batch as soon as a request in the batch finishes processing. This substantially minimizes GPU idle time.</p><p>It is also called:</p><ul><li><p><strong>In-flight batching</strong> because the requests are added and removed on the fly, and</p></li><li><p><strong>Iteration-level scheduling</strong> because the scheduler re-decides the batch membership before every decoding step rather than fixing it once at batch formation</p></li></ul><p>This is one of the most popular strategies in modern high-throughput serving systems that handle massive traffic and can be easily implemented with most serving frameworks such as vLLM, TensorRT-LLM, and SGLang.</p><p>Continuous batching treats prefill and decode for requests similarly, even though prefill is compute-bound and decode is memory-bound. This leads us to the next two batching strategies.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Yzgj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Yzgj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png 424w, https://substackcdn.com/image/fetch/$s_!Yzgj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png 848w, https://substackcdn.com/image/fetch/$s_!Yzgj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png 1272w, https://substackcdn.com/image/fetch/$s_!Yzgj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Yzgj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png" width="728" height="184.5" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:369,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:234200,&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.intoai.pub/i/211305596?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.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_!Yzgj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png 424w, https://substackcdn.com/image/fetch/$s_!Yzgj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png 848w, https://substackcdn.com/image/fetch/$s_!Yzgj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png 1272w, https://substackcdn.com/image/fetch/$s_!Yzgj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c1a93e-b748-4559-afb8-dba9691950a6_2722x690.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><h3>4. Continuous batching with chunked prefill</h3><p>For every request, LLM inference takes place in two phases:</p><ol><li><p><strong>Prefill:</strong> <span>The</span> first phase, where all tokens in a user&#8217;s prompt are processed together in a single forward pass by the LLM. This phase builds the KV cache and has high <a href="https://www.intoai.pub/p/arithmetic-intensity">arithmetic intensity</a>, making it compute-bound.</p></li><li><p><strong>Decode:</strong> The second phase, where the LLM generates one token at a time, with a single forward pass through the model for each token. This phase has low arithmetic intensity and is memory-bound.</p></li></ol><p>You can read more about these phases using the following links:</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;1f06d865-35a4-483b-9a83-b9834df7abf3&quot;,&quot;caption&quot;:&quot;&#10024; Today&#8217;s newsletter edition is sponsored by Backplanes.&#10024;&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 hardware-level tour of how LLMs generate text&quot;,&quot;publishedBylines&quot;:[{&quot;is_guest&quot;:false,&quot;id&quot;:155457308,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!1rS7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;bestseller_tier&quot;:100,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;Author of &#8216;Into AI&#8217; &#8594; a bestselling newsletter helping engineers become 100&#215; better in AI | Ex-CTO&quot;}],&quot;post_date&quot;:&quot;2026-06-22T23:51:37.217Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!4DwK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8aa99349-6dd1-4c14-8dd6-b765d23ded36_2696x1102.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoai.pub/p/a-hardware-level-tour-of-llm-inference&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:201900247,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:175,&quot;comment_count&quot;:2,&quot;publication_id&quot;:1813260,&quot;publication_name&quot;:&quot;Into AI&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!xBa1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad0f7ec6-837c-4c2b-9b4d-5365d1a9e668_1080x1080.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;a6e480d4-f97d-47c5-8b8d-8543ef20751c&quot;,&quot;caption&quot;:&quot;Arithmetic Intensity is a concept that will instantly help you understand what the performance bottlenecks in LLM training and serving are. Unfortunately, it is not discussed as much as it should be. So here is a no-jargon lesson to fix that.&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;Arithmetic Intensity, Simply Explained&quot;,&quot;publishedBylines&quot;:[{&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!1rS7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;id&quot;:155457308,&quot;bestseller_tier&quot;:100,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;Author of &#8216;Into AI&#8217; &#8594; a bestselling newsletter helping engineers become 100&#215; better in AI | Ex-CTO&quot;}],&quot;post_date&quot;:&quot;2026-07-06T11:14:22.712Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!p_ax!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dd7a4a2-13c1-4f08-b223-97154f2f6f3b_1920x1110.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoai.pub/p/arithmetic-intensity&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:202936917,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:6,&quot;comment_count&quot;:0,&quot;publication_id&quot;:1813260,&quot;publication_name&quot;:&quot;Into AI&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!xBa1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad0f7ec6-837c-4c2b-9b4d-5365d1a9e668_1080x1080.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Let&#8217;s say that user A&#8217;s request is in the decode phase (tokens are being generated one at a time) and user B sends a prefill-heavy request with 50,000 tokens. This will cause user A to wait a long time between their generated tokens.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!djQE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!djQE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png 424w, https://substackcdn.com/image/fetch/$s_!djQE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png 848w, https://substackcdn.com/image/fetch/$s_!djQE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png 1272w, https://substackcdn.com/image/fetch/$s_!djQE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!djQE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png" width="728" height="194.5" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:389,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:101053,&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.intoai.pub/i/211305596?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.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_!djQE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png 424w, https://substackcdn.com/image/fetch/$s_!djQE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png 848w, https://substackcdn.com/image/fetch/$s_!djQE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png 1272w, https://substackcdn.com/image/fetch/$s_!djQE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F452e4727-6761-4dc7-abea-f2d5672fa079_2760x738.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Instead of processing user B&#8217;s request all at once, the prefill could be chunked or broken down into smaller token-length pieces and processed with the decode of user A&#8217;s request. This ensures that user A continues to receive tokens while user B's long prompt is being processed.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9T2g!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9T2g!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png 424w, https://substackcdn.com/image/fetch/$s_!9T2g!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png 848w, https://substackcdn.com/image/fetch/$s_!9T2g!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png 1272w, https://substackcdn.com/image/fetch/$s_!9T2g!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9T2g!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png" width="728" height="225" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d6250755-2240-4585-9aad-b0220a8335c3_2466x762.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:450,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:105830,&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.intoai.pub/i/211305596?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.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_!9T2g!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png 424w, https://substackcdn.com/image/fetch/$s_!9T2g!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png 848w, https://substackcdn.com/image/fetch/$s_!9T2g!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png 1272w, https://substackcdn.com/image/fetch/$s_!9T2g!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd6250755-2240-4585-9aad-b0220a8335c3_2466x762.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This strategy of chunking prefill is used with continuous batching, which allows processed requests to be added to or removed from the batch between decoding iterations, improving GPU utilization. This is especially beneficial when handling traffic with long-context requests.</p><p>One disadvantage of using chunked prefill is that it reduces prefill throughput and increases Time to first token (TTFT) for long prompts. This leads us to the next approach.</p><div><hr></div><h3>5. Prefill-Decode disaggregation</h3><p>Prefill-Decode disaggregation is a serving architecture that moves the two phases of LLM inference to their dedicated GPU pools. </p><p>The dedicated pool of GPUs for prefill is optimized for higher compute, while the dedicated pool of GPUs for decode is optimized for higher memory throughput.</p><p>For example, the <a href="https://www.nvidia.com/en-gb/data-center/h200/">NVIDIA H200 GPU</a>, compared to the H100, has much faster and larger memory but the same core compute. Therefore, H200s are best used in the decode pool, and H100s in the prefill pool.</p><p>During inference, <span>the KV cache is transferred from the prefill-dedicated GPU pool to the decode-dedicated GPU pool. This adds latency and consumes interconnect bandwidth, which is a disadvantage of this architecture at smaller scales. </span>Using high-speed interconnects such as <a href="https://www.intoai.pub/i/201598182/understanding-inter-gpu-connections">NVLink or InfiniBand</a> helps optimize KV cache transfers.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!V2_1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!V2_1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png 424w, https://substackcdn.com/image/fetch/$s_!V2_1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png 848w, https://substackcdn.com/image/fetch/$s_!V2_1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png 1272w, https://substackcdn.com/image/fetch/$s_!V2_1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!V2_1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png" width="728" height="524" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1048,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:172818,&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.intoai.pub/i/211305596?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.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_!V2_1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png 424w, https://substackcdn.com/image/fetch/$s_!V2_1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png 848w, https://substackcdn.com/image/fetch/$s_!V2_1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.png 1272w, https://substackcdn.com/image/fetch/$s_!V2_1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4c7567d-37e1-4a99-9b08-ad4f556d67de_1786x1286.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>It must be noted that Prefill-Decode disaggregation is a serving architecture in which each GPU pool can still use continuous batching.</p><div><hr></div><p>Thanks to <a href="https://pathway.com/">Pathway</a>, this edition of the newsletter is completely free to read. Show your love by liking, restacking, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/llm-inference-batching-strategies?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.intoai.pub/p/llm-inference-batching-strategies?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[How does Claude watermark text?]]></title><description><![CDATA[Visually understand how Anthropic watermarks and detects Claude-generated text.]]></description><link>https://www.intoai.pub/p/how-claude-watermarks-text</link><guid isPermaLink="false">https://www.intoai.pub/p/how-claude-watermarks-text</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Thu, 20 Aug 2026 00:04:24 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!QIkC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Anthropic recently announced that it is introducing watermarking for text generated by Claude models. This is to comply with the EU Code of Practice on Transparency of AI-Generated Content, which requires AI system providers to use methods of marking AI-generated text.</p><p>Let&#8217;s understand visually how the watermarking process works.</p><div><hr></div><h3>But first, how do LLMs generate text?</h3><p>LLMs are trained to generate text one token at a time, based on the preceding tokens/ context.</p><p>Check out the following example where an LLM generates the token &#8220;dark&#8221; given the context &#8220;The solar eclipse turned everything&#8221;.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wGpo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wGpo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png 424w, https://substackcdn.com/image/fetch/$s_!wGpo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png 848w, https://substackcdn.com/image/fetch/$s_!wGpo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png 1272w, https://substackcdn.com/image/fetch/$s_!wGpo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wGpo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png" width="1456" height="231" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:231,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:69425,&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.intoai.pub/i/211741159?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.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_!wGpo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png 424w, https://substackcdn.com/image/fetch/$s_!wGpo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png 848w, https://substackcdn.com/image/fetch/$s_!wGpo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png 1272w, https://substackcdn.com/image/fetch/$s_!wGpo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44656aa9-bb2c-400e-9b37-0a1554f9176a_2626x416.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>Behind the scenes, the tokens in the context are converted into token IDs and then into token embeddings, which the LLM processes to produce logits.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ws7I!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ws7I!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png 424w, https://substackcdn.com/image/fetch/$s_!Ws7I!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png 848w, https://substackcdn.com/image/fetch/$s_!Ws7I!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png 1272w, https://substackcdn.com/image/fetch/$s_!Ws7I!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ws7I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png" width="1456" height="974" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:974,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:109265,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/211741159?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.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_!Ws7I!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png 424w, https://substackcdn.com/image/fetch/$s_!Ws7I!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png 848w, https://substackcdn.com/image/fetch/$s_!Ws7I!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png 1272w, https://substackcdn.com/image/fetch/$s_!Ws7I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0a9c0f3-5f84-4bb7-8806-d4cb2a8547ff_1654x1106.png 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Next, we take the logits for the last position and apply softmax to them to obtain 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_!Mqin!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mqin!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png 424w, https://substackcdn.com/image/fetch/$s_!Mqin!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png 848w, https://substackcdn.com/image/fetch/$s_!Mqin!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png 1272w, https://substackcdn.com/image/fetch/$s_!Mqin!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mqin!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png" width="1456" height="418" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:418,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:103389,&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.intoai.pub/i/211741159?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.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_!Mqin!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png 424w, https://substackcdn.com/image/fetch/$s_!Mqin!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png 848w, https://substackcdn.com/image/fetch/$s_!Mqin!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.png 1272w, https://substackcdn.com/image/fetch/$s_!Mqin!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650d734e-5399-40c9-9d22-ff4a957a0682_2014x578.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Let&#8217;s look closely at the step where the Softmax function is applied. Softmax turns logits into non-negative probabilities that sum to 1. Here are the top-5 next-token probabilities for the given context &#8220;The solar eclipse turned everything&#8221;.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!i3q_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!i3q_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png 424w, https://substackcdn.com/image/fetch/$s_!i3q_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png 848w, https://substackcdn.com/image/fetch/$s_!i3q_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png 1272w, https://substackcdn.com/image/fetch/$s_!i3q_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!i3q_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png" width="1456" height="771" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:771,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:115592,&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.intoai.pub/i/211741159?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.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_!i3q_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png 424w, https://substackcdn.com/image/fetch/$s_!i3q_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png 848w, https://substackcdn.com/image/fetch/$s_!i3q_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.png 1272w, https://substackcdn.com/image/fetch/$s_!i3q_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60ebb7ac-cb86-4b48-bb4f-98d95f2d2a9b_2134x1130.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>From here, <a href="https://www.intoai.pub/p/decoding-strategies-in-llms">different sampling algorithms</a> can be applied to select the next token.</p><p>In our example, the next sampled token is &#8220;dark&#8221;. It is appended to the context &#8220;The solar eclipse turned everything&#8221;, and the process is repeated to generate further tokens until either a maximum response length is reached or an end-of-sequence (EOS) token is generated.</p><div><hr></div><h3>How is the generated text watermarked?</h3><p>The watermarking process does not require any further LLM training. It only changes how tokens are sampled from the probability distribution of next tokens.</p><p>It consists of the following steps:</p><ol><li><p>Generate a secret watermarking key (Anthropic holds it)</p></li><li><p>Given the last &#8216;H&#8217; number of tokens in the context and the watermarking key, generate a random seed</p></li><li><p>This seed is input into &#8216;m&#8217; watermarking functions, whose job is to randomly assign a score of 0 or 1 to every token. In our example, we consider m = 3.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QIkC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QIkC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png 424w, https://substackcdn.com/image/fetch/$s_!QIkC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png 848w, https://substackcdn.com/image/fetch/$s_!QIkC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png 1272w, https://substackcdn.com/image/fetch/$s_!QIkC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QIkC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png" width="1456" height="722" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/99619235-213e-4845-b510-d0776b095ae5_2290x1136.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:722,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:189602,&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.intoai.pub/i/211741159?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.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_!QIkC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png 424w, https://substackcdn.com/image/fetch/$s_!QIkC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png 848w, https://substackcdn.com/image/fetch/$s_!QIkC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.png 1272w, https://substackcdn.com/image/fetch/$s_!QIkC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99619235-213e-4845-b510-d0776b095ae5_2290x1136.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><ol start="4"><li><p>Sample 2<sup>m</sup> tokens (which will likely be non-unique) from the LLM. In our example, this is 2<sup>3</sup> = 8 tokens. Note how &#8220;dark&#8221; and &#8220;black&#8221; are picked more times than &#8220;eerie&#8221; and &#8220;gray&#8221;, as their next-token probabilities are higher. </p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0qAS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0qAS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png 424w, https://substackcdn.com/image/fetch/$s_!0qAS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png 848w, https://substackcdn.com/image/fetch/$s_!0qAS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png 1272w, https://substackcdn.com/image/fetch/$s_!0qAS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0qAS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png" width="1456" height="214" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:214,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:55735,&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.intoai.pub/i/211741159?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.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_!0qAS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png 424w, https://substackcdn.com/image/fetch/$s_!0qAS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png 848w, https://substackcdn.com/image/fetch/$s_!0qAS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png 1272w, https://substackcdn.com/image/fetch/$s_!0qAS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc5cd24c0-7d82-42d8-944e-346c3fbe94da_2626x386.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ol start="5"><li><p>Pair these tokens, and in each pair, select the highest-scoring one based on the watermarking function chosen.</p></li><li><p>Repeat this process multiple times for multiple rounds/layers using successive watermarking functions, and break ties randomly if they occur.</p></li><li><p>The winner of the last tournament round/ layer becomes the next generated token. This sampling algorithm is called <strong>Tournament sampling</strong>.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xYPc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xYPc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png 424w, https://substackcdn.com/image/fetch/$s_!xYPc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png 848w, https://substackcdn.com/image/fetch/$s_!xYPc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!xYPc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xYPc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png" width="1456" height="1236" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1236,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:153175,&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.intoai.pub/i/211741159?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.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_!xYPc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png 424w, https://substackcdn.com/image/fetch/$s_!xYPc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png 848w, https://substackcdn.com/image/fetch/$s_!xYPc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!xYPc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70c274f2-a8c4-43bd-8960-d1c875aaed84_1532x1300.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><ol start="7"><li><p>The generated token is appended to the context, and this process is repeated to generate further tokens until either a maximum response length is reached or an end-of-sequence (EOS) token is generated.</p></li></ol><p>Note how &#8220;dark&#8221; was the most probable token, and it was even sampled three times, yet it lost in the tournament of tokens, and &#8220;black&#8221; was chosen as the next token instead. This pattern that tournament sampling leaves across many steps of generation is what makes the text detectable later.</p><div><hr></div><h3>How is the watermarked text detected?</h3><p>Watermark detection works as follows:</p><ul><li><p>Take the watermarking key used during generation (this key is secret to Anthropic) and the tokenized text to be analyzed</p></li><li><p>For each token, take its previous &#8216;H&#8217; tokens and the key to rebuild the random seed used during generation</p></li><li><p>Use this seed to compute the values of the &#8216;m&#8217; watermarking functions for the token at that position</p></li><li><p>Average these values across all tokens and all rounds/ layers of the tournament to get a score. Here:</p><ul><li><p>&#8216;T&#8217; is the number of tokens in the text being analyzed</p></li><li><p>&#8216;t&#8217; is the position of the token</p></li><li><p>&#8216;m&#8217; is the number of tournament rounds/ layers</p></li><li><p>&#8216;l&#8217; is the index of the layer</p></li><li><p>x<sub>t</sub> is the token at position &#8216;t&#8217; in the text being analyzed</p></li><li><p>r<sub>t</sub> is the random seed at position &#8216;t&#8217;, rebuilt from the previous &#8216;H&#8217; tokens and the watermarking key</p></li></ul></li></ul><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\text{Score}(x) = \\frac{1}{mT} \\sum_{t=1}^{T} \\sum_{\\ell=1}^{m} g_{\\ell}(x_t, r_t).&quot;,&quot;id&quot;:&quot;ABIXBLRZNG&quot;}" data-component-name="LatexBlockToDOM"></div><p></p><ul><li><p>Compare this score to a threshold. If it exceeds it, the text can be called watermarked.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tI0s!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tI0s!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png 424w, https://substackcdn.com/image/fetch/$s_!tI0s!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png 848w, https://substackcdn.com/image/fetch/$s_!tI0s!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png 1272w, https://substackcdn.com/image/fetch/$s_!tI0s!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tI0s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png" width="1456" height="307" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:307,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:103612,&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.intoai.pub/i/211741159?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.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_!tI0s!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png 424w, https://substackcdn.com/image/fetch/$s_!tI0s!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png 848w, https://substackcdn.com/image/fetch/$s_!tI0s!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png 1272w, https://substackcdn.com/image/fetch/$s_!tI0s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F143aba19-1e8c-4c0d-9021-fa3bbe0b899b_2542x536.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>According to Anthropic, a watermarked text detection API will be available soon.</p><div><hr></div><p>The above-described algorithm of text watermark generation and detection is called<span> </span><strong><span>SynthID-Text</span></strong><span> and was </span><a href="https://www.nature.com/articles/s41586-024-08025-4"><span>developed by Google DeepMind</span></a><span>. Anthropic says that it uses a version </span>of it to watermark Claude&#8217;s text but does not explicitly disclose the finer details.</p><p>Even if these details are not mentioned, it is clear that the watermark only changes the source of the randomness that is used to pick tokens from the next-token probability distribution.</p><ul><li><p>When watermarking is not used, it is <a href="https://huggingface.co/docs/transformers/main/en/generation_strategies#sampling">multinomial sampling</a>, with randomness generated by a pseudorandom number generator. </p></li><li><p>In the watermarking process, it is Tournament sampling, where the next token is decided by pseudorandom values coming from the watermarking key and the context.</p></li></ul><div><hr></div><h3>Clearing the myths</h3><p>There are many misconceptions around the watermarking process that need to be cleared up. Here is what is true:</p><ol><li><p>Watermarking has no impact on the output quality, creativity, or readability of the generated text. </p></li><li><p>It does not push Claude to produce words it would not have picked otherwise. For example, in the context &#8220;The solar eclipse turned everything&#8221;, watermarking would not cause Claude to generate a very rare next word such as &#8220;spectral&#8221;.</p></li><li><p>There are no hidden characters in the generated text.</p></li><li><p>It does not cost extra tokens when generating watermarked text.</p></li><li><p>It has a negligible impact on the token-generation speed of models.</p></li><li><p>It is not applied in cases where there&#8217;s a single answer (e.g., &#8220;1 + 1 =&#8221;) or low-entropy outputs, such as facts (e.g., &#8220;Which is the latest book written by <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Austin Kleon&quot;,&quot;id&quot;:800132,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/7d7021b6-ce16-4dd1-ace0-48921daa1f70_200x200.jpeg&quot;,&quot;uuid&quot;:&quot;ff9ed1b3-ae8b-4f81-b238-9a96dc38749f&quot;}" data-component-name="MentionToDOM"></span>?&#8221;) and code (except code comments).</p></li><li><p>Neither the watermark nor the key contains anything that identifies a user, an organization, or a chat.</p></li><li><p>The watermark can only determine if Claude was likely involved with the content at some point. It cannot distinguish &#8220;Claude wrote this&#8221; from &#8220;Claude heavily edited this.&#8221;</p></li><li><p>It does not confirm whether a text was written by a human, nor is it a method for AI-generated text detection from other LLMs.</p></li><li><p>Confidence in detections is higher for longer samples.</p></li><li><p>A complete rewrite of the generated text removes the watermark, but light editing probably will not.</p></li><li><p>For files generated by Claude, content credentials are added to the file&#8217;s metadata, indicating whether the file was generated or processed by Claude. This labeling uses an open industry standard called <a href="https://c2pa.org/">C2PA</a>, which differs from a watermark in that it resides in the metadata rather than in the content itself.</p></li></ol><div><hr></div><h3>TL;DR</h3><ul><li><p>Anthropic has introduced watermarking for all text generated by Claude to comply with the EU AI Act.</p></li><li><p>The watermarking method is based on Google DeepMind's <a href="https://www.nature.com/articles/s41586-024-08025-4">SynthID-Text</a>.</p></li><li><p>The method does not add any hidden characters to the text, nor does it require any LLM training. It only replaces the source of randomness used to select each token, using a sampling algorithm called Tournament sampling.</p></li><li><p>Watermarking does not affect the quality or creativity of text generation or the text's readability.</p></li><li><p>A positive detection result only means that Claude was likely involved with the content at some point (generation or editing). </p></li><li><p>It does not detect whether text is human-written, nor is it a method for detecting AI-generated text from other AI models.</p></li><li><p>A light edit may not, but a full text rewrite can remove the watermark.</p></li></ul><div><hr></div><p><span>As we finish this lesson, I want to introduce you to my book, &#8216;</span><strong>LLMs In 100 Images</strong><span>&#8217;.</span></p><p>It is a collection of 100 easy-to-follow visuals that describe the most important concepts you need to master to understand LLMs today.</p><p>I&#8217;m offering a limited-time 30% discount, which you can claim using the button below.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30&quot;,&quot;text&quot;:&quot;Get a 30% discount today&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30"><span>Get a 30% discount today</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BTCC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BTCC!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" width="1200" height="692.3076923076923" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:840,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:523783,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><p>This newsletter edition is completely free to read. Show your love by liking, restacking, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/how-claude-watermarks-text?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.intoai.pub/p/how-claude-watermarks-text?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p>Join the paid tier today to get access to all articles in this newsletter and level up as an AI engineer.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber today&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoai.pub/subscribe"><span>Become a paid subscriber today</span></a></p>]]></content:encoded></item><item><title><![CDATA[🗓️ This Week In AI Research (1-7 August 26)]]></title><description><![CDATA[The top 10 AI research papers and releases that you must know about this week.]]></description><link>https://www.intoai.pub/p/this-week-in-ai-research-1-7-august</link><guid isPermaLink="false">https://www.intoai.pub/p/this-week-in-ai-research-1-7-august</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Thu, 13 Aug 2026 19:29:25 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/c60fb182-a264-4e53-aa80-b4e4bf879065_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="callout-block" data-callout="true"><p>&#10024; This week&#8217;s newsletter features new research from <a href="https://pathway.com/">Pathway</a>. &#10024; </p><p>Researchers at Pathway, Bielik AI, and NYU have just published results for a new model called <strong>BDH-CQ</strong>, which breaks the previously reported cost-accuracy Pareto frontier in ARC-AGI-1 and sets a new state-of-the-art for benchmark cost efficiency.</p><ul><li><p>BDH-CQ is a 150M-parameter reasoning model. </p></li><li><p>It learns each new task from the examples it&#8217;s shown at inference time (in-context learning), which progressively updates a recurrent memory rather than filling a growing context window. It then solves a given query by iteratively reasoning in a structured, continuous latent state rather than using a verbalized chain of thought.</p></li><li><p>It achieves 29.5% pass@2 on ARC-AGI-1 at <strong>an inference cost of $0.0007 per task. This is less than 1/10<sup>th</sup> of a cent per task!</strong></p></li><li><p>Although this is not the highest-accuracy result, its significance is clear when viewed alongside other LLMs&#8217; results.</p><ul><li><p>BDH-CQ is ~57x cheaper than GPT 5.6 Luna (Low), which scores 34.2% (only 4.7% higher) at $0.040. </p></li><li><p>Even after OpenAI announced a recent 80% API price reduction, BDH-CQ is still ~11x cheaper than GPT 5.6 Luna (Low).</p></li></ul><ul><li><p>GLM 5 scores 44.7% (15.2% higher), but costs 243x more per task than BDH-CQ.</p></li></ul></li><li><p>BDH-CQ is based on a post-Transformer sequence-model architecture called <a href="https://arxiv.org/pdf/2509.26507">&#8216;Dragon Hatchling&#8217; (BDH)</a>.</p></li><li><p>Early pretraining experiments show that it has Transformer-like scaling behavior across scales from 1B to 600B parameters while preserving its latent reasoning capabilities.</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_!w4Kl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!w4Kl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 424w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 848w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 1272w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png" width="1456" height="466" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:466,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2259064,&quot;alt&quot;:&quot;&quot;,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.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_!w4Kl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 424w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 848w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.png 1272w, https://substackcdn.com/image/fetch/$s_!w4Kl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2d21cc8-27a6-438a-a1b4-afffcea49e43_2676x856.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research using these links: <a href="https://huggingface.co/papers/2608.09888">Hugging Face</a> | <a href="https://arxiv.org/pdf/2608.09888">ArXiv</a> | <a href="https://pathway.com/research/introducing-bdh-cq">Blog</a></p></div><div><hr></div><h3>1. <strong>Qwen3.8-Max </strong></h3><ul><li><p>Alibaba released its most capable model, Qwen3.8-Max, which is heavily focused on coding, autonomous agents, and long-horizon tasks. </p></li><li><p>It outperforms previous Qwen models in agentic coding, computer use, research tasks, and co-working workflows.</p></li><li><p>The model has 2.4 trillion total parameters (95B active per token) and uses a <a href="https://www.intoai.pub/p/build-and-train-a-mixture-of-experts">Mixture-of-Experts architecture</a>.</p></li><li><p>With this model, the team is, for the first time, open-sourcing the weights of a Qwen-Max-class model.</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_!wz31!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wz31!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png 424w, https://substackcdn.com/image/fetch/$s_!wz31!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png 848w, https://substackcdn.com/image/fetch/$s_!wz31!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png 1272w, https://substackcdn.com/image/fetch/$s_!wz31!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wz31!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png" width="1456" height="1071" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1071,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&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_!wz31!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png 424w, https://substackcdn.com/image/fetch/$s_!wz31!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png 848w, https://substackcdn.com/image/fetch/$s_!wz31!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png 1272w, https://substackcdn.com/image/fetch/$s_!wz31!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9becc355-a72d-40a3-8f97-23dc592b89ee_4364x3211.png 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://qwen.ai/blog?id=qwen3.8">using this link</a>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>2. On-Policy Self-Distillation without Any Supervision</h3><ul><li><p>U-OPSD (Unsupervised On-Policy Self-Distillation) is an algorithm that helps an LLM improve its reasoning without ground-truth answers, rewards, or a stronger teacher model. With U-OPSD, an LLM learns and improves using only its own generations, guided by internal consistency.</p></li><li><p>The process starts with the model generating multiple solutions for each problem and using a majority vote to form its own pseudo-answer, provided it meets a self-consistency threshold.</p></li><li><p>It then conditions the model&#8217;s distribution on the pseudo-solution and distills itself on the disagreeing completions, letting the model correct itself precisely where it is confidently wrong.</p></li><li><p>U-OPSD consistently outperforms the base models and matches or surpasses supervised methods with ground truth (GT), such as OPSD and GRPO.</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_!xuk-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xuk-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png 424w, https://substackcdn.com/image/fetch/$s_!xuk-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png 848w, https://substackcdn.com/image/fetch/$s_!xuk-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!xuk-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xuk-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png" width="1456" height="569" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:569,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:308361,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.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_!xuk-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png 424w, https://substackcdn.com/image/fetch/$s_!xuk-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png 848w, https://substackcdn.com/image/fetch/$s_!xuk-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!xuk-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1da90bb-4f04-459d-ac7d-29a1770aa89e_2622x1024.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2608.06296">using this link</a>.</p><div><hr></div><h3>3. Leanstral</h3><ul><li><p>Leanstral is Mistral AI&#8217;s series of open-source generalist code-agent models for Lean 4.</p></li><li><p>The model has a <a href="https://www.intoai.pub/p/build-and-train-a-mixture-of-experts">Mixture-of-Experts architecture</a> with 119B total and 6B active parameters.</p></li><li><p>It runs within the open-source Mistral Vibe coding-agent harness rather than a specialized theorem-proving scaffold, and uses no test-time scaling method beyond context compaction.</p></li><li><p>Leanstral 1.5's performance is comparable to far larger, proprietary systems, as it saturates <a href="https://github.com/openai/miniF2F">miniF2F</a>, solves 587/672 problems on <a href="https://github.com/trishullab/PutnamBench">PutnamBench</a>, and reaches a new state-of-the-art of 34% on <a href="https://arxiv.org/abs/2511.02872">FATE-X</a> and 43.2% pass@8 on <a href="https://github.com/mistralai/FLTEval">FLTEval</a>.</p></li><li><p>Beyond competition mathematics, Leanstral can formally verify code and resolve bugs and issues in real-world repositories across graduate-level mathematics, mathematical finance, and code verification.</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_!-Me5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-Me5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png 424w, https://substackcdn.com/image/fetch/$s_!-Me5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png 848w, https://substackcdn.com/image/fetch/$s_!-Me5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png 1272w, https://substackcdn.com/image/fetch/$s_!-Me5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-Me5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png" width="1456" height="888" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/deefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:888,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:310005,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.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_!-Me5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png 424w, https://substackcdn.com/image/fetch/$s_!-Me5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png 848w, https://substackcdn.com/image/fetch/$s_!-Me5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.png 1272w, https://substackcdn.com/image/fetch/$s_!-Me5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeefb1d6-a0d7-419d-8197-4f7ede2522c9_1952x1190.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://github.com/mistralai/LeanstralSafeVerify/blob/main/LeanstralReport.pdf">using this link</a>.</p><div><hr></div><h3>4. The Beginning of ChatGPT Ads</h3><ul><li><p>This is the first empirical study of advertising content shown within ChatGPT during the early 2026 rollout.</p></li><li><p>Researchers created 91 simulated U.S. accounts and ran hundreds of prompts to collect ads from 191 unique advertisers across 127,801 conversations.</p></li><li><p>The results show that lower-income simulated accounts were significantly more likely to receive ads irrespective of their race.</p></li><li><p>Product/recommendation-style prompts were more likely to trigger advertising.</p></li><li><p>The ads were heavily skewed towards consumer goods and directed users to a specific advertiser rather than a particular product.</p></li><li><p>Ads were clearly marked &#8220;Sponsored&#8221; and separated from the LLM&#8217;s response text rather than embedded within it.</p></li><li><p>There were near-zero ad rates for medical conditions, mental health, and political prompts.</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_!b-Ic!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b-Ic!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png 424w, https://substackcdn.com/image/fetch/$s_!b-Ic!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png 848w, https://substackcdn.com/image/fetch/$s_!b-Ic!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png 1272w, https://substackcdn.com/image/fetch/$s_!b-Ic!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!b-Ic!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png" width="1456" height="775" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:775,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:399703,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.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_!b-Ic!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png 424w, https://substackcdn.com/image/fetch/$s_!b-Ic!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png 848w, https://substackcdn.com/image/fetch/$s_!b-Ic!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.png 1272w, https://substackcdn.com/image/fetch/$s_!b-Ic!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b002e3c-f55c-4e88-b7a1-c7cecf3852b5_2186x1164.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2608.05008">using this link</a>.</p><div><hr></div><h3>5. Ten Advances in Mathematics and Theoretical Computer Science</h3><ul><li><p>An internal OpenAI model, <a href="https://openai.com/index/responding-next-frontier-critical-cyber-capabilities/">Astra</a>, produced 10 research advances in mathematics and theoretical computer science. </p></li><li><p>These results go beyond reproducing known proofs to include new resolutions, counterexamples, and improved bounds for many open problems in these subjects.</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_!Xsh_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Xsh_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png 424w, https://substackcdn.com/image/fetch/$s_!Xsh_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png 848w, https://substackcdn.com/image/fetch/$s_!Xsh_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!Xsh_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Xsh_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png" width="1374" height="1350" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1350,&quot;width&quot;:1374,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:394648,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.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_!Xsh_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png 424w, https://substackcdn.com/image/fetch/$s_!Xsh_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png 848w, https://substackcdn.com/image/fetch/$s_!Xsh_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.png 1272w, https://substackcdn.com/image/fetch/$s_!Xsh_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66433d0e-2743-4bef-9ff8-5ef0148a2225_1374x1350.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://cdn.openai.com/pdf/ten-proofs-oai.pdf">using this link</a>.</p><div><hr></div><h3>6. Maple-Preview</h3><ul><li><p>Maple-Preview is DeepGrove&#8217;s open-source <strong>ternary-weight</strong> reasoning model, designed to run efficiently on consumer hardware.</p></li><li><p>The model uses a <a href="https://www.intoai.pub/p/build-and-train-a-mixture-of-experts">Mixture-of-Experts architecture</a> with 256 experts (8 active) and has 20.2B total parameters (1.49B active).</p></li><li><p>The model has a 131k-token context window and is competitive with larger models at strong mathematical/general reasoning, including IMO-level problems.</p></li><li><p>It runs at 218 tokens/sec on an M4 Mac mini, which is 5-16&#215; faster than efficient models like Gemma 4, Qwen3.5, and gpt-oss.</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_!rK5S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rK5S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png 424w, https://substackcdn.com/image/fetch/$s_!rK5S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png 848w, https://substackcdn.com/image/fetch/$s_!rK5S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png 1272w, https://substackcdn.com/image/fetch/$s_!rK5S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rK5S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png" width="1456" height="863" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:863,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:231824,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.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_!rK5S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png 424w, https://substackcdn.com/image/fetch/$s_!rK5S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png 848w, https://substackcdn.com/image/fetch/$s_!rK5S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.png 1272w, https://substackcdn.com/image/fetch/$s_!rK5S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28907e4e-9185-40fa-bb50-32aefad91ad2_1742x1032.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jucr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jucr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png 424w, https://substackcdn.com/image/fetch/$s_!jucr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png 848w, https://substackcdn.com/image/fetch/$s_!jucr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png 1272w, https://substackcdn.com/image/fetch/$s_!jucr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jucr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png" width="1456" height="978" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:978,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:191449,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.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_!jucr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png 424w, https://substackcdn.com/image/fetch/$s_!jucr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png 848w, https://substackcdn.com/image/fetch/$s_!jucr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.png 1272w, https://substackcdn.com/image/fetch/$s_!jucr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0648dc59-fd2d-4aa8-9e1d-235419336658_1908x1282.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://deepgrove.ai/maple-preview">using this link</a>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>7. Scaling Automated Post-Training with Locus</h3><ul><li><p>Locus is Intology&#8217;s automated research agent, extended to autonomously run the experiments needed to post-train other AI models.</p></li><li><p><a href="https://arxiv.org/abs/2603.08640">PostTrainBench</a> is a benchmark where an agent is given a base model, a target benchmark, a single-H100 compute node, and internet access, and its task is to produce a post-trained version of the model optimized for the target benchmark.</p></li><li><p>Locus with Opus 5 has state-of-the-art post-training capabilities on PostTrainBench, where it outperforms every frontier-agent baseline.</p></li><li><p>On a larger compute variant of PostTrainBench, called PostTrainBench+, when given thousands of H100-hours, Locus continues improving while general-purpose coding agents plateau, and Locus-trained Qwen3-1.7B models collectively surpass Qwen&#8217;s official human-tuned checkpoint.</p></li><li><p>Beyond post-training, across live prize-money Kaggle competitions, Locus achieved an average rank beating 89.5% of human competitors.</p></li><li><p>Working with Bubble, a no-code app development platform, Locus discovered and executed a post-training recipe end-to-end, and the resulting model now serves millions of users at ~2.8&#215; lower error, ~5.4&#215; lower latency, and ~100&#215; lower cost than the frontier API it replaced.</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_!taqB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!taqB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png 424w, https://substackcdn.com/image/fetch/$s_!taqB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png 848w, https://substackcdn.com/image/fetch/$s_!taqB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png 1272w, https://substackcdn.com/image/fetch/$s_!taqB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!taqB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png" width="1456" height="797" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:797,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:134406,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.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_!taqB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png 424w, https://substackcdn.com/image/fetch/$s_!taqB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png 848w, https://substackcdn.com/image/fetch/$s_!taqB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.png 1272w, https://substackcdn.com/image/fetch/$s_!taqB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa28fda10-a1bd-4b1b-b359-be851ad63cdf_1462x800.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vSom!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vSom!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png 424w, https://substackcdn.com/image/fetch/$s_!vSom!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png 848w, https://substackcdn.com/image/fetch/$s_!vSom!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png 1272w, https://substackcdn.com/image/fetch/$s_!vSom!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vSom!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png" width="1456" height="767" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:767,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:149086,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.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_!vSom!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png 424w, https://substackcdn.com/image/fetch/$s_!vSom!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png 848w, https://substackcdn.com/image/fetch/$s_!vSom!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.png 1272w, https://substackcdn.com/image/fetch/$s_!vSom!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6757d17b-766b-4917-8f7b-7e31da4314fc_1504x792.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://intology.ai/blog/scaling-automated-post-training">using this link</a>.</p><div><hr></div><h3>8. <strong>LLMRouter: Unified Infrastructure for Developing, Evaluating, and Deploying LLM Routers</strong></h3><ul><li><p>Instead of sending every user query to a single frontier model, model routing dynamically routes each query to the model best suited to it.</p></li><li><p>LLMRouter is an open-source framework and benchmark for standardized and modular implementation of LLM routers.</p></li><li><p>It defines routing as a sequential decision process using five components:</p><ul><li><p>Context encoder</p></li><li><p>Model encoder</p></li><li><p>Scoring function </p></li><li><p>Decision rule</p></li><li><p>Learning signals</p></li></ul></li><li><p>Existing methods can then be organized into three families: single-turn, multi-turn, and personalized routing.</p></li><li><p>The authors also introduce xRouteBench, a benchmark for evaluating routers across general LLM tasks, conversational memory, vision/video, time-series, and personalization using a pool of 18 models with different costs and capabilities.</p></li><li><p>Using these, an empirical study of LLM routing shows that learned routers achieve a 14.6% relative improvement over the strongest fixed-model baseline.</p></li><li><p>The results also show that multi-turn routing is not consistently better than simple single-turn routing because decomposition and aggregation can introduce extra cost and redundant information.</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_!8T19!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8T19!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png 424w, https://substackcdn.com/image/fetch/$s_!8T19!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png 848w, https://substackcdn.com/image/fetch/$s_!8T19!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png 1272w, https://substackcdn.com/image/fetch/$s_!8T19!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8T19!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png" width="1456" height="703" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:703,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:544334,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.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_!8T19!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png 424w, https://substackcdn.com/image/fetch/$s_!8T19!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png 848w, https://substackcdn.com/image/fetch/$s_!8T19!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.png 1272w, https://substackcdn.com/image/fetch/$s_!8T19!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc059256-0d6c-4cb3-b7d4-9cf601079b04_2406x1162.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!JadB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!JadB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png 424w, https://substackcdn.com/image/fetch/$s_!JadB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png 848w, https://substackcdn.com/image/fetch/$s_!JadB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!JadB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!JadB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png" width="1456" height="645" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:645,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:347244,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.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_!JadB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png 424w, https://substackcdn.com/image/fetch/$s_!JadB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png 848w, https://substackcdn.com/image/fetch/$s_!JadB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!JadB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b319db2-afee-49c5-ad50-f5e52ec97d10_2356x1044.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2608.06867">using this link</a>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3><strong>9. OneDayAgent: Towards a Long-Horizon Harness for Autonomous Agents</strong></h3><ul><li><p>OneDayAgent is a harness for autonomous agents that helps them complete long-horizon, multi-step everyday tasks without losing sight of their goals, state, or context.</p></li><li><p>It turns an open-ended request into a managed execution process that decomposes tasks into bounded subtasks, maintains execution memory under context pressure, and verifies and repairs the final output.</p></li><li><p>OneDayAgent with GLM-5.2 sets a new state-of-the-art with an overall score of 0.821 on <a href="https://arxiv.org/abs/2601.20613">AgentIF-OneDay</a>, which contains 104 realistic work, study, and life tasks. </p></li><li><p>The same harness runs across five backend LLMs from three model families, showing that it generalizes well without any tuning.</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_!LaO6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LaO6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png 424w, https://substackcdn.com/image/fetch/$s_!LaO6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png 848w, https://substackcdn.com/image/fetch/$s_!LaO6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png 1272w, https://substackcdn.com/image/fetch/$s_!LaO6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LaO6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png" width="1456" height="764" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:764,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:522304,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.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_!LaO6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png 424w, https://substackcdn.com/image/fetch/$s_!LaO6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png 848w, https://substackcdn.com/image/fetch/$s_!LaO6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.png 1272w, https://substackcdn.com/image/fetch/$s_!LaO6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F381344f0-6bfa-46f5-a2e8-b48aae4e39eb_1994x1046.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SjZw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SjZw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png 424w, https://substackcdn.com/image/fetch/$s_!SjZw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png 848w, https://substackcdn.com/image/fetch/$s_!SjZw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png 1272w, https://substackcdn.com/image/fetch/$s_!SjZw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SjZw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png" width="1456" height="983" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:983,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:771299,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.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_!SjZw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png 424w, https://substackcdn.com/image/fetch/$s_!SjZw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png 848w, https://substackcdn.com/image/fetch/$s_!SjZw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.png 1272w, https://substackcdn.com/image/fetch/$s_!SjZw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13abd6df-3ebc-4648-819d-a116131df3e1_1908x1288.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2608.05013">using this link</a>.</p><div><hr></div><h3>10. ResidencyRL: Reinforcement Learning in Simulated Clinical Environments</h3><ul><li><p>ResidencyRL is an RL method from Google DeepMind for training clinical AI agents through simulated multi-turn clinical encounters rather than only on static medical Q&amp;A.</p></li><li><p>An agent, initialized from Gemini 3.5 Flash, is trained on ~57,000 simulated clinical cases, with each encounter running for up to 60 dialogue turns and including 8 tool calls. The training uses GRPO with rewards covering diagnostic accuracy, management, history-taking, communication, documentation, and safety.</p></li><li><p>On held-out evaluations, the ResidencyRL agent improves diagnostic accuracy by 7% under adversarial conditions and reduces missed red flag rates by 31%.</p></li><li><p>Blinded expert clinicians validated these gains, preferring the trained agent in 87.6% of cases.</p></li><li><p>The gains also transferred to unseen benchmarks (<a href="https://research.google/blog/from-diagnosis-to-treatment-advancing-amie-for-longitudinal-disease-management/">AMIE</a>, <a href="https://arxiv.org/abs/2405.07960">AgentClinic</a>, and <a href="https://www.nature.com/articles/s41591-024-03328-5">CRAFT-MD</a>) and specialties(Oncology).</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_!-dgs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-dgs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png 424w, https://substackcdn.com/image/fetch/$s_!-dgs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png 848w, https://substackcdn.com/image/fetch/$s_!-dgs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png 1272w, https://substackcdn.com/image/fetch/$s_!-dgs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-dgs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png" width="1434" height="1314" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1314,&quot;width&quot;:1434,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:735114,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.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_!-dgs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png 424w, https://substackcdn.com/image/fetch/$s_!-dgs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png 848w, https://substackcdn.com/image/fetch/$s_!-dgs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.png 1272w, https://substackcdn.com/image/fetch/$s_!-dgs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b1e067-d1e5-40ae-a41c-47c73c9576fd_1434x1314.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KdzS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KdzS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png 424w, https://substackcdn.com/image/fetch/$s_!KdzS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png 848w, https://substackcdn.com/image/fetch/$s_!KdzS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png 1272w, https://substackcdn.com/image/fetch/$s_!KdzS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KdzS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png" width="1456" height="639" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:639,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:214950,&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.intoai.pub/i/210413887?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.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_!KdzS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png 424w, https://substackcdn.com/image/fetch/$s_!KdzS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png 848w, https://substackcdn.com/image/fetch/$s_!KdzS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.png 1272w, https://substackcdn.com/image/fetch/$s_!KdzS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb19113f2-358d-4b2c-9198-21c164baaee2_1564x686.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2608.07418">using this link</a>.</p><div><hr></div><p>This newsletter edition is completely free to read. Show your love by liking, restacking, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/this-week-in-ai-research-1-7-august?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.intoai.pub/p/this-week-in-ai-research-1-7-august?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p>]]></content:encoded></item><item><title><![CDATA[How LLMs are distilled, step by step]]></title><description><![CDATA[A visual guide to understanding how LLMs are trained using model distillation.]]></description><link>https://www.intoai.pub/p/how-llms-are-distilled-step-by-step</link><guid isPermaLink="false">https://www.intoai.pub/p/how-llms-are-distilled-step-by-step</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 10 Aug 2026 14:37:50 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/b56f1678-ff38-496b-829a-a67bdc2b9ef8_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Model distillation, also called Knowledge distillation (KD) or simply Distillation, is a popular technique that helps build smaller, faster, and more efficient models from larger and more capable models that require massive compute and memory resources for deployment.</p><p>The process of Knowledge distillation (KD) was described in a <a href="https://arxiv.org/abs/1503.02531">2015 paper by Hinton et al</a>. It involves training a weaker/smaller model called the &#8220;student model&#8221; to imitate the outputs of a stronger/ larger model called the &#8220;teacher model&#8221;.</p><p>The student learns from teacher-generated output trajectories, rather than from trajectories generated by itself. This is why conventional KD is an Off-policy post-training method (as opposed to <a href="https://thinkingmachines.ai/blog/on-policy-distillation/">On-policy distillation</a>).</p><p>The process of KD goes like this:</p><ol><li><p>Take a larger/stronger teacher model and a smaller/weaker student.</p></li><li><p>Create a dataset of prompts relevant to the training task.</p></li><li><p>Pass a prompt to the teacher model and collect the teacher's next-token probability distribution over the vocabulary. These probabilities are called &#8220;soft targets&#8221; (as opposed to &#8220;hard targets&#8221; or training labels).</p></li><li><p>Pass the prompt and the teacher&#8217;s response to the student model and collect the student&#8217;s next-token probability distribution conditioned on the same prefix as the teacher.</p></li><li><p>Use a loss function to measure how much the teacher&#8217;s and student&#8217;s probability distributions differ. A commonly used loss is the <a href="https://en.wikipedia.org/wiki/Kullback%E2%80%93Leibler_divergence">KL Divergence</a>. <br>Optionally, a<strong><span>&nbsp;</span></strong><span>hyperparameter</span> called <a href="https://www.ibm.com/think/topics/llm-temperature">Temperature</a> is applied to the logits of both the teacher and the student models when calculating the distillation loss. This helps flatten the teacher&#8217;s probability distribution of predictions, which better reveals the relationships between different tokens.</p></li><li><p>In many cases, alongside KL Divergence, a <a href="https://www.intoai.pub/p/cross-entropy-loss-in-llms-explained">Cross-entropy loss</a> between the student&#8217;s final prediction and the ground-truth label, or &#8220;hard target&#8221;, is also calculated and used to formulate the combined distillation loss. This combined loss helps the student model to learn from both the teacher model and from ground-truth data.</p></li><li><p>The teacher model is kept frozen, but the student model&#8217;s parameters are updated using backpropagation.</p></li><li><p>This process is repeated over all prompts in the dataset as the loss decreases and the student model learns to approximate the teacher model's outputs.</p></li></ol><div><hr></div><h3>Distillation with real numbers</h3><p>The process of knowledge distillation is shown in detail in the illustration below.</p>
      <p>
          <a href="https://www.intoai.pub/p/how-llms-are-distilled-step-by-step">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[🗓️ This Week In AI Research (25-31 July 26)]]></title><description><![CDATA[The top 10 AI research papers and releases this week.]]></description><link>https://www.intoai.pub/p/this-week-in-ai-research-25-31-july</link><guid isPermaLink="false">https://www.intoai.pub/p/this-week-in-ai-research-25-31-july</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Fri, 07 Aug 2026 01:00:43 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!WHb6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.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_!WHb6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WHb6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png 424w, https://substackcdn.com/image/fetch/$s_!WHb6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png 848w, https://substackcdn.com/image/fetch/$s_!WHb6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png 1272w, https://substackcdn.com/image/fetch/$s_!WHb6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WHb6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2059506,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.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_!WHb6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png 424w, https://substackcdn.com/image/fetch/$s_!WHb6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png 848w, https://substackcdn.com/image/fetch/$s_!WHb6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.png 1272w, https://substackcdn.com/image/fetch/$s_!WHb6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bf32e43-ac10-4c5c-9d3c-ffb4d5f78b93_1672x941.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><h3>1. DeepSeek-V4-Flash-0731</h3><p><strong>DeepSeek-V4-Flash-0731</strong><span>&nbsp;is the official release of&nbsp;</span>DeepSeek-V4-Flash<span> that replaces its </span><a href="https://arxiv.org/abs/2606.19348"><span>preview version</span></a><span>.</span></p><p><span>The model has a 304B-parameter architecture, uses&nbsp;</span><a href="https://arxiv.org/abs/2607.05147"><span>DSpark</span></a><span>&nbsp;speculative decoding for faster inference, and supports low, high, and max reasoning-effort levels.</span></p><p>It outperforms the preview version on multiple benchmarks while activating fewer parameters, and has competitive performance with the strongest proprietary models available today.</p><p><span>It scores 50 points on the&nbsp;</span><a href="https://artificialanalysis.ai/evaluations/artificial-analysis-intelligence-index"><span>Artificial Analysis Intelligence Index</span></a><span>, similar to GPT-5.6 Luna (51 points) and Google Gemini 3.6 Flash (50 points), while costing ~60% less per task than Luna and 10x less than Gemini, with a 98% discount on cache hits.</span></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MAP6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MAP6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png 424w, https://substackcdn.com/image/fetch/$s_!MAP6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png 848w, https://substackcdn.com/image/fetch/$s_!MAP6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png 1272w, https://substackcdn.com/image/fetch/$s_!MAP6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MAP6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png" width="1456" height="500" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:500,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:206490,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.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_!MAP6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png 424w, https://substackcdn.com/image/fetch/$s_!MAP6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png 848w, https://substackcdn.com/image/fetch/$s_!MAP6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png 1272w, https://substackcdn.com/image/fetch/$s_!MAP6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e2a7f56-9262-462e-a923-6a755e1eefd8_2246x772.png 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731">using this link</a>.</p><div><hr></div><h3>2. Pangram 4</h3><p><strong>Pangram 4</strong> is the latest deep-learning-based AI-text classification model from Pangram Labs with <span>state-of-the-art performance in AI text detection and is being used by </span><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Substack&quot;,&quot;id&quot;:81309935,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/48c897d0-b43a-44af-a63f-fa6159c1cf5b_1000x1000.png&quot;,&quot;uuid&quot;:&quot;38a59a31-e968-4ec6-9d3b-0c095e4f08bf&quot;}" data-component-name="MentionToDOM"></span> <span>to detect ever-increasing AI slop.</span></p><p><span>Pangram 4 is a LoRA fine-tuned MoE model trained on human text paired with AI-rewritten and AI-edited versions of itself, labeled clause-by-clause by matching against the human source. At inference, it scores overlapping 512-token windows, averages the logits, and uses a CRF (Conditional Random Field) to decode the authorship spans.</span></p><p><span>On AI-text classification, it achieves an AUROC of 0.9916, a false positive rate of 0.0041% (roughly 1 in 24,000), and a false negative rate of 0.3396%.</span></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GQJc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GQJc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png 424w, https://substackcdn.com/image/fetch/$s_!GQJc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png 848w, https://substackcdn.com/image/fetch/$s_!GQJc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png 1272w, https://substackcdn.com/image/fetch/$s_!GQJc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GQJc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png" width="1456" height="611" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:611,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:394732,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.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_!GQJc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png 424w, https://substackcdn.com/image/fetch/$s_!GQJc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png 848w, https://substackcdn.com/image/fetch/$s_!GQJc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.png 1272w, https://substackcdn.com/image/fetch/$s_!GQJc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa70ce9a7-195d-43ee-9b33-8e0332349cec_2622x1100.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.27183">using this link</a>.</p><div><hr></div><p><em>Join the paid tier today to get access to all articles in this newsletter and level up as an AI engineer.</em></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber today&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoai.pub/subscribe"><span>Become a paid subscriber today</span></a></p><div><hr></div><h3>3. Frontis-MA1</h3><p>This research introduces <strong>OpenMLE</strong>, an open full-stack system for Recursive self-improvement (RSI) research covering:</p><ul><li><p>Verifiable task environments with execution feedback (OpenMLE-Gym)</p></li><li><p>Operator learning (OpenMLE-ERL)</p></li><li><p>Long-horizon search (OpenMLE-Evo)</p></li></ul><p>Using it, the authors train <strong>Frontis-MA1-35B</strong>, a meta-evolution agent for ML engineering, that learns four operations (Draft, Improve, Debug, and Crossover), then applies them over long experiment chains.</p><p>On <a href="https://llm-stats.com/benchmarks/mle-bench-lite">MLE-Bench Lite</a> under a 12-hour per-task budget on one RTX 4090 with 12 GB VRAM, Frontis-MA1-35B improves medal average from 39.39% to 60.61% over its base model with OpenMLE-Evo, and reaches 71.21% with OpenMLE-Evo-Max, exceeding GPT-5.5 + Codex and approaching GPT-5.6 Sol and Kimi K3.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vVyq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vVyq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png 424w, https://substackcdn.com/image/fetch/$s_!vVyq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png 848w, https://substackcdn.com/image/fetch/$s_!vVyq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png 1272w, https://substackcdn.com/image/fetch/$s_!vVyq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vVyq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png" width="1456" height="687" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:687,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:352970,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.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_!vVyq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png 424w, https://substackcdn.com/image/fetch/$s_!vVyq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png 848w, https://substackcdn.com/image/fetch/$s_!vVyq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.png 1272w, https://substackcdn.com/image/fetch/$s_!vVyq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd711c3-5b37-4c47-8acd-2b3ed1e81c05_2366x1116.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.28568">using this link</a>.</p><div><hr></div><h3>4. Metis: Memory Foundation Model</h3><p>This research introduces <strong>Metis</strong>, a memory foundation model, an LLM with persistent memory built into its architecture rather than implemented through external modules.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zl1M!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zl1M!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png 424w, https://substackcdn.com/image/fetch/$s_!zl1M!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png 848w, https://substackcdn.com/image/fetch/$s_!zl1M!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png 1272w, https://substackcdn.com/image/fetch/$s_!zl1M!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zl1M!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png" width="1456" height="651" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:651,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:528164,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.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_!zl1M!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png 424w, https://substackcdn.com/image/fetch/$s_!zl1M!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png 848w, https://substackcdn.com/image/fetch/$s_!zl1M!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.png 1272w, https://substackcdn.com/image/fetch/$s_!zl1M!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03a958c1-7e86-42b9-814f-41ef090ac9c7_2438x1090.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Metis equips a foundation model with a native memory state, allowing past information to be compressed into an internal memory state and accessed through memory attention. At inference time, all learned model weights remain frozen, while the native memory states are autonomously updated with forward computation.</p><p>Metis is trained on large-scale memory-specific datasets, and multiple mid-training optimization objectives are used to acquire these native memory procedures.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hnty!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hnty!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png 424w, https://substackcdn.com/image/fetch/$s_!hnty!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png 848w, https://substackcdn.com/image/fetch/$s_!hnty!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png 1272w, https://substackcdn.com/image/fetch/$s_!hnty!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hnty!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png" width="1456" height="966" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:966,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:519848,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.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_!hnty!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png 424w, https://substackcdn.com/image/fetch/$s_!hnty!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png 848w, https://substackcdn.com/image/fetch/$s_!hnty!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.png 1272w, https://substackcdn.com/image/fetch/$s_!hnty!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3acfcf97-b51d-40f7-a198-2f5d40f84c08_1932x1282.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Experiments show that Metis-27B substantially outperforms other no-context memory methods on <a href="https://snap-research.github.io/locomo/">LoCoMo</a> and <a href="https://arxiv.org/abs/2603.15634">NextMem</a> benchmarks, but still struggles with very long histories.</p><p>Read more about this research <a href="https://arxiv.org/pdf/2607.26760">using this link</a>.</p><div><hr></div><h3>5. Memory for Large Language Models</h3><p>This survey systematically organizes the fragmented field of memory in LLMs. It classifies memory across three axes:</p><ol><li><p>Representation (implicit versus explicit)</p></li><li><p>Update dynamics (offline versus online)</p></li><li><p>Persistence (short-term versus long-term)</p></li></ol><p>It distinguishes model-level memory from external agent memory or prompt-based RAG pipelines, highlights key trade-offs, and calls for improved memory-management methods and unified benchmarks.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gPSw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gPSw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png 424w, https://substackcdn.com/image/fetch/$s_!gPSw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png 848w, https://substackcdn.com/image/fetch/$s_!gPSw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png 1272w, https://substackcdn.com/image/fetch/$s_!gPSw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gPSw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png" width="1308" height="1364" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1364,&quot;width&quot;:1308,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:346030,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.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_!gPSw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png 424w, https://substackcdn.com/image/fetch/$s_!gPSw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png 848w, https://substackcdn.com/image/fetch/$s_!gPSw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.png 1272w, https://substackcdn.com/image/fetch/$s_!gPSw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2dc59b0-302c-4d3c-85f2-34b6690b7733_1308x1364.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.25380">using this link</a>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>6. <strong>PhiZero: A World Model Built Around Physical Language</strong></h3><p>This<strong> </strong>research presents <strong>PhiZero</strong>, a physical world model built around &#8220;physical language&#8221; or compact discrete representation of world-state transitions. </p><p>The model is trained to learn the physical language from in-the-wild videos with self-supervision and uses it to explicitly reason about how the physical world evolves.</p><p>Instead of taking the usual approach of predicting future videos directly in pixel space, PhiZero uses a reason-then-render approach. This means that it first infers future world evolution as a physical-language sequence and then renders the inferred transitions into videos.</p><p>Experiments show that it has leading results on several physical-video benchmarks and shows potential for realistic and interactive world modeling, fine-grained action-conditioned simulation, and zero-shot motion transfer.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UmSF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UmSF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png 424w, https://substackcdn.com/image/fetch/$s_!UmSF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png 848w, https://substackcdn.com/image/fetch/$s_!UmSF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png 1272w, https://substackcdn.com/image/fetch/$s_!UmSF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UmSF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png" width="1456" height="650" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:650,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:807319,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.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_!UmSF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png 424w, https://substackcdn.com/image/fetch/$s_!UmSF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png 848w, https://substackcdn.com/image/fetch/$s_!UmSF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.png 1272w, https://substackcdn.com/image/fetch/$s_!UmSF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc87748ee-5b73-4a04-86c9-b5e0c4ff8f07_2464x1100.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.28624">using this link</a>.</p><div><hr></div><h3><strong>7. Weak-to-Strong On-Policy Distillation</strong></h3><p><a href="https://thinkingmachines.ai/blog/on-policy-distillation/">On-policy distillation (OPD)</a>&nbsp;has become a popular post-training method for LLMs that aligns a student with the teacher&#8217;s token-level distribution on the student&#8217;s own rollouts. </p><p>This method either distills a larger model into a smaller one or trains multiple domain experts from a shared base and distills them into one student (<a href="https://arxiv.org/pdf/2606.30406">MOPD</a>). These approaches fail at the frontier when no larger teacher exists or turn out to be costly for multiple teachers. </p><p>This research works on these issues and introduces <strong>Weak-to-Strong On-Policy Distillation (W2S-OPD),</strong> an algorithm that improves the strong student by distilling from multiple weak models.</p><p>W2S-OPD creates a proxy teacher by comparing a positive and a negative model, both smaller than the student. Their logit difference captures a specific capability direction, which is added to the student&#8217;s base-model logits. Because the resulting proxy remains close to the student&#8217;s distribution, the student can learn from it by minimizing per-token reverse KL divergence on its own generated outputs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!515Z!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!515Z!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png 424w, https://substackcdn.com/image/fetch/$s_!515Z!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png 848w, https://substackcdn.com/image/fetch/$s_!515Z!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png 1272w, https://substackcdn.com/image/fetch/$s_!515Z!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!515Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png" width="1456" height="887" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:887,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:536499,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.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_!515Z!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png 424w, https://substackcdn.com/image/fetch/$s_!515Z!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png 848w, https://substackcdn.com/image/fetch/$s_!515Z!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.png 1272w, https://substackcdn.com/image/fetch/$s_!515Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e229177-05a5-4e03-8444-4e66ecdf7196_1966x1198.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>W2S-OPD consistently outperforms OPD on multiple math and coding benchmarks and even makes the student surpass the domain teacher and continue to improve when every supervision source is weaker.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!32eV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!32eV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png 424w, https://substackcdn.com/image/fetch/$s_!32eV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png 848w, https://substackcdn.com/image/fetch/$s_!32eV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png 1272w, https://substackcdn.com/image/fetch/$s_!32eV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!32eV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png" width="1456" height="545" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:545,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:353819,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.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_!32eV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png 424w, https://substackcdn.com/image/fetch/$s_!32eV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png 848w, https://substackcdn.com/image/fetch/$s_!32eV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.png 1272w, https://substackcdn.com/image/fetch/$s_!32eV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3008d7b-a11e-4b27-a1c0-aa32f59b9010_2494x934.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.26246">using this link</a>.</p><div><hr></div><h3><strong>8. </strong>Gemini Robotics ER 2</h3><p><span>Google released </span><strong>Gemini Robotics ER 2</strong>, <span>its most capable embodied reasoning model for robotics. (ER stands for Embodied Reasoning.)</span></p><p><span>The model can handle conversation, understand the physical world, plan multi-step tasks, reason and call tools, and can hand off motor execution to any given lower-level VLA model. It can also track task progress, detect failures, adjust actions in real time, and allow</span> multi-robot collaboration that lets multiple robots work together in shared spaces and complete complex workflows too tough for a single robot.</p><p>The model has 91.3% accuracy in critical moment-finding tasks in videos, comes with sub-second latency, consistently achieves the highest accuracy across all core ER capabilities, and is Google&#8217;s safest model that stops a robot when a person is nearby and resumes only when the area is clear.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LUL5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LUL5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin 424w, https://substackcdn.com/image/fetch/$s_!LUL5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin 848w, https://substackcdn.com/image/fetch/$s_!LUL5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin 1272w, https://substackcdn.com/image/fetch/$s_!LUL5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LUL5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin" width="1200" height="675" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:675,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Comparison fo ER metrics of different robots&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="Comparison fo ER metrics of different robots" title="Comparison fo ER metrics of different robots" srcset="https://substackcdn.com/image/fetch/$s_!LUL5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin 424w, https://substackcdn.com/image/fetch/$s_!LUL5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin 848w, https://substackcdn.com/image/fetch/$s_!LUL5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin 1272w, https://substackcdn.com/image/fetch/$s_!LUL5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f7614d2-5a6e-45df-8cc5-4a4811085c1e_1200x675.bin 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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://blog.google/innovation-and-ai/models-and-research/google-deepmind/gemini-robotics-er-2/">using this link</a>.</p><div><hr></div><h3>9. <strong>PatientAgentBench</strong></h3><p>This research introduces <strong>PatientAgentBench</strong>, a patient-facing agentic healthcare benchmark. It evaluates an agentic LLM using realistic, multi-turn conversations involving simulated patients, medical records, and healthcare tools. </p><p>Each conversation is scored by an LLM-as-a-Jury across 6 dimensions using 100+ conversation-agnostic, clinician-grounded criteria, with its automated judging showing 79-93% agreement with licensed clinicians.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jhht!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jhht!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png 424w, https://substackcdn.com/image/fetch/$s_!jhht!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png 848w, https://substackcdn.com/image/fetch/$s_!jhht!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png 1272w, https://substackcdn.com/image/fetch/$s_!jhht!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jhht!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png" width="1456" height="813" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:813,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:400667,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.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_!jhht!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png 424w, https://substackcdn.com/image/fetch/$s_!jhht!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png 848w, https://substackcdn.com/image/fetch/$s_!jhht!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.png 1272w, https://substackcdn.com/image/fetch/$s_!jhht!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faadf4d71-8cdf-4b41-946a-3c8584b3c4f3_2254x1258.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Experiments over 10 models across four families on 1200 scenarios show major gaps in triage quality and safety.</p><ul><li><p>Pass rates for triage quality range from 32% for the weakest models to 88% for the strongest, with agents frequently acting on administrative requests without clinical screening.</p></li><li><p>For clinical safety and workflow accuracy, the weakest models frequently fail by  fabricating unexecuted actions, while frontier models fail on only 1-3% of cases, from unverified tool outputs and omitted crisis resources in an emergency.</p></li><li><p>More capable models can narrow these gaps but do not close them, and the strongest model, Claude Opus 4.8, scores only 4.25 of 5 overall.</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_!JUmF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!JUmF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png 424w, https://substackcdn.com/image/fetch/$s_!JUmF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png 848w, https://substackcdn.com/image/fetch/$s_!JUmF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png 1272w, https://substackcdn.com/image/fetch/$s_!JUmF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!JUmF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png" width="1456" height="535" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:535,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:412787,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.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_!JUmF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png 424w, https://substackcdn.com/image/fetch/$s_!JUmF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png 848w, https://substackcdn.com/image/fetch/$s_!JUmF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.png 1272w, https://substackcdn.com/image/fetch/$s_!JUmF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9a33122a-42ac-43bd-913a-90f2e516b9d7_2662x978.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>The benchmark also confirms that static benchmarks are insufficient to evaluate healthcare agentic systems, and sustained, tool-using conversations against realistic patient records are the only way to surface their failures.</p><p>Read more about this research <a href="https://arxiv.org/pdf/2607.25485">using this link</a>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3><strong>10. HiSkill</strong></h3><p>This research introduces <strong>HiSkill</strong>, which organizes past interaction experiences into a hierarchical skill graph, rather than a flat list of textual skills. </p><p>The hierarchical skill graph is a directed graph with skill nodes, AtomicOp (Atomic Operation) nodes, and typed edges that connect reusable high-level skills with executable action templates, while also capturing decomposition, temporal transition, compatibility, support, and recovery relations among them.</p><p>At inference time, for each task, HiSkill retrieves a small task-relevant subgraph, tracks its state, selects or switches skills, and iteratively converts AtomicOps into executable actions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!suqT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!suqT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png 424w, https://substackcdn.com/image/fetch/$s_!suqT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png 848w, https://substackcdn.com/image/fetch/$s_!suqT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png 1272w, https://substackcdn.com/image/fetch/$s_!suqT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!suqT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png" width="1456" height="804" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:804,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:873091,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.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_!suqT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png 424w, https://substackcdn.com/image/fetch/$s_!suqT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png 848w, https://substackcdn.com/image/fetch/$s_!suqT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.png 1272w, https://substackcdn.com/image/fetch/$s_!suqT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92fb0c28-577f-4b23-947e-e23970dbd6b1_2208x1220.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cHGR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cHGR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png 424w, https://substackcdn.com/image/fetch/$s_!cHGR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png 848w, https://substackcdn.com/image/fetch/$s_!cHGR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png 1272w, https://substackcdn.com/image/fetch/$s_!cHGR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cHGR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png" width="1456" height="879" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:879,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:858290,&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.intoai.pub/i/209602700?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.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_!cHGR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png 424w, https://substackcdn.com/image/fetch/$s_!cHGR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png 848w, https://substackcdn.com/image/fetch/$s_!cHGR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.png 1272w, https://substackcdn.com/image/fetch/$s_!cHGR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a018d6f-439c-4cca-853b-d743e0946c70_2094x1264.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Experiments on three interactive environments show that HiSkill outperforms state-of-the-art baselines by achieving average relative improvements of 17.33% in success rate, while reducing inference token consumption by 78.75% over the strongest baseline.</p><p>Read more about this research <a href="https://arxiv.org/pdf/2607.25853">using this link</a>.</p><div><hr></div><p>This newsletter edition is completely free to read. Show your love by liking it, restacking it, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/this-week-in-ai-research-25-31-july?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.intoai.pub/p/this-week-in-ai-research-25-31-july?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p>]]></content:encoded></item><item><title><![CDATA[10 LLM Inference Optimization Techniques, Simply Explained]]></title><description><![CDATA[A visual guide to 10 techniques, from KV caching and Quantization to Speculative decoding and Prefill-decode disaggregation, that make LLM inference faster and cheaper.]]></description><link>https://www.intoai.pub/p/10-llm-inference-optimization-techniques</link><guid isPermaLink="false">https://www.intoai.pub/p/10-llm-inference-optimization-techniques</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Sat, 01 Aug 2026 11:15:38 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/e019cdbb-3273-45f6-993d-d4cae2748658_1200x630.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_!tJ4F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tJ4F!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!tJ4F!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!tJ4F!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!tJ4F!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tJ4F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:87518,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.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_!tJ4F!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!tJ4F!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!tJ4F!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!tJ4F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ca27003-b2f4-42d2-a153-ea7190c6a51e_1200x630.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>LLM inference optimization is one of the hottest topics today, and everyone wants text generation that's faster, more accurate, and cheaper. Here are 10 techniques that can help you get there.</p><div><hr></div><h3>1. KV Caching</h3><p>During a step of autoregressive text generation, an LLM compares the last token&#8217;s Query vector to the Key vectors of all previous tokens, including itself. This creates attention weights, which are used to compute a weighted sum over the corresponding Value vectors. This results in the <a href="https://www.intoai.pub/p/self-attention">attention output for that token</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nwAY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nwAY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png 424w, https://substackcdn.com/image/fetch/$s_!nwAY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png 848w, https://substackcdn.com/image/fetch/$s_!nwAY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png 1272w, https://substackcdn.com/image/fetch/$s_!nwAY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nwAY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png" width="725.46875" height="250.6255365728022" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:503,&quot;width&quot;:1456,&quot;resizeWidth&quot;:725.46875,&quot;bytes&quot;:216533,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nwAY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png 424w, https://substackcdn.com/image/fetch/$s_!nwAY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png 848w, https://substackcdn.com/image/fetch/$s_!nwAY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png 1272w, https://substackcdn.com/image/fetch/$s_!nwAY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5c8299d2-eb18-4368-84b8-817ceb235cce_2878x994.png 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Computations in Multi-head Self-attention (<a href="https://www.intoai.pub/p/mha">Source</a>)</figcaption></figure></div><p>For example, considering a word as a token, when generating the token after "<em>The capital of the U.K. is</em>", the LLM:</p><ul><li><p>Converts the current token ("<em>is</em>") into a Query vector</p></li><li><p>Scores it against the Key of each preceding token to find that "<em>capital</em>" and "<em>U.K.</em>" are most related to it </p></li><li><p>Combines those tokens' Value vectors to decide that the next token is most likely to be "<em>London</em>"</p></li></ul><p>This process is repeated at each step of text generation.</p><p>Calculating Key and Value vectors for all previous tokens at each step is expensive, especially as the sequence length grows. Using a KV cache helps solve this issue of repeated computations.</p><p>The KV cache stores each token&#8217;s Key and Value vectors once, rather than recomputing them for the entire sequence at each step. This means the LLM now has to calculate (and append to the KV cache) only the new token&#8217;s Key and Value, reusing the rest from the cache at each step.</p><p>This massively reduces the amount of computation during inference but comes at the cost of using up <a href="https://www.intoai.pub/i/201900247/what-if-the-llm-is-too-big-for-the-gpu-memory">HBM memory</a>. (<em>There&#8217;s no free lunch!</em>)</p><p>Using KV caching is one of the simplest techniques that you can take to improve inference.</p><div><hr></div><p><span>Before we move forward, I want to introduce you to my book, &#8216;</span><strong>LLMs In 100 Images</strong><span>&#8217;.</span></p><p>It is a collection of 100 easy-to-follow visuals that describe the most important concepts you need to master to understand LLMs today.</p><p>I&#8217;m offering a limited-time 30% discount, which you can claim using the button below.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30&quot;,&quot;text&quot;:&quot;Get a 30% discount today&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30"><span>Get a 30% discount today</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BTCC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BTCC!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" width="1200" height="692.3076923076923" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:840,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:523783,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><h3>2. Efficient Attention mechanisms</h3><p>As we discussed earlier, the KV cache takes space in a GPU&#8217;s HBM, and managing its size helps make inference fast.</p><p>The traditional <a href="https://www.intoai.pub/p/mha">Multi-head self-attention (MHA)</a> uses multiple heads, each with its own Key and Value vectors.</p><p>There are a few attention variants that reduce the number of Key and Value vectors used (and therefore the KV cache size) as follows:</p><ul><li><p><span>In </span><strong><a href="https://www.intoai.pub/p/multi-query-attention"><span>Multi-Query Attention (MQA)</span></a></strong><span>, all attention heads </span>share the same Key (K) and Value (V) vectors<span>, while each head still has its own Query (Q) vector.</span></p></li><li><p>In <strong><a href="https://www.intoai.pub/p/grouped-query-attention">Grouped Query Attention (GQA)</a></strong>, Query (Q) heads are grouped, and each group shares one Key (K) and Value (V).</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_!VDON!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VDON!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png 424w, https://substackcdn.com/image/fetch/$s_!VDON!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png 848w, https://substackcdn.com/image/fetch/$s_!VDON!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!VDON!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VDON!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png" width="1456" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&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_!VDON!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png 424w, https://substackcdn.com/image/fetch/$s_!VDON!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png 848w, https://substackcdn.com/image/fetch/$s_!VDON!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!VDON!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3bc41525-4292-4347-961f-8f27d0324f5e_2510x1086.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">MHA vs MQA vs GQA (<a href="https://www.intoai.pub/p/grouped-query-attention">Source</a>)</figcaption></figure></div><p>There is also <strong><a href="https://www.intoai.pub/i/196789511/towards-multi-head-latent-attention">Multi-head Latent Attention (MLA)</a></strong><span>, which compresses the Key and Value vectors into a low-dimensional latent vector and caches&nbsp;it</span>. This uses much less memory than the full-sized KV cache. The full Key and Value vectors are reconstructed from this latent vector when needed.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2Fvr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2Fvr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png 424w, https://substackcdn.com/image/fetch/$s_!2Fvr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png 848w, https://substackcdn.com/image/fetch/$s_!2Fvr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png 1272w, https://substackcdn.com/image/fetch/$s_!2Fvr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2Fvr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png" width="1456" height="414" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:414,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&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_!2Fvr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png 424w, https://substackcdn.com/image/fetch/$s_!2Fvr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png 848w, https://substackcdn.com/image/fetch/$s_!2Fvr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.png 1272w, https://substackcdn.com/image/fetch/$s_!2Fvr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5e15a3e-859f-45f3-beb0-8aebbb88a0b0_2734x778.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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"><span>MHA vs GQA vs MQA vs MLA (</span><a href="https://arxiv.org/abs/2405.04434">Source</a><span>)</span></figcaption></figure></div><div><hr></div><h3>3. Continuous Batching</h3><p>A naive way to process LLM requests is to handle them sequentially. This is very inefficient, as different requests can arrive at different times and can have variable input and output lengths (and therefore processing times). </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WUUY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WUUY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png 424w, https://substackcdn.com/image/fetch/$s_!WUUY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png 848w, https://substackcdn.com/image/fetch/$s_!WUUY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png 1272w, https://substackcdn.com/image/fetch/$s_!WUUY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WUUY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png" width="1456" height="463" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:463,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:117896,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.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_!WUUY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png 424w, https://substackcdn.com/image/fetch/$s_!WUUY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png 848w, https://substackcdn.com/image/fetch/$s_!WUUY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.png 1272w, https://substackcdn.com/image/fetch/$s_!WUUY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39c7e023-b419-4cc4-88a1-65fa9b28e68f_2264x720.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Requests are therefore batched and processed together. This improves the system's overall throughput and reduces underutilized GPU compute. </p><p>Batching can be done at the request and token levels. When done at the request level, the system has to wait for a certain predetermined number of requests to arrive and be batched before they can be processed. This is called <strong>Static Batching</strong>.</p><p>A system can also be configured to wait only until a pre-decided maximum time rather than indefinitely to fill the full batch before the batch can start processing. This is called <strong>Dynamic Batching</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_!ZeVk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZeVk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png 424w, https://substackcdn.com/image/fetch/$s_!ZeVk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png 848w, https://substackcdn.com/image/fetch/$s_!ZeVk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png 1272w, https://substackcdn.com/image/fetch/$s_!ZeVk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZeVk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png" width="1456" height="840" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:840,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:319206,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.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_!ZeVk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png 424w, https://substackcdn.com/image/fetch/$s_!ZeVk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png 848w, https://substackcdn.com/image/fetch/$s_!ZeVk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.png 1272w, https://substackcdn.com/image/fetch/$s_!ZeVk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff164b6-b6d7-4823-b356-8814625af5b0_2230x1286.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>In either case, the entire batch must finish processing before any new request can join.</p><p>In contrast, when done at the token level, as in <strong>Continuous (in-flight) batching</strong>, requests are processed token by token. Instead of waiting for the entire batch to finish, the system evicts a completed request and immediately fills the vacated slot with a new request. This helps utilize GPU resources more effectively than the previous two approaches.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XUMv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XUMv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png 424w, https://substackcdn.com/image/fetch/$s_!XUMv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png 848w, https://substackcdn.com/image/fetch/$s_!XUMv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png 1272w, https://substackcdn.com/image/fetch/$s_!XUMv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XUMv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png" width="1456" height="413" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:413,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:193721,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.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_!XUMv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png 424w, https://substackcdn.com/image/fetch/$s_!XUMv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png 848w, https://substackcdn.com/image/fetch/$s_!XUMv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.png 1272w, https://substackcdn.com/image/fetch/$s_!XUMv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e95ee85-d8fe-41c4-b82e-9ea0d1234f0d_2258x640.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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 class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>4. Optimized Kernels</h3><p>Inference Decode is memory-bound, which means that the GPU spends more time moving data from memory (HBM) to the compute cores than performing computations.</p><p>A <a href="https://docs.modular.com/glossary/gpu/kernel/">kernel</a> is a function that runs on a GPU and performs multiple parallel operations. A kernel can be optimized to keep data in on-chip memory (SRAM/registers), avoid re-reading it from the slow HBM, and feed it to the compute cores to better use them.</p><p>This can be done using <strong>Kernel fusion</strong>, a technique in which multiple individual operations in an algorithm are merged (&#8220;fused&#8221;) into a single kernel to avoid data movement across memory.</p><p><strong><span>FlashAttention</span></strong><span>&nbsp;is a well-known example of this, in which operations from the attention computation are merged into a single kernel.</span></p><p><span>This is how </span><a href="https://www.intoai.pub/p/self-attention"><span>standard attention</span></a><span> is computed:</span></p><ul><li><p>Query and Key matrices are read from HBM and multiplied to produce an attention score matrix in the compute cores</p></li><li><p>This matrix is written back to the HBM </p></li><li><p>The matrix is re-read to apply Softmax</p></li><li><p>The result is written back to the HBM</p></li><li><p>The result is read back to multiply it by the Values matrix to create the final output of attention computation, finally writing it back to the HBM</p></li></ul><p><a href="https://arxiv.org/pdf/2205.14135">FlashAttention</a> avoids all this data movement by never creating the full attention matrix in HBM. It splits the Query, Key, and Value matrices into smaller blocks called <a href="https://cvw.cac.cornell.edu/cuda-intro/gpu-performance-topics/tiling">Tiles</a> that fit in on-chip SRAM and performs attention calculations one tile at a time.</p><p>The attention scores and softmax are computed on-chip, and only the final output is written back to the HBM. This reduces data movement between HBM and the compute cores, resulting in faster attention calculations using far less 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_!zLFH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zLFH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.png 424w, https://substackcdn.com/image/fetch/$s_!zLFH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.png 848w, https://substackcdn.com/image/fetch/$s_!zLFH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.png 1272w, https://substackcdn.com/image/fetch/$s_!zLFH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zLFH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.png" width="1456" height="731" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/da787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.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;:186669,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.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_!zLFH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.png 424w, https://substackcdn.com/image/fetch/$s_!zLFH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.png 848w, https://substackcdn.com/image/fetch/$s_!zLFH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.png 1272w, https://substackcdn.com/image/fetch/$s_!zLFH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda787cf1-c5dc-4f8d-9eec-74c35226a2f3_1650x828.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">FlashAttention uses tiling to avoid materializing the large N &#215; N attention matrix on GPU HBM. In the outer loop (red arrows), it loops through blocks of the K and V matrices, loading them into fast on-chip SRAM. For each block, it loops over blocks of the Q matrix (blue arrows), loading them to SRAM and writing the attention output back to HBM. (<a href="https://arxiv.org/pdf/2205.14135">Source</a>)</figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Sy46!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Sy46!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!Sy46!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!Sy46!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!Sy46!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Sy46!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:41248,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.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_!Sy46!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!Sy46!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!Sy46!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!Sy46!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F865fb3f4-1ad4-4f5c-aa3f-1ef5b229efb6_1080x1080.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Image from <strong><a href="https://bamaniaashish.gumroad.com/l/llmbook/">LLMs In 100 Images</a></strong></figcaption></figure></div><div><hr></div><h3>5. <strong>Quantization</strong></h3><p>Quantization is the process of storing and computing LLM parameters, activations, and KV cache in <a href="https://en.wikipedia.org/wiki/Single-precision_floating-point_format"><span>lower-precision formats</span></a><span>&nbsp;such as INT8 (8 bits) and INT4 (4 bits) instead of full-precision&nbsp;32-bit floating-point&nbsp;</span><a href="https://en.wikipedia.org/wiki/Single-precision_floating-point_format">(FP32)</a> or 16-bit floating-point (FP16 or BF16) formats.</p><p>This reduces the model's memory requirements and increases inference throughput by reducing data transferred from HBM to the compute cores, at the cost of a slight drop in accuracy.</p><p>Take the example of Llama 3 70B. In full precision (FP32), each parameter occupies 4 bytes of memory. The total memory requirement for this model is 280 GB (70B parameters X 4 bytes/parameter). This means it will not fit on a single H100 GPU with only 80 GB of memory.</p><p><a href="https://huggingface.co/hugging-quants/Meta-Llama-3.1-70B-Instruct-GPTQ-INT4">Reducing the precision to INT4</a>, each parameter occupies 0.5 bytes of memory, and the total memory requirement for this model reduces to 35 GB (70B parameters &#215; 0.5 bytes per parameter), making it possible to fit it on a single GPU.</p><p>A commonly used convention for quantized models is <code>W(x)A(y)</code> which tells how much a model&#8217;s weights (<code>W</code>) and activations (<code>A</code>) have been quantized. For example:</p><ul><li><p><code>W4A16</code> with 4-bit weights and 16-bit activations</p></li><li><p><code>W8A8</code> with 8-bit weights and 8-bit activations</p></li><li><p><code>W4A4</code> with 4-bit weights and 4-bit activations</p></li></ul><p>You will also find quantized models suffixed with &#8220;-GPTQ&#8221; and &#8220;-AWQ&#8221;. These are the commonly used techniques for model quantization:</p><ul><li><p><a href="https://arxiv.org/abs/2210.17323">GPTQ (Generative Pre-trained Transformer Quantization)</a></p></li><li><p><a href="https://arxiv.org/abs/2306.00978">AWQ (Activation-Aware Weight Quantization)</a></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_!DW4c!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DW4c!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!DW4c!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!DW4c!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!DW4c!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DW4c!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:34960,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.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_!DW4c!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!DW4c!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!DW4c!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!DW4c!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F683b3e34-eac0-4e57-82dc-3c6d706c5e0b_1080x1080.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Image from <strong><a href="https://bamaniaashish.gumroad.com/l/llmbook">LLMs In 100 Images</a></strong></figcaption></figure></div><div><hr></div><h3>6. Prefix / Prompt caching &amp; RadixAttention</h3><p>LLM inference has two phases:</p><ul><li><p><strong>Prefill</strong>, where all tokens in the input prompt are processed together, making it compute-bound. Prefill determines the Time-to-first-token (TTFT), and it is when the KV cache is built.</p></li><li><p><strong>Decode</strong>, where subsequent tokens are generated one at a time, making it memory-bound since very little computation is done at each step. Decode determines the Time per Output Token (TPOT).</p></li></ul><p>Prefix (or prompt) caching is an optimization technique that reuses the computed KV cache for a shared portion/ prefix of the input prompt across multiple user requests. This reduces redundant computation during Prefill and leads to a shorter Time-to-first-token (TTFT). </p><p>For example, consider a long system prompt &#8220;<em>System: You are a helpful assistant&#8230;</em>&#8221;. </p><ul><li><p>Without prefix caching, each user request computes Prefill for all tokens in the system prompt and the user's question.</p></li><li><p>With prefix caching, the KV cache for the system prompt is computed once and stored. Every user request then reuses it and computes Prefill only for the user's actual question.</p></li></ul><p><a href="https://sgl-project-sglang-93.mintlify.app/concepts/radix-attention"><span>RadixAttention</span></a><span> is a technique introduced with the </span><a href="https://docs.sglang.io/">SGLang</a> serving framework that efficiently implements Prefix caching using a data structure called&nbsp;a <a href="https://en.wikipedia.org/wiki/Radix_tree"><span>radix tree</span></a><span>. </span></p><p>In a radix tree, each path from the root is a token sequence, and shared prefixes (prompt portions common to user requests) are shared branches.</p><p>For a new user request, the algorithm walks the radix tree, matching tokens as far as possible and reusing the KV cache along the matched path. Prefill is computed only for the unique tokens in the user request.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6_C0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6_C0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png 424w, https://substackcdn.com/image/fetch/$s_!6_C0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png 848w, https://substackcdn.com/image/fetch/$s_!6_C0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png 1272w, https://substackcdn.com/image/fetch/$s_!6_C0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6_C0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png" width="1362" height="908" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/afdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:908,&quot;width&quot;:1362,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:84477,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.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_!6_C0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png 424w, https://substackcdn.com/image/fetch/$s_!6_C0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png 848w, https://substackcdn.com/image/fetch/$s_!6_C0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.png 1272w, https://substackcdn.com/image/fetch/$s_!6_C0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fafdb59e8-1f78-4fcf-9961-0ffe18a11a1b_1362x908.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">A radix tree of shared prompt prefixes</figcaption></figure></div><div><hr></div><h3>7. Pruning</h3><p>Pruning is the technique of removing parts of a model that do not contribute much to its accuracy, making it smaller and therefore cheaper to perform inference on.</p><p>Pruning can be done in three ways:</p><ol><li><p><strong>Unstructured pruning</strong>: Involves setting low-magnitude individual parameters to zero</p></li><li><p><strong>Structured pruning</strong>: Involves removing complete sections (neurons, attention heads, fully-connected layers) of the model</p></li><li><p><strong>Semi-structured (N: M) pruning/ sparsity</strong>: Involves setting <code>N</code> of every <code>M</code> consecutive weights to zero. <a href="https://developer.nvidia.com/blog/structured-sparsity-in-the-nvidia-ampere-architecture-and-applications-in-search-engines/">Newer NVIDIA GPUs (Ampere onward)</a> have hardware support for 2:4 sparsity, which leads to ~2x increase in matrix multiplication throughput.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!N8NQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!N8NQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!N8NQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!N8NQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!N8NQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!N8NQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:68215,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.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_!N8NQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!N8NQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!N8NQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!N8NQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcea04e90-e0e8-4f2a-8c50-5450603a2702_1080x1080.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Image from <strong><a href="https://bamaniaashish.gumroad.com/l/llmbook">LLMs In 100 Images</a></strong></figcaption></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>8. PagedAttention</h3><p><a href="https://arxiv.org/pdf/2309.06180">PagedAttention</a> is a technique introduced in the <a href="https://vllm.ai/">vLLM</a> serving framework to efficiently manage the KV cache's memory requirements. The technique is inspired by how operating systems manage memory using <a href="https://en.wikipedia.org/wiki/Memory_paging">Paging</a>.</p><p>Instead of storing the KV cache in a single large contiguous chunk of GPU memory upfront, it is dynamically stored in multiple fixed-size, small, non-contiguous blocks called pages. </p><p>A per-sequence block table maps logical token positions to physical memory blocks, and the attention kernel uses it to locate the correct KV pairs when needed.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qJ7P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qJ7P!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png 424w, https://substackcdn.com/image/fetch/$s_!qJ7P!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png 848w, https://substackcdn.com/image/fetch/$s_!qJ7P!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png 1272w, https://substackcdn.com/image/fetch/$s_!qJ7P!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qJ7P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png" width="1456" height="594" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:594,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:155867,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.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_!qJ7P!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png 424w, https://substackcdn.com/image/fetch/$s_!qJ7P!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png 848w, https://substackcdn.com/image/fetch/$s_!qJ7P!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.png 1272w, https://substackcdn.com/image/fetch/$s_!qJ7P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48b4bb3a-c859-428a-9a39-cf7bc1f98da2_2074x846.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Illustration of the PagedAttention algorithm (<a href="https://arxiv.org/pdf/2309.06180">Source</a>)</figcaption></figure></div><div><hr></div><h3>9. Speculative Decoding</h3><p>Speculative Decoding is a technique used to accelerate inference with large LLMs. </p><p>To do so, it uses a smaller LLM from the same family as the larger one, with both sharing the tokenizer and vocabulary. The smaller LLM in this case is called the &#8216;Draft model&#8217;, and the larger LLM is called the &#8216;Target model&#8216;. This smaller LLM naturally runs inference faster because it has fewer parameters than the larger one.</p><p>This is how it works:</p><ul><li><p><span>For a given prompt, the smaller/ Draft model first generates </span><code>K</code><span> tokens (a draft). This is the </span>Speculation/ Drafting<span> step.</span></p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!U_3s!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!U_3s!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png 424w, https://substackcdn.com/image/fetch/$s_!U_3s!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png 848w, https://substackcdn.com/image/fetch/$s_!U_3s!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png 1272w, https://substackcdn.com/image/fetch/$s_!U_3s!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!U_3s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png" width="1456" height="343" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:343,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&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_!U_3s!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png 424w, https://substackcdn.com/image/fetch/$s_!U_3s!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png 848w, https://substackcdn.com/image/fetch/$s_!U_3s!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png 1272w, https://substackcdn.com/image/fetch/$s_!U_3s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f359e45-282a-42f3-9198-9e7ed301340d_2920x688.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><span>These </span><code>K</code><span> tokens, along with the original prompt, are given to the larger/ Target model.</span><br><span>In a single forward pass, the larger model outputs its probability distribution for the next token at every position in the draft, plus one for an additional position beyond it. So the total number of target predictions is </span><code>K + 1 = 6</code><span>. Because Decode is memory-bound, this single forward pass takes almost as long as generating just one token from the model.</span></p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rm5C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rm5C!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png 424w, https://substackcdn.com/image/fetch/$s_!rm5C!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png 848w, https://substackcdn.com/image/fetch/$s_!rm5C!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png 1272w, https://substackcdn.com/image/fetch/$s_!rm5C!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rm5C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png" width="1456" height="274" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:274,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&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_!rm5C!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png 424w, https://substackcdn.com/image/fetch/$s_!rm5C!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png 848w, https://substackcdn.com/image/fetch/$s_!rm5C!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png 1272w, https://substackcdn.com/image/fetch/$s_!rm5C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee427c3e-ee66-430e-81ce-a6750bf2e80d_2774x522.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><span>Next comes the </span><strong>Verification</strong><span> step. Each drafted token is checked against the larger/ target model&#8217;s prediction at that position. If they agree (when using </span><a href="https://www.intoai.pub/i/176405190/1-greedy-decoding">greedy decoding</a><span>) or the target finds it likely enough (when using </span><a href="https://www.intoai.pub/i/176405190/3-top-k-sampling">probabilistic decoding</a><span> via rejection sampling), the token is accepted.</span></p><p><br>At the first token where this check fails, that token and all subsequent drafted tokens are discarded, and the larger model provides a replacement token for that position. <span>All subsequent tokens from the target LLM are also discarded because they were conditioned on the rejected drafted token.</span><br><br><span>Drafting then resumes from this position.</span></p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gFm9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gFm9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png 424w, https://substackcdn.com/image/fetch/$s_!gFm9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png 848w, https://substackcdn.com/image/fetch/$s_!gFm9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png 1272w, https://substackcdn.com/image/fetch/$s_!gFm9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gFm9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png" width="1456" height="342" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/feb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:342,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&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_!gFm9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png 424w, https://substackcdn.com/image/fetch/$s_!gFm9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png 848w, https://substackcdn.com/image/fetch/$s_!gFm9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png 1272w, https://substackcdn.com/image/fetch/$s_!gFm9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb8248f-9369-4a97-b39e-14ac0048e3d3_2772x652.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>The benefits from this are quite evident.</p><ul><li><p><span>Consider a case where all </span><code>K</code><span> draft tokens are accepted, we get </span><code>K+1</code><span> tokens in the final output. This is the </span>best-case<span> scenario.</span></p></li><li><p><span>More commonly, if the first </span><code>i</code><span> draft tokens are accepted, we get </span><code>i+1</code><span> tokens, i.e. </span><code>i</code><span> draft tokens + 1 resampled replacement token from the target model.</span></p></li><li><p><span>In the </span>worst case<span>, if the first draft token is rejected, we get just 1 token, which is the resampled replacement token from the target model. This is the same as normal decoding from the target model.</span></p></li></ul><p>If you want to read more about Speculative Decoding, please check out the following lesson.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;ae98a996-7831-4736-ac16-5954f045828a&quot;,&quot;caption&quot;:&quot;LLM inference is slow, memory-heavy, and computationally expensive.&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;Speculative Decoding, Simply Explained&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;Author of &#8216;Into AI&#8217; &#8594; a bestselling newsletter helping engineers become 100&#215; better in AI | Ex-CTO&quot;,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!1rS7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:100}],&quot;post_date&quot;:&quot;2026-04-30T18:42:52.629Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!l8XM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F931dcfcb-ea96-4e74-a179-0212d11f6b59_800x910.gif&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoai.pub/p/speculative-decoding-simply-explained&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:195365207,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:8,&quot;comment_count&quot;:0,&quot;publication_id&quot;:1813260,&quot;publication_name&quot;:&quot;Into AI&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!xBa1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad0f7ec6-837c-4c2b-9b4d-5365d1a9e668_1080x1080.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div><hr></div><h3>10. Prefill-Decode Disaggregation</h3><p>We have previously discussed that:</p><ul><li><p>Prefill is compute-bound and determines the Time to first token (TTFT)</p></li><li><p>Decode is memory-bound and determines the Time Per Output Token (TPOT), also called Inter-token latency (ITL)</p></li></ul><p>These are two fundamentally different problems, and optimizing each on a single GPU can be tough, especially when the prompts are long relative to the outputs (prefill-heavy requests), and one wants both low TTFT and TPOT at the same time.</p><p>Prefill-decode disaggregation is a serving architecture that helps in this case by moving the two stages of inference to separate dedicated pools of GPUs.</p><p>In this case, the dedicated pool of GPUs for Prefill would be optimized for higher compute, while the dedicated pool of GPUs for Decode would be optimized for higher memory bandwidth and capacity.</p><p>For example, the H200 GPU, compared to the H100, has much faster and larger memory but the same core compute. Therefore, H200s are best used in the Decode pool, and H100s in the Prefill pool.</p><p>One of the major overheads in this serving technique is transferring the KV cache between the Prefill-dedicated GPU pool and the Decode-dedicated GPU pool, which can be optimized with faster interconnects such as <a href="https://www.intoai.pub/i/201598182/understanding-inter-gpu-connections">NVLink or InfiniBand</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PGco!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PGco!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png 424w, https://substackcdn.com/image/fetch/$s_!PGco!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png 848w, https://substackcdn.com/image/fetch/$s_!PGco!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png 1272w, https://substackcdn.com/image/fetch/$s_!PGco!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PGco!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png" width="1430" height="1214" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1214,&quot;width&quot;:1430,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:147517,&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.intoai.pub/i/201275812?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.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_!PGco!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png 424w, https://substackcdn.com/image/fetch/$s_!PGco!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png 848w, https://substackcdn.com/image/fetch/$s_!PGco!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.png 1272w, https://substackcdn.com/image/fetch/$s_!PGco!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae856c0-1bfd-4c6f-9033-ef985a8f828c_1430x1214.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><p>Thanks for reading this article. If you found it valuable, show your love by liking it, restacking it, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/10-llm-inference-optimization-techniques?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.intoai.pub/p/10-llm-inference-optimization-techniques?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p><strong>Join the paid tier today to get access to all posts in this newsletter</strong>, including:</p><ul><li><p>&#127752; <a href="https://www.intoai.pub/p/pytorch-essentials">20 PyTorch Concepts, Explained Simply</a></p></li><li><p>&#129489;&#127995;&#8205;&#128187; <a href="https://www.intoai.pub/p/arithmetic-intensity">Arithmetic Intensity, Simply Explained</a></p></li><li><p>&#128126; <a href="https://www.intoai.pub/p/tiny-recursive-model">Tiny Recursive Model (TRM): A Deep Dive</a></p></li><li><p>&#128119;&#127996;&#8205;&#9794;&#65039; <a href="https://www.intoai.pub/p/build-a-vector-database-from-scratch">Build A Vector Database From Scratch To Understand RAG In Depth</a></p></li><li><p>&#128640; <a href="https://www.intoai.pub/p/build-a-mixture-of-experts-layer-from-scratch">Build a Mixture-of-Experts (MoE) Layer from Scratch</a></p></li></ul><p>and so many more!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber today&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe"><span>Become a paid subscriber today</span></a></p>]]></content:encoded></item><item><title><![CDATA[🗓️ This Week In AI Research (17-24 July 26)]]></title><description><![CDATA[The top 10 AI research papers and releases this week (Claude Opus 5, Laguna S 2.1, Loopie, Nanbeige 4.2, Fugu-Cyber, and more)]]></description><link>https://www.intoai.pub/p/this-week-in-ai-research-17-24-july</link><guid isPermaLink="false">https://www.intoai.pub/p/this-week-in-ai-research-17-24-july</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Thu, 30 Jul 2026 10:44:06 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!nHUB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.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_!nHUB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nHUB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png 424w, https://substackcdn.com/image/fetch/$s_!nHUB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png 848w, https://substackcdn.com/image/fetch/$s_!nHUB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png 1272w, https://substackcdn.com/image/fetch/$s_!nHUB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nHUB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/af9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1917541,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.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_!nHUB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png 424w, https://substackcdn.com/image/fetch/$s_!nHUB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png 848w, https://substackcdn.com/image/fetch/$s_!nHUB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.png 1272w, https://substackcdn.com/image/fetch/$s_!nHUB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf9e69bd-4e8d-4fdb-b600-bb585a698469_1672x941.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><h3>1. Claude Opus 5</h3><p>Anthropic released <strong>Claude Opus 5</strong>, a model that comes close to the frontier intelligence of Claude Fable 5 at half the price.</p><p>Opus 5 is the new SOTA for coding and knowledge work evals and is designed to be used efficiently for everyday tasks, but it remains behind Mythos 5 on cybersecurity tasks. It also improves on Opus 4.8 across multiple benchmarks evaluating automation, computer use, scientific research, and visual output.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LHXI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LHXI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp 424w, https://substackcdn.com/image/fetch/$s_!LHXI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp 848w, https://substackcdn.com/image/fetch/$s_!LHXI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp 1272w, https://substackcdn.com/image/fetch/$s_!LHXI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LHXI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp" width="1456" height="1444" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/da119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1444,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&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_!LHXI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp 424w, https://substackcdn.com/image/fetch/$s_!LHXI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp 848w, https://substackcdn.com/image/fetch/$s_!LHXI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp 1272w, https://substackcdn.com/image/fetch/$s_!LHXI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda119921-ce6d-49e6-adfb-3a2690b32912_2600x2578.webp 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Opus 5 is described as Anthropic&#8217;s most aligned model yet and costs $5 per million input tokens and $25 per million output tokens (the same as Opus 4.8).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!y6MP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!y6MP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp 424w, https://substackcdn.com/image/fetch/$s_!y6MP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp 848w, https://substackcdn.com/image/fetch/$s_!y6MP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp 1272w, https://substackcdn.com/image/fetch/$s_!y6MP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!y6MP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&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_!y6MP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp 424w, https://substackcdn.com/image/fetch/$s_!y6MP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp 848w, https://substackcdn.com/image/fetch/$s_!y6MP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp 1272w, https://substackcdn.com/image/fetch/$s_!y6MP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa210f2b7-c8a8-48e0-b461-50fd051c7d4b_3840x2160.webp 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this <a href="https://www.anthropic.com/news/claude-opus-5">release using this link</a>.</p><div><hr></div><h3>2. Hilbert Operator for Progressive Encoding (HOPE)</h3><p><span>This research paper introduces&nbsp;</span><strong><span>Hilbert Operator for Progressive Encoding (HOPE)</span></strong><span>, a data-free and hyperparameter-free mathematical framework </span>that helps deconstruct the internal knowledge stored inside deep neural networks.</p><p>While network compression is usually used to make models smaller, it can also help analyze what a model has learned. This is because removing a neuron tests whether it contributed to important knowledge, and merging neurons tells whether they perform functionally similar roles.</p><p>HOPE, or Hilbert Operator for Progressive Encoding, models each neuron as a rank-1 Hilbert-Schmidt operator. This allows evaluation of neurons in a Hilbert space of continuous functions and simplifies a neural network based on what each component actually does (its function) rather than relying only on the size of its weights.</p><p>With HOPE, different compression actions (pruning neurons, merging neurons, and removing residual blocks) can be treated as forms of the same low-rank projection problem and compared using a single scale-invariant metric.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GX5S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GX5S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png 424w, https://substackcdn.com/image/fetch/$s_!GX5S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png 848w, https://substackcdn.com/image/fetch/$s_!GX5S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png 1272w, https://substackcdn.com/image/fetch/$s_!GX5S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GX5S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png" width="1456" height="717" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:717,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:463316,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.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_!GX5S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png 424w, https://substackcdn.com/image/fetch/$s_!GX5S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png 848w, https://substackcdn.com/image/fetch/$s_!GX5S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.png 1272w, https://substackcdn.com/image/fetch/$s_!GX5S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3d91634-7a57-4caf-a080-8d875c81516c_2578x1270.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.21366">using this link</a>.</p><div><hr></div><p><span>Before we move forward, I want to introduce you to my book, &#8216;</span><strong>LLMs In 100 Images</strong><span>&#8217;.</span></p><p>It is a collection of 100 easy-to-follow visuals that describe the most important concepts you need to master to understand LLMs today.</p><p>I&#8217;m offering a limited-time 30% discount, which you can claim using the button below.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30&quot;,&quot;text&quot;:&quot;Get a 30% discount today&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30"><span>Get a 30% discount today</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BTCC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BTCC!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" width="1200" height="692.3076923076923" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:840,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:523783,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><h3>3. LLMs Get Lost in Evolving User Intent</h3><p>This research paper evaluates how well LLMs track and act on user intent as it evolves over the course of a conversation.</p><p>This is done using a framework that changes static, single-turn tasks into dynamic multi-turn conversations in which the user&#8217;s intent evolves across turns while preserving each task&#8217;s original evaluation method, allowing existing benchmarks to be reused as controlled test environments without requiring new annotations.</p><p>The results show that LLMs do not faithfully track and act on the user&#8217;s evolving intent, a capability that is critical for collaborative agents. For example, the performance of GPT-5.5 goes down from 99% to 80.5% on GSM8K after 6 intent changes. </p><p>Task switching is the most difficult transition for LLMs, and simple memory prompts or even restating the user&#8217;s correct current intent improve results but do not restore single-turn performance.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6Zqb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6Zqb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png 424w, https://substackcdn.com/image/fetch/$s_!6Zqb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png 848w, https://substackcdn.com/image/fetch/$s_!6Zqb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!6Zqb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6Zqb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png" width="1456" height="610" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:610,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:528587,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.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_!6Zqb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png 424w, https://substackcdn.com/image/fetch/$s_!6Zqb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png 848w, https://substackcdn.com/image/fetch/$s_!6Zqb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!6Zqb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71acb870-7d6a-43f4-abd0-63c88236413d_2490x1044.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.20734">using this link</a>.</p><div><hr></div><h3>4. Laguna S 2.1</h3><p>Poolside released <strong>Laguna S 2.1</strong>, an open-weight, agentic coding model. It comes with an 118B total-parameter <a href="https://www.intoai.pub/p/build-a-mixture-of-experts-layer-from-scratch">Mixture-of-Experts (MoE)</a> architecture with 8B activated parameters per token and supports a context window of 1M tokens.</p><p>The model&#8217;s performance is a result of strong post-training that rewards verification, backtracking, and persistence at tasks, using more generous rollout budgets, better RL sandbox infrastructure, and multi-harness rollouts<span> (same prompts rolled out in several agent harnesses).</span></p><p>Laguna S 2.1 performs competitively with much larger LLMs, scoring 70.2% on Terminal-Bench 2.1 and 78.5% on SWE-Bench Multilingual. Some impressive tasks that it achieves are:</p><ul><li><p>Building a basic browser engine from scratch</p></li><li><p>Improving its software harness used for training/evaluation and user interactions, making it 5.2% faster with ~70% lower memory allocation</p></li><li><p>Independently re-discovering a proof to Erd&#337;s problem #397 (<span>the first proof to the conjecture was </span><a href="https://www.erdosproblems.com/397">found earlier in January 2026 by GPT-5.2 Pro</a><span>)</span></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_!eX-y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eX-y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png 424w, https://substackcdn.com/image/fetch/$s_!eX-y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png 848w, https://substackcdn.com/image/fetch/$s_!eX-y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png 1272w, https://substackcdn.com/image/fetch/$s_!eX-y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eX-y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png" width="1196" height="1462" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1462,&quot;width&quot;:1196,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:155715,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.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_!eX-y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png 424w, https://substackcdn.com/image/fetch/$s_!eX-y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png 848w, https://substackcdn.com/image/fetch/$s_!eX-y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.png 1272w, https://substackcdn.com/image/fetch/$s_!eX-y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0670ae21-4434-46a7-9ef9-005aaf1a31b4_1196x1462.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://poolside.ai/blog/introducing-laguna-s-2-1">using this link</a>.</p><div><hr></div><h3>5. Music-JEPA</h3><p>This research paper introduces <strong>Music-JEPA</strong>, a world model that learns a world model of piano sound using JEPA by framing music as an action-conditioned system where the audio is treated as the state, and the pianoroll as the instrument action. </p><p>Given a current audio state and an action, the model predicts the resulting future audio state directly in a latent space rather than reconstructing the raw sound. The model is trained in a fully offline setting on roughly 200 hours of paired piano audio and MIDI, without environment interaction. </p><p>Experiments show that the learned model captures relationships between musical actions and their resulting sound, including pitch, timing, velocity, and pedal control, and outperforms JEPA models trained on passive audio alone.</p><p>The resulting representations can be used for downstream tasks such as beat tracking, composer identification, and key estimation, and enable piano transcription by planning, i.e., working backward to identify the actions most likely to have produced a given sound.</p><p>Although impressive, Music-JEPA focuses on classical piano with aligned MIDI, and it remains unclear how well the model scales or generalizes to broader musical settings where action annotations are unavailable.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!m0GH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m0GH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png 424w, https://substackcdn.com/image/fetch/$s_!m0GH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png 848w, https://substackcdn.com/image/fetch/$s_!m0GH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png 1272w, https://substackcdn.com/image/fetch/$s_!m0GH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!m0GH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png" width="1456" height="1086" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1086,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:396062,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.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_!m0GH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png 424w, https://substackcdn.com/image/fetch/$s_!m0GH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png 848w, https://substackcdn.com/image/fetch/$s_!m0GH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.png 1272w, https://substackcdn.com/image/fetch/$s_!m0GH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106888d4-855a-4168-9bab-8f86921eecc9_1528x1140.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.22000">using this link</a>.</p><div><hr></div><h3>6. LLM-as-a-Coach</h3><p>This research paper introduces <strong>Experiential Learning (EL)</strong>, a method for improving LLMs on open-ended tasks (such as creative writing and summarization), where there is no single correct answer.</p><p>In standard RL, an LLM is used as a judge, and its detailed evaluation is reduced to a scalar reward. In EL, an LLM is used as a coach where it evaluates the model&#8217;s responses and produces detailed guidance, which is distilled into the model&#8217;s weights through a teacher model using <a href="https://arxiv.org/pdf/2602.12275">On-policy context distillation</a>.</p><p><strong><span>LLM-as-a-Coach</span></strong><span> creates a dense supervision signal with 17,600 bits of information per sample, which is more than 5,000&#215; the bandwidth of a scalar reward.</span></p><p><span>This approach consistently outperforms rubric-based RL on held-out and unseen open-ended tasks, generalizes better beyond the training distribution, and reduces reward hacking.</span></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ytni!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ytni!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png 424w, https://substackcdn.com/image/fetch/$s_!Ytni!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png 848w, https://substackcdn.com/image/fetch/$s_!Ytni!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!Ytni!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ytni!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png" width="1456" height="973" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:973,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:380886,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.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_!Ytni!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png 424w, https://substackcdn.com/image/fetch/$s_!Ytni!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png 848w, https://substackcdn.com/image/fetch/$s_!Ytni!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.png 1272w, https://substackcdn.com/image/fetch/$s_!Ytni!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a8fa80c-370e-4f64-8042-5a449c9a83de_1946x1300.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.18110">using this link</a>.</p><div><hr></div><h3>7. Nanbeige 4.2</h3><p>This research paper introduces <strong>Nanbeige 4.2-3B</strong>, an open-weight agentic model with  strong performance in coding office tasks and complex tool-use tasks, and highly competitive reasoning capabilities in mathematics, coding, and science.</p><p>The model has only 3B non-embedding parameters and uses a Looped Transformer that sends information through the same layer stack twice to increase effective depth without adding parameters.</p><p>Nanbeige 4.2-3B was pretrained from scratch, then post-trained on execution-grounded agent trajectories and improves through multi-stage RL focused on response quality, reasoning efficiency, and stable agentic learning.</p><p>Evaluations show that it outperforms larger models such as Qwen3.5-9B and Gemma4-12B across diverse agentic benchmarks while remaining competitive on reasoning and alignment tasks. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fHnl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fHnl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png 424w, https://substackcdn.com/image/fetch/$s_!fHnl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png 848w, https://substackcdn.com/image/fetch/$s_!fHnl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png 1272w, https://substackcdn.com/image/fetch/$s_!fHnl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fHnl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png" width="1456" height="1060" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1060,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:242376,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.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_!fHnl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png 424w, https://substackcdn.com/image/fetch/$s_!fHnl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png 848w, https://substackcdn.com/image/fetch/$s_!fHnl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.png 1272w, https://substackcdn.com/image/fetch/$s_!fHnl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ebc3d82-2d81-4b4b-97e1-fd4c03a25a38_1722x1254.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.22083">using this link</a>.</p><div><hr></div><h3>8. Loop the Loopies!</h3><p>This research paper presents the <strong>Loopie series</strong> of <a href="https://www.intoai.pub/p/build-a-mixture-of-experts-layer-from-scratch">Mixture-of-Experts (MoE) models</a>:</p><ul><li><p><strong>Loopie-20B-A2B</strong>: 20B-parameter model with 2B active parameters </p></li><li><p><strong>Loopie-6B-A0.6B: </strong>6B-parameter model with 0.6B active parameters</p></li></ul><p>These models use Looped transformers, where each Transformer layer is reused twice before moving to the next layer.</p><p>Looped transformers previously faced the challenge that, on an N-times increase in pre-training compute, increasing the parameter count by a factor of N usually outperforms looping a model N times.</p><p><span>This is fixed in the&nbsp;&#8220;Loopie Recipe,&#8221; which reuses each Transformer layer twice before moving to the next, halving the number of stored layers while preserving effective depth. The saved memory is then used to increase </span>training throughput (<span>batch size and model width) under the same wall-clock budget.</span></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7cLQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7cLQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png 424w, https://substackcdn.com/image/fetch/$s_!7cLQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png 848w, https://substackcdn.com/image/fetch/$s_!7cLQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png 1272w, https://substackcdn.com/image/fetch/$s_!7cLQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7cLQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:250816,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.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_!7cLQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png 424w, https://substackcdn.com/image/fetch/$s_!7cLQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png 848w, https://substackcdn.com/image/fetch/$s_!7cLQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.png 1272w, https://substackcdn.com/image/fetch/$s_!7cLQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b82062f-ef5d-4d42-a2dd-39fc7fb2154f_2152x1210.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><span>Comparisons with a vanilla 30B-A3B model show that Loopie substantially outperforms vanilla Transformer baselines trained with the same compute budget and, with a new post-training method, reaches frontier-level reasoning performance.</span></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6z13!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6z13!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png 424w, https://substackcdn.com/image/fetch/$s_!6z13!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png 848w, https://substackcdn.com/image/fetch/$s_!6z13!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png 1272w, https://substackcdn.com/image/fetch/$s_!6z13!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6z13!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png" width="1456" height="852" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:852,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:297900,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.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_!6z13!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png 424w, https://substackcdn.com/image/fetch/$s_!6z13!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png 848w, https://substackcdn.com/image/fetch/$s_!6z13!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.png 1272w, https://substackcdn.com/image/fetch/$s_!6z13!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff92a1908-3542-416e-97b2-e07d2117dc90_2282x1336.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.16051">using this link</a>.</p><div><hr></div><h3>9. Fugu-Cyber</h3><p>Sakana AI released <strong>Fugu-Cyber</strong>, a cybersecurity-focused multi-agent orchestration system that behaves like a single model available as one API endpoint while dynamically assigning tasks to specialized agentic models.</p><p>This system is based on the <a href="https://sakana.ai/fugu/">Fugu orchestration model</a>, which dynamically orchestrates the world's best models to solve complex, multi-step problems and reach frontier-level performance without single-vendor dependency.</p><p>Fugu-Cyber achieves SOTA performance on the industry&#8217;s most challenging security benchmarks, reaching a success rate of 86.9% on CyberGym and 72.1% on CTI-REALM. </p><p>These results are comparable to leading cybersecurity-focused frontier models such as GPT-5.5-Cyber and Mythos-Preview.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ksz9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ksz9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png 424w, https://substackcdn.com/image/fetch/$s_!ksz9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png 848w, https://substackcdn.com/image/fetch/$s_!ksz9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png 1272w, https://substackcdn.com/image/fetch/$s_!ksz9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ksz9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png" width="1456" height="764" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:764,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:202266,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.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_!ksz9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png 424w, https://substackcdn.com/image/fetch/$s_!ksz9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png 848w, https://substackcdn.com/image/fetch/$s_!ksz9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.png 1272w, https://substackcdn.com/image/fetch/$s_!ksz9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01605de6-38c4-4091-ba5b-7b2c5055dde0_2020x1060.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://sakana.ai/fugu-cyber-release/">using this link</a>.</p><div><hr></div><h3>10. SANA-Video 2.0</h3><p>This research paper introduces <strong>SANA-Video 2.0</strong>, a hybrid video-generation model available at 5B and 14B scales that can generate high-quality video up to 720p on a single GPU.</p><p>The model uses hybrid Linear&#8211;Softmax Attention, which combines gated linear attention with periodic gated-softmax attention layers in a 3:1 ratio.</p><p><span>The softmax layers restore detailed token interactions that pure linear attention lacks, and these are propagated across depth (later layers) using </span><a href="https://arxiv.org/pdf/2603.15031"><span>Block Attention Residuals (AttnRes)</span></a><span>.</span></p><p>Trained from scratch, the 5B model achieves a <a href="https://vchitect.github.io/VBench-project/">VBench</a> score of 84.30 while generating 480p video in 13.2 seconds on a single H100, remaining competitive with far larger softmax video DiTs at a fraction of the latency.</p><p>Its compiled DiT forward pass is 3.2&#215; faster than a matched full-softmax baseline at 720p/60s, a gap that increases with video duration.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PIEk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PIEk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png 424w, https://substackcdn.com/image/fetch/$s_!PIEk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png 848w, https://substackcdn.com/image/fetch/$s_!PIEk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png 1272w, https://substackcdn.com/image/fetch/$s_!PIEk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PIEk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png" width="1456" height="1068" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1068,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2165424,&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.intoai.pub/i/208725001?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.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_!PIEk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png 424w, https://substackcdn.com/image/fetch/$s_!PIEk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png 848w, https://substackcdn.com/image/fetch/$s_!PIEk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.png 1272w, https://substackcdn.com/image/fetch/$s_!PIEk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F261b0f75-83bf-4be2-b208-0dc70f6023e0_1724x1264.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.21553">using this link</a>.</p><div><hr></div><p>This newsletter edition is completely free to read. Show your love by liking it, restacking it, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/this-week-in-ai-research-17-24-july?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.intoai.pub/p/this-week-in-ai-research-17-24-july?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p>]]></content:encoded></item><item><title><![CDATA[OpenAI models escaped their sandbox and hacked Hugging Face]]></title><description><![CDATA[During an internal evaluation, two OpenAI models found a zero-day vulnerability, broke out, and breached Hugging Face's production servers.]]></description><link>https://www.intoai.pub/p/openai-models-went-rouge-and-hacked-hugging-face-servers</link><guid isPermaLink="false">https://www.intoai.pub/p/openai-models-went-rouge-and-hacked-hugging-face-servers</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Wed, 22 Jul 2026 15:02:16 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!iSn8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.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_!iSn8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iSn8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png 424w, https://substackcdn.com/image/fetch/$s_!iSn8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png 848w, https://substackcdn.com/image/fetch/$s_!iSn8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!iSn8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iSn8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png&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;:3379401,&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.intoai.pub/i/208033115?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.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_!iSn8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png 424w, https://substackcdn.com/image/fetch/$s_!iSn8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png 848w, https://substackcdn.com/image/fetch/$s_!iSn8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!iSn8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2efa1376-6c1e-4541-a643-80b9aeaa88c6_1535x1024.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Hugging Face recently disclosed a security incident in its production infrastructure that is unlike anything it has handled before. This cyberattack was completely driven by an autonomous AI agent system <span>comprising GPT&#8209;5.6 Sol and a more capable unnamed pre-release model from OpenAI.</span></p><div><hr></div><h3>What went wrong?</h3><p>The attack occurred when OpenAI ran an internal evaluation on a benchmark called <a href="https://arxiv.org/abs/2605.11086">ExploitGym</a>. This benchmark tests how capable an LLM is at performing cyberattacks. Model versions with reduced cyber refusals were used in this test, and protective classifiers that prevent models from engaging in high-risk cyber activity were deliberately turned off.</p><p>The benchmark was supposed to run in a highly isolated environment. The only network access given was for installing packages using an internally hosted third-party software that acted as a proxy and cache for package registries. And this is where things all went wrong.</p><p>During evaluation, the models used a good amount of inference compute to find and exploit a zero-day vulnerability in this package registry cache proxy. They then performed a series of privilege escalation and lateral movement actions until they reached a node that had access to the Internet.</p><p>After gaining Internet access, the models worked out that Hugging Face potentially hosted models, datasets, and solutions for the ExploitGym benchmark, which they could use to cheat on the benchmark.</p><p>Using this information and over the course of the weekend, the model combined multiple attack vectors, stealing cloud and cluster credentials and exploiting zero-day vulnerabilities to identify a remote code execution path on the Hugging Face servers. This is when Hugging Face got alerted about the attack.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>How was the attack stopped?</h3><p>The cyberattack was flagged by Hugging Face&#8217;s internal anomaly-detection AI pipeline, which uses LLM-based triage on its security telemetry. Based on suspicious signals, the team decided to analyze the full attacker action log, which was made up of more than 17,000 recorded events.</p><p>They first turned to frontier commercial model APIs to analyze the logs, but these models' safety guardrails refused to process these requests. </p><p><em>This is such a big power asymmetry, since the safety guardrails held back the compromised Hugging Face team rather than stopping the attackers!</em></p><p>The team then moved towards using the open-weight <a href="https://www.intoai.pub/i/202885851/2-glm-52">GLM 5.2</a> on their own infrastructure. This worked well and ensured that attacker data and credentials never left their environment during the analysis. Using this LLM-first approach, the team was able to do in hours what would usually take days, and match the attacker&#8217;s speed.</p><p>When the attack occurred, Hugging Face was still largely unaware of which model (whether a jailbroken hosted model or an unrestricted open-weight model) was responsible for it. OpenAI&#8217;s security team, however, discovered this activity internally and in due course reported it to Hugging Face while the attack was being contained.</p><p>Hugging Face said that they found no evidence that the attack involved public, user-facing models, datasets, or Spaces. Their software supply chain (container images and published packages) was also verified to be clean.</p><div><hr></div><h3>The benchmarks saw this coming</h3><p>ExploitGym, the benchmark that was being run during this exploit, consists of 898 instances drawn from real-world vulnerabilities across three domains: userspace programs, Google&#8217;s V8 JavaScript engine, and the Linux kernel.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YvSA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YvSA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png 424w, https://substackcdn.com/image/fetch/$s_!YvSA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png 848w, https://substackcdn.com/image/fetch/$s_!YvSA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png 1272w, https://substackcdn.com/image/fetch/$s_!YvSA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YvSA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png" width="1456" height="565" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:565,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:461095,&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.intoai.pub/i/208033115?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.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_!YvSA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png 424w, https://substackcdn.com/image/fetch/$s_!YvSA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png 848w, https://substackcdn.com/image/fetch/$s_!YvSA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.png 1272w, https://substackcdn.com/image/fetch/$s_!YvSA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ae0b1c-baa1-4888-8fa9-3962ece5d8f7_2546x988.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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"><a href="https://arxiv.org/pdf/2605.11086">Source</a></figcaption></figure></div><p>Initial tests on this benchmark showed that frontier models could successfully exploit a big chunk of these vulnerabilities. Claude Mythos Preview and OpenAI&#8217;s GPT-5.5 could generate working exploits for 157 and 120 instances on this benchmark, respectively. </p><p>These offensive capabilities even remained when the widely used defenses were enabled.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-b91!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-b91!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png 424w, https://substackcdn.com/image/fetch/$s_!-b91!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png 848w, https://substackcdn.com/image/fetch/$s_!-b91!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png 1272w, https://substackcdn.com/image/fetch/$s_!-b91!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-b91!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png" width="1456" height="669" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:669,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:293892,&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.intoai.pub/i/208033115?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.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_!-b91!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png 424w, https://substackcdn.com/image/fetch/$s_!-b91!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png 848w, https://substackcdn.com/image/fetch/$s_!-b91!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.png 1272w, https://substackcdn.com/image/fetch/$s_!-b91!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ccfc118-df46-4f95-81ea-5cdfddac31bf_2114x972.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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"><a href="https://arxiv.org/pdf/2605.11086">Source</a></figcaption></figure></div><p><a href="https://www.aisi.gov.uk/blog/our-evaluation-of-openais-gpt-5-5-cyber-capabilities">The UK AI Security Institute&#8217;s evaluation</a><span>&nbsp;showed similar results, indicating that frontier models such as GPT&#8209;5.5 and Mythos/Claude could autonomously execute long-time-horizon, complex multi-step cyberattacks</span>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!58NE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!58NE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png 424w, https://substackcdn.com/image/fetch/$s_!58NE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png 848w, https://substackcdn.com/image/fetch/$s_!58NE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png 1272w, https://substackcdn.com/image/fetch/$s_!58NE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!58NE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png" width="1456" height="887" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:887,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&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_!58NE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png 424w, https://substackcdn.com/image/fetch/$s_!58NE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png 848w, https://substackcdn.com/image/fetch/$s_!58NE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.png 1272w, https://substackcdn.com/image/fetch/$s_!58NE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F540ac2de-874e-4f16-9b2c-52478651e0b3_1951x1189.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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"><a href="https://www.aisi.gov.uk/blog/our-evaluation-of-openais-gpt-5-5-cyber-capabilities">Source</a></figcaption></figure></div><p>Autonomous AI-driven cyberattacks are no longer a thing of the future. They are here. And given what the benchmarks and red-team evals have been signaling for months, it's no surprise this was coming.</p><p>Companies and organizations that still haven't prepared need to start now. This means treating the data and model surface as primary targets for attackers and putting AI to work in defense to guard against such attacks.</p><p><strong>Incidents like this will happen faster and hit harder from here. This is just the beginning.</strong></p><div><hr></div><h3>Further Reading</h3><ul><li><p><a href="https://www.aisi.gov.uk/blog/our-evaluation-of-openais-gpt-5-5-cyber-capabilities">UK AI Security Institute&#8217;s report titled &#8216;Our evaluation of OpenAI&#8217;s GPT-5.5 cyber capabilities&#8217;</a></p></li><li><p><a href="https://arxiv.org/pdf/2605.11086">ArXiv paper titled &#8216;ExploitGym: Can AI Agents Turn Security Vulnerabilities into Real Attacks?&#8217;</a></p></li><li><p><a href="https://huggingface.co/blog/security-incident-july-2026">Hugging Face&#8217;s security incident disclosure</a></p></li><li><p><a href="https://openai.com/index/hugging-face-model-evaluation-security-incident/">OpenAI&#8217;s security incident disclosure</a></p></li></ul>]]></content:encoded></item><item><title><![CDATA[This Week In AI Research (🗓️ 9-16 July 26)]]></title><description><![CDATA[The top 10 AI research papers and releases this week (Kimi K3, Inkling, WanSong v1.0, Bonsai 27B, and many more)]]></description><link>https://www.intoai.pub/p/this-week-in-ai-research-9-16-july</link><guid isPermaLink="false">https://www.intoai.pub/p/this-week-in-ai-research-9-16-july</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Wed, 22 Jul 2026 09:14:26 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!cKBV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.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_!cKBV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cKBV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png 424w, https://substackcdn.com/image/fetch/$s_!cKBV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png 848w, https://substackcdn.com/image/fetch/$s_!cKBV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png 1272w, https://substackcdn.com/image/fetch/$s_!cKBV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cKBV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png" width="1456" height="969" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:969,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3049475,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.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_!cKBV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png 424w, https://substackcdn.com/image/fetch/$s_!cKBV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png 848w, https://substackcdn.com/image/fetch/$s_!cKBV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.png 1272w, https://substackcdn.com/image/fetch/$s_!cKBV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cbde0a3-193a-442d-b3e8-ae5968e4aacb_1537x1023.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><h3>1. Kimi K3</h3><p>Moonshot AI released <strong>Kimi K3</strong>, the world's first open 3T-parameter class model, designed for frontier intelligence across long-horizon coding, knowledge work with native vision, and reasoning. </p><p>The model has 2.8T parameters and comes with a 1M-token context window. It uses <a href="https://arxiv.org/abs/2510.26692">Kimi Delta Attention</a>, <a href="https://arxiv.org/pdf/2603.15031">Attention Residuals</a>, and a highly sparse <a href="https://www.intoai.pub/p/build-and-train-a-mixture-of-experts">MoE architecture</a> (Stable <a href="https://www.intoai.pub/p/latent-mixture-of-experts">LatentMoE</a>) that activates 16 of 896 experts, resulting in 2.5&#215; better scaling efficiency than Kimi K2.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WGSp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WGSp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png 424w, https://substackcdn.com/image/fetch/$s_!WGSp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png 848w, https://substackcdn.com/image/fetch/$s_!WGSp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png 1272w, https://substackcdn.com/image/fetch/$s_!WGSp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WGSp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png" width="1406" height="1284" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1284,&quot;width&quot;:1406,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:218010,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.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_!WGSp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png 424w, https://substackcdn.com/image/fetch/$s_!WGSp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png 848w, https://substackcdn.com/image/fetch/$s_!WGSp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png 1272w, https://substackcdn.com/image/fetch/$s_!WGSp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23f1f515-32bc-4cf1-a376-ef9bb1042c56_1406x1284.png 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>While its overall performance still remains behind the most powerful proprietary models, Claude Fable 5 and GPT 5.6 Sol, Kimi K3 shows frontier-level performance across diverse benchmarks, consistently outperforming other tested models.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UCEf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UCEf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png 424w, https://substackcdn.com/image/fetch/$s_!UCEf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png 848w, https://substackcdn.com/image/fetch/$s_!UCEf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png 1272w, https://substackcdn.com/image/fetch/$s_!UCEf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UCEf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png" width="1456" height="817" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:817,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:468877,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.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_!UCEf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png 424w, https://substackcdn.com/image/fetch/$s_!UCEf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png 848w, https://substackcdn.com/image/fetch/$s_!UCEf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png 1272w, https://substackcdn.com/image/fetch/$s_!UCEf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe899767d-1aa3-429f-9e1e-9b211937162e_2106x1182.png 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Some limitations of the model are that it performs less reliably when earlier reasoning steps or important context are missing. It also tends to act too proactively when user instructions are unclear, making unexpected decisions on the user's behalf.</p><p>Read the technical blog <a href="https://www.kimi.com/blog/kimi-k3">using this link</a>.</p><div><hr></div><p><span>Before we move forward, I want to introduce you to my book, &#8216;</span><strong>LLMs In 100 Images</strong><span>&#8217;.</span></p><p>It is a collection of 100 easy-to-follow visuals that describe the most important concepts you need to master to understand LLMs today.</p><p>I&#8217;m offering a <strong>limited-time 30% discount</strong>, which you can claim using the button below.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30&quot;,&quot;text&quot;:&quot;Get a 30% discount today&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30"><span>Get a 30% discount today</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BTCC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" width="728" height="420" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:840,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:523783,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><h3>2.xHC: Expanded Hyper-Connections</h3><p><a href="https://arxiv.org/abs/2409.19606">Hyper-Connections (HC)</a> expand the residual stream of Transformers into <code>N</code> multiple parallel streams, which enables memory scaling beyond model width and depth, while <a href="https://arxiv.org/abs/2512.24880">Manifold-Constrained HC (mHC)</a> stabilizes this approach at scale.</p><p>However, scaling mHC beyond <code>N=4</code> leads to diminishing performance gains and rapidly increasing training cost because very little information is written back across the growing number of streams, while residual-mixing generation scales cubically with <code>N</code>.</p><p>This research paper addresses this by introducing <strong>xHC (Expanded Hyper-Connections)</strong>, the first HC-family method to achieve meaningful expansion beyond <code>N=4</code>. xHC does this by maintaining 16 readable streams, providing dense access to the full residual state, while updating only 4 streams at each layer.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jyho!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jyho!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png 424w, https://substackcdn.com/image/fetch/$s_!jyho!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png 848w, https://substackcdn.com/image/fetch/$s_!jyho!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png 1272w, https://substackcdn.com/image/fetch/$s_!jyho!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jyho!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png" width="1456" height="959" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:959,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:399180,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.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_!jyho!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png 424w, https://substackcdn.com/image/fetch/$s_!jyho!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png 848w, https://substackcdn.com/image/fetch/$s_!jyho!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.png 1272w, https://substackcdn.com/image/fetch/$s_!jyho!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a98aeb5-0f5d-4d81-8605-3473928b84e5_1962x1292.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>xHC improves performance across knowledge, reasoning, coding, and Chinese-language benchmarks across MoE models. To reach the same training loss, standard Transformers and mHC require 1.50&#215; and 1.19&#215; as much compute as xHC, respectively.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zkHd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zkHd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png 424w, https://substackcdn.com/image/fetch/$s_!zkHd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png 848w, https://substackcdn.com/image/fetch/$s_!zkHd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png 1272w, https://substackcdn.com/image/fetch/$s_!zkHd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zkHd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png" width="1456" height="499" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:499,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:448643,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.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_!zkHd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png 424w, https://substackcdn.com/image/fetch/$s_!zkHd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png 848w, https://substackcdn.com/image/fetch/$s_!zkHd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.png 1272w, https://substackcdn.com/image/fetch/$s_!zkHd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00d3a321-dcdb-4d86-b06e-38add1ed2fa3_2720x932.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research paper <a href="https://arxiv.org/pdf/2607.14530">using this link</a>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>3. VideoChat3</h3><p><strong>VideoChat3</strong> is a fully open (model weights, training code, training strategy, and complete training datasets), 4B-parameter multimodal model with generalist video-centric capabilities.</p><p>VideoChat3 uses the Inflated 3D Vision Transformer (I3D-ViT) and adaptive frame resolution to efficiently compress video while preserving spatiotemporal information, and reduces the cost of processing video inputs during training and inference.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!W_wk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!W_wk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png 424w, https://substackcdn.com/image/fetch/$s_!W_wk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png 848w, https://substackcdn.com/image/fetch/$s_!W_wk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png 1272w, https://substackcdn.com/image/fetch/$s_!W_wk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!W_wk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png" width="1456" height="994" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:994,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:921023,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.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_!W_wk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png 424w, https://substackcdn.com/image/fetch/$s_!W_wk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png 848w, https://substackcdn.com/image/fetch/$s_!W_wk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.png 1272w, https://substackcdn.com/image/fetch/$s_!W_wk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ec4b50d-1b96-4e5d-bec6-ee51c3d5a744_1896x1294.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Trained on roughly 3 million instruction samples, VideoChat3 achieves a rare balance of broad generalization and computational efficiency, outperforming prior open-source models with equal or larger parameter counts while using only 4B parameters.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!b3h_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b3h_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png 424w, https://substackcdn.com/image/fetch/$s_!b3h_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png 848w, https://substackcdn.com/image/fetch/$s_!b3h_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png 1272w, https://substackcdn.com/image/fetch/$s_!b3h_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!b3h_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png" width="1456" height="804" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:804,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1266856,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.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_!b3h_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png 424w, https://substackcdn.com/image/fetch/$s_!b3h_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png 848w, https://substackcdn.com/image/fetch/$s_!b3h_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.png 1272w, https://substackcdn.com/image/fetch/$s_!b3h_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49700a-bf73-49d9-82b5-7983596b8859_2370x1308.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.14935">using this link</a>.</p><div><hr></div><h3>4. Inkling</h3><p>Thinking Machines Lab released <strong>Inkling</strong>, an open-weight model for reasoning, coding, tool use, and multimodal tasks. It uses the <a href="https://www.intoai.pub/p/build-and-train-a-mixture-of-experts">Mixture-of-Experts</a> architecture with 975B total parameters and 41B active parameters, and supports a context window of up to 1M tokens.</p><p>Alongside this, the team released a preview of <strong>Inkling-Small</strong>, a lighter-weight model with 12B active parameters, trained with a similar recipe, that achieves strong performance with even lower cost and latency.</p><p>Inkling comes with adjustable reasoning effort and can be fine-tuned through the <a href="https://thinkingmachines.ai/tinker/">Tinker platform</a>.</p><p>While it is not the strongest overall model available today (open or closed), its diverse capabilities make it a good open-weights base for customization.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zH6y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zH6y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png 424w, https://substackcdn.com/image/fetch/$s_!zH6y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png 848w, https://substackcdn.com/image/fetch/$s_!zH6y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png 1272w, https://substackcdn.com/image/fetch/$s_!zH6y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zH6y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png" width="1438" height="1410" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1410,&quot;width&quot;:1438,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:323079,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.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_!zH6y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png 424w, https://substackcdn.com/image/fetch/$s_!zH6y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png 848w, https://substackcdn.com/image/fetch/$s_!zH6y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.png 1272w, https://substackcdn.com/image/fetch/$s_!zH6y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba49d42-42e2-4db8-847b-f92c223d26bc_1438x1410.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read the technical blog <a href="https://thinkingmachines.ai/news/introducing-inkling/">using this link</a>.</p><div><hr></div><h3>5. AIDE&#178;: The First Evidence of Recursive Self-Improvement</h3><p><span>AIDE</span><sup><span>2</span></sup><span> is a recursive self-improvement (RSI) system that uses two autoresearch loops:</span></p><ul><li><p>An inner loop that functions as a normal autoresearch agent, optimizing code against an eval.</p></li><li><p>An outer loop that optimizes the inner-loop agent&#8217;s harness code.</p></li></ul><p>Over 100 autonomous outer-loop iterations running for eight days, AIDE<sup>2</sup>:</p><ul><li><p>Discovered 7 successive improved versions of AIDE</p></li><li><p>Developed a new search algorithm</p></li><li><p>Reduced the prompt size by 16&#215;</p></li><li><p>Outperformed a manually tuned agent that had been iterated on for two years, on several unseen tasks under a fixed compute budget</p></li><li><p>Reduced reward hacking on a held-out GPU benchmark from 63% to 34%</p></li></ul><div class="native-video-embed" data-component-name="VideoPlaceholder" data-attrs="{&quot;mediaUploadId&quot;:&quot;8fbe33ca-ccc0-4085-a8f2-f81177248632&quot;,&quot;duration&quot;:null}"></div><p>The team describes this as &#8220;Level 1&#8221; recursive self-improvement because the system improved itself more efficiently than human researchers. However, it did not reach &#8220;Level 2&#8221; or &#8220;Ignition,&#8221; because the improved agent was not conclusively better at running the outer self-improvement loop, and its evolved code became complex and difficult to maintain.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!duTe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!duTe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png 424w, https://substackcdn.com/image/fetch/$s_!duTe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png 848w, https://substackcdn.com/image/fetch/$s_!duTe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!duTe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!duTe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png" width="1456" height="929" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:929,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;The RSI ladder: delegation, net positive (this report), ignition, inflection&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 RSI ladder: delegation, net positive (this report), ignition, inflection" title="The RSI ladder: delegation, net positive (this report), ignition, inflection" srcset="https://substackcdn.com/image/fetch/$s_!duTe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png 424w, https://substackcdn.com/image/fetch/$s_!duTe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png 848w, https://substackcdn.com/image/fetch/$s_!duTe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!duTe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b2ef43b-6ce4-42f7-af35-8f7a21d98604_1880x1200.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read the technical blog <a href="https://www.weco.ai/blog/first-evidence-of-recursive-self-improvement">using this link</a>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>6. WanSong v1.0 </h3><p>WanSong is Alibaba&#8217;s pure diffusion-based model for generating commercial-grade, multilingual songs up to 5 minutes long. Trained on more than six million hours of audio, the model produces complete audio in a single run and separately outputs vocals and background music.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7yeb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7yeb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png 424w, https://substackcdn.com/image/fetch/$s_!7yeb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png 848w, https://substackcdn.com/image/fetch/$s_!7yeb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png 1272w, https://substackcdn.com/image/fetch/$s_!7yeb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7yeb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png" width="1456" height="629" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:629,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:331799,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.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_!7yeb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png 424w, https://substackcdn.com/image/fetch/$s_!7yeb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png 848w, https://substackcdn.com/image/fetch/$s_!7yeb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.png 1272w, https://substackcdn.com/image/fetch/$s_!7yeb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20579984-a827-4e00-9b88-a33b425f3fa5_2338x1010.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>On a multilingual and multi-genre benchmark, WanSong achieved the lowest reported pronunciation error and the highest musicality score compared with LeVo, Mureka V7.6, and Suno V5.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Y-JG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Y-JG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png 424w, https://substackcdn.com/image/fetch/$s_!Y-JG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png 848w, https://substackcdn.com/image/fetch/$s_!Y-JG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png 1272w, https://substackcdn.com/image/fetch/$s_!Y-JG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Y-JG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png" width="1456" height="529" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:529,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:170503,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.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_!Y-JG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png 424w, https://substackcdn.com/image/fetch/$s_!Y-JG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png 848w, https://substackcdn.com/image/fetch/$s_!Y-JG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.png 1272w, https://substackcdn.com/image/fetch/$s_!Y-JG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78b4396d-17ca-47cc-988c-f6261a9c618f_1702x618.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.14749">using this link</a>.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>7. Bonsai 27B</h3><p><strong><span>Bonsai 27B</span></strong><span> is PrismML's new multimodal model based on Qwen3.6 27B, capable of multi-step reasoning, structured tool calls, vision tasks, and agentic loops for computer use.</span><br><br><span>Models of this size typically require 54GB of memory at 16-bit precision (27B &#215; 2 bytes per parameter). This far exceeds the memory of any typical phone.</span><br><br><span>Bonsai 27B changes this with its two variants: </span></p><ol><li><p><span>Ternary Bonsai 27B: Uses ternary {&#8722;1, 0, +1} weights with FP16 group-wise scaling, leading to 1.71 effective bits per weight. This totals 5.9 GB of memory, which makes it suitable for running on an everyday laptop.</span></p></li><li><p><span>1-bit Bonsai 27B uses binary {&#8722;1, +1} weights with FP16 group-wise scaling, leading to 1.125 effective bits per weight. This totals 3.9 GB, which means it fits and runs comfortably on an iPhone 17 Pro Max.</span></p></li></ol><p>Ternary Bonsai 27B achieves 95% of the full-precision baseline, and 1-bit Bonsai 27B achieves 90% across 15 benchmarks in knowledge, reasoning, math, coding, instruction following, tool calling, and vision.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ffrg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ffrg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png 424w, https://substackcdn.com/image/fetch/$s_!Ffrg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png 848w, https://substackcdn.com/image/fetch/$s_!Ffrg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png 1272w, https://substackcdn.com/image/fetch/$s_!Ffrg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ffrg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png" width="1456" height="772" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:772,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:180954,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.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_!Ffrg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png 424w, https://substackcdn.com/image/fetch/$s_!Ffrg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png 848w, https://substackcdn.com/image/fetch/$s_!Ffrg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.png 1272w, https://substackcdn.com/image/fetch/$s_!Ffrg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd090afe-ce05-46eb-8f2b-27560bcb1184_1652x876.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LWXe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LWXe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png 424w, https://substackcdn.com/image/fetch/$s_!LWXe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png 848w, https://substackcdn.com/image/fetch/$s_!LWXe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png 1272w, https://substackcdn.com/image/fetch/$s_!LWXe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LWXe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png" width="1456" height="696" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:696,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:451070,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.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_!LWXe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png 424w, https://substackcdn.com/image/fetch/$s_!LWXe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png 848w, https://substackcdn.com/image/fetch/$s_!LWXe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.png 1272w, https://substackcdn.com/image/fetch/$s_!LWXe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63e94964-ca58-4b8a-b1a7-bd748f0573d4_2392x1144.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read the technical blog <a href="https://prismml.com/news/bonsai-27b">using this link</a>.</p><div><hr></div><h3>8. Mach-Mind-4-Flash</h3><p><span>This research presents&nbsp;</span><strong>Mach-Mind-4-Flash</strong><span>, a 35B-parameter Mixture-of-Experts (MoE) agentic model (3B activated) that, through post-training optimization alone, achieves performance on par with or surpassing that of 100B-parameter-class models.</span> </p><p>Its three-stage training pipeline combines:</p><ol><li><p>A unified RL and on-policy distillation infrastructure, with dynamic multi-teacher scheduling and operator-level acceleration, which gives it a 17% end-to-end training speedup</p></li><li><p>Multiple domain-specific RL experts trained in parallel across Reasoning, General, and Agent tracks, then combined into a single generalist using <a href="https://arxiv.org/abs/2606.30406">Multi-Teacher On-Policy Distillation (MOPD)</a></p></li><li><p><a href="https://arxiv.org/abs/2606.01934">Hybrid Median-length Policy Optimization (HMPO)</a>, which compresses reasoning chains by 19&#8211;46% with not more than a 0.7-point loss in accuracy.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bVm-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bVm-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png 424w, https://substackcdn.com/image/fetch/$s_!bVm-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png 848w, https://substackcdn.com/image/fetch/$s_!bVm-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png 1272w, https://substackcdn.com/image/fetch/$s_!bVm-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bVm-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png" width="1456" height="928" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:928,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1412379,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.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_!bVm-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png 424w, https://substackcdn.com/image/fetch/$s_!bVm-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png 848w, https://substackcdn.com/image/fetch/$s_!bVm-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.png 1272w, https://substackcdn.com/image/fetch/$s_!bVm-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee92976a-7d80-4528-97c8-9342e66ebce5_1776x1132.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Mach-Mind-4-Flash scores competitively matching or outperforming models with 10-30&#215; its activated size while using substantially less inference compute.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SNml!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SNml!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png 424w, https://substackcdn.com/image/fetch/$s_!SNml!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png 848w, https://substackcdn.com/image/fetch/$s_!SNml!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png 1272w, https://substackcdn.com/image/fetch/$s_!SNml!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SNml!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png" width="1456" height="838" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:838,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:340589,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.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_!SNml!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png 424w, https://substackcdn.com/image/fetch/$s_!SNml!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png 848w, https://substackcdn.com/image/fetch/$s_!SNml!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.png 1272w, https://substackcdn.com/image/fetch/$s_!SNml!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed6998e-da77-4588-a367-ddbba15ed6dc_2012x1158.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about the research <a href="https://arxiv.org/pdf/2607.09375">using this link</a>.</p><div><hr></div><h3><strong>9. Value Leakage: An LLM&#8217;s Answers Are Silently Shaped by Its Own Values</strong></h3><p>This research identifies a type of misalignment in LLMs called <strong>Covert value leakage</strong>. This is when the information provided by an LLM is influenced by its own values, and this influence is never disclosed to the user.</p><p>For example, when a user asks whether they are considering investing in an AI company and wants to know how likely the AI bubble is to pop, Claude Opus 4.8 gives a lower probability when the company under consideration is Anthropic rather than OpenAI, without disclosing this influence to the user.</p><p>The research shows that models are influenced by different types of values, including:</p><ul><li><p>Preferences for morally good outcomes</p></li><li><p>Preferences for the company that developed them</p></li><li><p>Preferences for some human leisure activities over others</p></li></ul><p>Models differed in how openly they revealed these biases. For example, Claude models falsely claim to provide unbiased answers during chain-of-thought reasoning, whereas Qwen models explain how their values bias their answers.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!87Qc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!87Qc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png 424w, https://substackcdn.com/image/fetch/$s_!87Qc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png 848w, https://substackcdn.com/image/fetch/$s_!87Qc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png 1272w, https://substackcdn.com/image/fetch/$s_!87Qc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!87Qc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png" width="1456" height="951" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:951,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:481618,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.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_!87Qc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png 424w, https://substackcdn.com/image/fetch/$s_!87Qc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png 848w, https://substackcdn.com/image/fetch/$s_!87Qc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.png 1272w, https://substackcdn.com/image/fetch/$s_!87Qc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0cef928-66b3-4106-ab45-3db505069ac4_1776x1160.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.14345">using this link</a>.</p><div><hr></div><h3>10. On-Policy Delta Distillation</h3><p><a href="https://arxiv.org/abs/2306.13649">On-policy distillation (OPD)</a> is an RL post-training method that trains a student model based on its own responses using token-level feedback from a stronger teacher model. This encourages the student model to generate tokens that the teacher prefers.</p><p>This research paper improves OPD by introducing a new distillation reward, called the &#8216;delta signal&#8217;, instead of the teacher&#8217;s output distribution.</p><p>The delta signal is the difference between the teacher model and its base model prior to post-training for reasoning. This helps capture and transfer the reasoning skills gained during the teacher model&#8217;s post-training rather than copying all of its knowledge and style. This new approach is termed <strong>On-Policy Delta Distillation (OPD<sup>2</sup>)</strong>.</p><p>Experiments across mathematics, science, and code-reasoning benchmarks show that OPD<sup>2</sup><strong><sup> </sup></strong>consistently outperforms conventional on-policy distillation. However, it requires access to both the teacher and its base model and increases training time compared with standard OPD.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UCcR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UCcR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png 424w, https://substackcdn.com/image/fetch/$s_!UCcR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png 848w, https://substackcdn.com/image/fetch/$s_!UCcR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png 1272w, https://substackcdn.com/image/fetch/$s_!UCcR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UCcR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png" width="1456" height="729" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:729,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:331709,&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.intoai.pub/i/207538555?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.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_!UCcR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png 424w, https://substackcdn.com/image/fetch/$s_!UCcR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png 848w, https://substackcdn.com/image/fetch/$s_!UCcR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.png 1272w, https://substackcdn.com/image/fetch/$s_!UCcR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3448b3ed-8f89-4f2d-a0b6-b8fcc76afe8d_2268x1136.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.15161">using this link</a>.</p><div><hr></div><p>This newsletter edition is completely free to read. Show your love by liking it, restacking it, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/this-week-in-ai-research-9-16-july?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.intoai.pub/p/this-week-in-ai-research-9-16-july?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p><strong>Join the paid tier today to get access to all posts in this newsletter</strong>, including:</p><ul><li><p>&#127752; <a href="https://www.intoai.pub/p/pytorch-essentials">20 PyTorch Concepts, Explained Simply</a></p></li><li><p>&#129489;&#127995;&#8205;&#128187; <a href="https://www.intoai.pub/p/building-your-first-ai-agent">Building Your First AI Agent</a></p></li><li><p>&#128126; <a href="https://www.intoai.pub/p/tiny-recursive-model">Tiny Recursive Model (TRM): A Deep Dive</a></p></li><li><p>&#128119;&#127996;&#8205;&#9794;&#65039; <a href="https://www.intoai.pub/p/build-a-vector-database-from-scratch">Build A Vector Database From Scratch To Understand RAG In Depth</a></p></li><li><p>&#128640; <a href="https://www.intoai.pub/p/build-a-mixture-of-experts-layer-from-scratch">Build a Mixture-of-Experts (MoE) Layer from Scratch</a></p></li></ul><p>and so many more!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber today&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe"><span>Become a paid subscriber today</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[How to Read AI/ML Research Papers]]></title><description><![CDATA[(Without burning out)]]></description><link>https://www.intoai.pub/p/how-to-keep-up-with-aiml-research</link><guid isPermaLink="false">https://www.intoai.pub/p/how-to-keep-up-with-aiml-research</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Sat, 18 Jul 2026 18:07:47 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!McnR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.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_!McnR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!McnR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png 424w, https://substackcdn.com/image/fetch/$s_!McnR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png 848w, https://substackcdn.com/image/fetch/$s_!McnR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png 1272w, https://substackcdn.com/image/fetch/$s_!McnR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!McnR!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png" width="1200" height="675" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d638d360-73a9-45a1-8067-4501db45970e_1672x941.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:2641076,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!McnR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png 424w, https://substackcdn.com/image/fetch/$s_!McnR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png 848w, https://substackcdn.com/image/fetch/$s_!McnR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.png 1272w, https://substackcdn.com/image/fetch/$s_!McnR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd638d360-73a9-45a1-8067-4501db45970e_1672x941.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>AI/ML research is hard to keep up with. I have found three main reasons for this:</p><ol><li><p>Many engineers are not used to reading math-heavy research papers</p></li><li><p>The language of research papers is dense and requires strong foundations to understand</p></li><li><p>There is just too much research being published every day, and it&#8217;s tough to read it all</p></li></ol><p>Let&#8217;s address each of these issues one by one to make AI/ML research easy to follow.</p><div><hr></div><p><span>Before we start, I want to introduce you to my book, &#8216;</span><strong>LLMs In 100 Images</strong><span>&#8217;.</span></p><p>It is a collection of 100 easy-to-follow visuals that describe the most important concepts you need to master to understand LLMs today.</p><p>I&#8217;m offering a limited-time 30% discount, which you can claim using the button below.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30&quot;,&quot;text&quot;:&quot;Get a 30% discount today&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://bamaniaashish.gumroad.com/l/llmbook/LLMFLASH30"><span>Get a 30% discount today</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BTCC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BTCC!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png" width="1200" height="692.3076923076923" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:840,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:523783,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BTCC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 424w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 848w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.png 1272w, https://substackcdn.com/image/fetch/$s_!BTCC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F60cab9c7-4fe0-4d39-9d5a-8f55e9f911fc_2074x1196.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><h3>Math-heavy papers &amp; what to do about them?</h3><p>Check out a paragraph from the research paper titled &#8216;<em><a href="https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf">Improving Language Understanding by Generative Pre-Training</a>&#8217;, </em>which introduces the <a href="https://www.intoai.pub/p/build-a-decoder-only-transformer">GPT architecture</a>.</p><p>The paragraph describes the pretraining objective that is maximized during LLM training.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1S5d!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1S5d!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png 424w, https://substackcdn.com/image/fetch/$s_!1S5d!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png 848w, https://substackcdn.com/image/fetch/$s_!1S5d!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png 1272w, https://substackcdn.com/image/fetch/$s_!1S5d!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1S5d!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png" width="1456" height="347" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:347,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:94230,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.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_!1S5d!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png 424w, https://substackcdn.com/image/fetch/$s_!1S5d!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png 848w, https://substackcdn.com/image/fetch/$s_!1S5d!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png 1272w, https://substackcdn.com/image/fetch/$s_!1S5d!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F650c5bd3-bccf-42b9-af23-47e7628a1b7a_1694x404.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>It looks intimidating, but it actually isn't. It is written this way because math is a great way to condense ideas and concepts and avoid verbosity.</p><p>To make it easy to understand, simply pass it to an LLM with a simple prompt as follows.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!oqAG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oqAG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.png 424w, https://substackcdn.com/image/fetch/$s_!oqAG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.png 848w, https://substackcdn.com/image/fetch/$s_!oqAG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.png 1272w, https://substackcdn.com/image/fetch/$s_!oqAG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oqAG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.png" width="1386" height="464" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f946c3bc-f063-4143-8bec-88dea1864895_1386x464.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:464,&quot;width&quot;:1386,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:78954,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.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_!oqAG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.png 424w, https://substackcdn.com/image/fetch/$s_!oqAG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.png 848w, https://substackcdn.com/image/fetch/$s_!oqAG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.png 1272w, https://substackcdn.com/image/fetch/$s_!oqAG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff946c3bc-f063-4143-8bec-88dea1864895_1386x464.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Image of the equation and the prompt passed to Claude</figcaption></figure></div><p>And this is what you get as a response.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!A1Om!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!A1Om!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png 424w, https://substackcdn.com/image/fetch/$s_!A1Om!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png 848w, https://substackcdn.com/image/fetch/$s_!A1Om!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!A1Om!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!A1Om!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png" width="1286" height="1200" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1200,&quot;width&quot;:1286,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:331527,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.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_!A1Om!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png 424w, https://substackcdn.com/image/fetch/$s_!A1Om!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png 848w, https://substackcdn.com/image/fetch/$s_!A1Om!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!A1Om!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5574b4b4-5aee-4b56-95fa-90ee1c5e4238_1286x1200.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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">Response from Claude</figcaption></figure></div><p>You could also prompt an LLM further to explain a concept in more detail or, with step-by-step examples, if you&#8217;re still struggling to understand something.</p><p>All thanks to LLMs, this is one of the best (and judgment-free) ways to understand math-heavy research papers. </p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h3>&#8220;Should I read a math book before reading a research paper?&#8221;</h3><p>There are two ways to approach the mathematics in AI/ML research:</p><ol><li><p><strong>Bottom-up:</strong> Read all the foundational math first (Linear algebra, calculus, control theory, mathematical optimization, and so on), and then start reading AI/ML research.</p></li><li><p><strong>Top-down: </strong>Read an AI/ML research paper first and then learn the relevant math.</p></li></ol><p>I&#8217;ve followed both approaches in the past and found that the &#8216;Bottom-up&#8217; one simply took too much time and effort, making it impractical. (I was stuck trying to learn all the different ways to integrate equations and multiply matrices, which later proved to be of not much use.)</p><p>I have long since dropped this approach and now read research papers first, then go &#8216;Top-down&#8217; to read only the math essential to understanding the paper. This is what I find most efficient and recommend to you, unless you&#8217;re absolutely new to math (which is usually not the case for engineers).</p><div><hr></div><h3>Dense language &amp; what to do about it?</h3><p>Research papers are deliberately written concisely, avoiding verbosity. Otherwise, a single one would have pages enough to fill an entire textbook.</p><p>Here&#8217;s an excerpt from &#8216;<em><a href="https://arxiv.org/pdf/1706.03762">Attention is all you need</a></em>&#8217;, the famous research paper that introduces the <a href="https://blog.algomaster.io/p/transformer-architecture">Transformer architecture</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HKpo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HKpo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png 424w, https://substackcdn.com/image/fetch/$s_!HKpo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png 848w, https://substackcdn.com/image/fetch/$s_!HKpo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png 1272w, https://substackcdn.com/image/fetch/$s_!HKpo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HKpo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png" width="1456" height="618" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:618,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:242088,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.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_!HKpo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png 424w, https://substackcdn.com/image/fetch/$s_!HKpo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png 848w, https://substackcdn.com/image/fetch/$s_!HKpo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.png 1272w, https://substackcdn.com/image/fetch/$s_!HKpo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc1096bf-5645-495d-b973-ebc775b96e2b_1942x824.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>This short text introduces you to roughly a dozen concepts, including:</p><ul><li><p>Recurrent neural networks</p></li><li><p>LSTM</p></li><li><p>GRU</p></li><li><p>Sequence modeling/ Language modeling</p></li><li><p>Machine translation</p></li><li><p>Encoder-Decoder architectures</p></li><li><p>Sequential computation precluding parallelization</p></li><li><p>Memory constraints limiting batching across examples</p></li><li><p>Factorization tricks</p></li><li><p>Conditional computation, and so on.</p></li></ul><p>To a person just getting introduced to AI/ML research, this is a nightmare.</p><p>Here are three ways to read and understand such dense language:</p><ol><li><p><strong>Scan and read in passes</strong></p><p>Give yourself time and read the research paper in multiple passes rather than in one go. First, scan the research paper to get its basic layout and reassure yourself that the paper does not go on and on forever. (<em>Sounds silly, but it works.</em>) Then, patiently read each section one at a time.</p><p>If you&#8217;re completely new to AI/ML research, there&#8217;s a high chance that none of it will make any sense in the first go. <strong>This is completely normal.</strong></p></li><li><p><strong>Let an LLM expand the dense sections</strong></p><p><span>Pass each dense paragraph one at a time to an LLM and ask it to &#8220;</span><em><span>Explain this paragraph line by line in simple words.</span></em><span>&#8221; Take your time to understand the concepts, and keep returning to the earlier sections until everything fits together in a coherent sequence.</span></p></li><li><p><strong><span>Don&#8217;t let the jargon overwhelm you</span></strong></p><p><span>Look up unfamiliar terms with a simple web search and follow references.</span></p></li></ol><p>If you follow these steps patiently, I promise everything will eventually start making sense.</p><div><hr></div><h3><span>Too long, too many, no time</span></h3><p><span>Now, if you&#8217;re completely comfortable with reading AI/ML research, there&#8217;s a chance that you might feel overwhelmed by the number of research papers being published. Each paper is 15-20+ pages long, and hundreds to thousands land on arXiv every day.</span></p><p><span>Finding the relevant ones, let alone reading everything published each day, seems impossible.</span></p><p><span>I solve this by simply curating my social feeds (I mostly use LinkedIn and Substack) towards AI/ML research, releases, and developments. </span></p><p><span>Here are some accounts that you could follow on LinkedIn that talk about AI and ML:</span></p><ul><li><p><a href="https://www.linkedin.com/in/yann-lecun/">Yann LeCun</a></p></li><li><p><a href="https://www.linkedin.com/in/sebastianraschka/?skipRedirect=true">Sebastian Raschka</a></p></li><li><p><a href="https://www.linkedin.com/in/cwolferesearch/">Cameron R. Wolfe</a></p></li><li><p><a href="https://www.linkedin.com/in/ignacio-de-gregorio-noblejas/">Ignacio de Gregorio Noblejas</a></p></li><li><p><a href="https://www.linkedin.com/in/debarghyadas/">Deedy Das</a></p></li><li><p><a href="https://www.linkedin.com/in/karunt/">Karun Thankachan</a></p></li><li><p><a href="https://www.linkedin.com/in/ashishbamania/">Dr. Ashish Bamania</a></p></li></ul><p>Here are some of my recommendations from Substack in the AI/ ML engineering,  trends, and macroeconomics space:</p><ul><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Sebastian Raschka, PhD&quot;,&quot;id&quot;:27393275,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F61f4c017-506f-4e9b-a24f-76340dad0309_800x800.jpeg&quot;,&quot;uuid&quot;:&quot;44e0d564-b2d0-4387-8586-63beb54650cb&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Cameron R. Wolfe, Ph.D.&quot;,&quot;id&quot;:29736521,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/69aba7df-b571-4609-aa47-fc2d031c11b8_1242x1595.jpeg&quot;,&quot;uuid&quot;:&quot;1197a5ee-4be8-4ec3-aaf2-82b078b30980&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Daniel Warfield&quot;,&quot;id&quot;:151611310,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3c4f4b96-7fdb-4be6-bc14-70ade0048895_800x934.png&quot;,&quot;uuid&quot;:&quot;a4104f82-c68d-4065-a887-56d17d91532e&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Dylan Patel&quot;,&quot;id&quot;:21783302,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/adcf9d53-769e-4d9e-8982-30c3dc8488dc_501x527.png&quot;,&quot;uuid&quot;:&quot;58b17437-85e2-40f7-8bc3-7b0a36c41c40&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Neo Kim&quot;,&quot;id&quot;:135589200,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c103940f-0d8b-47e7-9a33-013202e17bb8_389x389.jpeg&quot;,&quot;uuid&quot;:&quot;16dfc798-338e-44fd-83b9-af30c1193125&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Babbage&quot;,&quot;id&quot;:102722254,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82525b9c-ee3c-4996-916c-54267a4d354b_416x416.png&quot;,&quot;uuid&quot;:&quot;2233334c-8c23-446f-bd8c-028acb20bdb1&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Jose Parre&#241;o Garcia&quot;,&quot;id&quot;:255728031,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!h_mv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c4dad41-478b-4960-a5e0-98ed1e54657e_1168x1046.jpeg&quot;,&quot;uuid&quot;:&quot;bf75c51f-9100-4389-ab93-4fa44425b457&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Ivan Landabaso&quot;,&quot;id&quot;:12479575,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2ff621d2-4d64-4ca2-af4c-1c44c93e7b68_1024x1024.jpeg&quot;,&quot;uuid&quot;:&quot;f9beb628-9d56-4c84-ab61-6b0f4b4bd5e8&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Prof. Tom Yeh&quot;,&quot;id&quot;:105138944,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!qiqn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1c7fa3c-71fa-44a4-bf32-d68e25f2e534_800x800.jpeg&quot;,&quot;uuid&quot;:&quot;5fdd0e1f-2780-4b68-8e81-820dc2f5fbd5&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Maarten Grootendorst&quot;,&quot;id&quot;:14309499,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F074f5565-4619-4c18-9ca5-519f7291e5f5_1664x1664.jpeg&quot;,&quot;uuid&quot;:&quot;2bc2dc63-7a95-4dcf-98f2-649e174bdc77&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Sergei Polevikov&quot;,&quot;id&quot;:14048540,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f973d71b-ef75-4ed7-b779-c31ce2eb2d94_1008x1008.png&quot;,&quot;uuid&quot;:&quot;9f14fa3f-6a6d-4102-a35f-2e9627154051&quot;}" data-component-name="MentionToDOM"></span> </p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;a16z&quot;,&quot;id&quot;:2315700,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!-aGV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff698a0c5-1fee-40a7-a33c-80609431ae31_400x400.png&quot;,&quot;uuid&quot;:&quot;d6f34323-3505-4300-9725-d68b60777eb7&quot;}" data-component-name="MentionToDOM"></span></p></li><li><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Ruben Dominguez&quot;,&quot;id&quot;:95342670,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3403a50f-4e67-40d2-aa6f-a8d845f19c1c_480x480.png&quot;,&quot;uuid&quot;:&quot;70be484d-3248-428c-b81c-f5c5b81fe33e&quot;}" data-component-name="MentionToDOM"></span></p></li></ul><p>I also have an AI agent that brings me some interesting research papers every week, and you could build one for yourself following this tutorial.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;f718cb0f-3a7b-4bb0-85db-0b1ad14200a1&quot;,&quot;caption&quot;:&quot;Agentic AI is on the boom.&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;Building Your First AI Agent (That Will Actually Improve You As An AI Engineer)&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:155457308,&quot;name&quot;:&quot;Dr. Ashish Bamania&quot;,&quot;bio&quot;:&quot;Author of &#8216;Into AI&#8217; &#8594; a bestselling newsletter helping engineers become 100&#215; better in AI | Ex-CTO&quot;,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!1rS7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff41b7f65-55d7-4099-969a-931c2ddd2f5f_612x612.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:100}],&quot;post_date&quot;:&quot;2025-03-15T15:21:47.164Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!H3AJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee00599-5694-4e8b-aef2-706a238bf612_1792x1024.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://www.intoai.pub/p/building-your-first-ai-agent&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:159124901,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:29,&quot;comment_count&quot;:6,&quot;publication_id&quot;:1813260,&quot;publication_name&quot;:&quot;Into AI&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!xBa1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad0f7ec6-837c-4c2b-9b4d-5365d1a9e668_1080x1080.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Alongside this passive approach of simply letting my feed decide what I am updated on, I look out for recently published research papers on:</p><ul><li><p><a href="https://huggingface.co/papers/trending">Hugging Face Trending papers</a></p></li><li><p><a href="https://www.alphaxiv.org/">AlphaXiv</a></p></li></ul><p><span>I write about what I found important each week in a newsletter edition titled &#8220;</span><strong><a href="https://www.intoai.pub/t/this-week-in-ai-research"><span>This Week in AI Research</span></a></strong><span>&#8221; and send it out every week. This could be a source you can use to stay up to date on AI/ML research.</span></p><div><hr></div><h3>How to quickly filter through AI/ML research?</h3><p>Now that you have a curated feed and other trusted sources of AI/ML research, there&#8217;s still the problem of going through them all.</p><p>I use a simple system to find important research papers that you can steal. </p><ul><li><p>Quickly read through the abstract, check the figures, and read the conclusion.</p></li><li><p><span>If a paper seems promising or directly relevant to your work or curiousity, then go deep into the methodology and evaluation sections. This is where the most important details of a paper lie: whether baselines are fair, whether ablations are present, and whether benchmarks were cherry-picked.</span></p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KN4V!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KN4V!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png 424w, https://substackcdn.com/image/fetch/$s_!KN4V!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png 848w, https://substackcdn.com/image/fetch/$s_!KN4V!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png 1272w, https://substackcdn.com/image/fetch/$s_!KN4V!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KN4V!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png" width="1200" height="192.03296703296704" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:233,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:168238,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KN4V!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png 424w, https://substackcdn.com/image/fetch/$s_!KN4V!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png 848w, https://substackcdn.com/image/fetch/$s_!KN4V!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png 1272w, https://substackcdn.com/image/fetch/$s_!KN4V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0869f85c-56f0-4084-8db4-035fddb10b4f_2844x456.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div><hr></div><h3>How to actually learn from a research paper?</h3><p>Simply reading a research paper end-to-end is less useful than applying what it teaches. Some of the ways to make the learnings stick are:</p><ul><li><p><strong>Implement them in code:</strong> <span>Manually code up the core idea from a research paper. Use an LLM to review your code, but don&#8217;t rely on vibe-coding. I frequently use this approach to learn better. (</span><a href="https://www.intoai.pub/i/162132248/coding-no-prop-from-scratch"><span>Example</span></a><span>)</span></p></li><li><p><strong>Use them at work or in your personal projects: </strong>Always ask how you can apply your learnings to the product or pipeline you&#8217;re working on. This will give you compounding returns in your career.</p></li><li><p><strong>Start writing:</strong> Writing personal notes or an explainer/tutorial for others is another great way to learn better. Writing forces you to really get good at something before you can simplify it and explain it to others.</p></li></ul><div><hr></div><h3>&#8220;Which papers to read if I am starting out?&#8221;</h3><p>Pick 2-3 areas that deeply interest you or are relevant to your current work or career ambitions. <span>Prioritize the early work and foundational papers in these areas and read them first.</span></p><p><span>A great way to build a strong foundation is to keep following and reading the research papers in the references. This will help you master a field&#8217;s foundational concepts faster than you might expect.</span></p><p><span>For example, before reading about </span><a href="https://www.intoai.pub/i/196789511/heavily-compressed-attention-hca"><span>Heavily Compressed Attention (HCA)</span></a><span>, I would follow references and read about:</span></p><ul><li><p><a href="https://arxiv.org/abs/2512.02556">DeepSeek Sparse Attention</a></p></li><li><p><a href="https://arxiv.org/abs/2405.04434">Multi-head Latent Attention</a></p></li><li><p><a href="https://arxiv.org/abs/1706.03762">Self-Attention</a></p></li><li><p><a href="https://arxiv.org/abs/1409.0473">Bahdanau attention</a></p></li></ul><div><hr></div><h3>How to build a research reading habit?</h3><ul><li><p>Curiosity and necessity are two great forces that might motivate you to read AI/ML research. For me, curiosity has been a big one.</p></li><li><p>Curate your feed and connect with others who love reading and keeping up with AI/ML research.</p></li><li><p>If you&#8217;re a beginner, set aside 1 to 2 30- to 60-minute sessions dedicated to reading AI/ML research every week. Put them in your calendar as protected time and do not skip them.</p></li></ul><p>Reading for just an hour a week beats a heroic weekend binge every few months, and this is how you build a habit and win with slow compounding without burning out.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!55ip!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!55ip!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png 424w, https://substackcdn.com/image/fetch/$s_!55ip!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png 848w, https://substackcdn.com/image/fetch/$s_!55ip!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png 1272w, https://substackcdn.com/image/fetch/$s_!55ip!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!55ip!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png" width="1456" height="1045" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1045,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:478566,&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.intoai.pub/i/206685271?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.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_!55ip!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png 424w, https://substackcdn.com/image/fetch/$s_!55ip!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png 848w, https://substackcdn.com/image/fetch/$s_!55ip!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.png 1272w, https://substackcdn.com/image/fetch/$s_!55ip!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7406d775-5a5f-4a15-a3b4-21a3086f9af9_1976x1418.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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"><a href="https://jamesclear.com/continuous-improvement">Source</a></figcaption></figure></div><div><hr></div><h3>No one keeps up with all AI/ML research</h3><p>My final advice to you before we conclude is to drop the unrealistic goal of keeping up with everything happening in AI/ML. No one can do this, <span>including full-time researchers. Let go of this goal, be easy on yourself, and take your time.</span></p><div><hr></div><p>&#128075;&#127995; <span>Feel free to leave a comment or DM me if you have any questions, and share this with others if you found it valuable!</span></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/how-to-keep-up-with-aiml-research?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.intoai.pub/p/how-to-keep-up-with-aiml-research?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p></p><div><hr></div><p><strong>Join the paid tier today to get access to all posts</strong> <strong>in this newsletter</strong>, including:</p><ul><li><p>&#127752; <a href="https://www.intoai.pub/p/pytorch-essentials">20 PyTorch Concepts, Explained Simply</a></p></li><li><p>&#129489;&#127995;&#8205;&#128187; <a href="https://www.intoai.pub/p/building-your-first-ai-agent">Building Your First AI Agent</a></p></li><li><p>&#128126; <a href="https://www.intoai.pub/p/tiny-recursive-model">Tiny Recursive Model (TRM): A Deep Dive</a></p></li><li><p>&#128119;&#127996;&#8205;&#9794;&#65039; <a href="https://www.intoai.pub/p/build-a-vector-database-from-scratch">Build A Vector Database From Scratch To Understand RAG In Depth</a></p></li><li><p>&#128640; <a href="https://www.intoai.pub/p/build-a-mixture-of-experts-layer-from-scratch">Build a Mixture-of-Experts (MoE) Layer from Scratch</a></p></li></ul><p>and so many more!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Become a paid subscriber&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.intoai.pub/subscribe"><span>Become a paid subscriber</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[🗓️ This Week In AI Research (1-8 July 26)]]></title><description><![CDATA[The top 10 research papers and AI releases this week (SpaceXAI's Grok 4.5, OpenAI's GPT-Live voice models, Cognition's SWE-1.7, Meta's Muse Spark 1.1, and many more)]]></description><link>https://www.intoai.pub/p/this-week-in-ai-research-1-8-july</link><guid isPermaLink="false">https://www.intoai.pub/p/this-week-in-ai-research-1-8-july</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Sun, 12 Jul 2026 11:25:32 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!EPbr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.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_!EPbr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EPbr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png 424w, https://substackcdn.com/image/fetch/$s_!EPbr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png 848w, https://substackcdn.com/image/fetch/$s_!EPbr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png 1272w, https://substackcdn.com/image/fetch/$s_!EPbr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EPbr!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png" width="1200" height="675" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:3982574,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!EPbr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png 424w, https://substackcdn.com/image/fetch/$s_!EPbr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png 848w, https://substackcdn.com/image/fetch/$s_!EPbr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.png 1272w, https://substackcdn.com/image/fetch/$s_!EPbr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06d7c8c9-4fed-48b8-9416-803d663fecd1_1672x941.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><h3>1. Is One Layer Enough? Training A Single Transformer Layer Can Match Full-Parameter RL Training</h3><p>Existing RL training approaches update all model parameters uniformly, assuming that every layer contributes equally to the gains obtained. </p><p>This research paper challenges this idea and finds that training a single transformer layer can recover most of the gains achieved by full-parameter RL training and, in some cases, even surpass them.</p><p>Studying seven models across two Qwen families (Qwen2.5 and Qwen3), three RL algorithms (GRPO, GiGPO, Dr. GRPO), and multiple task domains, it is found that RL gains are highly concentrated in a small subset of, and in many cases even a single, transformer layer.</p><p>These high-contribution layers are usually in the middle of the transformer stack, while layers near the input and output ends contribute substantially less.</p><p>Based on these findings, the researchers develop simple layer-aware training strategies that consistently outperform standard full-parameter RL training.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!b8db!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b8db!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png 424w, https://substackcdn.com/image/fetch/$s_!b8db!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png 848w, https://substackcdn.com/image/fetch/$s_!b8db!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png 1272w, https://substackcdn.com/image/fetch/$s_!b8db!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!b8db!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png" width="1456" height="508" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:508,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:422036,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.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_!b8db!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png 424w, https://substackcdn.com/image/fetch/$s_!b8db!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png 848w, https://substackcdn.com/image/fetch/$s_!b8db!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png 1272w, https://substackcdn.com/image/fetch/$s_!b8db!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e48b1c8-058d-450d-a9f9-35c99541bb66_2694x940.png 1456w" sizes="100vw"></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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about the research paper <a href="https://arxiv.org/pdf/2607.01232">using this link</a>.</p><div><hr></div><p><span>Before we move forward, I want to introduce you to the </span><strong><a href="https://bamaniaashish.gumroad.com/l/visualtech">Visual Tech Bundle</a><span>.</span></strong></p><p>It is a collection of visual guides that explain core AI, LLM, Systems design, and Computer science concepts via image-first lessons.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Cc9Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 424w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 848w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 1272w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png" width="1456" height="364" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f3773516-037c-48af-a288-d6d9d3cab751_2560x640.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:364,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&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_!Cc9Q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 424w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 848w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 1272w, https://substackcdn.com/image/fetch/$s_!Cc9Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff3773516-037c-48af-a288-d6d9d3cab751_2560x640.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><span>Others are already loving these books. </span><strong>Why not give them a try?</strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://bamaniaashish.gumroad.com/l/visualtech&quot;,&quot;text&quot;:&quot;Link to the Visual Tech Bundle&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://bamaniaashish.gumroad.com/l/visualtech"><span>Link to the Visual Tech Bundle</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZH6L!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZH6L!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 424w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 848w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 1272w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png" width="1456" height="1147" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1147,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2124317,&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://intoai.pub/i/178965288?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.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_!ZH6L!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 424w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 848w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.png 1272w, https://substackcdn.com/image/fetch/$s_!ZH6L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ff9ec7c-0279-4ede-a46b-fd9797508ad7_2376x1872.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div><hr></div><h3>2. LLM-as-a-Verifier</h3><p><span>This research paper introduces&nbsp;</span><strong><span>LLM-as-a-Verifier</span></strong><span>, a general-purpose verification framework that provides fine-grained feedback for agentic tasks without requiring additional training.</span></p><p><span>Unlike standard LM judges, which are LLMs prompted to produce discrete scores for candidate solutions, LLM-as-a-Verifier computes the expectation over the distribution of scoring token logits to produce continuous scores.</span></p><p><span>This probabilistic approach reduces tie rates when comparing complex solutions and enables verification across multiple dimensions:</span></p><ul><li><p><span>Granularity of score tokens</span></p></li><li><p><span>Number of repeated evaluations</span></p></li><li><p><span>Decomposition of evaluation criteria</span></p></li></ul><p><span>To make verification scaling practical, the researchers further introduce a cost-efficient ranking algorithm to select the best solution among candidates, using preference probabilities derived from the verifier&#8217;s continuous scores. </span></p><p><span>LLM-as-a-Verifier achieves SOTA performance on Terminal-Bench V2 (86.5%), SWE-Bench Verified (78.2%), RoboRewardBench (87.4%), and MedAgentBench (73.3%). </span></p><p><span>Beyond verification, it can also act as a proxy for estimating task progress and as a dense reward signal for RL, making training more sample-efficient.</span></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UukV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UukV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png 424w, https://substackcdn.com/image/fetch/$s_!UukV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png 848w, https://substackcdn.com/image/fetch/$s_!UukV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png 1272w, https://substackcdn.com/image/fetch/$s_!UukV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UukV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png" width="1456" height="814" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:814,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:385314,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.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_!UukV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png 424w, https://substackcdn.com/image/fetch/$s_!UukV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png 848w, https://substackcdn.com/image/fetch/$s_!UukV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.png 1272w, https://substackcdn.com/image/fetch/$s_!UukV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c7c40e-9efc-4ff7-ac6b-f41d2b9cf64d_2132x1192.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about the research paper <a href="https://arxiv.org/pdf/2607.05391">using this link</a>.</p><div><hr></div><h3>3. Mixture-of-Parallelisms</h3><p>This research paper proposes a memory-efficient training stack called <strong>Mixture-of-Parallelisms (MoP)</strong> for <a href="https://www.intoai.pub/p/build-and-train-a-mixture-of-experts">Mixture-of-Experts (MoE) models</a>.</p><p>It uses multiple parallelism techniques across the training pipeline to maximize efficiency under the <a href="https://www.intoai.pub/p/what-every-ai-engineer-must-know-about-nvidia-gpus?utm_source=publication-search">cluster constraints</a>, including a new strategy for the optimizer step.</p><p>MoP achieves high throughput and memory efficiency, enabling lossless pre-training/fine-tuning of trillion-parameter-scale models at a million-context length using just under 12 8x H200 GPU nodes.</p><p>It delivers 4.7-8.2&#215; higher per-GPU throughput than a strongly-tuned <a href="https://huggingface.co/docs/accelerate/en/concept_guides/fsdp1_vs_fsdp2">FSDP2</a> baseline and sustains training at context lengths up to 1M tokens, whereas the baseline runs out of memory beyond 64&#8211;128K context length.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_u3h!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_u3h!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png 424w, https://substackcdn.com/image/fetch/$s_!_u3h!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png 848w, https://substackcdn.com/image/fetch/$s_!_u3h!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png 1272w, https://substackcdn.com/image/fetch/$s_!_u3h!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_u3h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png" width="1456" height="907" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:907,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:682275,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.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_!_u3h!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png 424w, https://substackcdn.com/image/fetch/$s_!_u3h!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png 848w, https://substackcdn.com/image/fetch/$s_!_u3h!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.png 1272w, https://substackcdn.com/image/fetch/$s_!_u3h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb59bf159-497a-42bf-84bd-2fbde787103a_1882x1172.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research paper <a href="https://arxiv.org/pdf/2607.01844">using this link</a>.</p><div><hr></div><h3>4. Measuring the Gap Between Human and LLM Research Ideas</h3><p>This research paper examines how LLM-generated research ideas differ from those of human researchers.</p><p>Studying thousands of published papers and prompting models from families including GPT, Claude, Gemini, DeepSeek, and Qwen to generate ideas from the same prior-work context, the authors find that:</p><ul><li><p>LLM ideas are disproportionately concentrated around connecting existing fields or synthesizing existing methods</p></li><li><p>Human ideas cover a wider range of motivations and contributions, which include identifying failures, explaining contradictions, relaxing assumptions, and developing new systems</p></li></ul><p>This suggests that strong LLMs can produce a range of reasonable ideas, but that range remains narrower than, and systematically shifted relative to, human research taste.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!L_5S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!L_5S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.png 424w, https://substackcdn.com/image/fetch/$s_!L_5S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.png 848w, https://substackcdn.com/image/fetch/$s_!L_5S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.png 1272w, https://substackcdn.com/image/fetch/$s_!L_5S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!L_5S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.png" width="1456" height="666" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.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;:616028,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.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_!L_5S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.png 424w, https://substackcdn.com/image/fetch/$s_!L_5S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.png 848w, https://substackcdn.com/image/fetch/$s_!L_5S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.png 1272w, https://substackcdn.com/image/fetch/$s_!L_5S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F971dab8b-10a9-4ad6-baa0-29e0e330a649_2164x990.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.01233v1">using this link</a>.</p><div><hr></div><h3>5. Infinite Worlds with Versatile Interactions</h3><p><span>This research paper presents&nbsp;</span><strong><span>LingBot-World 2.0 (LingBot-World-Infinity)</span></strong><span>, a model that generates responsive, open-ended, infinite virtual environments for exploration.</span></p><p>Compared to the earlier version, this model maintains consistent output quality, supports up to 720p at 60 fps, and generates highly diverse interactive elements that enable broader actions (e.g., attacking, archery, spell-casting, and shooting) and a variety of text-driven events.</p><p>Additionally, the model is integrated with an agentic harness with two autonomous agents:</p><ul><li><p>a pilot agent that plans and runs character behavior, and </p></li><li><p>a director agent that creates new environmental elements as the scene progresses. </p></li></ul><p>The model is available in 14B and 1.3B versions, with the 1.3 B version capable of running on a single GPU.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nh8W!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nh8W!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png 424w, https://substackcdn.com/image/fetch/$s_!nh8W!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png 848w, https://substackcdn.com/image/fetch/$s_!nh8W!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png 1272w, https://substackcdn.com/image/fetch/$s_!nh8W!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nh8W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png" width="1456" height="902" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:902,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1085047,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.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_!nh8W!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png 424w, https://substackcdn.com/image/fetch/$s_!nh8W!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png 848w, https://substackcdn.com/image/fetch/$s_!nh8W!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.png 1272w, https://substackcdn.com/image/fetch/$s_!nh8W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19c9aa60-5206-43d0-904a-cd3425823dfb_2148x1330.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.07534">using this link</a>.</p><div><hr></div><h3>6. AutoMem: Automated Learning of Memory as a Cognitive Skill</h3><p>This research paper introduces <strong>AutoMem</strong>, a framework that reframes LLM memory management as a trainable skill rather than a fixed system.</p><p>An LLM agent using it gets file-system operations (read, write, search, append) as first-class actions, allowing it to decide what to remember and retrieve. </p><p>A strong LLM then improves this automatically by reviewing long episode traces to revise the agent's memory scaffold, and fine-tuning a dedicated memory model on the agent's own good decisions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!do0Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!do0Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png 424w, https://substackcdn.com/image/fetch/$s_!do0Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png 848w, https://substackcdn.com/image/fetch/$s_!do0Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png 1272w, https://substackcdn.com/image/fetch/$s_!do0Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!do0Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png" width="1456" height="1257" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1257,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:503327,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.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_!do0Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png 424w, https://substackcdn.com/image/fetch/$s_!do0Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png 848w, https://substackcdn.com/image/fetch/$s_!do0Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.png 1272w, https://substackcdn.com/image/fetch/$s_!do0Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9703a66d-eaec-42b8-b2a2-a0d09a085284_1510x1304.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Across three procedurally generated long-horizon games (Crafter, MiniHack, and NetHack), optimizing memory alone (without modifying the model&#8217;s task-action behavior) improves the base agent&#8217;s performance  by 2-4&#215;, bringing a 32B open-weight model to a level competitive with frontier systems such as Claude Opus 4.5 and Gemini 3.1 Pro Thinking.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kY7_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kY7_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png 424w, https://substackcdn.com/image/fetch/$s_!kY7_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png 848w, https://substackcdn.com/image/fetch/$s_!kY7_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png 1272w, https://substackcdn.com/image/fetch/$s_!kY7_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kY7_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png" width="1456" height="629" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:629,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:456461,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.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_!kY7_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png 424w, https://substackcdn.com/image/fetch/$s_!kY7_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png 848w, https://substackcdn.com/image/fetch/$s_!kY7_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.png 1272w, https://substackcdn.com/image/fetch/$s_!kY7_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59485f3e-fb7d-4539-b129-275af3b2b550_2506x1082.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this research <a href="https://arxiv.org/pdf/2607.01224">using this link</a>.</p><div><hr></div><h3>7. GPT&#8209;Live</h3><p><span>OpenAI launched its new generation of voice models called&nbsp;</span><strong><span>GPT-Live</span></strong><span>&nbsp;for natural real-time human-AI interaction, with its two versions being GPT&#8209;Live&#8209;1 and GPT&#8209;Live&#8209;1 mini.</span></p><p>GPT&#8209;Live is built on a full-duplex architecture, which means that meaning it can listen and speak at the same time, acknowledge you while you talk, pause when you need time, handle interruptions more naturally, and delegate harder tasks like search or reasoning to frontier models such as GPT-5.5 in the background.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lqmP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lqmP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png 424w, https://substackcdn.com/image/fetch/$s_!lqmP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png 848w, https://substackcdn.com/image/fetch/$s_!lqmP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png 1272w, https://substackcdn.com/image/fetch/$s_!lqmP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lqmP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png" width="1456" height="515" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:515,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:136848,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.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_!lqmP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png 424w, https://substackcdn.com/image/fetch/$s_!lqmP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png 848w, https://substackcdn.com/image/fetch/$s_!lqmP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.png 1272w, https://substackcdn.com/image/fetch/$s_!lqmP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab28589-5ae0-4770-8c12-46ff01fbf8db_2484x878.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://openai.com/index/introducing-gpt-live/">using this link</a>.</p><div><hr></div><h3>8. Grok 4.5</h3><p>SpaceXAI released its new flagship model called Grok 4.5. This model is built for coding, agentic tasks, and knowledge work, with a big focus on software engineering and efficient reasoning.</p><p>Grok 4.5 was trained on tens of thousands of NVIDIA GB300 GPUs using large-scale reinforcement learning, with a focus on per-token intelligence.</p><p>It reaches 83.3% on Terminal Bench 2.1, resolves SWE-Bench Pro tasks with ~4.2&#215; fewer output tokens than Opus 4.8 (max).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ni8a!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ni8a!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png 424w, https://substackcdn.com/image/fetch/$s_!Ni8a!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png 848w, https://substackcdn.com/image/fetch/$s_!Ni8a!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png 1272w, https://substackcdn.com/image/fetch/$s_!Ni8a!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ni8a!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png" width="1456" height="724" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:724,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:193643,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.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_!Ni8a!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png 424w, https://substackcdn.com/image/fetch/$s_!Ni8a!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png 848w, https://substackcdn.com/image/fetch/$s_!Ni8a!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.png 1272w, https://substackcdn.com/image/fetch/$s_!Ni8a!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8db0142f-a14b-4d3b-a194-47ae3c8eb5e2_2388x1188.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tokj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tokj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png 424w, https://substackcdn.com/image/fetch/$s_!tokj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png 848w, https://substackcdn.com/image/fetch/$s_!tokj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png 1272w, https://substackcdn.com/image/fetch/$s_!tokj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tokj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png" width="1456" height="435" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:435,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:88169,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.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_!tokj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png 424w, https://substackcdn.com/image/fetch/$s_!tokj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png 848w, https://substackcdn.com/image/fetch/$s_!tokj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.png 1272w, https://substackcdn.com/image/fetch/$s_!tokj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1dfa732-99fb-45ce-93c2-175506e34924_2530x756.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>The model is served at about 80 tokens per second generation speed and is priced at $2 per million input tokens and $6 per million output tokens.</p><p>Read more about this release <a href="https://x.ai/news/grok-4-5">using this link</a>.</p><div><hr></div><h3>9. SWE-1.7</h3><p>SWE-1.7 is Cognition&#8217;s most capable software-engineering model to date. It is designed for long-horizon, asynchronous coding tasks and is built by RL post-training a Kimi K2.7 base model.</p><p>It scores 42.3% on FrontierCode 1.1, 81.5% on Terminal-Bench 2.1, and 77.8% on SWE-Bench Multilingual, bringing it close to frontier models like GPT-5.5 and Claude Opus, while achieving better cost efficiency.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2-uI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2-uI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png 424w, https://substackcdn.com/image/fetch/$s_!2-uI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png 848w, https://substackcdn.com/image/fetch/$s_!2-uI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png 1272w, https://substackcdn.com/image/fetch/$s_!2-uI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2-uI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png" width="1456" height="1035" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/af7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1035,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:162837,&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.intoai.pub/i/205039869?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.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_!2-uI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png 424w, https://substackcdn.com/image/fetch/$s_!2-uI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png 848w, https://substackcdn.com/image/fetch/$s_!2-uI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.png 1272w, https://substackcdn.com/image/fetch/$s_!2-uI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf7df472-961a-4018-9314-a7b14f5ec2f7_1756x1248.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://cognition.com/blog/swe-1-7">using this link</a>.</p><div><hr></div><h3>10. <span>Muse Spark 1.1</span></h3><p>Muse Spark 1.1 is a multimodal reasoning model from Meta Superintelligence Labs built for exceptional performance in agentic workflows, tool and computer use, coding, and multimodal understanding. </p><p>The model can orchestrate parallel subagents, has a 1-million-token context window, and outperforms Gemini 3.1 Pro (high), Opus 4.8 (max), and GPT 5.5(xhigh) on multiple difficult benchmarks.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0DvR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0DvR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png 424w, https://substackcdn.com/image/fetch/$s_!0DvR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png 848w, https://substackcdn.com/image/fetch/$s_!0DvR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png 1272w, https://substackcdn.com/image/fetch/$s_!0DvR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0DvR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png" width="1456" height="1456" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1456,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Inference-time compute scaling chart for Muse Image&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="Inference-time compute scaling chart for Muse Image" title="Inference-time compute scaling chart for Muse Image" srcset="https://substackcdn.com/image/fetch/$s_!0DvR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png 424w, https://substackcdn.com/image/fetch/$s_!0DvR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png 848w, https://substackcdn.com/image/fetch/$s_!0DvR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.png 1272w, https://substackcdn.com/image/fetch/$s_!0DvR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcfc6949e-0e2f-4d14-a2d7-563109843801_1620x1620.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 buttonBase-GK1x3M"><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" class="icon-noB79L"><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 buttonBase-GK1x3M"><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 icon-noB79L"><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>Read more about this release <a href="https://ai.meta.com/blog/introducing-muse-spark-meta-model-api/">using this link</a>.</p><div><hr></div><p>Join the <strong>paid tier today</strong> to get support my writing and get access to all posts in this newsletter.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/subscribe&quot;,&quot;text&quot;:&quot;Join 'Into AI' premium today&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.intoai.pub/subscribe"><span>Join 'Into AI' premium today</span></a></p><p>This newsletter edition is completely free to read. Show your love by liking it, restacking it, and sharing it with others! &#10084;&#65039;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.intoai.pub/p/this-week-in-ai-research-1-8-july?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.intoai.pub/p/this-week-in-ai-research-1-8-july?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p>]]></content:encoded></item><item><title><![CDATA[Join me as I go live tomorrow to discuss how to keep up with ML research]]></title><description><![CDATA[&#128075;&#127995; Hey friend!]]></description><link>https://www.intoai.pub/p/join-me-as-i-go-live-tomorrow-to</link><guid isPermaLink="false">https://www.intoai.pub/p/join-me-as-i-go-live-tomorrow-to</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Fri, 10 Jul 2026 15:00:23 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!xBa1!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad0f7ec6-837c-4c2b-9b4d-5365d1a9e668_1080x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>&#128075;&#127995; Hey friend!</p><p>Keeping up with ML research is hard these days, given the mammoth number of papers published every single day.</p><p>This Saturday (July 11, 2026), I&#8217;m going live with Karun Thankachan, a brilliant Senior Data Scientist at Walmart, to share the exact framework we use to stay on top of it all.</p><p>In one session, you&#8217;ll learn:</p><ul><li><p>How to spot quality research among the endless stream of new papers</p></li><li><p>How to read papers efficiently and skip what doesn&#8217;t matter</p></li><li><p>How to pull out takeaways you can use in your day-to-day work</p></li></ul><p>Everyone who registers also gets a handout with all the resources discussed in the session.</p><p>Save the date: <strong>&#128197; Saturday, July 11 | &#128337; 12:00 PM EST</strong></p><p>It&#8217;s free to join, and you can register using the link below. :)</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://topmate.io/buildmledu/2175117&quot;,&quot;text&quot;:&quot;Join the webinar &#8594;&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://topmate.io/buildmledu/2175117"><span>Join the webinar &#8594;</span></a></p><p>Seats are limited and filling fast! </p><p>See you inside,<br>Ashish</p>]]></content:encoded></item><item><title><![CDATA[I'm opening a few consulting slots]]></title><description><![CDATA[If you're interested, just reply to this email.]]></description><link>https://www.intoai.pub/p/im-opening-a-few-consulting-slots</link><guid isPermaLink="false">https://www.intoai.pub/p/im-opening-a-few-consulting-slots</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Tue, 07 Jul 2026 11:21:54 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!xBa1!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad0f7ec6-837c-4c2b-9b4d-5365d1a9e668_1080x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>&#128075;&#127995; Hey friend!</p><p>I&#8217;m offering a handful of consulting slots for this quarter to help solve your problems.</p><p>This is for you if:</p><ul><li><p>You want to launch an AI product or feature at your company, but you don&#8217;t know where to start or how to make it happen</p></li><li><p>You have a business idea but are unsure how to begin with the tech</p></li><li><p>Your team is overwhelmed, and you want someone to review your workflows and create systems that save you time and increase your revenue</p></li><li><p>You have a half-finished or stalled AI project that needs to get moving</p></li><li><p>You&#8217;re pouring effort into your social media, and it&#8217;s just not growing, and you&#8217;d love to turn it into something you could eventually do full-time</p></li><li><p>You&#8217;re looking to market your product and want it to reach the right audience</p></li></ul><p>The first step is a free 30-minute call to see how I can help.</p><p>&#129309; If you&#8217;re interested, just reply to this email in a few lines about what you&#8217;d like help with, and I&#8217;ll send you a link to schedule a time to connect.</p><p>P.S. This is not a sales-maxing pitch, and I&#8217;m only taking on a few clients that I can truly help, so the spots are limited. If this sounds like you, don&#8217;t wait up.</p><p>Talk soon,  <br>Ashish</p>]]></content:encoded></item><item><title><![CDATA[Arithmetic Intensity, Simply Explained]]></title><description><![CDATA[A no-jargon breakdown of Arithmetic Intensity and the Roofline model, and how they are used to optimize LLM inference.]]></description><link>https://www.intoai.pub/p/arithmetic-intensity</link><guid isPermaLink="false">https://www.intoai.pub/p/arithmetic-intensity</guid><dc:creator><![CDATA[Dr. Ashish Bamania]]></dc:creator><pubDate>Mon, 06 Jul 2026 11:14:22 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!p_ax!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dd7a4a2-13c1-4f08-b223-97154f2f6f3b_1920x1110.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Arithmetic Intensity is a concept that will instantly help you understand what the performance bottlenecks in LLM training and serving are. Unfortunately, it is not discussed as much as it should be. So here is a no-jargon lesson to fix that.</p><div><hr></div><h3><strong>What is Arithmetic Intensity?</strong></h3><p><strong>Arithmetic Intensity (AI)</strong> is the ratio of arithmetic operations/computations performed to the data moved to and from memory.<br></p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\text{Arithmetic Intensity} = \\frac{\\text{Arithmetic operations / FLOPS}}{\\text{Bytes of data moved to and from memory}}&quot;,&quot;id&quot;:&quot;SGHWYKSBXT&quot;}" data-component-name="LatexBlockToDOM"></div><p><br>It indicates how much computation is performed per unit of data transferred from memory. If a workload/kernel performs very few arithmetic operations but requires massive data reading and writing from memory, it has low arithmetic intensity, and vice versa.</p><p>Note that:</p><ul><li><p><strong>FLOP</strong> is a floating-point operation (a single arithmetic operation on floating-point numbers).</p></li><li><p><strong>FLOPs</strong> is the plural form of FLOP or the total number of floating-point operations.</p></li><li><p><strong>FLOPS</strong> is floating-point operations per second.</p></li></ul><div><hr></div><h3>How is it used in the Roofline model?</h3><p>In a GPU, HBM is the slowest but the largest, while registers are extremely fast but the smallest units of memory.</p>
      <p>
          <a href="https://www.intoai.pub/p/arithmetic-intensity">
              Read more
          </a>
      </p>
   ]]></content:encoded></item></channel></rss>