<?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[Friendly Paper Review]]></title><description><![CDATA[One recent, relevant, and important ML paper per week, made accessible for non-ML folks]]></description><link>https://www.friendlypaperreview.com</link><image><url>https://substackcdn.com/image/fetch/$s_!2qgc!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63ef7a6f-b5eb-49f4-93cc-d6e71b9ea5ef_720x720.png</url><title>Friendly Paper Review</title><link>https://www.friendlypaperreview.com</link></image><generator>Substack</generator><lastBuildDate>Tue, 28 Jul 2026 03:36:56 GMT</lastBuildDate><atom:link href="https://www.friendlypaperreview.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Tim Dingman]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[friendlypaperreview@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[friendlypaperreview@substack.com]]></itunes:email><itunes:name><![CDATA[Tim Dingman]]></itunes:name></itunes:owner><itunes:author><![CDATA[Tim Dingman]]></itunes:author><googleplay:owner><![CDATA[friendlypaperreview@substack.com]]></googleplay:owner><googleplay:email><![CDATA[friendlypaperreview@substack.com]]></googleplay:email><googleplay:author><![CDATA[Tim Dingman]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Reinforcement Learning via Self-Distillation]]></title><description><![CDATA[or, The Student Becomes the Master]]></description><link>https://www.friendlypaperreview.com/p/reinforcement-learning-via-self-distillation</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/reinforcement-learning-via-self-distillation</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Mon, 27 Jul 2026 13:02:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!a4rG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on March 11, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2601.20802" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!a4rG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg 424w, https://substackcdn.com/image/fetch/$s_!a4rG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg 848w, https://substackcdn.com/image/fetch/$s_!a4rG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!a4rG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!a4rG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg" width="728" height="941.627471383975" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1243,&quot;width&quot;:961,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2601.20802&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!a4rG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg 424w, https://substackcdn.com/image/fetch/$s_!a4rG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg 848w, https://substackcdn.com/image/fetch/$s_!a4rG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!a4rG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc31d6593-63a2-40a9-b544-91b0a5a7e57f_961x1243.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2601.20802">Paper</a>   &#183;   <a href="https://self-distillation.github.io/SDPO">Website</a></p><h2>Group Relative Policy Optimization</h2><p><strong>+</strong></p><p><strong>Reinforcement Learning with Verifiable Rewards</strong></p><p>Okay, the first thing I want to do is revisit two foundations of modern RL: group relative policy optimization, or GRPO; and reinforcement learning with verifiable rewards, or RLVR.</p><p>GRPO is an algorithm that turns rewards into model weight changes. RLVR is how we get those rewards from responses.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-RRe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-RRe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-RRe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-RRe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-RRe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-RRe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg" width="728" height="405.7704918032787" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1586,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&quot;,&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!-RRe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-RRe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-RRe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-RRe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98d9aab4-187a-44c0-b155-ae466fd366dd_1586x884.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Chronologically, GRPO came first, so we&#8217;ll talk about it first. As with many other LLM engineering breakthroughs, GRPO is the work of the DeepSeek team. If you&#8217;ve been to some of the recent paper reviews, you know what I&#8217;m talking about, but if not I&#8217;ll give a quick recap: DeepSeek is one of the top two labs in China, the other one being Qwen, and they have a very R&amp;D-focused culture. They don&#8217;t crank out models, but the ones they do put out are always respected, and they often contain new techniques that long outlive the models themselves.</p><p>A perfect example is in this paper, nominally about a math-focused LLM called DeepSeekMath, but really a vehicle for this algorithm, GRPO. Like other RL algorithms such as PPO, it&#8217;s a method for extracting signals from model outputs, basically turning them into values we can then use to adjust the weights of our model. In PPO, we have to use a special model to estimate that signal, which is complicated and sometimes messy or fuzzy. With GRPO, there is no extra model to train, as you can see by the decrease in yellow boxes in the right-hand graphic. That makes GRPO simpler and often more precise than PPO.</p><p>Looking at the GRPO graphic a little more closely, you can see there&#8217;s a reward model that turns outputs o into rewards r, that then turn into advantages A, which is ultimately what we need to adjust the weights of our model. But as we&#8217;ll see on the next slide, we actually don&#8217;t need a reward <em>model</em> per se - we need a <em>system</em> to turn outputs into rewards. The rest of GRPO is just math, completely deterministic.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!72-L!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!72-L!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!72-L!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!72-L!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!72-L!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!72-L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg" width="728" height="419.7990867579909" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1533,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!72-L!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!72-L!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!72-L!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!72-L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f87131e-6383-4472-a1ab-e188c6ec4d22_1533x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The other prime example of DeepSeek magic is this paper, nominally about DeepSeek-R1, the model that reproduced the reasoning behavior of o1 and o3 from OpenAI and briefly crashed the stock market.</p><p>In this paper, they used GRPO to train their reasoning model, but they didn&#8217;t require a reward model. Instead, they calculated rewards deterministically by checking the model&#8217;s final answer against a known good answer. So like for a math problem, if the known good answer is sqrt(x), we can easily check if the model&#8217;s final answer is also sqrt(x). We may have to check for equivalent forms, like x^&#189;, but there&#8217;s no real interpretation or judgment like with a reward model. We know that technique as RLVR.</p><p>So just like you don&#8217;t need RLVR for GRPO, you also don&#8217;t need GRPO for RLVR. Like you could do RLVR instead of having the reward model in PPO. But in practice, these two go well together, because they are basically the simplest possible setup for RL.</p><p>Anyway, the DeepSeek-R1 paper found two effects of GRPO + RLVR: you can greatly improve reasoning, and you generally end up using way more tokens. This is exactly what o1 and o3 did. Sometimes people call it &#8220;test time compute scaling&#8221;, meaning you use more compute when generating your response, and that extra compute is supposed to improve quality.</p><p>This combination of GRPO + RLVR is everywhere nowadays. Any prompt where there&#8217;s some verifiable final response, like a math problem or some instruction following, is likely trained on with GRPO + RLVR. And rubric training is basically just stacked-up RLVR training, like instead of one final answer you can verify against, you have multiple criteria you can verify against. It&#8217;s the same core idea of a method for giving a response a score, which can then go into GRPO to turn into signal on how to adjust the weights.</p><p>RLVR has two shortcomings though. For one, you might have incorrect steps but still get the final answer right. With RLVR, you&#8217;re going to get full marks, even though the response overall is not correct. For the other, you don&#8217;t know <em>why</em> or <em>how</em> you got something wrong. Or if you do, it doesn&#8217;t factor into the score, into the training signal. So you&#8217;re rewarding at a response level even though parts of the response may be wrong, and you&#8217;re leaving a lot of valuable information on the table by just calling a wrong final answer &#8220;incorrect. Keep those shortcomings in mind.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!R99m!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!R99m!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg 424w, https://substackcdn.com/image/fetch/$s_!R99m!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg 848w, https://substackcdn.com/image/fetch/$s_!R99m!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!R99m!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!R99m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg" width="728" height="250.02020202020202" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:544,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!R99m!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg 424w, https://substackcdn.com/image/fetch/$s_!R99m!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg 848w, https://substackcdn.com/image/fetch/$s_!R99m!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!R99m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67a256b2-35a8-4c9f-a981-237922f6b8e3_1584x544.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Another, more recent finding of RLVR is that it may not be <em>teaching</em> anything. Instead, what some researchers have found is that RLVR merely <em>brings forth</em> solutions paths that are already present in the model, although they may be highly unlikely ones. This is called the <em>elicitation hypothesis</em>.</p><p>The image on the left shows what I&#8217;m talking about. For Problem A, the base model has all these possible solution paths for a given problem, but only a couple of them are correct, so when you run the model the chances of getting a correct response are low. What RLVR does is make the correct paths much more likely, so that you as an end user are generally getting a correct answer now.</p><p>Of course it may be that those other solution paths are involved in other problems, like Problem B here. To oversimplify somewhat, if through RLVR we greatly reduce the likelihood of exploring the left side of this tree, then we can&#8217;t reach the correct answer for that problem, even though it actually was there in the base model.</p><p>The chart on the right is generally how people show the elicitation hypothesis is true, that any correct solution a model can give is in there from the beginning and not taught wholly new via RLVR. On the x axis is the number of chances you give a model per question to get a set of questions right. As long as any of the k responses is correct, the model gets credit for that question. So that metric is called pass@k.</p><p>For end users, we really only care about pass@1, since a person using a chatbot expects the right answer the first time. And you can see there, on the left side of the chart, doing GRPO + RLVR really helps - you&#8217;re getting 4x higher accuracy for the yellow line compared to the black line.</p><p>However, if you keep giving chances, up to 256 in this case, you see all the lines converge. So it seems that the base model knew the answers all along, it just didn&#8217;t know how to produce them efficiently.</p><p>Again, elicitation is still good for end users. It just shows RLVR doesn&#8217;t teach new things.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IVm0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IVm0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!IVm0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!IVm0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!IVm0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IVm0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:884,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!IVm0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!IVm0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!IVm0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!IVm0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe562d99d-e1a6-4385-aaaf-ee6b367b17b9_884x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Okay, now we need to talk about distillation.</p><p>Very broadly, distillation is a family of techniques for transferring some quality or information from one model, the &#8220;teacher&#8221;, to another, the &#8220;student&#8221;. Usually the teacher is a more advanced model than the student, which by the way puts a ceiling on how far distillation can take you.</p><p>So the <em>naive</em> way to do this is to make training data synthetically, using the teacher model. Like imagine we made the same kinds of post-training data &#8212; SFT, RLHF, rubrics &#8212; but with GPT and Claude instead of humans.</p><p>If all you have access to from the teacher model is the tokens it outputs, that&#8217;s the best you can do. That&#8217;s true of the Claude API, so if you&#8217;re trying to distill off Claude, this is the way to go.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TmPI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TmPI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg 424w, https://substackcdn.com/image/fetch/$s_!TmPI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg 848w, https://substackcdn.com/image/fetch/$s_!TmPI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!TmPI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TmPI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg" width="728" height="257.7743190661479" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:455,&quot;width&quot;:1285,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!TmPI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg 424w, https://substackcdn.com/image/fetch/$s_!TmPI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg 848w, https://substackcdn.com/image/fetch/$s_!TmPI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!TmPI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F114e02ce-3ecc-4efb-a4db-9bc15b2061ef_1285x455.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>If you have access to the per-token probabilities, sometimes called the logprobs, you can do better. In this setup, you pass the same input to the teacher and the student. Then for each token you need to predict, you compare the probability of each possible token in the <em>student&#8217;s</em> distribution with the probability of the same token in the <em>teacher&#8217;s</em> distribution. The differences between the probabilities are your loss. So your goal is to teach not only the <em>most</em> likely token, but also how likely all the <em>other</em> tokens are too.</p><p>That&#8217;s a much richer and more nuanced understanding the teacher is providing to the student, and it&#8217;s going to be more effective at passing on the teacher&#8217;s wisdom.</p><p>Let me draw a human parallel. Let&#8217;s say you&#8217;re learning to play chess from a master. You&#8217;re both playing black, and some opponent is playing white. The prompt is white&#8217;s first move. Now you and the master each take the list of all possible next moves and assign each one a probability of being optimal. Then you compare probabilities, then you make the master&#8217;s top-rated move.</p><p>By doing that over and over, you&#8217;re going to get an idea of what set of moves the master realistically considered, what moves he kept in mind but thought were unorthodox, what moves he knew were trash. That&#8217;s a lot more wisdom to pass on than just watching him play the opponent!</p><p>Of course you need that level of access in the first place. OpenAI actually does offer logprobs through their APIs, which is partly why they&#8217;re such a popular target for distillation. And of course any open-weights model includes logprobs too.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7G_l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7G_l!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg 424w, https://substackcdn.com/image/fetch/$s_!7G_l!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg 848w, https://substackcdn.com/image/fetch/$s_!7G_l!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!7G_l!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7G_l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg" width="728" height="264.5348837209302" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:375,&quot;width&quot;:1032,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!7G_l!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg 424w, https://substackcdn.com/image/fetch/$s_!7G_l!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg 848w, https://substackcdn.com/image/fetch/$s_!7G_l!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!7G_l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a5f9fb0-5fe3-4dc6-a103-57b843526b36_1032x375.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So the teacher&#8217;s logprobs depend on its innate knowledge of course, but they also depend on the <em>context</em>, the input the teacher has received. In one sense this is obvious - the next predicted token clearly depends on the prompt you&#8217;ve given the model - but for other forms of context it&#8217;s more subtle.</p><p>One easy example is the chunks you provide in RAG. Even if the core answer is the same with and without the extra context RAG provides, you could get some additional details, or smaller effects like a change in tone or vocabulary. That&#8217;s all going to show up in the logprobs, the different distributions.</p><p>Even more subtly, you could provide different instructions or system prompts to the teacher. That&#8217;s what some researchers did here, in a paper called &#8220;Learning by Distilling Context&#8221;. This paper came out in September 2022, two months before ChatGPT, which explains why they&#8217;re focusing on relatively simple queries here.</p><p>Anyway, you can see in this example that the teacher receives the schema <em>and</em> four examples before receiving the question. Those four examples help it get the right answer. So then when you do soft-label distillation, even though the student only gets the schema in its context, through distillation it also gets the wisdom of the four examples the teacher got.</p><p>This is a very simple example, but in theory you could fill the teacher&#8217;s context window for distillation. You won&#8217;t be transmitting 100k tokens of information or whatever, but you will be transmitting some compressed version of it, compressed by the teacher model&#8217;s intelligence into this low-dimensional space. And that intelligent compression is what makes soft-label distillation generally more effective than just making synthetic data from the teacher.</p><p>I think of soft-label distillation as a way to teach process knowledge, stuff that is hard or at least inefficient to just write down as rules. Like yes, you could try to write out the mechanics of SQL and your particular business logic in the student model&#8217;s system prompt, but when you use distillation, you&#8217;re taking advantage of the teacher&#8217;s compressed wisdom and having it guide the student directly. Again drawing a human parallel, I think of it like a golf teacher standing behind you and putting his hands over yours, guiding you through the entire motion of driving or putting. Sure, he could try to explain how to do it, but the hands-on feedback and guidance as you complete a swing is going to be so much richer.</p><p>There&#8217;s a decent body of work out there about context distillation. I&#8217;ve heard Anthropic uses context distillation to take very long prompts about what Claude&#8217;s character should be and distill it into the weights. I also read a paper late last year about distilling lots of documents into a kv cache that you can then pop into a model, to basically give it memories of those documents when you then want to ask about related matters. So this general idea of using a model to effectively and intelligently compress context down into the densest possible signal is pretty robust.</p><h2>Self-Distillation Policy Optimization</h2><p><strong>+</strong></p><p><strong>Reinforcement Learning with Rich Feedback</strong></p><p>So this paper coins two new terms: self-distillation policy optimization, or &#8220;SDPO&#8221;; and reinforcement learning with rich feedback, or &#8220;RLRF&#8221;. Those are the parallels for GRPO and RLVR, which we discussed earlier.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!owsj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!owsj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg 424w, https://substackcdn.com/image/fetch/$s_!owsj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg 848w, https://substackcdn.com/image/fetch/$s_!owsj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!owsj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!owsj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg" width="728" height="238.989898989899" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:520,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!owsj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg 424w, https://substackcdn.com/image/fetch/$s_!owsj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg 848w, https://substackcdn.com/image/fetch/$s_!owsj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!owsj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c478eda-6474-4793-9d81-77bda21137f7_1584x520.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>The key insight for RLRF is that RLVR feedback is incomplete. Yes, if you&#8217;re only going to provide one bit of feedback, it&#8217;s going to be whether the solution was right or wrong. But there&#8217;s no reason we have to limit ourselves! We can provide more, <em>richer</em> feedback.</p><p>RLRF says, let&#8217;s use that feedback. Maybe we have runtime errors when our program fails. Maybe we have written feedback from an LLM judge. Maybe this is real user data and they yelled at the agent about why its actions were wrong. That&#8217;s all crucial stuff! It&#8217;s important to know <em>how</em> you were wrong, not just <em>if</em> you were wrong. And there are way more ways to be wrong than right. So just returning a reward of zero leaves something on the table.</p><p>Of course some environments are more feedback-y than others. They pick coding here because you do get those runtime errors and so on. But this is not a code-specific technique - anything you can put into tokens can be feedback here.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!448r!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!448r!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg 424w, https://substackcdn.com/image/fetch/$s_!448r!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg 848w, https://substackcdn.com/image/fetch/$s_!448r!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!448r!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!448r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg" width="728" height="220.6060606060606" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:480,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!448r!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg 424w, https://substackcdn.com/image/fetch/$s_!448r!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg 848w, https://substackcdn.com/image/fetch/$s_!448r!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!448r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc66d4259-ee7e-42e8-ae32-afc58d051d87_1584x480.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This here is where the feedback goes. This is the prompt for the teacher, which we bolster with as much context as possible so that it can guide and distill into the student. Remember, the goal of the teacher is to make adjustments to probabilities at each token, so we want the teacher to always be right.</p><p>So we start with our prompt of course, whatever problem we&#8217;re trying to solve.</p><p>Next, if we have one, we can provide an example of a correct solution from a previous rollout. That&#8217;s definitely going to help the teacher guide the student if it exists. If not, we skip this part.</p><p>After that is our feedback, from the compiler or the LLM judge or whatever. We should basically always have that, except for on the first run, but again if it doesn&#8217;t exist we skip it.</p><p>Then we provide the student&#8217;s original response. And you might be surprised that we&#8217;re providing an assistant response. Like, isn&#8217;t the model supposed to provide a new response?</p><p>But they&#8217;re using the teacher model differently. They&#8217;re not using the teacher to give its own answer, they&#8217;re using it to give its own probabilities at each token of the student&#8217;s response. You never get a complete response from the teacher. We&#8217;ll see more about that on the next slide.</p><p>So that&#8217;s what they explain in the paper, but I want to call out two things. One, you may be wondering why we&#8217;re doing any more training if the student was able to produce a correct solution. Well as we saw earlier with those pass@k graphs of increasingly high k, there&#8217;s a difference between &#8220;<em>can</em> produce a right answer&#8221; and &#8220;probably <em>will</em> produce a right answer&#8221;, and that difference may be enormous. We want to shrink that gap so that end users get better pass@1 results.</p><p>Two, why can&#8217;t we use someone else&#8217;s correct solution? The theoretical answer is that it will change the teacher&#8217;s guidance to bias toward the <em>style</em> of the correct solution as well as the <em>contents</em> of the correct solution. So if the model naturally is verbose, but our correct solution is concise, then the teacher will punish the student for being verbose, even though that doesn&#8217;t impact correctness. We want a clean signal from the teacher on correctness, which can only happen if the correct solution is from the same model we&#8217;re using for the teacher and the student.</p><p>However, practically they don&#8217;t test it. You could give them a pass and say it&#8217;s out of scope, but I think it would have been nice to try having another model family write the solutions and see what the penalty really is. If it&#8217;s small, it could be worth having humans write solutions to really hard problems and then having a SOTA model do this self-distillation thing. But then again, if we really believe in the elicitation hypothesis, you can&#8217;t teach new things with GRPO + RLVR or related methods. Still, I wish they had done the test.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Mcyt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mcyt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Mcyt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Mcyt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Mcyt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mcyt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg" width="728" height="193.03030303030303" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:420,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!Mcyt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Mcyt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Mcyt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Mcyt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F821bc031-b148-42ad-bf24-42337a04d3e0_1584x420.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Okay, so here&#8217;s how it looks when the teacher provides feedback to the student. In this example we have a question, then an answer from the student, then some text feedback. We&#8217;re gonna take all that and give it to the teacher.</p><p>The teacher is going to go token by token through the student&#8217;s answer, that bit in step 2, and compare its likelihood of that token vs the student&#8217;s likelihood of that token.</p><p>So in this example, for most of the program, the teacher and the student gave similar probabilities for the tokens: for the three tick marks, for the word &#8220;python&#8221;, for the function name etc.</p><p>But then you get to this plus symbol and you see the teacher disagree. Specifically, the teacher gives a very low probability for &#8220;+&#8221;, but the student gives a relatively high probability. Since the teacher knows the feedback and the student didn&#8217;t, the teacher is probably right, and we penalize the student.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iMi0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iMi0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!iMi0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!iMi0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!iMi0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iMi0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg" width="728" height="674.5828092243187" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:954,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!iMi0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!iMi0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!iMi0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!iMi0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6da553d3-568d-40f5-8b0f-d55b03cbc6bb_954x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a closer look at that same example. At the top they have the baseline approach of GRPO, which assigns equal credit to all tokens in a response. Red means less likely here, so because the initial response was wrong, GRPO gives low credit to all the tokens.</p><p>By contrast, SDPO assigns credit per token. We can see that for each token the student actually picked, in the first row, we also have alternative tokens it considered. So like in the first position, we have parenthesis + &#8220;range&#8221; as the selected token. But the student also considered a leading space and then &#8220;range&#8221;, &#8220;range&#8221; and a space afterwards, and a dot then &#8220;range&#8221;. The teacher agreed with the token the student chose, so the selected token has a white background.</p><p>Now if we look at the blue tokens, where the teacher assigned more credit, we see two things. One, in the second position, the student&#8217;s second pick gets high credit from the teacher, so it seems like the student was close to making the right decision.</p><p>Two, we see that plus in the sixth position is really the main problem, and that removing it and the &#8220;1&#8221; after was the right choice. The most blue token, with two close parentheses and then &#8220;\n&#8221;, is actually the final token that the student actually selected.</p><p>So again, the teacher is not generating a correct response we compare to; instead, the teacher is evaluating the student&#8217;s choice of the immediate next token given all the previous tokens chosen.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Tmju!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Tmju!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Tmju!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Tmju!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Tmju!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Tmju!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg" width="728" height="133.2828282828283" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:290,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!Tmju!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Tmju!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Tmju!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Tmju!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25832941-df78-4998-8489-7bc8ebdc7890_1584x290.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So that loss, that mismatch between teacher and student probabilities, is signal for SDPO. SDPO is the algorithm that turns the signal from the mismatch into changes of the model.</p><p>And because the teacher and the student are the same model, you can keep doing this over and over until performance saturates. So let&#8217;s say on the first round you did eight rollouts and got none right. But you got feedback, so you give that to the teacher and measure that mismatch between teacher and student probabilities. You have your loss, which you plug into SDPO, you train your model with that feedback, then you try again. Now two of your eight rollouts are correct. But the rest are still wrong. So now you take the feedback <em>and</em> the correct solution, give it to the teacher, calculate loss etc. Ideally you end up with all eight rollouts right, but maybe you top out at seven.</p><p>With standard GRPO + RLVR you just have to keep trying and hoping that the answer is in there somewhere, or that changes to the weights due to good signal on one problems helps you on this other problem.</p><p>With SDPO + RLRF, by contrast, you&#8217;re getting this extra feedback that can nudge you closer to a good solution. So it&#8217;s at least more likely that if you keep training like this, you&#8217;ll get there.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1LFq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1LFq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1LFq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1LFq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1LFq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1LFq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg" width="728" height="436.60244233378563" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1474,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!1LFq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1LFq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1LFq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1LFq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fda2e17-cd38-44b1-8a7f-5486d4f34595_1474x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s their first test of SDPO vs GRPO, with the Olmo3-7B model, working on a chemistry benchmark.</p><p>A few things to note. First, of course the accuracy improved, and improved more than with GRPO. They probably wouldn&#8217;t have published this paper otherwise.</p><p>Second, the x axis is in wall time, how long training took. That&#8217;s not usually a metric we see in these papers, they&#8217;re usually measuring performance against training steps or perhaps amount of data. Frankly I think it&#8217;s a little bit suspicious, like the accuracy improvements don&#8217;t stand on their own so they have to tout some other benefit.</p><p>Finally, and perhaps most underratedly, the response length went <em>down</em> rather than up. It went way down actually, 11x compared to GRPO, which as we saw incentivizes more tokens. &#8220;Longer thinking&#8221; as some would say, or &#8220;test-time compute scaling&#8221; - the idea that more computation to produce more tokens means more accurate answers.</p><p>But if you actually look at the thinking, it&#8217;s often repetitive or looping, and sometimes contradictory. When DeepSeek R1 came out people made a lot of observations about GRPO + RLVR getting models to say things like &#8220;Wait&#8221; or &#8220;Let&#8217;s try again&#8221; or &#8220;On the other hand&#8221;. Of course it&#8217;s good to confirm your answer from a different perspective, fox-like thinking as Isaiah Berlin would say, but doing the same calculations three times or ping-ponging between the same two points repeatedly isn&#8217;t productive.</p><p>So perhaps SDPO + RLRF is a more direct way to bring forth these reasoning paths than GRPO + RLVR.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Zepa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Zepa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Zepa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Zepa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Zepa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Zepa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg" width="728" height="352.23809523809524" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:569,&quot;width&quot;:1176,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!Zepa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Zepa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Zepa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Zepa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F908297af-1109-492a-9af1-9cda9e247b9d_1176x569.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now here&#8217;s an experiment where they narrow their training set way down, just to hard problems, to see if that rich feedback really can guide you to the right solution.</p><p>One is exactly what they&#8217;re measuring. They&#8217;re taking a couple sets of hard tasks, where the initial model gets the answer right almost never for &#8220;very hard&#8221;, or where it gets the answer right less than half the time for just &#8220;hard&#8221;. That&#8217;s only 9 and 19 tasks, respectively, which is why the error bars are so big. Anyway, what they&#8217;re measuring is basically pass@k for increasingly large k, but with a twist: for SDPO, since they&#8217;re training after each round of a certain number of rollouts, what the x axis really measures is how many rounds of SDPO it takes to get a solution. That&#8217;s why they call the y axis &#8220;discovery@k&#8221; instead.</p><p>Two is what they&#8217;re comparing. We know SDPO of course, and best-of-k just means we take k samples all at once and count it if at least one of the k samples is correct. The other trendline, &#8220;multi-turn&#8221;, is like a hacky version of SDPO: instead of <em>training</em> after each round, they just keep adding feedback to the prompt. So each incorrect attempt and its feedback get added to the prompt, which could be like hundreds of examples. They do have to cap the number of examples due to context limits, but that&#8217;s still a ton of information they&#8217;re providing. Also they run a variant where they kept the attempt <em>and</em> the feedback, not just the feedback, and that did much worse. So that&#8217;s a practical tip for your prompting: try to boil down the lessons of failed examples if you can.</p><p>And three of course is the results! SDPO outperforms the best-of-k baseline, and also outperforms multi-turn. It&#8217;s really not surprising that sequentially trying and then updating outperforms just making more and more parallel attempts, but I was surprised how bad multi-turn was. To me that really highlights how much more effective feedback becomes when you train on it. Similar to how in theory you can carefully follow documentation to get the same outcome as someone with lots of experience, but in practice there&#8217;s something about learning that makes the knowledge fit into your own sort of mental schemas in a way that reading external text misses.</p><p>One other piece to remember about the results is that from an end user perspective, the model at the end of SDPO is going to be much more useful, because it&#8217;s much more likely to get you the correct result on the first try. Pass@k for a huge k is important scientifically, but it&#8217;s irrelevant for end users.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gEW_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gEW_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg 424w, https://substackcdn.com/image/fetch/$s_!gEW_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg 848w, https://substackcdn.com/image/fetch/$s_!gEW_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!gEW_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gEW_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg" width="728" height="346.5353535353535" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:754,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 19&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="Slide 19" title="Slide 19" srcset="https://substackcdn.com/image/fetch/$s_!gEW_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg 424w, https://substackcdn.com/image/fetch/$s_!gEW_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg 848w, https://substackcdn.com/image/fetch/$s_!gEW_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!gEW_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feb474e77-a9b4-4717-b6a5-702f7ef4063f_1584x754.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So one complaint you might raise is that SDPO + RLRF requires additional feedback compared to GRPO + RLVR. Remember, the &#8220;RF&#8221; in &#8220;RLRF&#8221; stands for &#8220;rich feedback&#8221;.</p><p>To address that, they separate out the RLRF part and just test SDPO vs GRPO. So now we don&#8217;t have to make any changes to our training data or our environments, just to the training process. Remember, GRPO and SDPO both depend on there being at least some correct rollouts to get some signal, they just use that signal differently. In the case of no correct rollouts, both algorithms do nothing.</p><p>The story here is again not a clean victory for SDPO. It wins most of the time, sometimes by a lot, but other times it is basically tied or even loses by a few points. Also keep in mind the scores are average accuracy across 16 attempts. I would have liked to see pass@1 to reflect the user experience.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DWNp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DWNp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg 424w, https://substackcdn.com/image/fetch/$s_!DWNp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg 848w, https://substackcdn.com/image/fetch/$s_!DWNp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!DWNp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DWNp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg" width="728" height="580.7640449438202" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:852,&quot;width&quot;:1068,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 20&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="Slide 20" title="Slide 20" srcset="https://substackcdn.com/image/fetch/$s_!DWNp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg 424w, https://substackcdn.com/image/fetch/$s_!DWNp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg 848w, https://substackcdn.com/image/fetch/$s_!DWNp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!DWNp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa85d022e-f840-486e-85d3-dc6fe7dd1f2a_1068x852.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Another way you might compare SDPO to GRPO is by making the binary more of a spectrum, like a smoother transition from GRPO to SDPO.</p><p>The authors do that here when they make the SDPO feedback increasingly granular. Recall that GRPO is feedback over the entire response, what researchers often call the &#8220;sequence&#8221;. So sequence-level SDPO is basically GRPO but with feedback given to the teacher prompt, which apparently helps, given the separation of the grey and blue lines.</p><p>The next step in granularity is token-level, just a binary about whether the teacher thought the student&#8217;s token was the best choice or not.</p><p>And then the final step is what we saw earlier, the logits, which are basically the probabilities of any possible token for the given position. That&#8217;s the full SDPO. We called that &#8220;soft-label distillation&#8221; in the background slides.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Z-UA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Z-UA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Z-UA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Z-UA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Z-UA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Z-UA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg" width="728" height="469.57099697885195" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:854,&quot;width&quot;:1324,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 21&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="Slide 21" title="Slide 21" srcset="https://substackcdn.com/image/fetch/$s_!Z-UA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Z-UA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Z-UA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Z-UA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feda11adc-2394-4264-8a84-d07f269a6353_1324x854.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So intuitively you might think bigger models are gonna be better self-teachers, because they can take feedback into account better. Like anyone who has used AI consistently over the years knows models used to be terrible at taking feedback in conversation, missing out on subtleties or getting confused etc.</p><p>Turns out that does hold up in SDPO, at least for the range of sizes they looked at. SDPO is no better than GRPO at 0.6B, but consistently widens the gap up to 8B. Unfortunately they didn&#8217;t test the 32B model, which would have really made for a nicer story, but my guess is it does keep working at least up to a certain point. One wonders what the big labs with 1T parameter models can achieve.</p><h2>My Takeaways</h2><ul><li><p>RLRF could be a good use of human <em>qualitative</em> feedback</p><ul><li><p>RLHF already uses human <em>quantitative</em> feedback (the Likert scale)</p></li><li><p>Justifications from existing RLHF data could become RLRF data</p></li></ul></li><li><p>Seems like a straightforward replacement for GRPO</p><ul><li><p>There was some Twitter conversation about big labs using a better version of GRPO, perhaps this is it</p></li><li><p>There is a sense we are &#8220;due&#8221; for a new technical breakthrough (although maybe that was Engram)</p></li></ul></li><li><p>This all depends on the raw intelligence being in there from pretraining</p><ul><li><p>Elicitation hypothesis</p></li><li><p>Does that mean we need to focus more on pretraining to get the most out of post-training?</p></li></ul></li><li><p>RSI is coming</p><ul><li><p>Anything you can verify can self-improve</p></li><li><p>You don&#8217;t need a smarter teacher, just a student with good feedback looking over their old results</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[EdgeBench: Unveiling Scaling Laws of Learning from Real-World Environments]]></title><description><![CDATA[or, Learning to Learn From Experience]]></description><link>https://www.friendlypaperreview.com/p/edgebench-unveiling-scaling-laws</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/edgebench-unveiling-scaling-laws</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Wed, 22 Jul 2026 19:30:45 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!RHcN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on July 22, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2607.05155" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RHcN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg 424w, https://substackcdn.com/image/fetch/$s_!RHcN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg 848w, https://substackcdn.com/image/fetch/$s_!RHcN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!RHcN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RHcN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg" width="728" height="938.8166666666667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1238,&quot;width&quot;:960,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2607.05155&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!RHcN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg 424w, https://substackcdn.com/image/fetch/$s_!RHcN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg 848w, https://substackcdn.com/image/fetch/$s_!RHcN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!RHcN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c5b60c5-00ab-494b-88de-9ebcbec2796c_960x1238.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2607.05155">Paper</a>   &#183;   <a href="https://github.com/ByteDance-Seed/EdgeBench">Repo</a>   &#183;   <a href="https://seed.bytedance.com/en/blog/edgebench-measuring-real-world-environment-learning-and-discovering-a-new-scaling-law">Blog</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fY-Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fY-Q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fY-Q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fY-Q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fY-Q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fY-Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg" width="728" height="405.1618625277162" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:502,&quot;width&quot;:902,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!fY-Q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fY-Q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fY-Q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fY-Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291b065e-7e13-49f8-b56e-6bc45d159a9b_902x502.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I want to start with the notion of scaling laws and how they relate to technology itself.</p><p>In the narrow sense for LLMs, scaling laws tell us how to optimally balance compute, data, and parameters as we scale up our efforts. Like whatever your constraint is - typically it&#8217;s the compute budget you have for pretraining - your other optimal settings fall out of that. So if we have a certain number of FLOPs, which is the standard unit of compute, then using the scaling laws we can calculate the model size and the number of tokens that will minimize the loss.</p><p>That&#8217;s incredibly useful for anyone trying to build an LLM. If scaling laws didn&#8217;t exist, and you had to find the right balance empirically, you might spend months just trying different combinations every time you wanted to pretrain a new model.</p><p>The scaling laws are also pretty much independent of model architecture, at least within the transformer family. The laws are not 100% exact, so it&#8217;s more like the error bars cover all the changes people are always making to different parts of the architecture and training recipe and so on, but broadly speaking they&#8217;re quite robust.</p><p>The graphic here is from the most famous scaling law paper, <em><a href="https://arxiv.org/abs/2203.15556">Training Compute-Optimal Large Language Models</a></em>, better known by the name of the model they trained in the paper: Chinchilla. In the paper, they improve on a previous result by Kaplan et al, and they show that recent models are undertrained, meaning they are too big for the amount of training compute they received. The Chinchilla model, despite being less than half as big as GPT-3, significantly outperforms it.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!JoFQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!JoFQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg 424w, https://substackcdn.com/image/fetch/$s_!JoFQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg 848w, https://substackcdn.com/image/fetch/$s_!JoFQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!JoFQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!JoFQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg" width="728" height="346.5353535353535" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:754,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!JoFQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg 424w, https://substackcdn.com/image/fetch/$s_!JoFQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg 848w, https://substackcdn.com/image/fetch/$s_!JoFQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!JoFQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50ec4359-5176-4b7d-b24d-caa2d6c4077e_1584x754.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>There are many other specific scaling laws - we&#8217;ll cover one in the paper today - but more broadly is the lesson of scaling in general.</p><p>Its most famous avatar is <a href="http://www.incompleteideas.net/IncIdeas/BitterLesson.html">The Bitter Lesson</a>, a remarkably brief essay from 2019 by pioneering AI researcher Richard Sutton. It opens with the following lines:</p><p>&#8220;The biggest lesson that can be read from 70 years of AI research is that general methods that leverage computation are ultimately the most effective, and by a large margin. The ultimate reason for this is Moore's law, or rather its generalization of continued exponentially falling cost per unit of computation. Most AI research has been conducted as if the computation available to the agent were constant (in which case leveraging human knowledge would be one of the only ways to improve performance) but, over a slightly longer time than a typical research project, massively more computation inevitably becomes available. Seeking an improvement that makes a difference in the shorter term, researchers seek to leverage their human knowledge of the domain, but the only thing that matters in the long run is the leveraging of computation.&#8221;</p><p>Did you catch that? He&#8217;s saying scaling of compute is the baseline assumption, and any work we do better take that assumption into account, or else it will only matter in the short-term until scaling catches up.</p><p>Sutton gives a few examples. In chess, &#8220;brute force&#8221; search-based methods dominated methods that encoded centuries of human chess wisdom. In Go, a similar story occurred. In speech recognition, learning eventually beat the methods based on human knowledge. In computer vision, much the same happened.</p><p>In all cases, work that took advantage of the inevitable increase in compute outlasted work that made efficient and scrupulous use of the compute of the day, acting as though the &#8220;inefficient&#8221; and &#8220;brute force&#8221; methods would never become feasible.</p><p>In my view, this is the major trick in the tech playbook: work a problem until the only constraint becomes resources, then dump resources into the problem. A machine where the bottleneck moves around a lot isn&#8217;t much of a machine at all; it can&#8217;t deliver predictable results and thus requires a human at the helm. A true machine does its work reliably and can do more work the more fuel you give it. We are all living through a period of scaling right now with the way everyone is building out data centers.</p><p>Scaling may not continue forever, but at least within some regime, we want scaling and we want to know the scaling laws, to design bigger systems and to forecast future 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_!PJRa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PJRa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PJRa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PJRa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PJRa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PJRa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg" width="728" height="374.1111111111111" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:814,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!PJRa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PJRa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PJRa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PJRa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74a74b66-283f-4203-a816-a6b43a21ef95_1584x814.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>It&#8217;s always a bit funny how some scaling laws work. Like with the Chinchilla scaling laws, that seems to be a natural property of the universe, more akin to a physical law. But for Moore&#8217;s Law, which underpins The Bitter Lesson, that&#8217;s a prediction about society and how it will continue allocating resources, in scientific discovery and also in hardware production.</p><p>The famous METR graph is a scaling law of the latter type. As I&#8217;ve covered before, this graph shows how models are becoming more and more autonomous over time, able to handle increasingly long-horizon tasks as measured by how long it takes a competent human to do them.</p><p>The current results are actually somewhat in doubt - Mythos is too advanced for METR&#8217;s measurement task suite - but we do have reliable data points all the way up to Claude Opus 4.6, which came out in February 2026.</p><p>Now the METR folks show just the one fit line, one scaling law. But arguably there is a break in the line, which I&#8217;ve drawn in orange, with growth at 10x/year, meaning by February 2027 we&#8217;ll have an agent that can do about 100 human-equivalent hours of work autonomously at 50% success rate. Pretty nuts.</p><p>Anyway, that new trendline starts with the introduction of reasoning models. See, o1-preview introduced another axis of scaling: not training compute, not data, not parameters, but <em>inference compute</em> - how long the chain of thought could get and still improve the final answer.</p><p>That&#8217;s the other part of the scaling law puzzle: where is everything we could scale? Because once we find them, we can dump more resources into them and juice 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_!lRrT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lRrT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg 424w, https://substackcdn.com/image/fetch/$s_!lRrT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg 848w, https://substackcdn.com/image/fetch/$s_!lRrT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!lRrT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lRrT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg" width="728" height="372.27272727272725" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:810,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!lRrT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg 424w, https://substackcdn.com/image/fetch/$s_!lRrT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg 848w, https://substackcdn.com/image/fetch/$s_!lRrT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!lRrT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d53a29f-d565-4a3f-9041-7f38a5d94eb6_1584x810.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now in the course of these increasingly long tasks agents can do, there is plenty of trial and error. In some ways that&#8217;s what makes agents work: interacting with an environment, gaining information, incorporating it into future actions. That sort of exploration and iteration isn&#8217;t really present in chatbots, and it&#8217;s also not part of classic benchmarks where you&#8217;re supposed to respond to a prompt in one go.</p><p>Of course models have always been able to adapt based on their context; even responding to a basic prompt is in a sense adapting behavior to context. Historically the most common tactic has been to write rules and provide examples to put in the prompt, which folks call &#8220;in-context learning&#8221; and sometimes &#8220;few-shot&#8221; or &#8220;many-shot&#8221; depending on how many examples are in the prompt.</p><p>But now there&#8217;s this dynamic element, where an agent&#8217;s experience <em>within the same task</em> becomes part of learning. Maybe the learning goes in a scratchpad just for the task, maybe it goes into a long-term memory system, maybe it just stays in the trajectory and survives compactions. However it happens, the agent is learning as it works, just like a human would.</p><p>Sometimes people call this <em>continual learning</em>, although sometimes I see that term specifically for learning into the weights, i.e. training the model. That&#8217;s not what we&#8217;re talking about here. What we&#8217;re talking about is all ultimately in the context window, although it may live in a different tool and only enter the context window when the agent calls the relevant tool to fetch it.</p><p>Continual learning is crucial because lots of important context will never make it into the training data. Like most businesses are not going to fine-tune a model on their business logic and proprietary information. So that information has to come through the context window.</p><p>The graphic here is from <a href="https://arxiv.org/abs/2606.05661">Continual Learning Bench</a>, a bit of prior art in this space, which measures an agent&#8217;s ability to learn information from one task in a domain or environment and apply that knowledge on another task. So in this example, for the first query, the agent learns some stuff about the database, shown in the green box. Then for the second query shown, with label Q10, that green box of knowledge appears at the start to inform the agent on the task. Later on, with label Q25, the agent has to recognize which information is now stale.</p><p>For CL Bench, they test different models but also different context management systems, including Claude Code and Codex, which are coding agent harnesses but include many tools and techniques for managing context, like memory. They find that pure in-context learning, i.e. just keeping everything from the trajectory in the context window for as long as possible, does the best. However, there are only six different tasks, although each one contains many different &#8220;instances&#8221; - like Q1 and Q10 and Q25 in the diagram. And each instance is not that long, so even though an overall task can be quite long, the continual learning is more like a shared base for each instance rather than one long narrative.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VSPn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VSPn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VSPn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VSPn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VSPn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VSPn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg" width="728" height="369.5151515151515" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:804,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!VSPn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VSPn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VSPn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VSPn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0c5afb3d-8ea0-453c-8c7d-3f43e13d52b7_1584x804.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So <em>models</em> apparently have this continual learning ability. But as we know, with agents, the model is only half the story; the other half is the <a href="https://friendlypaperreview.substack.com/p/code-as-agent-harness">harness</a>.</p><p>Many agent harnesses improve continual learning, but usually as a means to improving performance on the agent&#8217;s focus area, like coding as with Claude Code. But there is one famous harness whose main job is arguably to improve continual learning: <a href="https://github.com/karpathy/autoresearch">Autoresearch</a>, from Andrej Karpathy.</p><p>The idea of Autoresearch is quite simple: plan an experiment, run it, observe the results, and use the results to plan a new experiment. It&#8217;s the scientific method, but encoded into a harness. The human picks the goal and hands off the rest to the agent.</p><p>In the actual Autoresearch repo, the goal is to train <a href="https://github.com/karpathy/nanochat">a version of GPT-2</a>. But the general method applies to any problem with a clear metric to optimize. In the graph here, that metric is the loss, which is the classic metric to minimize when training any LLM. We will see a version of this graph later, but flipped, since the goal will be to maximize a score rather than minimize a loss.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!H6IN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!H6IN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!H6IN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!H6IN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!H6IN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!H6IN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg" width="728" height="482.4227886056972" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1334,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!H6IN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!H6IN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!H6IN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!H6IN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c471ce-7080-4db1-a3d4-326a6e5000ca_1334x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Since this is a benchmark, let&#8217;s start with the tasks.</p><p>We have 134 of them, sourced from experts in many fields, with mean human effort clocking in at over 57 hours. So these are substantial tasks, putting them at the leading edge of the benchmark task time horizon distribution. We recently covered <a href="https://friendlypaperreview.substack.com/p/agents-last-exam">Agents&#8217; Last Exam</a>, and they were bragging about how a few of their tasks made it to the weeks timescale.</p><p>As we&#8217;ll see, it&#8217;s important for EdgeBench that an agent not solve any task on the first try, because what they&#8217;re measuring is ability to learn from feedback. So duration is more than just a way to match difficulty with agent capabilities - it&#8217;s intrinsic to the purpose of the benchmark.</p><p>Now as for domains: unsurprisingly, given the likely personal networks of the researchers, the tasks skew STEM, with science, programming, and ML representing over half the tasks.</p><p>Many of them are multimodal, but the authors specifically note that &#8220;tasks whose primary difficulty lies in visual understanding, especially GUI operation, are excluded&#8221; - they want the hard part to be reasoning and iteration rather than pure discernment. To me that presents somewhat of a challenge with their Interactive Games &amp; Simulators bucket, but they don&#8217;t explain any further.</p><p>Sadly for us, there is also little detail about how they made the benchmark.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!STeN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!STeN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg 424w, https://substackcdn.com/image/fetch/$s_!STeN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg 848w, https://substackcdn.com/image/fetch/$s_!STeN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!STeN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!STeN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg" width="728" height="272.0808080808081" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:592,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!STeN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg 424w, https://substackcdn.com/image/fetch/$s_!STeN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg 848w, https://substackcdn.com/image/fetch/$s_!STeN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!STeN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7a7cf1b-39c1-4982-ad82-1f9230eb25d9_1584x592.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Through manual effort, the tasks become environments, where the agents are free to experiment. The diagram shows an inner loop on the left in blue, where quick feedback from tools helps the agent learn the environment better. You can see examples in blue text along the bottom.</p><p>At a slower cadence, there is an outer loop, shown on the right in orange, where the agent can choose to submit its work to a judge. The judge evaluates the agent&#8217;s work against the ground truth or rubrics or similar, then returns the score and feedback. The ultimate goal is to maximize that score. The agent can submit any number of times, although there is a cooldown period of two minutes between submissions. Again, there are examples along the bottom in the relevant color.</p><p>So both loops allow for continual learning. Of course, since this is a benchmark, we have right answers in the outer loop to compare to. In the real world, where the right answer may be unknown, you can at least shoot to maximize some metric like we saw with Autoresearch. You just have to be careful of <a href="https://en.wikipedia.org/wiki/Goodhart%27s_law">Goodhart&#8217;s Law</a> and mistaking the optimized metric for the thing you actually want, if the two aren&#8217;t identical.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yFMf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yFMf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yFMf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yFMf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yFMf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yFMf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg" width="728" height="476" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1352,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!yFMf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yFMf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yFMf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yFMf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7614d49e-e48c-4ba3-8a59-e1065a623e98_1352x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here are the Autoresearch-esque curves, showing how top performance per model rises over time. Note how chunky the graphs often are; progress seems to happen in punctuated equilibria rather than in smooth steps, at least at a per-task level.</p><p>The keys only show the model, but the harness and context window are important too. So in full, we have:</p><ul><li><p>GPT + Codex @ 256k compact window</p></li><li><p>GLM-5.1 + CC @ 200k compact window</p></li><li><p>DSv4 Pro + CC @ 200k compact window</p></li><li><p>Opus 4.8 + CC @ 1M compact window</p></li></ul><p>They show later on that 1M provides about five percentage points of advantage over 200k, with a slow and steady decline in that gap as time elapses.</p><p>I&#8217;m a little surprised they didn&#8217;t use a neutral third-party harness here, but I do think there&#8217;s value in shooting for maximum performance rather than controlling variables. Just more evidence the model and the harness are becoming one integral whole.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WCmy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WCmy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg 424w, https://substackcdn.com/image/fetch/$s_!WCmy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg 848w, https://substackcdn.com/image/fetch/$s_!WCmy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!WCmy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WCmy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg" width="728" height="365.83838383838383" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:796,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!WCmy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg 424w, https://substackcdn.com/image/fetch/$s_!WCmy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg 848w, https://substackcdn.com/image/fetch/$s_!WCmy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!WCmy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F810d6b8f-00bb-40c2-9c57-4c0ae254f2df_1584x796.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now if we zoom out a level, from individual tasks to task categories, we see much smoother curves. In fact, they&#8217;re so smooth that you can tightly fit the same type of curve to all of them: the log-sigmoid.</p><p>A sigmoid is a classic S-curve, starting at zero and then accelerating to a midway point, then decelerating and leveling out. A log-sigmoid is that but on a logarithmic x axis, like in these graphs. So basically these models all form S-curves in log time.</p><p>That&#8217;s remarkable, because the individual tasks graphs didn&#8217;t seem to show much of a pattern at all. But if you aggregate just enough, the common pattern emerges. They have some results later showing that the pattern isn&#8217;t guaranteed from the aggregation, that it&#8217;s a real trend in how agents learn over time and over many iterations.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bsUs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bsUs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bsUs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bsUs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bsUs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bsUs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg" width="728" height="512.7814910025706" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:548,&quot;width&quot;:778,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!bsUs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bsUs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bsUs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bsUs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78c09509-bff4-4585-ba23-fbb88858b5fc_778x548.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>It&#8217;s also helpful, because it allows us to predict performance past the 12-hour window, which really saves a lot of time and tokens compared to having to actually hit 18 or 24 or 72 hours.</p><p>Here&#8217;s a validation of the predictive power of the fitted curves, taking performance through a 6.5 hour window and projecting it forward to 12 hours. The curves are pretty dead-on, even for the most inaccurate one, GPT-5.4 in teal. And actually they explain that for GPT-5.4, the score was lower than expected due to API flakiness rather than poor model performance.</p><p>So not only do they empirically validate their scaling curves, they also provide a theoretical justification. I don&#8217;t want to spend too much time on it, but the broad idea is to represent different bits of knowledge and insight as nodes on a graph. Any prerequisite knowledge is a connection. If you assume the graph structure is self-similar, basically that it looks roughly similar throughout, then you naturally expect a log-sigmoid shape when you chart progress through the nodes over time.</p><p>They&#8217;re not rigorously proving that every task will follow these laws, in part because some graphs will not be self-similar, but self-similar graphs are common enough that the theory explains why log-sigmoids are plausible at sufficiently high abstraction.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6b7H!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6b7H!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6b7H!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6b7H!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6b7H!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6b7H!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg" width="728" height="434.8324324324324" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1480,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!6b7H!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6b7H!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6b7H!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6b7H!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F103d29b6-d8e8-4e7d-932d-1d71bad9d4d4_1480x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So we have scaling for a given model over the elapsed task time. That&#8217;s nice for understanding a model&#8217;s performance ceiling, and it saves us some experiment time, but there is a juicier finding in EdgeBench.</p><p>Specifically, it&#8217;s this chart, basically their version of the famous METR graph we covered in the background portion. What this graph shows is how quickly a given model learns, as measured by average performance gain on a select subset of tasks within a two-hour budget per task.</p><p>What they find is that newer models are consistently pushing the frontier, doubling the learning speed about every three months. That&#8217;s 16x/year, which is faster than the METR graph at 10x/year. So if the trend holds, not only can we expect agents to accomplish longer tasks as measured in human completion time, we can also expect agents to complete the same tasks more and more quickly - and that&#8217;s <em>before</em> taking parallelism and multi-agent systems into account!</p><p>Now one thing to keep in mind is they aren&#8217;t measuring pure model performance, or even model + harness performance; they are also measuring hardware performance. Like if two equally capable agents are competing, but one gets twice the token output speed, it will finish significantly earlier.</p><p>In practice though, OpenAI and Anthropic shoot for similar output speeds unless you pay extra for faster tokens, so I think these results hold. In fact, the only result I would caveat is for GPT-5.4, which as we discussed encountered API issues and thus has a lower score than expected. So if you imagine the datapoint for GPT-5.4 on this graph a bit higher in the world where the API didn&#8217;t flake, it fits the trend quite well.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NINf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NINf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NINf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NINf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NINf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NINf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg" width="728" height="319.8787878787879" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:696,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!NINf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NINf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NINf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NINf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4c3fb87-dab9-4e2c-9275-df7bcf0de1f1_1584x696.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>On the left is another look at the same data, showing performance at the start and end of the two-hour window. The researchers selected the subset of tasks based on how similarly all the models initially did, so if new releases start to do significantly better to start, they may have to swap out the subset. But for now the initial performance seems about even, and there&#8217;s plenty of performance ceiling to go.</p><p>On the right though is a new trend, showing how effective new submissions are. Specifically, the graph shows what percent of submissions in the outer loop improve performance. So it seems newer models are more likely to make submissions that improve their score. Here is how the researchers put it:</p><p>&#8220;Stronger agents use feedback more deliberately: they build a submit-ready baseline, preserve the current best solution, make focused changes, and use feedback to keep gains or roll back failures. Weaker agents more often over-trust local proxies, bundle unrelated edits, or continue broad exploration after feedback has ruled out a direction.&#8221;</p><p>I do think it&#8217;s a bit confounded whether newer models just have better work and thus better submissions vs having better discretion on which work to submit, but either way you as a user are more likely to be looking at better work.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8GoP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8GoP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8GoP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8GoP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8GoP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8GoP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg" width="728" height="173.72727272727272" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:378,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!8GoP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8GoP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8GoP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8GoP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73da084c-5c89-4a47-8ac5-e009aae91e07_1584x378.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>We do have a leaderboard of course, given this is a benchmark, but honestly it&#8217;s not really the main story here; the big finding is the scaling laws rather than any one point in 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_!p0zt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!p0zt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg 424w, https://substackcdn.com/image/fetch/$s_!p0zt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg 848w, https://substackcdn.com/image/fetch/$s_!p0zt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!p0zt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!p0zt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg" width="728" height="533.9639278557114" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fba7b916-663b-471b-9266-078b828379cf_998x732.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:732,&quot;width&quot;:998,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!p0zt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg 424w, https://substackcdn.com/image/fetch/$s_!p0zt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg 848w, https://substackcdn.com/image/fetch/$s_!p0zt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!p0zt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffba7b916-663b-471b-9266-078b828379cf_998x732.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now of course with more submissions you&#8217;re likely to improve your high score. So the question for continual learning is, how much does it help to see your previous work and submissions? What is the impact compared to the baseline of many independent attempts, where you only get one outer loop submission?</p><p>Here they answer that question, using Opus 4.8 to test. The lower curve, comprising independent submissions, is basically pass@k but with k as a function of time. And it displays the classic diminishing returns curve of most pass@k results.</p><p>Meanwhile, the upper curve comprises <em>dependent</em> submissions, i.e. where the agent sees the results of each outer loop submission and can continually learn. Here we see a consistent and perhaps even widening gap, where more experience pays dividends. So yes, purely providing more chances does improve performance, but not as much as continual learning does.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZCi-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZCi-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZCi-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZCi-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZCi-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZCi-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg" width="728" height="374.1111111111111" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:814,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!ZCi-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZCi-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZCi-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZCi-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31868cc5-141b-449b-97a2-0bb773084f62_1584x814.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Finally, let&#8217;s zoom in on one task example, with an attempt by GPT-5.5.</p><p>Here we see the classic punctuated equilibrium pattern, long periods of little or no progress with occasional big jumps, until time runs out or until the agent reaches its limits. Personally I don&#8217;t know anything about detecting gravitational waves, so the specific jumps don&#8217;t mean much to me, and I don&#8217;t think they&#8217;re crucial to comprehend.</p><p>What&#8217;s interesting about this example task though is the high-level strategy GPT took to partially solve it. The authors list four points:</p><ol><li><p>The agent first makes the problem measurable before making it better</p></li><li><p>When direct repair stalls, the agent decomposes the failure into searchable subproblems</p></li><li><p>Identifying a main bottleneck lets the agent keep searching productively</p></li><li><p>After finding a stable solution, the agent keeps the core and repairs only the remaining errors</p></li></ol><p>To my eye that&#8217;s quite a general and broadly applicable set of steps. I wish they had distilled more examples like this, or perhaps taken these points and checked how pervasive they were in other attempts, by GPT and by other model families. I also wonder if prompting the agent to use these techniques would improve things.</p><h2>My Takeaways</h2><ul><li><p>We may have a new METR to track</p><ul><li><p>Why is METR having trouble with sufficiently difficult tasks, but EdgeBench was able to produce them?</p></li></ul></li><li><p>Unclear what specifically makes learning rate scale</p><ul><li><p>Model (training data)</p></li><li><p>Harness</p></li><li><p>Context length (they did prove this one actually)</p></li></ul></li><li><p>Maybe we can add signals to increase learning rate further</p><ul><li><p>More and better feedback from tools</p></li><li><p>Another agent to work with</p></li></ul></li><li><p>In-context learning and error correction are mandatory</p><ul><li><p>Even a 99% accurate agent has a 50% chance of failing after just 69 steps</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[RLAnything + OpenClaw-RL]]></title><description><![CDATA[Originally presented as a live talk on March 25, 2026]]></description><link>https://www.friendlypaperreview.com/p/rlanything-forge-environment-policy</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/rlanything-forge-environment-policy</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Mon, 20 Jul 2026 13:01:50 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!rax4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on March 25, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2602.02488" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rax4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rax4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rax4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rax4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rax4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg" width="728" height="1028.3" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1243,&quot;width&quot;:880,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;RLAnything: Forge Environment, Policy, and Reward Model in Completely Dynamic RL System&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2602.02488&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="RLAnything: Forge Environment, Policy, and Reward Model in Completely Dynamic RL System" title="RLAnything: Forge Environment, Policy, and Reward Model in Completely Dynamic RL System" srcset="https://substackcdn.com/image/fetch/$s_!rax4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rax4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rax4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rax4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F172c1f15-1080-41e9-929e-dd672767485c_880x1243.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>RLAnything: Forge Environment, Policy, and Reward Model in Completely Dynamic RL System</h3><p><em>or, Theory</em></p><p><a href="https://arxiv.org/abs/2602.02488">Paper</a>   &#183;   <a href="https://github.com/Gen-Verse/Open-AgentRL">Repo</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2603.10165" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_ICy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg 424w, https://substackcdn.com/image/fetch/$s_!_ICy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg 848w, https://substackcdn.com/image/fetch/$s_!_ICy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!_ICy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_ICy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg" width="728" height="1030.9905838041432" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1504,&quot;width&quot;:1062,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;OpenClaw-RL: Train Any Agent Simply by Talking&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2603.10165&quot;,&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="OpenClaw-RL: Train Any Agent Simply by Talking" title="OpenClaw-RL: Train Any Agent Simply by Talking" srcset="https://substackcdn.com/image/fetch/$s_!_ICy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg 424w, https://substackcdn.com/image/fetch/$s_!_ICy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg 848w, https://substackcdn.com/image/fetch/$s_!_ICy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!_ICy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169c7552-5130-460a-beb5-99ec61c19f0c_1062x1504.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>OpenClaw-RL: Train Any Agent Simply by Talking</h3><p><em>or, Practice</em></p><p><a href="https://arxiv.org/abs/2603.10165">Paper</a>   &#183;   <a href="https://github.com/Gen-Verse/OpenClaw-RL">Repo</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ngrg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ngrg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ngrg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ngrg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ngrg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ngrg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg" width="728" height="375.030303030303" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:816,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!ngrg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ngrg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ngrg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ngrg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47791275-9f26-4b22-b8dd-041558cf149c_1584x816.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So the first thing we need to talk about, and really the framing we should have for almost all AI progress, is this graph here.</p><p>It&#8217;s from a research organization called METR, and it shows the increasing duration of tasks that AI can handle autonomously. The duration is in human time, so for example they&#8217;re saying it takes competent humans about 10 minutes to find a certain obscure fact on the web, and just under an hour to train a simple type of ML model called a classifier. METR has put together a bunch of tasks with varying human durations, and it administers that suite of tasks to new models, then graphs the result.</p><p>There are two toggles on the bottom here. One adjusts the scale of the y axis, so right now it&#8217;s a log scale, meaning that our straight line here is actually an exponential line on a linear scale. The other toggle adjusts the quality threshold. Here I have it on the more conservative 80% Success setting. So like Claude Opus 4.6 can do stuff that normally takes humans about an hour, completely autonomously, at 80% success rate.</p><p>Now this graph shows one trendline over the whole period, from GPT-2 through Mythos. But if you look at the green dots, which represent SOTA at the time, really it looks like two trendlines: one trend from GPT-2 to GPT-4o, in that quick run of three green dots below the line; and then another trend from o1-preview onwards. That break is where reasoning models came in, using test-time compute scaling, using very long chains of thought to arrive at better answers.</p><p>If you believe there really are two trendlines, then the second one is steeper than the first. And on that newer steeper trendline, the time horizon is 10x&#8217;ing every year. So Opus 4.6 for example came out in February 2026 and hits ~1 hr on this graph. That means in February 2027 we&#8217;ll be at ~10 hrs. That&#8217;s an entire day of work, done completely autonomously, and largely successfully.</p><p>So a lot of the work between now and then, and after then I suppose, is about <em>long horizon</em> - increasing the duration of task that a model or agent can do, not necessarily making it smarter or more knowledgeable.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GDNA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GDNA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GDNA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GDNA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GDNA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GDNA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg" width="725" height="725" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:725,&quot;width&quot;:725,&quot;resizeWidth&quot;:725,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!GDNA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GDNA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GDNA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GDNA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78a2257c-1d68-4e8f-82ff-e475cfe4970b_725x725.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Of course the longer the horizon gets, the longer we have to wait and the more things that have to go right in order to give out a positive reward. That latter problem, where you have more and more possible points of failure, is what makes long horizon training so difficult.</p><p>Now if we think about a human setting, where you&#8217;re trying to teach someone a skill or maybe learn one yourself, the person learning probably isn&#8217;t going to do a whole practice run themselves and then check back with the teacher or the instruction manual or whatever at the end. Instead, we usually check in at certain steps or milestones. Or like in cooking, you might taste test along the way rather than tasting only at the end.</p><p>The equivalent in machine learning is <em>process supervision</em>. In process supervision, we give a reward for every step, judging two things: one, is this step accurate; two, is this step on the right path. So looking at a math example like this, which is from an OpenAI paper that we made data for, you have the accuracy of calculation and the helpfulness of that calculation in getting the right answer. Of course in this example the final step is the incorrect one, so all we have to judge is the accuracy of the calculation, but in earlier steps you implicitly have to judge both with just one score.</p><p>Process supervision works for anything that happens in discrete steps. Math is like this, but creative writing is not. Even programming mostly is not, since you can often change the order of code blocks without impacting functionality. But one big chunk of the ML world <em>is</em> like this: agent trajectories. The observe-think-act loop is inherently sequential, and changes to the environment often demand a certain sequence. For example, navigating through a website requires a series of clicks <em>in a certain order</em>.</p><p>So it seems we can add process supervision onto agents pretty naturally. That means we&#8217;ll have a <em>process reward model</em>, a PRM, that gives out rewards at each step. That&#8217;s in addition to whatever reward we give at the end of the trajectory, which people sometimes call an <em>outcome reward model</em> or ORM, but often is just called a <em>reward model</em>, since outcomes are the default thing to give rewards on.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9-Vc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9-Vc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg 424w, https://substackcdn.com/image/fetch/$s_!9-Vc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg 848w, https://substackcdn.com/image/fetch/$s_!9-Vc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!9-Vc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9-Vc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg" width="522" height="400" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:400,&quot;width&quot;:522,&quot;resizeWidth&quot;:522,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!9-Vc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg 424w, https://substackcdn.com/image/fetch/$s_!9-Vc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg 848w, https://substackcdn.com/image/fetch/$s_!9-Vc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!9-Vc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F717cf0a3-6554-4512-8814-f8d56f23ad19_522x400.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So if intermediate rewards are so valuable, and maybe increasingly necessary, why doesn&#8217;t everyone use them? We&#8217;ve covered agent RL papers before, and none of them have had intermediate rewards. Why not?</p><p>In my view, there are two reasons.</p><p>One is, it&#8217;s expensive to make process supervision data. There are just way more annotations per task. If you can avoid process supervision and just use outcome labels, that&#8217;s way cheaper per task, so you can get more tasks and more diversity etc. This is partly why RLVR data has largely displaced PRM data for reasoning. Of course, if you could get that data for cheap or even free, the balance might change.</p><p>The other, thornier reason is reward hacking.</p><p>Briefly, reward hacking is when the stuff you reward is only a proxy for what you actually want, and that gap between the rewarded thing and the actual goal causes unexpected or bad behavior. For example, you might reward a model for passing unit tests on a coding problem, but the model could learn to just hardcode passing behavior instead of writing the real program. Or even worse, it could learn to edit the tests to just always make them pass.</p><p>Reward hacking can happen whenever there are rewards. If you just have an <em>outcome</em> reward, then there&#8217;s only <em>one</em> possible hacking target per task. But if you add in intermediate rewards, you&#8217;ve added new hacking targets. So intermediate rewards already add some risk.</p><p>But there&#8217;s a deeper problem with intermediate rewards: they can distract or derail the agent entirely. The gif on the slide here shows one such example. It&#8217;s from a 2016 blog post from OpenAI, by Dario Amodei and Jack Clark actually, who later went on to found Anthropic. The post is called &#8220;Faulty reward functions in the wild&#8221;. In it, they describe some RL experiments they did in a boat racing game called CoastRunners. As humans, we know the goal of a boat-racing game is to place first. But actually, the game only tracks points, which you get from hitting these floating green blocks and then from your finish order. The most points wins.</p><p>When they set their RL agent loose on this game, they saw something funny: the agent learned to ignore the race and just steer the boat in a circle over and over again, racking up points from the same three green blocks. Often it just circled forever and never ended the race at all.</p><p>That is the danger of intermediate rewards. You have to pick something, often arbitrary or not strictly required for your end goal, and reward on it. Even with domain expertise and careful design, it can still go sideways.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Z6_E!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Z6_E!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Z6_E!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Z6_E!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Z6_E!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Z6_E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg" width="728" height="257.7743190661479" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:455,&quot;width&quot;:1285,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!Z6_E!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Z6_E!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Z6_E!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Z6_E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1dbe5afa-24cc-4f3b-9e6b-b139e6211785_1285x455.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>On a different note, we also need to cover a training technique called &#8220;self-distillation&#8221;.</p><p>Let&#8217;s start with plain ol&#8217; distillation, which is where you use one model to train another model, &#8220;distilling&#8221; the wisdom from the teacher model into the student model. Distillation has been in the news from time to time because <a href="https://sites.law.berkeley.edu/thenetwork/2025/03/30/the-innovation-dilemma-ai-distillation-in-openai-v-deepseek/">OpenAI</a>, <a href="https://www.semafor.com/article/02/24/2026/anthropic-accuses-chinese-firms-of-distillation-attacks">Anthropic</a>, and <a href="https://sites.law.berkeley.edu/thenetwork/2025/03/30/the-innovation-dilemma-ai-distillation-in-openai-v-deepseek/">Google</a> have all caught the major Chinese labs distilling off their models, which violates the terms of service.</p><p>The naive way to distill is to have the student copy each output token from the teacher in response to a prompt. Like if you penalize the student for outputting anything except what the teacher output, then the student will learn to sound more like the teacher.</p><p>But if you can go one level deeper, to the probability distributions of the teacher rather than just the one final token it spit out, that teaches much more richly. That&#8217;s what we&#8217;re looking at here. Sometimes people call that &#8220;soft-label distillation&#8221;, as opposed to the &#8220;hard-label distillation&#8221; I described earlier as the naive approach.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lb9D!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lb9D!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg 424w, https://substackcdn.com/image/fetch/$s_!lb9D!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg 848w, https://substackcdn.com/image/fetch/$s_!lb9D!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!lb9D!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lb9D!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg" width="728" height="264.5348837209302" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:375,&quot;width&quot;:1032,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!lb9D!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg 424w, https://substackcdn.com/image/fetch/$s_!lb9D!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg 848w, https://substackcdn.com/image/fetch/$s_!lb9D!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!lb9D!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91547f1e-129e-4108-b6e4-9c2adf76f4dc_1032x375.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So the Chinese labs have been distilling off the American models by passing the same input to the teacher and the student. The teacher is better than the student, so the student learns and improves.</p><p>But it doesn&#8217;t have to be that way. In the paper from two weeks ago, they actually kept the model the same in both cases - same model for teacher and student - but they gave the teacher extra <em>context</em>. Just like having your friend quiz you, with them looking at the answer key so they can guide you to the right answer.</p><p>In the example here, the teacher for this SQL bot gets some examples in its context, whereas the student does not. So when you do distillation, the student is receiving the extra wisdom the teacher had due to its extra context, without actually needing that context in the prompt anymore. Since you&#8217;re using the same model in both cases, it&#8217;s called &#8220;self-distillation&#8221;.</p><p>Notice how flexible this can be. Anything you can put into words can be distilled. For example, apparently Anthropic uses distillation to teach Claude how to be Claude, with a big document in the teacher&#8217;s context containing Claude&#8217;s principles and operating procedure etc.</p><p>The paper from two weeks ago used context distillation to incorporate feedback from the environment. So the model would attempt a task, get some feedback like failing unit tests or a critique from an LLM judge, then put that into its context in the role of teacher. Then the model with its teacher hat on would basically grade every token probability in the original response, then train to minimize that loss. They called that &#8220;self-distillation policy optimization&#8221;, SDPO, and unlike other techniques like GRPO, it doesn&#8217;t require rewards that boil down to numbers. It&#8217;s a richer signal that naturally occurs in any system that provides feedback.</p><h2>The Paper: RLAnything</h2><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WPd-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WPd-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg 424w, https://substackcdn.com/image/fetch/$s_!WPd-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg 848w, https://substackcdn.com/image/fetch/$s_!WPd-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!WPd-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WPd-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg" width="728" height="178.7828282828283" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:389,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!WPd-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg 424w, https://substackcdn.com/image/fetch/$s_!WPd-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg 848w, https://substackcdn.com/image/fetch/$s_!WPd-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!WPd-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F31e3bcfd-d5c6-45dd-849f-173181102fdb_1584x389.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Okay, so our first paper is called RLAnything. That&#8217;s because their proposed system is fully generic, across any sort of task, or at least that&#8217;s the claim.</p><p>They break down RL into three parts:</p><ol><li><p>The <em>policy</em> model, which is the model actually generating responses or actions etc</p></li><li><p>The <em>reward</em> model, which judges process and outcome rewards, except for any verifiable rewards you might have that don&#8217;t need judging</p></li><li><p>The <em>environment</em>, which includes the prompt as well as the tools and state the agent has to navigate to accomplish whatever task</p></li></ol><p>They&#8217;re going to be adjusting all three of these dynamically to maximize performance, which we&#8217;ll see in the next few slides.</p><p>While we&#8217;re here though, a couple things to sort out. One is some terminology: they often say &#8220;step-wise&#8221; instead of &#8220;process&#8221;, and they have a &#8220;critic&#8221; model that is actually a separate LLM not involved in training at all.</p><p>Second is the notation. I know the math looks very scary, but it&#8217;s just a lot of annoying symbols to keep track of, no exotic operations. Like for the left side, all they&#8217;re saying is the total reward is the outcome reward plus the average of the process rewards, which they request from the PRM m different times just for consistency. And then O and S, the outcome and step-wise rewards, are gonna be either 1 or -1, nothing in between. Also P stands for the policy model, R stands for the process reward model, and E stands for the environment.</p><p>Third, the PRM is going to return a score but also its reasoning, like a justification our contributors would write in an RLHF task. That will be helpful down the line as we&#8217;ll see, especially for separating the correctness of the individual step from the helpfulness towards a good outcome.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!njsb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!njsb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg 424w, https://substackcdn.com/image/fetch/$s_!njsb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg 848w, https://substackcdn.com/image/fetch/$s_!njsb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!njsb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!njsb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg" width="728" height="319.1859296482412" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:698,&quot;width&quot;:1592,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!njsb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg 424w, https://substackcdn.com/image/fetch/$s_!njsb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg 848w, https://substackcdn.com/image/fetch/$s_!njsb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!njsb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F518807fd-79eb-407a-bcaf-934edcc2fb4b_1592x698.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now for their experiments they&#8217;re primarily testing on two benchmarks of a couple hundred tasks each:</p><ol><li><p>AlfWorld, which is basically a text adventure game</p></li><li><p>OSWorld, the gold standard for computer use agents</p></li></ol><p>Sometimes they report the results for AlfWorld as &#8220;LLM agent&#8221; and the results for OSWorld as &#8220;GUI agent&#8221;.</p><p>As for the models, they&#8217;re using Qwen2.5-7B for AlfWorld and Qwen3-VL-8B for OSWorld. Not the newest models, and not the biggest either, but quite common for academic work.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SRRX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SRRX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg 424w, https://substackcdn.com/image/fetch/$s_!SRRX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg 848w, https://substackcdn.com/image/fetch/$s_!SRRX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!SRRX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SRRX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg" width="728" height="535.0526315789474" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:782,&quot;width&quot;:1064,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!SRRX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg 424w, https://substackcdn.com/image/fetch/$s_!SRRX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg 848w, https://substackcdn.com/image/fetch/$s_!SRRX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!SRRX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37533432-2b7f-4355-a490-d7d9907a65ff_1064x782.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s an illustration of how they adjust the task and environment to balance difficulty and novelty and hit that Goldilocks zone. Remember, the PRM is basically a classifier, and classifiers do best when the classes in their training data are roughly balanced. So we roughly want to have an equal number of good and bad steps to train on and thus improve our PRM, which is key to this whole approach.</p><p>On the top is an OSWorld example, where the reward model gives two accurate criticisms of the policy model. An outside LLM then reviews the trajectory and the criticisms and makes a modification, which allows the policy model to improve from 0% to 25% accuracy.</p><p>They also have AlfWorld and coding examples with the same idea, although in both cases it&#8217;s to make the task harder.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!H4uP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!H4uP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg 424w, https://substackcdn.com/image/fetch/$s_!H4uP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg 848w, https://substackcdn.com/image/fetch/$s_!H4uP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!H4uP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!H4uP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg" width="728" height="519.106529209622" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:830,&quot;width&quot;:1164,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!H4uP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg 424w, https://substackcdn.com/image/fetch/$s_!H4uP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg 848w, https://substackcdn.com/image/fetch/$s_!H4uP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!H4uP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0098efcb-8927-463b-a080-15267fb08bac_1164x830.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This graphic encapsulates their results, so let&#8217;s go through each:</p><ol><li><p>On the first one, they&#8217;re showing that you get the best results when you make all three components of your system dynamic. So you want to train both your policy <em>and</em> reward model, and you want to adjust your environment to be neither too hard nor too easy, so that you&#8217;re always getting some signal but always leaving room to improve</p></li><li><p>On the second one, they&#8217;re comparing the value of process rewards and outcome rewards. So for the yellow line, it&#8217;s just outcome rewards, with human labels. Then on the blue line they&#8217;ve added a PRM, but they don&#8217;t train it, which maybe helps a little but shows a PRM per se is not the big difference. The red line however is <em>only</em> a PRM, but trained, and that ends up doing the best. So that shows the value of a good PRM if you can get it.</p></li><li><p>On the third one, they&#8217;re just showing overall improvement from their method. LiveBench is actually a coding benchmark and isn&#8217;t an agent thing, yet their method even works there</p></li><li><p>Finally, on the fourth one, they&#8217;re showing how their adjustment to environment and task difficulty progresses over time and correlates with the quality of the policy and reward models</p></li></ol><p>No mind-blowing results, but again, the emphasis is on how general and automatic the method is. They didn&#8217;t need to make any data, including those risky intermediate rewards we talked about earlier.</p><p>And they didn&#8217;t need to customize the setup much. They did have to think a bit about what inputs the PRM received in each case - the prompt + a summary of past actions and observations for both, the last two images for OSWorld - and they did have to know where the metaphorical &#8220;knobs&#8221; on the environments were for difficulty adjustment. But that&#8217;s about it.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KKAw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KKAw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg 424w, https://substackcdn.com/image/fetch/$s_!KKAw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg 848w, https://substackcdn.com/image/fetch/$s_!KKAw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!KKAw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KKAw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg" width="728" height="255.53535353535352" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:556,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!KKAw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg 424w, https://substackcdn.com/image/fetch/$s_!KKAw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg 848w, https://substackcdn.com/image/fetch/$s_!KKAw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!KKAw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe283e013-dd77-40c5-860b-003bf8b44e52_1584x556.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a closer look at the results on the benchmarks, with different components allowed to change in different rows. A couple quick pieces of terminology:</p><ul><li><p>OOD is &#8220;out of distribution&#8221;, like eval tasks that weren&#8217;t similar to the training tasks</p></li><li><p>UT stands for &#8220;unit test&#8221;, how accurate the PRM was at writing unit tests for judging step quality</p></li><li><p>&#8220;Detect&#8221; means accuracy at detecting bugs</p></li></ul><p>So they&#8217;re improving across the board, with more dynamic components being better. A couple thoughts.</p><p>First, look at the difference between process and outcome reward accuracy between GUI Agent and LLM Agent. That&#8217;s a clean demonstration of how process rewards have two jobs: checking the correctness of the immediate step, and estimating how much that step helps get the right final result. So we see in LLM Agent they&#8217;re similar - it&#8217;s roughly as hard to do one as the other. These are short trajectories and each one needs to have the end goal in mind. But for GUI Agent, they&#8217;re quite different; it&#8217;s apparently quite easy to tell whether the agent actually performed the right action, but it&#8217;s often not obvious whether that action will lead to a good outcome. That makes sense for computer tasks, where you have to click through to see everything, it&#8217;s not all laid out for you at once. Like sometimes you have to click around to check out all the options and menus and so on.</p><p>The second thing is that you don&#8217;t need a perfectly accurate PRM to improve results. You can see for both agents that the improvement in the policy model is far greater than the improvement in the reward model in most cases. Even noisy signal is better than nothing, at least at these noise levels. Below 50% accuracy for the PRM I expect the policy model would suffer.</p><h2>The Paper: OpenClaw-RL</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!V-kl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!V-kl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg 424w, https://substackcdn.com/image/fetch/$s_!V-kl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg 848w, https://substackcdn.com/image/fetch/$s_!V-kl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!V-kl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!V-kl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg" width="728" height="294.06354009077154" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:534,&quot;width&quot;:1322,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!V-kl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg 424w, https://substackcdn.com/image/fetch/$s_!V-kl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg 848w, https://substackcdn.com/image/fetch/$s_!V-kl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!V-kl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e458dcd-7ab8-4938-a152-a3c2cbd85c8f_1322x534.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Okay, so we&#8217;ve seen how process supervision can help agents. Now we&#8217;re going to see how to collect process supervision data naturally.</p><p>Because if you think about it, natural use of chatbots and agents doesn&#8217;t quite look like training data. Like if you&#8217;ve worked with agents at all, you know you&#8217;re often in dialog with them, providing feedback on their work and often not just leaving them to work on their own.</p><p>And nobody is really going to make nice training data out of their own usage. It&#8217;s a lot of work to get nicely scoped tasks and neat boundaries on trajectories and final outcomes and rewards. That&#8217;s why we get paid!</p><p>But surely there is a way to use the conversational feedback users often give, whether positive (like saying thanks or showing excitement) or negative (like scolding the model or making a correction).</p><p>Now this paper has much more of an engineering focus than the previous paper. So you&#8217;re going to encounter some training and hosting tools we don&#8217;t tend to cover here, especially because Scale focuses on the data side. So RL servers, Megatron, SGLang, slime, these are not important for us frankly. Just know they are the software that makes a lot of this all work.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bQDk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bQDk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bQDk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bQDk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bQDk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bQDk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg" width="728" height="246.8030303030303" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:537,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!bQDk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bQDk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bQDk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bQDk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F198c5690-0267-461c-a452-488d99fcce49_1584x537.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So we&#8217;re going to be collecting and using feedback in three different ways here.</p><p>The first is basically a PRM, like in the previous paper. The rewards are binary, i.e. just -1 or 1 or 0, even though this graphic doesn&#8217;t say it. And they come in the course of conversation rather than waiting until the end. New words but same meaning really.</p><p>The genuinely new thing here is what context they give the PRM. Specifically, they&#8217;re providing the agent&#8217;s action, environment feedback, and user response. So if the agent makes a tool call and it returns some error about missing arguments, that&#8217;s probably gonna earn a -1. Or if the tool call works but the user complains that the agent is fetching the wrong information, also -1. Conversely, if the user seems happy, that could earn a 1. And if there&#8217;s no clear feedback or too little to judge on, the PRM can return 0. So this method rewards the user for more natural or expressive use of the agent.</p><p>The second method is also like a PRM, but with distillation instead of rewards. So it&#8217;s operating on the same single-step scale, and it&#8217;s using the same sources of feedback, but it&#8217;s putting them to work in different ways. First, the distillation method includes a lot of filtering and only uses clear mistakes for feedback, since the teacher is only helpful if the student has something to learn. Also, there&#8217;s some consolidation, where they use a model to summarize the mistake rather than just dumping the raw interaction into the teacher&#8217;s context.</p><p>The third method is pretty much what we saw in RLAnything: combining process and outcome rewards, PRM and RLVR basically.</p><p>The graphic doesn&#8217;t make the difference clear, but it&#8217;s important to separate the first two from the third. The first two methods are <em>only</em> stepwise, so they can run continuously, alongside all your interactions. The third one, by contrast, requires a definite outcome to then reward.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Utkq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Utkq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Utkq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Utkq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Utkq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Utkq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg" width="728" height="219.68686868686868" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:478,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 19&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="Slide 19" title="Slide 19" srcset="https://substackcdn.com/image/fetch/$s_!Utkq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Utkq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Utkq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Utkq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6bdf903-287f-4617-b16a-7d3df6bae87e_1584x478.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>It&#8217;s a bit of an artificial marriage then, these continuous vs task-based methods. And actually the things they improve and the way they measure are different too.</p><p>For the continuous methods, the feedback from conversations, the researchers used two related examples: a student who wants to use OpenClaw to do his homework, and a teacher who wants OpenClaw to do grading in a certain way. Pretty subjective stuff, which makes sense with the more qualitative feedback their methods are able to capture, although the results are less compelling in my view. They have a scoring method, and you can see the improvement in scores on the right, but the scoring is just an LLM judge scoring the agent&#8217;s response given the user&#8217;s preferences.</p><p>This is the type of change you could prompt engineer, rather than something that absolutely has to be trained. So the value isn&#8217;t results per se, it&#8217;s how you can get these results &#8220;for free&#8221; just by incorporating natural signals.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4j9S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4j9S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg 424w, https://substackcdn.com/image/fetch/$s_!4j9S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg 848w, https://substackcdn.com/image/fetch/$s_!4j9S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!4j9S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4j9S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg" width="728" height="201.3030303030303" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:438,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 20&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="Slide 20" title="Slide 20" srcset="https://substackcdn.com/image/fetch/$s_!4j9S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg 424w, https://substackcdn.com/image/fetch/$s_!4j9S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg 848w, https://substackcdn.com/image/fetch/$s_!4j9S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!4j9S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d039632-eeb5-4dd8-8976-4db99053901d_1584x438.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>They also have the more traditional objective results on benchmarks. Keep in mind they&#8217;re using Qwen3-4B across the board, so the gains are respectable. I don&#8217;t have much to add because this part is basically a rehash of RLAnything, but it seems their two new methods may be helping too.</p><h2>My Takeaways</h2><ul><li><p>Where is the role for our training data?</p><ul><li><p>Extracting training data from natural use means it&#8217;s way cheaper (even though lower quality/hit rate) and already from the natural distribution</p></li><li><p>So perhaps the economics favor the low-volume, high-utility cases (e.g. medicine, frontier STEM)</p></li></ul></li><li><p>Can PRMs replace human-written intermediate rewards?</p><ul><li><p>We know intermediate rewards can incentivize weird behavior</p></li></ul></li><li><p>Another step on the path to continual learning</p><ul><li><p>Also similar in spirit to Karpathy&#8217;s <a href="https://github.com/karpathy/autoresearch">Autoresearch</a></p></li></ul></li><li><p>This is probably already happening in some form</p><ul><li><p>Big labs I&#8217;m sure</p></li><li><p>Possibly anyone with an agent and access to the weights</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation]]></title><description><![CDATA[or, Diffusion in Production]]></description><link>https://www.friendlypaperreview.com/p/dspark-confidence-scheduled-speculative</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/dspark-confidence-scheduled-speculative</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Fri, 17 Jul 2026 14:27:58 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Ej60!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on July 15, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2607.05147" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ej60!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Ej60!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Ej60!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Ej60!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ej60!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg" width="728" height="1031.2168905950095" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1476,&quot;width&quot;:1042,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2607.05147&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!Ej60!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Ej60!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Ej60!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Ej60!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9514b29-6097-444b-bd2f-b63e1d6843fb_1042x1476.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2607.05147">Paper</a>   &#183;   <a href="https://github.com/deepseek-ai/DeepSpec">Repo</a>   &#183;   <a href="https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro-DSpark">Hugging Face</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0FZv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0FZv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0FZv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0FZv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0FZv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0FZv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg" width="728" height="286.7878787878788" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:624,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!0FZv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0FZv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0FZv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0FZv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bf7407b-2321-4b8a-a821-588f75a18b22_1584x624.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To understand this paper, we have to understand how a model on a GPU turns your prompt into predicted tokens.</p><p>Let&#8217;s start with what we already know from our daily use of LLMs: you pass in your prompt all at once, you wait a bit, and then you start getting back tokens one by one.</p><p>Already we can start to relate to this diagram. The part where you pass in your prompt is called <em>prefill</em>. During prefill, you are filling up the working memory of the model, what we call the <em>KV cache</em>. The diagram here kinda breaks up &#8220;KV&#8221; and &#8220;cache&#8221;, but you can see that the prompt turns into KV vectors, and then those get cached, hence &#8220;KV cache&#8221;.</p><p>So now we have all the input in our working memory. That can take a long time depending on the hardware you&#8217;re using and how big your input is, but importantly, prefill happens for all input tokens <em>in parallel</em>. Typical prefill speeds are in the hundreds or thousands of tokens per second.</p><p>So once prefill is done, the model is ready to start making predictions. And it makes those predictions one at a time, as the diagram shows: first &#8220;jumps&#8221;, then &#8220;over&#8221;, etc etc. This stage is called <em>decode</em>, because we&#8217;re decoding the mathematical representations that the model works with into words that humans work with.</p><p>Because decode runs one token at a time, it is <em>much</em> slower than prefill, typically in the tens of tokens per second.</p><p>Note that when we decode a token, it gets cached too - that&#8217;s why the dotted line at the top spans prefill <em>and</em> decode. So the KV cache, that working memory, grows every time the model outputs a new token.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1-x7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1-x7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1-x7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1-x7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1-x7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1-x7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg" width="728" height="442.5332239540607" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:741,&quot;width&quot;:1219,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!1-x7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1-x7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1-x7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1-x7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0a7f70b-feef-4e10-9fdf-6c77c96bef9f_1219x741.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now let&#8217;s look a level deeper, at the hardware. On a GPU, you have your <em>chip</em>, and you have your <em>memory</em>, aka your VRAM. When you start up your model server, the server reads the model from your hard drive and puts it into your VRAM, right next to your chip.</p><p>When you actually <em>use</em> your model, like by sending it a prompt and getting back a response, your model server takes one layer of your model at a time from VRAM and sends it to your chip for computation. So if I&#8217;m at the very first attention layer, it&#8217;s gonna take my input and the matrices that actually make up the first attention layer and send &#8216;em to the chip for multiplication and so on. Then it takes that first attention layer back from the chip, along with the KV cache created from the computation, and it&#8217;s gonna send in the first feed-forward layer for computation.</p><p>That process of loading and computing and unloading happens over and over again until you&#8217;re at the final layer, where the chip can finally produce the predicted token. Then you gotta do the whole routine over again to predict the next token.</p><p>So this shuttling of weights to and from the chip is typically what slows you down - the constraint is your <em>memory bandwidth</em>, not the speed of your chip. If you can somehow compute multiple tokens at once in decode, like you do for prefill, then ultimately you can predict tokens faster.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VoOt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VoOt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VoOt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VoOt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VoOt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VoOt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg" width="728" height="351.8283911671924" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:766,&quot;width&quot;:1585,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!VoOt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VoOt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VoOt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VoOt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F948ea3d0-20fc-47a7-b4ee-d48d4b8aa997_1585x766.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The question is, how do you predict multiple tokens? If predicting a token requires understanding all the tokens before it, how can you predict more than one?</p><p>The answer is in the name of the technique: &#8220;speculative decoding&#8221;. Instead of making a brand new prediction every time, you <em>speculate</em> about what the next few tokens will be - you take a guess beforehand and then check.</p><p>Speculative decoding works for the same reason prefill is faster than decode: inputs get processed in parallel. As we said before, once you load the weights onto the chip, it&#8217;s quick to do one or two or three or four calculations. As long as you have a good way to guess tokens, the model can check them all in parallel.</p><p>Of course, if the first token fails, then the other ones you guessed after it will likely be wrong and you&#8217;ll have to throw them away. But if your method for guessing tokens is cheap enough, and you&#8217;re not wrong too often, it can work out.</p><p>One common method is to have a version of the model itself make the guesses. Specifically, a much smaller version, ten or a hundred times smaller in fact, so it&#8217;s much faster and also can fit on the same GPU. This &#8220;draft model&#8221; as it&#8217;s called is not nearly as smart as the target model that is actually producing tokens, but it&#8217;s often smart enough. After all, most tokens are not incredibly complex or subtle; language is chock full of common and supporting words, and a lot of sentences are pretty mundane, meant to support the occasional novel or surprising sentence. It&#8217;s even more true for code, which demands predictable structure in a way natural language doesn&#8217;t.</p><p>As the graphic shows, the draft model quickly produces a few tokens, which all go into the target model in parallel rather than in serial. And thinking back to the last slide about where the bottleneck is, because you now have multiple tokens ready for computation, you save all that shuttling from VRAM to the chip on the second and third and fourth tokens.</p><p>In the example here, we have indeed generated four tokens, but the third one gets rejected, and the target model&#8217;s predicted token takes its place. The fourth draft token doesn&#8217;t get checked at all, because it depends on the third draft token being correct, which it wasn&#8217;t.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sKuP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sKuP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg 424w, https://substackcdn.com/image/fetch/$s_!sKuP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg 848w, https://substackcdn.com/image/fetch/$s_!sKuP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!sKuP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sKuP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg" width="728" height="418.1526520051746" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/baba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:444,&quot;width&quot;:773,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!sKuP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg 424w, https://substackcdn.com/image/fetch/$s_!sKuP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg 848w, https://substackcdn.com/image/fetch/$s_!sKuP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!sKuP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaba0b11-ec07-4c10-bb45-a3dafeade1a9_773x444.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s zoom in on this example a bit more. We have our four speculated tokens from the draft model, and we&#8217;re going to verify them with the target model.</p><p>Specifically, we&#8217;re going to check if the probability of the speculated token for the target model is at least as high as the probability of that token from the draft model. Like in our case, the target model thought &#8220;Brown&#8221; was 93% likely, and the draft model thought it was 92% likely, and since the target model is smarter, we take the increased probability as a sign that the draft model was pointing us in the right direction. Similar story for &#8220;Fox&#8221;.</p><p>But for &#8220;Hopped&#8221;, the draft model was more confident in that token than the target model was. That&#8217;s a bad sign and means we should reject the draft model&#8217;s choice.</p><p>Incidentally, when the target model rejects the third token, it substitutes its own - in this case it&#8217;s the word &#8220;jumped&#8221;. That extra token you get from the target model when it rejects the token from the draft model is called a &#8220;bonus token&#8221;, because you get it &#8220;for free&#8221; in the process of verification. If you&#8217;re really lucky and all your speculated tokens get approved, you get a bonus token after <em>that</em>, directly from the target model. Like if all four tokens had been right in this example, we also would have gotten a fifth token as well, with virtually no extra effort.</p><p>Now as you might imagine, the draft model is going to be better at predicting some tokens than others. Like on a hard reasoning problem, the acceptance rate will be quite low, maybe like 25%. But on a more structured and straightforward task, like using a web search tool, it could be near 100%. So speculative decoding isn&#8217;t a complete across-the-board speedup, but for a lot of mundane LLM uses it&#8217;s helpful. It&#8217;s really an empirical question depending on your use cases, your hardware, what model you&#8217;re using, stuff like that.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!c7E9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!c7E9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg 424w, https://substackcdn.com/image/fetch/$s_!c7E9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg 848w, https://substackcdn.com/image/fetch/$s_!c7E9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!c7E9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!c7E9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg" width="728" height="319.8787878787879" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:696,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!c7E9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg 424w, https://substackcdn.com/image/fetch/$s_!c7E9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg 848w, https://substackcdn.com/image/fetch/$s_!c7E9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!c7E9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fc7a20a-485d-4013-83b6-b185b57ae7f5_1584x696.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I should add that there are other forms of speculative decoding, or of trying to predict multiple tokens in one go anyway. We&#8217;ll briefly see one called EAGLE-3 in the paper for example.</p><p>Another example, which we&#8217;re looking at here, is literally called &#8220;multi-token prediction&#8221; or MTP. The difference with MTP is that is has to be part of a model&#8217;s training from the get-go, it&#8217;s not an external enhancement.</p><p>You can see it right there along the top, at the boxes labeled &#8220;Cross-Entropy Loss&#8221;. The loss is the single number that tells you how well your model is doing. In a normal model, your pretraining loss is based on how likely you predicted the actual next token in the training data would be. That&#8217;s the first box along the top, it has an arrow pointing to L_Main - that&#8217;s the symbol for loss.</p><p>But here in MTP, there are multiple losses! As you continue along the top, you&#8217;ll see L_MTP^1 and L_MTP^2 - the losses for predicting the first and second of the multiple tokens. So now your loss is from the normal token, the first MTP token, and the second MTP token. And if you do training right and minimize the overall loss, you can get pretty good at predicting multiple tokens.</p><p>Fittingly, modern MTP itself is an invention of the DeepSeek crew, although Meta invented the original version. Many other models now come with MTP. You can think of it as the baseline speculative decoding approach, which EAGLE-3 and DSpark and others must surpass in order to add value.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Cs4u!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Cs4u!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Cs4u!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Cs4u!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Cs4u!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Cs4u!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg" width="728" height="354.80808080808083" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:772,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!Cs4u!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Cs4u!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Cs4u!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Cs4u!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb904d09f-d965-45b2-8809-567383e386c2_1584x772.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>One type of speculative decoding setup is <a href="https://github.com/z-lab/dflash">DFlash</a>, pictured here. It uses the classic setup of a draft model speculating tokens for the target model to verify, not the MTP baseline we just saw. Like MTP before it, DFlash will serve as the base from which DeepSeek innovates, and may serve as the same springboard to popular deployment.</p><p>DFlash uses a diffusion-based model, which means it outputs multiple tokens in parallel. That&#8217;s actually what the &#8220;D&#8221; in the name stands for. By comparison, in a standard LLM you only output one token at a time. That&#8217;s called &#8220;autoregressive&#8221;. Even MTP is autoregressive, because the second speculated token depends on the first, and the third depends on the second, and so on.</p><p>Putting out tokens in parallel means faster prediction, which means faster throughput for your target + drafter system. However, predicting tokens in parallel usually leads to worse quality, since language is inherently serial, where the right next word depends heavily on what came before it. Like if two similarly likely predictions are &#8220;Of course&#8221; and &#8220;No problem&#8221;, then I might end up predicting &#8220;Of problem&#8221; or &#8220;No course&#8221; instead.</p><p>To me it&#8217;s kind of surprising that diffusion LLMs work at all! We&#8217;ll come back to how DFlash mitigates the quality loss in a minute.</p><p>So in this diagram, DFlash takes in one token from the target model and outputs three tokens in parallel - the green ones, which start life as the special token &#8220;&lt;mask&gt;&#8221; but end up as real predictions. Those green tokens at the end - &#8220;speculative&#8221;, &#8220;decoding&#8221;, and &#8220;&lt;eos&gt;&#8221; (a special token which stands for &#8220;end of sequence&#8221;) - are the speculative tokens that the target model will then verify. Again, pretty similar to the standard speculative decoding setup with an autoregressive draft model predicting three tokens out.</p><p>Even the guts of DFlash are similar. The draft model starts with an embeddings layer, which pretty much all models do, turning tokens into vectors that the model can work with. In fact the embeddings layer is from the target model directly, it&#8217;s not even part of the draft model. Then the two main layers - &#8220;bidirectional attention&#8221; and &#8220;MLP&#8221; - are much like the standard attention and feed-forward networks of a typical LLM. And the two layers together form a block, the dashed box in pale green, with multiple blocks in a row forming the bulk of the draft model. Then at the end there&#8217;s a language modeling head, exactly like in a typical LLM, that basically undoes the embedding and produces tokens again. That also is directly from the target model.</p><p>Now we come back to the twist that DFlash introduces to improve diffusion quality: the boxes in blue, which they call &#8220;Fused Target Context Features&#8221;. That&#8217;s a real mouthful, but all it means is they take some of the target model&#8217;s thoughts, or &#8220;hidden states&#8221;, and put them into the draft model&#8217;s brain at every block. That&#8217;s much faster than trying to feed all the previous output into the draft model, because the hidden states are already compressed and compact. It&#8217;s also higher quality, because the target model is much bigger and smarter than the draft model.</p><p>So now that the draft model can put itself more in the frame of mind of the target model, it can make better predictions. It still can fall prey to the perils of parallelism, like the &#8220;Of problem&#8221; example I gave before, but empirically it seems to do significantly better.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pAwA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pAwA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pAwA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pAwA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pAwA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pAwA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg" width="728" height="532.3373493975904" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:789,&quot;width&quot;:1079,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!pAwA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pAwA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pAwA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pAwA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79b7c945-f69e-4c61-969b-571572e38826_1079x789.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So this idea of speculative decoding, of adding this nearly-free verification step, depends on memory bandwidth being the bottleneck. Like if the weights from the current layer could just zap onto the chip, then the bottleneck would move back onto compute, onto how fast the chip could do the matrix multiplications to predict (or verify) the next tokens. You only get the &#8220;free&#8221; win of speculative decoding because you have this idle time waiting for the next weights to arrive.</p><p>But there actually is another way you could tip the balance from memory bandwidth to compute: adding more tokens for verification. Like if you tried to speculate and verify the next million tokens, you surely would spend more time verifying than you would waiting for the next layer to get to the chip. So somewhere between zero and a million there is a crossover point, where you&#8217;ve used up all the idle time with speculation.</p><p>In theory that&#8217;s the optimal spot: you have made use of otherwise-wasted compute availability, and you have not delayed the load of the next set of weights. Below that point, you&#8217;re leaving compute on the table. Above that point, you&#8217;re certainly not benefiting, and given speculative decoding is not accurate 100% of the time, realistically you are losing.</p><p>Now in practice a single user would never come anywhere close to this crossover point - you can&#8217;t realistically predict more than 10-ish tokens out at any likelihood of success. But for <em>multiple</em> users, in <em>batch</em> processing, it&#8217;s quite possible to overload the verification queue and slip past the crossover point, or &#8220;knee&#8221; as it&#8217;s sometimes called. And of course a big lab like DeepSeek <em>is</em> thinking about the batch case, because they&#8217;re serving tons of users and squeezing the hell out of every GPU.</p><p>So: we know we want to be right around the knee to maximize our <em>compute</em> throughput. What this doesn&#8217;t say is how to maximize <em>token</em> throughput, which will depend on maximizing compute throughput with the right balance of batch size and speculation size, but also on maximizing the accuracy of our speculation. And <em>that</em> is what DSpark is all about.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8MNz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8MNz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8MNz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8MNz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8MNz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8MNz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg" width="728" height="487.53939393939396" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1320,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!8MNz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8MNz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8MNz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8MNz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0641968-3fcd-4ff6-b893-3db05a2c4a48_1320x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So this is the DSpark setup. We have our target model on the left, and our draft model on the right. The job of the draft model is to speculate tokens for the target to verify. In this case, given the most recent target model output &#8220;D&#8221;, the draft model will ultimately return tokens &#8220;E&#8221;, &#8220;F&#8221;, and &#8220;G&#8221;. The target model verifies E and F but not G, which the target replaces with the proper next token, &#8220;G*&#8221;. All totally standard.</p><p>What&#8217;s new is inside the big box on the right. We start with our parallel block, which contains between 1 and 5 draft layers, just like with DFlash. Each layer comprises attention and feed-forward, again like DFlash.</p><p>The two new additions happen after the parallel block produces its predictions, here called &#8220;Logits&#8221; because they are not tokens yet, they are distributions of token likelihoods. So going back to our parallel decode example from before with &#8220;Of course&#8221; and &#8220;No problem&#8221; colliding to become &#8220;Of problem&#8221;, the first position&#8217;s logits might say 70% odds for &#8220;Of&#8221; and 30% odds for &#8220;No&#8221;, while the second position&#8217;s logits might say 40% chance for &#8220;course&#8221; and 60% chance for &#8220;problem&#8221;. If we just take the most likely token for each position, we&#8217;re gonna end up with &#8220;Of problem&#8221;, which we want to avoid.</p><p>Since we have those probability distributions though, we still have the chance to tweak them to produce better outcomes. And that&#8217;s what this sequential block is all about. It&#8217;s a super lightweight way to add a little bit of sequential information to our otherwise parallel streams. So now for our second position, if we know we predicted 70% for &#8220;Of&#8221; and 30% for &#8220;No&#8221; for the first position, we can use that information and make &#8220;course&#8221; the more likely choice. That will add a tiny bit of time as we&#8217;ll see, but the accuracy gains will be worth it.</p><p>Now improved accuracy is always useful no matter the setting, but thinking back to our batch serving wrinkle, we also need the other new part: the grey boxes and the blue bar at the top.</p><p>The grey boxes are confidence scores, a score from 0-1 that DSpark assigns based on how likely it thinks the token is to be accepted. The blue bar, the scheduler, looks at how busy the GPU is and basically decides how big of a risk to take. Like if the GPU is super busy, then there&#8217;s not much idle compute between cycles of target model weights loading, so the confidence bar will be high and the speculation length will be short. Conversely, if the GPU is pretty free, then you might as well keep even the unlikely tokens in.</p><p>Remember, the parallel block generates the same number of tokens regardless, it doesn&#8217;t cost more to generate more at this scale. So the strategy is to generate a bunch, do a quick pass on which ones are likely good or not, and then filter from there based on capacity. In this example, apparently H was below the confidence threshold, so DSpark dropped it.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6VYl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6VYl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6VYl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6VYl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6VYl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6VYl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg" width="728" height="298.73737373737373" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:650,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!6VYl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6VYl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6VYl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6VYl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f97fdb0-0d01-4fa8-9129-c3257bbe6291_1584x650.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now if we just focus on the first new feature, that sequential block that gives the parallel tokens a bit of information about the tokens before them, we can already see a big advantage in the average number of draft tokens accepted.</p><p>Across every benchmark and across all four models, DSpark is a strict improvement over DFlash, by about 10-20%. It&#8217;s also significantly better than another speculative decoding technique, Eagle3, that we will touch on a bit later.</p><p>One clear trend across benchmarks is the impact of domain on acceptance length. For math and code, which have more structure than natural language, the draft model can often predict pretty long sequences. By contrast, chats from a wide variety of users are often hard for the draft model to predict responses to.</p><p>Within the benchmarks, you can also see that easier prompts are easier for the draft model to predict responses to. Like GSM8K, which stands for &#8220;grade school math 8000&#8221;, is not hard even for small models nowadays. But AIME25, which is competitive math, is harder and thus less predictable.</p><p>So it seems the context greatly influences the risk-reward ratio for speculative decoding of all sorts. Hence the confidence scores! The DeepSeek folks love this trick of adding more learning in different parts of the model, like with <a href="https://friendlypaperreview.substack.com/p/mhc-vs-attention-residuals">mHC</a> and <a href="https://friendlypaperreview.substack.com/p/conditional-memory-via-scalable-lookup">Engram</a> - two previous papers of theirs we&#8217;ve covered.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!br8T!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!br8T!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg 424w, https://substackcdn.com/image/fetch/$s_!br8T!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg 848w, https://substackcdn.com/image/fetch/$s_!br8T!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!br8T!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!br8T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg" width="728" height="215.87381703470032" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:470,&quot;width&quot;:1585,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!br8T!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg 424w, https://substackcdn.com/image/fetch/$s_!br8T!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg 848w, https://substackcdn.com/image/fetch/$s_!br8T!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!br8T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad9f757-4516-4d9d-b2ab-ce2038de5751_1585x470.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Here&#8217;s another way of comparing results across methods and domains. On the x axis is the position of the draft token, and on the y axis is how often that token was accepted, given all the other tokens before it were accepted. Because remember, as soon as one token in the draft sequence is rejected, the rest of the tokens after that in the sequence are discarded.</p><p>Before I explain the results, it&#8217;s important to remember that draft models have a hard latency cap, because they have to generate and send along their tokens in that bit of time where there is idle compute. So when we compare drafters, we expect roughly similar speeds.</p><p>However, we do <em>not</em> expect roughly similar sizes. That&#8217;s because for a given size, parallel models are much faster than autoregressive models. So if we hold speed constant instead, we expect parallel drafters to be much bigger. And bigger models are generally smarter.</p><p>That&#8217;s why DFlash, a parallel model, does so much better than EAGLE-3, an autoregressive model - at least at the start. Once you move past the first token though, DFlash starts to run into that &#8220;Of problem&#8221; issue, what the authors call &#8220;suffix decay&#8221;. The less structured the text, the worse the problem bites. That&#8217;s why the scores on Chat are lower overall, and why EAGLE-3 in particular rises so sharply. Remember though, this is all <em>conditional</em> on the prior tokens being approved, which on an absolute scale just gets less and less frequent the further you go in draft token position. So EAGLE-3 being better late-game doesn&#8217;t help as much as it might seem just from looking at these graphs - you have to keep the overall results from the previous slide in mind.</p><p>Anyway, that all is ultimately background for the DSpark results, which once again are superior across all domains and draft positions. That&#8217;s because DSpark blends the parallelism (and thus greater input context) of DFlash with the autoregression (and thus greater consistency) of traditional LLMs and methods like EAGLE-3. We haven&#8217;t even gotten to the hardware-aware part, which is novel.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xHiH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xHiH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xHiH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xHiH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xHiH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xHiH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg" width="728" height="323.55555555555554" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:704,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!xHiH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xHiH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xHiH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xHiH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d693f41-6d19-4cd3-baf6-50e75bad1af5_1584x704.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now so far we&#8217;ve been measuring just one particular design of DSpark, when in reality there are two clear design knobs: the <em>depth</em>, i.e. the number of attention + feed-forward layers in the parallel block; and the <em>block size</em>, i.e. the number of tokens the parallel block predicts.</p><p>The previous results used five layers and seven for the block size. So now they&#8217;re gonna turn each knob a bit on both DSpark and its predecessor, DFlash, which has the same two knobs.</p><p>Although the layer knob isn&#8217;t even worth turning on DFlash, because DSpark with just two layers beats DFlash with five layers on every single benchmark. Five still improves performance and apparently fits the latency budget though, hence their choice in the previous slides.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!M-lw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!M-lw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg 424w, https://substackcdn.com/image/fetch/$s_!M-lw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg 848w, https://substackcdn.com/image/fetch/$s_!M-lw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!M-lw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!M-lw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg" width="728" height="188.43434343434345" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:410,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!M-lw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg 424w, https://substackcdn.com/image/fetch/$s_!M-lw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg 848w, https://substackcdn.com/image/fetch/$s_!M-lw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!M-lw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8ba6adb-edc4-4c10-9bf4-1695ffdb2bdc_1584x410.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Now for the other knob, here they have fixed the layers at five but have moved the block size up and down.</p><p>Overall, greater block size there on the x axis does help, but the rate of improvement falls off quickly, especially above eight. On the negative side, latency increases directly with block size. You can see why they picked a compromise value, although it&#8217;s not clear to me why they settled on seven when they measured eight and when slightly higher values seem defensible. Maybe they had a maximum latency threshold and just picked the biggest block size under that? I&#8217;m not sure.</p><p>Also, I know there are two different DSpark trends on here, but the curves are so similar that it&#8217;s not worth getting into the difference between Markov vs RNN. It&#8217;s just two different ways of structuring the autoregressive part.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QRRE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QRRE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg 424w, https://substackcdn.com/image/fetch/$s_!QRRE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg 848w, https://substackcdn.com/image/fetch/$s_!QRRE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!QRRE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QRRE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg" width="728" height="244.5050505050505" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:532,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!QRRE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg 424w, https://substackcdn.com/image/fetch/$s_!QRRE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg 848w, https://substackcdn.com/image/fetch/$s_!QRRE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!QRRE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F789ba014-aedf-428d-89e9-41c0a5fa9c2d_1584x532.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So far all the results have been hardware-agnostic, not taking the overall workload of the GPU into account. Now we can get into the hardware-aware part, which I think is the most DeepSeek-y aspect of the paper, given their reputation for squeezing every last bit of performance out of the limited hardware Chinese labs get access to.</p><p>As I mentioned at the top, DSpark looks at the available idle compute and decides how big a swing to take. If there&#8217;s lots of compute that would otherwise sit idle, DSpark takes bigger swings, since even low-likelihood bets could still end up with positive expected value. On the other end, if you have little or no spare compute - if you&#8217;re at or past the knee of that graph from the background slides - only a pretty likely sequence will have positive expected value, since you&#8217;re displacing a smaller number of guaranteed accurate tokens.</p><p>Now in general, confidence is going to decrease with token position, since it&#8217;s harder to guess tokens that are further out. But you could have some more predictable ones after actually. Like for a code problem, if the name of the function is somewhat arbitrary then the confidence may be low, but the parenthesis after it may be highly confident because that&#8217;s part of defining the function. So the way they deal with this is by calculating <em>cumulative</em> confidence when they do the cutoff, i.e. the confidences of each token up to the given position multiplied together. That guarantees the overall confidence is monotonic, it can only be flat or go down.</p><p>Anyway, as you&#8217;d expect, the higher the confidence threshold, the higher the acceptance rate but the lower the number of draft tokens DSpark gives to the target model for verification. The lowest confidence buckets in particular seem like free wins, basically no harm in cutting out those 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_!ZMNq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZMNq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZMNq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZMNq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZMNq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZMNq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg" width="728" height="292.3030303030303" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:636,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!ZMNq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZMNq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZMNq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZMNq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F994f4660-ffab-445c-960b-7407b72f1fd8_1584x636.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s what I call the &#8220;money graph&#8221;. Not directly for the economic benefits of their efficiency gains, but because it really drives home how big a win a seemingly small change to DFlash made.</p><p>This is real production data from serving their current models. Each tiny dot is one combination of individual user speed vs overall GPU throughput. So they were able to collect a ton of empirical data on DSpark.</p><p>There are two ways to read this graph. One is at a trend level, where DSpark is clearly superior to MTP; the lines don&#8217;t overlap at all, and the gap is huge in some regimes.</p><p>The other is at a performance level, with one aspect fixed and the other one left to compare. That&#8217;s what the dotted lines are doing. So for example, with DeepSeek V4 Flash, if your GPU only needs to do about 1.5k tokens/second, then each individual user is going to see 85% faster throughput with DSpark compared to MTP. Or, starting from the same dot on the MTP trend - about 120 tok/s for each individual user - then your GPU can do 661% more tok/s overall. That&#8217;s crazy performance gain for practically no extra model size and latency!</p><h2>My Takeaways</h2><ul><li><p>This seems like the right new default for speculative decoding</p><ul><li><p>Just when MTP was getting popular!</p></li><li><p>Luckily, you can add DSpark to a model later on, whereas MTP has to be part of pretraining</p></li></ul></li><li><p>I don&#8217;t think DSpark portends the triumph of full-blown diffusion LLMs (dLLMs)</p><ul><li><p>Draft models don&#8217;t need to be that good to be useful</p></li><li><p>Perhaps standalone dLLMs will be useful for easy tasks where maximum speed is essential</p></li><li><p>Google calls <a href="https://deepmind.google/models/gemma/diffusiongemma/">DiffusionGemma</a> &#8220;experimental&#8221;</p></li></ul></li><li><p>Always learn where possible</p><ul><li><p>This is what DeepSeek did with <a href="https://friendlypaperreview.substack.com/p/mhc-vs-attention-residuals">mHC</a> and <a href="https://friendlypaperreview.substack.com/p/conditional-memory-via-scalable-lookup">Engram</a>, they did it here too</p></li><li><p>Where else can we be learning?</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[mHC vs Attention Residuals]]></title><description><![CDATA[Originally presented as a live talk on April 1, 2026]]></description><link>https://www.friendlypaperreview.com/p/mhc-vs-attention-residuals</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/mhc-vs-attention-residuals</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Mon, 13 Jul 2026 13:01:41 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!T6WR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on April 1, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2512.24880" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!T6WR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg 424w, https://substackcdn.com/image/fetch/$s_!T6WR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg 848w, https://substackcdn.com/image/fetch/$s_!T6WR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!T6WR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!T6WR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg" width="728" height="1031.81755986317" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1243,&quot;width&quot;:877,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;mHC: Manifold-Constrained Hyper-Connections&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2512.24880&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="mHC: Manifold-Constrained Hyper-Connections" title="mHC: Manifold-Constrained Hyper-Connections" srcset="https://substackcdn.com/image/fetch/$s_!T6WR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg 424w, https://substackcdn.com/image/fetch/$s_!T6WR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg 848w, https://substackcdn.com/image/fetch/$s_!T6WR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!T6WR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9035988-95ee-4d76-8d55-2c0c41c00ce5_877x1243.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>mHC: Manifold-Constrained Hyper-Connections</h3><p><em>or, The Importance of Being Normalized</em></p><p><a href="https://arxiv.org/abs/2512.24880">Paper</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2603.15031" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5S0p!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg 424w, https://substackcdn.com/image/fetch/$s_!5S0p!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg 848w, https://substackcdn.com/image/fetch/$s_!5S0p!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!5S0p!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5S0p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg" width="728" height="941.183800623053" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1245,&quot;width&quot;:963,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Attention Residuals&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2603.15031&quot;,&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="Attention Residuals" title="Attention Residuals" srcset="https://substackcdn.com/image/fetch/$s_!5S0p!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg 424w, https://substackcdn.com/image/fetch/$s_!5S0p!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg 848w, https://substackcdn.com/image/fetch/$s_!5S0p!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!5S0p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd335463-e826-4c86-ba03-285d9b4f55a4_963x1245.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>Attention Residuals</h3><p><em>or, Attention Really Is All You Need</em></p><p><a href="https://arxiv.org/abs/2603.15031">Paper</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!udHf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!udHf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg 424w, https://substackcdn.com/image/fetch/$s_!udHf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg 848w, https://substackcdn.com/image/fetch/$s_!udHf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!udHf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!udHf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg" width="728" height="309.78723404255317" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:460,&quot;width&quot;:1081,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!udHf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg 424w, https://substackcdn.com/image/fetch/$s_!udHf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg 848w, https://substackcdn.com/image/fetch/$s_!udHf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!udHf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F382cbd0b-d18f-49d1-a09a-da18a33e3801_1081x460.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So since this is a head-to-head paper review, we have to talk about the two fighters in the ring.</p><p>On the left we have DeepSeek, one of the two S-tier labs in China, the other one being the Qwen folks. DeepSeek is an outgrowth of a hedge fund called High-Flyer, and it has spent a lot of its life as a fun science project rather than a hard-charging startup. That culture of exploration has produced some highly respected research, including the birth of the modern MoE model and the public discovery of how to train reasoning models, which previously only OpenAI had discovered with o1 and o3, but kept private.</p><p>We covered one of their most recent innovations, the Engram memory system, back in February. The paper we&#8217;re covering today, mHC, came out just before that.</p><p>Everybody thought DeepSeek would release V4 of their flagship model around Chinese New Year, but that was weeks ago and so far we&#8217;ve heard nothing. I suspect the combination of high internal standards and little commercial pressure has them working on improvements rather than shipping something middling.</p><p>Now on the right we have Moonshot, makers of the Kimi series of models. Moonshot <em>is</em> a hard-charging startup, solely dedicated to making commercially viable LLMs. They were founded in March 2023. Since then, they have released several versions of Kimi, most recently Kimi K2.5, a 1T parameter model. They also just raised $1B and plan to IPO in Hong Kong soon.</p><p>Kimi has won praise for its overall performance, but in particular its personality and writing skills. I think it&#8217;s the &#8220;Claude-iest&#8221; Chinese model, which actually would make sense, since recently Anthropic accused Moonshot of distilling from Claude. Possibly relatedly, Cursor used Kimi as their starting point for their most recent coding model, Composer 2.</p><p>On the science side, they traditionally haven&#8217;t released a ton, although they did claim some engineering breakthrough related to the optimizer Muon.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nWSj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nWSj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg 424w, https://substackcdn.com/image/fetch/$s_!nWSj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg 848w, https://substackcdn.com/image/fetch/$s_!nWSj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!nWSj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nWSj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:834,&quot;width&quot;:834,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!nWSj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg 424w, https://substackcdn.com/image/fetch/$s_!nWSj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg 848w, https://substackcdn.com/image/fetch/$s_!nWSj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!nWSj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5013b898-f767-4344-8a30-bdb3646dc686_834x834.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Okay, now we can get into the technical piece.</p><p>First, let&#8217;s recap transformers. To oversimplify somewhat, transformers have three pieces:</p><ol><li><p>Embedding, for turning text or other inputs into vectors</p></li><li><p>Attention, for understanding how different parts of the input relate to each other and forming a holistic view</p></li><li><p>Feed-forward network, for &#8220;thinking&#8221; or processing that understanding. In this diagram the feed-forward network is a MoE, a kind of sparse network. In other transformers it&#8217;s a dense network</p></li></ol><p>Embedding happens once at the start, then attention and FFN layers trade off over and over again, dozens of times. One attention plus one FFN layer is called a transformer block. In this diagram though, they only have four layers, and they don&#8217;t show the division into blocks.</p><p>Now in reality there are other minor components, like RMSNorm or similar, but we will put them aside for now.</p><p>The only thing left to note is these arrows and plus signs, which show how information flows and combines between layers. That&#8217;s what we need to take a closer look at.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!x4Td!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!x4Td!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg 424w, https://substackcdn.com/image/fetch/$s_!x4Td!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg 848w, https://substackcdn.com/image/fetch/$s_!x4Td!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!x4Td!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!x4Td!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg" width="728" height="454.2506861848124" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:682,&quot;width&quot;:1093,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!x4Td!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg 424w, https://substackcdn.com/image/fetch/$s_!x4Td!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg 848w, https://substackcdn.com/image/fetch/$s_!x4Td!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!x4Td!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ed8de8a-de31-467a-8d98-890ad47923fe_1093x682.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This is where residuals come in. Mathematically it&#8217;s very simple, but in the diagrams I used to find it confusing.</p><p>Here &#8220;h&#8221; is a hidden state, basically the stuff that moves along inside a model and that the attention and FFN layers process. Then at the end the hidden state gets turned into a token or a class or whatever other thing your model is predicting.</p><p>It used to be that hidden state passed directly from layer to layer, like the output of one layer would be the input of the next layer. But then, back in 2015, some researchers at Microsoft decided to add in this other component, the residual - the hidden state from before the previous layer.</p><p>In the formula at the top, that&#8217;s h_(l-1), the first term on the right side. The second term is the output of the previous layer, where the function f_(l-1) is either attention or FFN. The little plus sign in a circle in the diagram literally means addition - you are adding the output of the most recent layer to the original input for that layer, and that&#8217;s what forms your input for the next 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_!4UgM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4UgM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg 424w, https://substackcdn.com/image/fetch/$s_!4UgM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg 848w, https://substackcdn.com/image/fetch/$s_!4UgM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!4UgM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4UgM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg" width="610" height="446" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:446,&quot;width&quot;:610,&quot;resizeWidth&quot;:610,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!4UgM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg 424w, https://substackcdn.com/image/fetch/$s_!4UgM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg 848w, https://substackcdn.com/image/fetch/$s_!4UgM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!4UgM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4cff98aa-d3a9-4c67-9d35-85e8a2b630ce_610x446.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So that&#8217;s <em>what</em> residuals are. Now the question is, <em>why</em> do we need them?</p><p>To understand that, we have to look at the two directions information flows in a transformer: <em>forward</em>, when you&#8217;re doing inference; and <em>backward</em>, when you&#8217;re training.</p><p>The forward case is more straightforward. If you only have the output of one layer as the input of the next layer, you can lose sight of the original input. It&#8217;s like playing a game of telephone - changes and errors can stack up. But if you add the residual connections, you&#8217;re always providing an unaltered version of the past layer&#8217;s input.</p><p>And if you look at the formula from the last slide, you can actually write an equivalent version, which I&#8217;ve shown here. Notice in the new version that the hidden state for the current layer relates directly to the hidden state entering the first layer; the current state is the original state <em>plus</em> all the layers. If you didn&#8217;t have the residual connections, you would lose that h_1 term. So the residual connections let information flow directly between layers.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Giy4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Giy4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Giy4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Giy4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Giy4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Giy4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg" width="728" height="385.35593220338984" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:812,&quot;width&quot;:1534,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!Giy4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Giy4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Giy4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Giy4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feadf4403-19e7-4bd6-9386-5b24fac642d6_1534x812.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So that&#8217;s the forward pass. Now for the backward pass, we have to get a little more sophisticated.</p><p>When you are making a model, you ultimately are trying to minimize some loss, some formula you&#8217;ve written that describes how far off your model is from ground truth. So in a linear regression for example, a very simple mathematical model where you&#8217;re just trying to fit a straight line to a series of points on a graph, your errors are the distances between each point and the line, and your loss is the sum of the square of those differences.</p><p>Loss for a LLM is really not that different. When you&#8217;re doing pretraining or SFT, your loss is related to the probability your model gave for the actual next token in the training data. When you&#8217;re doing RL, your loss is related to the rewards you&#8217;ve calculated.</p><p>The big script L in this formula is the loss. On the left side, what we&#8217;re asking for is how to calculate the change in loss if we make changes to the input at a certain layer. And if you look on the right side, you see that it depends on the changes to the loss due to the input at the final layer, capital L, and the changes to just the attention or FFN outputs at each layer. It&#8217;s just the chain rule from calculus, applied to the giant mathematical equation that is the LLM.</p><p>Note something important here in the formula though: that capital I, which is basically the vector equivalent of 1. That&#8217;s due to the residual connections. And without it, if enough of those local changes are close to zero, then the whole right side basically ends up at zero. This problem is called &#8220;vanishing gradients&#8221;, and the more layers you add, the more of a problem it will be.</p><p>So the residual connections allow your training information, your measurement of how any tweak to the system will impact the loss, to persist.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Y4-K!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Y4-K!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Y4-K!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Y4-K!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Y4-K!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Y4-K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg" width="728" height="346.5353535353535" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:754,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!Y4-K!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Y4-K!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Y4-K!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Y4-K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54551362-2aec-4f63-ac9f-5aa7a37bedae_1584x754.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So that&#8217;s your basic residual connection setup. It works great, everyone uses residuals, problem solved. Right?</p><p>Well we&#8217;re going to see about that in a minute, but one final bit of background to introduce, or perhaps reintroduce, is The Bitter Lesson.</p><p>The Bitter Lesson is an essay by famed machine learning researcher Rich Sutton, pictured here as a GPU enjoyer. His basic point in the essay is that because computing power grows so quickly, scaling up &#8220;dumb&#8221; or simple approaches always beats &#8220;clever&#8221; or complex approaches that humans design. For example, when a machine beat a human at chess back in 1997, it didn&#8217;t have lots of sophisticated chess strategies in its memory; instead, it searched the space of possible moves by brute force, and it just so happens that in 1997 that was finally technically possible.</p><p>The same thing is true for the field of machine learning that deals with language, &#8220;natural language processing&#8221;. People spent a long time trying to encode the rules of human language into machines, but then along comes OpenAI and just dumps an Internet worth of text into a model and throws enough GPU time at it to learn to produce human language.</p><p>The way I think of it is, learning surpasses engineering. If we can learn something rather than design it, we should.</p><h2>The Papers</h2><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8diT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8diT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8diT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8diT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8diT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8diT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg" width="728" height="62.5625" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:121,&quot;width&quot;:1408,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!8diT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8diT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8diT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8diT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5295fc9-0110-4a6f-baa7-f9554a73b21a_1408x121.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So both papers want to change how residuals work. They just disagree on the best way to do it.</p><p>I&#8217;m going to reground us in the two forms of the residuals equation from Moonshot: recursive, on the left; and iterative, on the right. Remember, these are mathematically equivalent.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rxIF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rxIF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rxIF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rxIF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rxIF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rxIF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg" width="728" height="454.48295454545456" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:879,&quot;width&quot;:1408,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!rxIF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rxIF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rxIF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rxIF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d8dda14-ebf7-4afa-86a2-c303f0dd9d79_1408x879.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I also need to introduce the DeepSeek versions of these equations, on the bottom row. They are mathematically identical, it&#8217;s just that the DeepSeek version includes the weights W of the attention or FFN that the Moonshot version omits.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!k12Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!k12Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg 424w, https://substackcdn.com/image/fetch/$s_!k12Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg 848w, https://substackcdn.com/image/fetch/$s_!k12Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!k12Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!k12Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:835,&quot;width&quot;:835,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!k12Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg 424w, https://substackcdn.com/image/fetch/$s_!k12Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg 848w, https://substackcdn.com/image/fetch/$s_!k12Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!k12Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd8236645-3871-403b-b445-855af68fa7bd_835x835.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>What would our man Rich say about this?</p><p>Yes, more learning!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TmJ8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TmJ8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg 424w, https://substackcdn.com/image/fetch/$s_!TmJ8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg 848w, https://substackcdn.com/image/fetch/$s_!TmJ8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!TmJ8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TmJ8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg" width="728" height="343.03400416377514" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:679,&quot;width&quot;:1441,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!TmJ8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg 424w, https://substackcdn.com/image/fetch/$s_!TmJ8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg 848w, https://substackcdn.com/image/fetch/$s_!TmJ8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!TmJ8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddd26567-a957-406a-a728-75ac27bcbb3d_1441x679.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So let&#8217;s do more learning. Onto both of these equations we&#8217;re going to add new learnable parameters.</p><p>For DeepSeek on the left, it&#8217;s these matrices H, in three different varieties. We&#8217;ll see exactly what they are in a later slide, but for now just remember that the H matrices - &#8220;Hyper-Connections&#8221; in the jargon - are our new learnable parameters.</p><p>Note that the bottom equation, the even more fiendish-looking one, is the iterative version. So that&#8217;s directly comparable to iterative equation from Moonshot. I just didn&#8217;t want to make too big a leap at once.</p><p>Now for Moonshot on the right, the knob to turn is alpha, a single number rather than a matrix. That single number comes from some matrix math though, so I guess you could say we&#8217;ve abstracted the complexity away from this equation.</p><p>Anyway, the point is they&#8217;re both on to the same insight: the implicit equal weighting across all the layers for standard residuals is leaving something on the table.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BuuE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BuuE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BuuE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BuuE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BuuE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BuuE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg" width="728" height="393.87373737373736" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:857,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!BuuE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BuuE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BuuE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BuuE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5943e6ba-b6ed-4349-8057-29acaa27e570_1584x857.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now that we know how DeepSeek and Moonshot&#8217;s approaches are similar, we can precisely parse their differences.</p><p>Here&#8217;s a graphic from the mHC paper laying out their changes in two steps. We start with the standard residual connection, adding the original input of an attention or FFN layer to the output of that layer.</p><p>To go from connections to hyper-connections, we have to split the input into many different channels, many different parallel lanes, which is why they show some of the hidden states as multiple boxes now. Mathematically, we&#8217;re taking the vector x at the very start of the model and just copying it n times, so that x is now a matrix with n identical columns. But the columns are all gonna go on their own journey so to speak through their individual channels in the model, only to be collapsed back into a single vector all the way at the end of the model. So if we look at a random layer in the middle, the different channels are going to have different values of x_el.</p><p>Now we can get a little better sense of our H matrices. We have H^res for adjusting the original input, H^pre for adjusting the input before it goes to the attention or FFN layer, and H^post for adjusting the output of that layer. That&#8217;s three new knobs per layer, across all the layers. And the extra channels allow more information to flow as well.</p><p>So this Hyper-Connections part, the middle graphic, is actually <em>not</em> from DeepSeek - it&#8217;s from ByteDance, and the paper came out in September 2024. So what did DeepSeek contribute with their updated version in December 2025? And why didn&#8217;t anyone actually adopt Hyper-Connections in the 15 months between the two?</p><p>Well in addition to drawing attention to it with their respected scientific brand, DeepSeek pointed to a different component of the transformer for inspiration: the normalization 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_!-itj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-itj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-itj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-itj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-itj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-itj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg" width="668" height="443" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:443,&quot;width&quot;:668,&quot;resizeWidth&quot;:668,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!-itj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-itj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-itj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-itj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96b0319b-5a8b-49d7-899a-97a551adcab0_668x443.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We haven&#8217;t talked much about normalization because it doesn&#8217;t really process information in the same way the attention and FFN layers do. It&#8217;s more of a preprocessing or post-processing step, to make the hidden state better suited for the next layer.</p><p>The basic idea is simple: if your layers are only trained for a certain shape or distribution of inputs, then you have to get your outputs back into that shape, or you risk unexpected behavior. Usually this shows up as failed training runs.</p><p>Normalization is a feature of all models, and even appears in the original Transformer paper. But you don&#8217;t need separate normalizers for residuals because the hidden states are <em>already normalized!</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_!Aah8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Aah8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Aah8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Aah8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Aah8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Aah8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg" width="728" height="393.87373737373736" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:857,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!Aah8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Aah8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Aah8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Aah8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F018be69f-1d29-4deb-a25c-3ba4022fda3c_1584x857.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This is what the original Hyper-Connections authors neglected, that the DeepSeek team fixed.</p><p>On paper, all they did was add this normalizing function, abbreviated as P_M, to the H matrices.</p><p>In practice though, they did a ton of gnarly engineering to make it work at scale. In the end, their technique only increased the required compute about 7% on the 27B test model they trained, but it took a lot of cleverness to get there.</p><p>By the way, the &#8220;manifold-constrained&#8221; part of their technique is just a fancy way of saying the H matrices have to have all the rows sum to 1 and all the columns sum to 1. That range of potential matrix values forms the &#8220;manifold&#8221; that the H matrices live on. It&#8217;s like the unit circle, which contains all the x and y points where the radius is 1, but in way more dimensions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1WsZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1WsZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1WsZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1WsZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1WsZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1WsZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg" width="728" height="418.4343302990897" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1538,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!1WsZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1WsZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1WsZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1WsZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef4eaf7-591c-4ee6-b0f3-a56dbf8ff2da_1538x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So that&#8217;s mHC: more channels, and a stability trick to make it actually work.</p><p>Now let&#8217;s look at Attention Residuals from Moonshot.</p><p>Next to our friend in image A, image B has two key changes.</p><p>First, instead of direct connections only between neighboring layers, there are direct connections between every layer. Like you can see the Embedding layer at the front touches all the attention and FFN layers, and then the first attention layer touches all the future layers, etc etc.</p><p>Second, there&#8217;s this alpha number instead of a plus sign. That&#8217;s our coefficient that tells us how much to pay attention to the residual. And if we look between images B and C, we see a diagram describing how alpha is calculated.</p><p>I&#8217;ll come back to that in a minute. Right now I quickly want to acknowledge image C, which is a version of image B but altered for scalability. We&#8217;re not going to get into it really, but just know that when you&#8217;re training a big model, you have to split up work between GPUs, and that causes problems with the normal attention residuals system.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Hchn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Hchn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Hchn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Hchn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Hchn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Hchn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg" width="728" height="680.503937007874" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:831,&quot;width&quot;:889,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 19&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="Slide 19" title="Slide 19" srcset="https://substackcdn.com/image/fetch/$s_!Hchn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Hchn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Hchn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Hchn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2340700c-090b-499a-a344-1820d7e0f334_889x831.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So, back to alpha. Again, that&#8217;s going to say how much each residual should factor in.</p><p>And each connection gets its own alpha. In the formula there we see the first one between layer zero and the current layer &#8220;el&#8221;, then alphas for each connection to &#8220;el&#8221;.</p><p>To calculate alpha, they&#8217;re going to use the oldest trick in the Transformer book: attention.</p><p>Remember, the job of attention is to decide what is important in the input when deciding on the output. And remember, we only predict one token at a time, so that outputted token becomes part of the input on the next go-around.</p><p>Mechanically, attention does this by taking the input and looking at it through three different lenses:</p><ol><li><p>Query - the input as a question, as the thing that guides the output</p></li><li><p>Key - the input as the available information, as the stuff to possibly pay attention to. The query times the key tells you which connections between tokens are strongest, which other tokens to look at closely for any given input token</p></li><li><p>Value - what each token represents, what it actually means. Like a dictionary definition, but richer</p></li></ol><p>That&#8217;s all standard stuff as a layer in the transformer, but what does it mean to use attention for residuals?</p><p>Well, two things. First, the query vector is actually NOT coming from the same place as the key and value vectors. It&#8217;s this vector w, which is specific to each layer even though it doesn&#8217;t have the subscript &#8220;el&#8221; in this diagram. This w vector learns how much of each prior hidden state to incorporate in the current hidden state.</p><p>Second, the key and value roles actually translate quite well. Each little green block there represents the hidden state from an earlier layer. In this case, we have the hidden state from the first four layers. So Q dot K is going to say how much of each hidden state we want to incorporate - that&#8217;s alpha -  and then that times V is going to provide the actual information from the hidden state.</p><p>So we&#8217;ve taken the attention mechanism and turned it 90 degrees so to speak, looking at relations between layers instead of relations between inputs. We just had to be a little bit clever about the queries.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!m8Hw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m8Hw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg 424w, https://substackcdn.com/image/fetch/$s_!m8Hw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg 848w, https://substackcdn.com/image/fetch/$s_!m8Hw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!m8Hw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!m8Hw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg" width="728" height="394.3333333333333" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:858,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 20&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="Slide 20" title="Slide 20" srcset="https://substackcdn.com/image/fetch/$s_!m8Hw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg 424w, https://substackcdn.com/image/fetch/$s_!m8Hw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg 848w, https://substackcdn.com/image/fetch/$s_!m8Hw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!m8Hw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fca14970b-bf0d-4b4e-9528-1af96f59c2ce_1584x858.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now frankly it&#8217;s going to be challenging to compare the results of these two methods. Even though they work on the same part of the model, they tested by training two completely different models in terms of size, architecture, and data. So let&#8217;s start out with individual results.</p><p>For mHC, they picked two metrics: quality and stability.</p><p>For quality, they show it two ways:</p><ol><li><p>Top left, there&#8217;s a graph of the relative difference in loss during training. Negative numbers mean the loss was relatively lower than baseline. So we see here that both HC techniques work, although mHC works better</p></li><li><p>Bottom, there&#8217;s a table of where their chosen benchmarks landed at the end of training. It&#8217;s a fine range of benchmarks, covering language ability, commonsense reasoning, math, STEM, code, and question-answering</p></li></ol><p>From those two mHC appears to have a tiny, possibly insignificant edge over HC.</p><p>But then you take a look at the top right, which is a proxy for stability. The thing on the y axis, &#8220;gradient norm&#8221;, is basically a measure of update size. What you&#8217;d like to see is a smooth, gentle downward curve, bottoming out just as you stop training. In practice you always have some spikes, but the overall trend should look like the baseline in grey.</p><p>And you do get that with mHC. But you <em>don&#8217;t</em> get that with just HC, because HC doesn&#8217;t normalize to that manifold we discussed earlier. So you&#8217;re risking instability here, like wasted cycles or even wasted whole pretraining runs. For a toy model that&#8217;s fine, but when each pretraining run costs millions of dollars, you cannot afford instability like that.</p><p>So the story of mHC seems to be: 7% more overhead, for a little better quality at no risk. Probably a good trade.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5bVJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5bVJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg 424w, https://substackcdn.com/image/fetch/$s_!5bVJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg 848w, https://substackcdn.com/image/fetch/$s_!5bVJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!5bVJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5bVJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg" width="728" height="543.4809688581315" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:863,&quot;width&quot;:1156,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 21&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="Slide 21" title="Slide 21" srcset="https://substackcdn.com/image/fetch/$s_!5bVJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg 424w, https://substackcdn.com/image/fetch/$s_!5bVJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg 848w, https://substackcdn.com/image/fetch/$s_!5bVJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!5bVJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8bc7c1b2-8b58-455c-b560-740278bf62f2_1156x863.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The Moonshot folks have gone for something similar here. We&#8217;re looking at absolute loss instead of relative, there in the top left, and we have a wider array of benchmarks. But it&#8217;s the same story: a modest increase in quality across the board.</p><p>And on the stability side, we get two graphs from training: the size out the outputs per layer in the middle, and the size of the changes from training (aka the gradient) per layer.</p><p>For the middle graph, what you normally see is that later layers have to use bigger numbers, since normally the residuals keep adding to each other. Bigger numbers risk instability, or loss of signal depending on how you look at it.</p><p>For the right graph, it&#8217;s the same story but backwards; the initial layers in a standard transformer have to make huge changes in order to impact the final layer.</p><p>But with AttnRes, in both cases you&#8217;re pretty flat in magnitude.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ThxQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ThxQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ThxQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ThxQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ThxQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ThxQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg" width="728" height="147.989898989899" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:322,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 22&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="Slide 22" title="Slide 22" srcset="https://substackcdn.com/image/fetch/$s_!ThxQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ThxQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ThxQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ThxQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ece9a50-6b6b-4ced-9da5-b1c5e20880bb_1584x322.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Luckily for us, the Moonshot paper does compare directly to mHC in one table.</p><p>It looks at models of increasing size, with other aspects like training data growing in proportion. And it seems here that AttnRes is on par with mHC, even when you have to make engineering compromises as Block AttnRes does.</p><p>So to me it seems the simpler method, AttnRes, is the winner. But it also makes me wonder if there aren&#8217;t other solutions at work in the closed labs.</p><h2>My Takeaways</h2><ul><li><p>Moonshot may have bested DeepSeek here</p><ul><li><p>Not exactly fair though, given mHC came out before AttnRes</p></li><li><p>But also, mHC is a change on top of HC, so perhaps a smaller contribution</p></li></ul></li><li><p>AttnRes is more elegant</p><ul><li><p>But mHC is more impressive - the math they pulled out to get the H matrices constrained to that manifold is arcane</p></li></ul></li><li><p>Perhaps Moonshot will break into the S-tier with Qwen and DeepSeek</p><ul><li><p>I doubt DeepSeek will regress to A-tier</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[OSWorld 2.0: Benchmarking Computer Use Agents on Long-Horizon Real-World Tasks]]></title><description><![CDATA[or, The Year of CUA]]></description><link>https://www.friendlypaperreview.com/p/osworld-20-benchmarking-computer</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/osworld-20-benchmarking-computer</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Wed, 08 Jul 2026 19:12:08 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!3e8F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on July 8, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2606.29537" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3e8F!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3e8F!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3e8F!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3e8F!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3e8F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg" width="728" height="1028.352" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1236,&quot;width&quot;:875,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2606.29537&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!3e8F!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3e8F!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3e8F!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3e8F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F612984af-4efe-4944-86f3-9fdf138616e4_875x1236.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2606.29537">Paper</a>   &#183;   <a href="https://osworld-v2.xlang.ai/#">Website</a>   &#183;   <a href="https://github.com/xlang-ai/OSWorld-V2">Repo</a>   &#183;   <a href="https://snorkel.ai/leaderboard/os-world-2-0/">Leaderboard</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gXRJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gXRJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!gXRJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!gXRJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!gXRJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gXRJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg" width="728" height="416.80829015544043" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1544,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!gXRJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!gXRJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!gXRJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!gXRJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feacbdd70-e813-4f9a-aceb-8c606e9ae455_1544x884.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So, what are computer use agents?</p><p>A computer use agent (CUA) is an agent that can use a computer just like a person would: looking at a screen, mousing around, clicking buttons, using the keyboard, and so on.</p><p>Unlike most agents, which are built for purpose - coding, deep research, specific jobs like that - a CUA is general; in theory, it can do anything that is doable on a computer. The term is more about the mode of operation than the purpose.</p><p>Now practically speaking, there are limits. Like in theory, you could solve the Riemann hypothesis while using a computer, just writing down math in LaTeX. Obviously that&#8217;s not what comes to mind first when you think about a human using a computer, but it&#8217;s important to get our definitions and distributions right when we&#8217;re designing benchmarks like OSWorld.</p><p>So what folks <em>really</em> mean by &#8220;computer use&#8221; is more like &#8220;use of common graphical programs for white collar or personal tasks&#8221; - email, spreadsheet, CRM, shopping, stuff like that.</p><p>I want to emphasize <em>graphical</em> here. Agents are already quite good at using the command line and writing code for work that isn&#8217;t graphical, that is purely text. And tech companies know that, so a lot of tools that are naturally graphical for humans have gotten text interfaces for agents, or already had APIs that agents could call directly. That&#8217;s honestly preferable; after all, language is the primary medium of large language models - it&#8217;s right in the name. And while humans are good at language too, we are especially good at vision. So where we can, we want textual <em>and</em> graphic versions of tools available.</p><p>But sometimes it&#8217;s not possible, or at least not practical.</p><p>For one, some tasks are inherently visual. Like if you want your agent to design an infographic in Figma, or to CAD up a part, or to edit a video in YouTube Studio, you really need it to use vision. Parts of each task may be textual and thus amenable to the command line, but there&#8217;s no getting around the visual parts.</p><p>On a more practical level though, many programs that <em>could</em> be more textual and LLM-friendly simply <em>won&#8217;t</em> - the developers won&#8217;t add the features, or the admins won&#8217;t permit that type of access, or some other organizational barrier crops up. So if your agent has to be a drop-in replacement for a human, with no special accommodations, then it has to be good at computer use.</p><p>I always think of the DMV for this latter case. Like that software has gotta be ancient, and there&#8217;s no way they will overhaul their systems any time soon. So even though the work probably isn&#8217;t that inherently graphical, you probably have to deploy a CUA to automate that work - at least for now.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8YwL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8YwL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8YwL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8YwL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8YwL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8YwL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg" width="728" height="340.71762870514823" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:600,&quot;width&quot;:1282,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!8YwL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8YwL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8YwL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8YwL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8cdb7-12b3-4dea-abbc-08c4715da4b1_1282x600.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now that we know what CUAs are, we should talk a bit about how they work, which will help contextualize some of the benchmark design decisions and failure modes we&#8217;ll see later on.</p><p>The primary way folks add computer use to their models is by feeding in screenshots. That requires a model to have vision capabilities in the first place, and there are things you can do to the screenshot to help the model, but that&#8217;s the basic approach. The model then emits pixel coordinates and actions, like &#8220;click on (148, 273)&#8221; or &#8220;drag from (318, 997) to (509, 1011)&#8221;. That&#8217;s a totally general approach, operating pretty much like a human, but it comes with a couple downsides.</p><p>For one, vision is just not that strong of a skill for most models. They miss some details and fabricate others, at a higher rate than with text. Labs care more about text generally.</p><p>For another, vision is token-intensive. A single screenshot, optimized for computer use, is roughly in the low thousands of tokens. That&#8217;s not much on its own, but if you want anything like real-time vision, that&#8217;s going to add up quickly. In fact, that token cost is a major reason computer use tends to happen with smaller models. (The other reason is speed.)</p><p>Now the other approach folks sometimes use is to read some lower-level representation of what&#8217;s on screen. This is mostly relevant for browser tasks, where the model can read the DOM, which is basically the code that the browser translates into something visual for the user. If you&#8217;ve ever done &#8220;inspect element&#8221; in Chrome and then edited some of that code to make something change on the page, you know what I&#8217;m talking about. Another example here is the accessibility tree (or &#8220;a11y tree&#8221;), which originally was for vision-impaired humans to use while operating a computer.</p><p>The lower-level representations are nice when you can get them, and many agents do take a hybrid approach, but many programs don&#8217;t have them. And of course some things are still inherently visual, so no lower-level representation can do them justice. So pure vision is inescapable to some degree.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Qns9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Qns9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Qns9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Qns9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Qns9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Qns9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg" width="728" height="417.07841866493845" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1543,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!Qns9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Qns9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Qns9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Qns9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27500325-53a8-45c9-be5a-4c96ad0e2d78_1543x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Weirdly, even though computer use in many ways is behind compared to other areas of AI, computer use agents appear fairly early in the Gen AI era.</p><p>For example, <a href="https://www.anthropic.com/news/3-5-models-and-computer-use">Anthropic released its first CUA in October 2024</a>, alongside a new version of Sonnet 3.5. It didn&#8217;t <a href="https://www.anthropic.com/news/claude-3-7-sonnet">release Claude Code until February 2025</a>, alongside Sonnet 3.7. Similarly, OpenAI released its first CUA, <a href="https://openai.com/index/introducing-operator/">Operator</a> (shown here), in January 2025; it didn&#8217;t release its coding agent, <a href="https://openai.com/index/introducing-codex/">Codex</a>, until April 2025.</p><p>Usually it&#8217;s benchmarks that come first though, kind of setting the target that the model makers need to go out and hit. And to that end, the first CUA benchmarks of the era appeared in 2023, not long after ChatGPT came out. For example, <a href="https://osu-nlp-group.github.io/Mind2Web/">Mind2Web</a>, which came out in mid-2023, comprised 2,000 tasks across 137 real websites, but offline versions. Since no real vision-equipped model had come out yet, the CUA navigated the DOM. There were a couple vision-only benchmarks, like <a href="https://arxiv.org/abs/2307.10088">Android in the Wild</a>, but they used bespoke vision encoders rather than the general vision encoders on a vision-language model like you&#8217;d find today.</p><p>Once <a href="https://openai.com/index/gpt-4v-system-card/">GPT-4V came out in September 2023</a> though, the door for truly general CUA benchmarks was wide open. One of the earliest, and certainly the most enduring, was <a href="https://arxiv.org/abs/2404.07972">OSWorld</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_!nm-6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nm-6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!nm-6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!nm-6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!nm-6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nm-6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg" width="728" height="407.0537634408602" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1581,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!nm-6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!nm-6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!nm-6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!nm-6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bfe138c-e392-4af7-bd41-e2d4a29d1388_1581x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In that early crop of CUA benchmarks, a few things made OSWorld stand out.</p><p>For one, it was supremely general: it plopped the CUA in a Linux or Windows or macOS desktop, with all the normal programs, and just gave it a task. It was the first benchmark to really say, &#8220;this is what computer use should look like&#8221;.</p><p>Not only was it general, it was also cross-program. For example, in the first task over there on the right side, you can see the agent switching between a spreadsheet and an image viewer. The entire computer is &#8220;in bounds&#8221; so to speak, the benchmark isn&#8217;t contained to a single program that happens to be running on a computer, in an operating system etc.</p><p>Another key element was the engineering behind it. The OSWorld folks built some nice infra, allowing other researchers to replicate and build on their efforts. The paper emphasizes their approach to virtual machines and environments and initial state setup, all topics that still matter today. And of course, if the teams <em>building</em> models can use your infra, of course they&#8217;re going to run <em>evals</em> on your infra.</p><p>So as a result, OSWorld became the standard computer use benchmark. Anthropic has reported results since it released its first CUA, and so has OpenAI. Google started reporting with the release of Gemini 3 Flash. All of them continue to report on it today, although technically the later results are on a cleaned-up version called <a href="https://xlang.ai/blog/osworld-verified">OSWorld-Verified</a>.</p><p>The first CUAs were understandably terrible, scoring no higher than about 12%, while humans scored 72%. However, there was remarkable progress in 2025, and by early 2026 the leading models all hit human parity. So now is the perfect time for OSWorld 2.0.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!72v6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!72v6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!72v6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!72v6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!72v6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!72v6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg" width="728" height="446.29126213592235" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1442,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!72v6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!72v6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!72v6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!72v6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10f29f68-9504-49a1-975c-8f4be19061f5_1442x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s start with a concrete example from OSWorld 2.0, keeping the examples from OSWorld 1.0 on the previous slide in mind.</p><p>High-level it&#8217;s a straightforward request: read some reimbursement instructions and apply them to this specific case. Not terribly different from that first example task in OSWorld 1.0.</p><p>However, several differences emerge upon closer inspection. For one, just look how many steps there were - the last screenshot says Step 499! That&#8217;s way longer than anything in OSWorld 1.0 as we&#8217;ll see when we look at duration and step distributions.</p><p>Another key difference is the number and variety of programs. Here we have a PDF reader, an expenses portal, and email. For OSWorld 2.0, not only did they add more programs like FreeCAD, Blender, and Obsidian, they also added 31 self-hosted websites - clones of Gmail, Slack, LinkedIn, Salesforce, Twitter, Eventbrite, YouTube and more. It&#8217;s a nice example of how AI coding progress unlocks progress in other areas of AI.</p><p>OSWorld 2.0 also introduces a new taxonomy of work types - what they call &#8220;challenge phenomena&#8221; - to describe more specifically what the agent has to accomplish along its trajectory. It&#8217;s hard to compare the whole list directly with OSWorld 1.0, but some are certainly new, like the Dynamic Environment example in step 372; new information arrives while a task is underway, and the agent has to notice and incorporate it.</p><p>Overall, OSWorld 2.0 is harder: longer, more novel, and with more wrinkles.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bmEv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bmEv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bmEv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bmEv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bmEv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bmEv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg" width="728" height="317.9914015477214" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:508,&quot;width&quot;:1163,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!bmEv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bmEv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bmEv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bmEv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F872680f2-7111-4c4b-983f-7435cf8aeffd_1163x508.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a closer look at how much longer they made the tasks. It&#8217;s measured in human operation time, i.e. how long it takes a competent human to complete the task.</p><p>Keep in mind this is a log scale, so the difference is more dramatic than it might visually seem. I&#8217;ll also note the significant right-hand tail, where the top 50% of tasks by length are more spread out and reach past ten hours in a couple cases. The net impact on agents is about a 10x increase in steps, whether successful or not.</p><p>Another way to read this is an indication of CUA time horizons. OSWorld 1.0 came out in April 2024, and two years later it basically saturated, meaning it took two years for models to be pretty reliable at tasks taking a single-digit number of minutes. With OSWorld 2.0, published at the end of June 2026, we are ready to measure tasks taking a single-digit number of hours. This is the closest I&#8217;ve seen to a GUI version of the famous METR time horizons graph.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pyXn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pyXn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pyXn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pyXn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pyXn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pyXn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg" width="728" height="417.07841866493845" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1543,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!pyXn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pyXn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pyXn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pyXn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ae8b2-f2d5-46e8-93ad-f91712d20b0a_1543x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Moving from length to novelty, we get a couple breakdowns of what the tasks are asking for and what tools they entail.</p><p>On the left, they give a breakdown by domain, with categories somewhat influenced by economic sectors. They spend some time in the paper trying to tie their domains to various slices of GDP, but it seems more like an add-on to compete with explicitly economically-oriented benchmarks like Remote Labor Index and GDPval. You can read more about that category of benchmarks in my breakdown of <a href="https://friendlypaperreview.substack.com/p/agents-last-exam">Agents&#8217; Last Exam</a>, which the authors actually cite as a &#8220;close comparison&#8221; but without the focus on graphical tools. Anyway, the tasks do take more inspiration from the real world, and the shift from scientific framing to economic framing indicates to me how close to production CUAs are - or will be, once they can climb this benchmark.</p><p>On the right is a more concrete breakdown, this time by program used. Note that most tasks require at least two programs, so the total here is well over the 108 total tasks in the benchmark, and they mention elsewhere that the average count of programs per task is 2.44.</p><p>Anyway, we see a browser is required for a majority of tasks, with equivalents for Word, Powerpoint, and Excel rounding out the double digits. MailHub and TeamChat are Gmail and Slack, respectively, and they happen in the browser so there&#8217;s actually some double-dipping between them and Chrome/Browser. Regardless, most of the programs and all the web apps are new in OSWorld 2.0, so still an impressive increase in novelty.</p><p>Now given there are only 108 tasks in the benchmark, it&#8217;s not surprising to see so many programs appearing only once, but such small sample sizes in so many domains does make me hesitate on any fine-grained analysis. As we know, it&#8217;s expensive to produce good benchmarks in significant quantities!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TUnb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TUnb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg 424w, https://substackcdn.com/image/fetch/$s_!TUnb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg 848w, https://substackcdn.com/image/fetch/$s_!TUnb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!TUnb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TUnb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg" width="728" height="473.93288590604027" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:776,&quot;width&quot;:1192,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!TUnb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg 424w, https://substackcdn.com/image/fetch/$s_!TUnb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg 848w, https://substackcdn.com/image/fetch/$s_!TUnb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!TUnb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F673b315e-e92b-4878-b3b0-02c8fc1f71b4_1192x776.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>And turning to the wrinkles, which themselves are often novel, we again get a table of overlapping entries; as we saw in the example slide, a  task has many challenge phenomena.</p><p>The names are fancy, but the concepts are pretty simple. In fact, I think most people would have a hard time parsing these challenge phenomena out if you asked them to document the difficulties in their own computer use trajectories. But as we know, artificial intelligences are jagged, and things we find easy are often hard for agents - and vice versa.</p><p>Right near the top is one about vision and perception, which we could have anticipated as being quite common. And just above it, Cross-source Reasoning, is a wrinkle they consciously introduce to turn up the difficulty compared to OSWorld 1.0, so no surprise it&#8217;s at the top.</p><p>But the next few I find more interesting. You would think that with such large context windows and such great intelligences, models would be better at inferring and tracking and deciding which conflicted source takes precedence. But as we&#8217;ll see in the results slides, models still struggle to process such information.</p><p>The rest are less interesting or less common, but I wanted to show them all here since they will all appear later on.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8xOC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8xOC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8xOC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8xOC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8xOC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8xOC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg" width="728" height="334.5858585858586" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:728,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!8xOC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8xOC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8xOC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8xOC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3bb2c71-d16b-43d8-849f-7b2024c6b574_1584x728.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now before we get to the results, of course I wanted to highlight their pipeline.</p><p>Coming into the paper, I expect them to harvest existing artifacts and then reverse engineer tasks out of them, but that&#8217;s actually not what they did. Instead, their main method of task creation was what they call &#8220;brainstorming&#8221;, in the green box toward the bottom-left. I&#8217;m going to quote their description directly:</p><p>&#8220;The bulk of OSWorld 2.0 tasks were produced by a small group of internally trained annotators who worked end-to-end on the tasks they proposed, covering task design, input artifact construction, environment setup, and evaluation function implementation. Annotators first learned the target domain by watching tutorials on YouTube, reading official documentation, and directly experimenting with the software, which equipped them to reason about professional tools and workflows, or enterprise systems in sufficient depth. They then drafted candidate tasks grounded in workflows surfaced from Reddit discussions, online tutorials, and their own day-to-day work experience, with each draft specifying the instructions, required input artifacts, and expected final state. Every candidate was finally peer cross-checked by a second annotator, who reviewed it for feasibility, redundancy with existing tasks, and ambiguity in the evaluation criteria&#8230; This channel ultimately produced approximately 90% of the final tasks.&#8221;</p><p>Once they have the task inputs, or &#8220;spec sheet&#8221; as they call it, they turn them into an environment with an initial state that an agent can enter into and complete the task within. So thinking back to our example task from the top, they have to put the instructions PDF on the desktop, populate the inbox with relevant and possibly irrelevant emails, log the user into the reimbursement portal, etc etc. That&#8217;s a human-led process, and in that process some holes in the initial task design emerge.</p><p>One other key step here is defining and running the evaluator, which checks for correctness at the end but also along the way. The details are somewhat opaque, but they have many so-called &#8220;checkpoints&#8221; per task, just over 27 on average. The checkpoints don&#8217;t prescribe an order, so different paths that end up at the same state are valid. Mostly the checkpoints are automatically verifiable, like whether a certain value ended up in a database, but some do require model judgment - about 11% of all checkpoints, with no task having more than 50% model-judged checkpoints. Also, they don&#8217;t use the term &#8220;rubrics&#8221; to describe it, but basically that&#8217;s what they write for the model judge to use.</p><p>So now with a completed build, they test it. First they have two humans test it and check for agreement, then they have some agents test it. If it turns out the task isn&#8217;t solvable given the inputs and the environment, or there are ways to cheat, or the checkpoints don&#8217;t fully reflect the completed state, they send it back for rework.</p><p>Overall I think it&#8217;s a decent pipeline, and I&#8217;m not surprised they got most of their tasks from human rather than synthetic inputs; models tend to produce contrived and arbitrary tasks, with clumsy additional constraints to increase difficulty.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-Hv3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-Hv3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-Hv3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-Hv3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-Hv3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-Hv3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg" width="728" height="219.68686868686868" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:478,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!-Hv3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-Hv3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-Hv3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-Hv3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F633f8062-e9ff-4478-ab6e-aa74fe91e17c_1584x478.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So with our 108 tasks in hand, we can now evaluate some models.</p><p>A couple notes before we dive into the table. First, this is for a budget of 500 steps. They do also provide results for 150- and 300-step budgets on their <a href="https://osworld-v2.xlang.ai/#">website</a>, but they focus on the max budget setting so that&#8217;s where we&#8217;ll focus too.</p><p>Second, we should define some terms. On the columns, Binary means the share of tasks where the model got every checkpoint. Partial means the average score per task. Note that it does <em>not</em> mean the share of all possible checkpoints achieved across all tasks, because that would favor tasks with higher numbers of checkpoints.</p><p>On the rows, Batched means that the model took multiple actions in a step before observing and thinking about the results, whereas Single means the model looked and thought about each action before deciding on another one. GPT-5.5 only offers batched.</p><p>So with definitions out of the way, we can see clearly that Opus 4.8 is the absolute performance champion. However, that title comes at a cost, with more than double the cost for pretty marginal gain against Opus 4.7. GPT-5.5 meanwhile is the efficiency king, with far lower cost and especially output tokens per task. Opus and GPT used the highest thinking settings, so really the story here is GPT seems more efficient with its thinking tokens.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0IhQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0IhQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0IhQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0IhQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0IhQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0IhQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg" width="728" height="272.0808080808081" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:592,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!0IhQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0IhQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0IhQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0IhQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcde594-62c6-471e-a01a-825a4298367a_1584x592.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Digging in on this point, they have a couple graphs showing how thinking level impacts outcome. The bigger the dots, the higher the thinking level.</p><p>If you measure <em>turns</em>, then it seems more thinking quickly produces better results for the frontier models. Given some of the failure modes we&#8217;ll see later, more turns typically means the model noticed or realized something it had to do while in the middle of a task, and that less intelligent or less hard-thinking models let a lot of that subtlety slip.</p><p>If you measure <em>tokens</em> though, suddenly the story muddies. For GPT, our efficiency king, more thinking continues producing better results quickly. But for Opus, especially Opus 4.8, the curve is pretty flat. Since output tokens are the main driver of cost, GPT may be the better model, but only if you can accept partial results; note the change in y axis, with Binary for the left graph and Partial for the right. Bit of an odd choice by the authors in my view.</p><p>One comparison I <em>wish</em> they showed is on wall time. It&#8217;s tricky to compare between models, since different companies have different serving infrastructure, but ultimately what we should care about in economic terms is the rate of completed work per time. Then you can compare the dollar value of that completed work to the dollar cost of the job, and ultimately come to a net income per time. It&#8217;s another example where I feel the economic framing they tried to add with the GDP tie-in and comparison to Agents&#8217; Last Exam is half hearted.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!evkq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!evkq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg 424w, https://substackcdn.com/image/fetch/$s_!evkq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg 848w, https://substackcdn.com/image/fetch/$s_!evkq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!evkq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!evkq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg" width="728" height="274.46868947708197" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:584,&quot;width&quot;:1549,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!evkq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg 424w, https://substackcdn.com/image/fetch/$s_!evkq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg 848w, https://substackcdn.com/image/fetch/$s_!evkq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!evkq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e631047-0196-4109-87fe-bbc2c74a008d_1549x584.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Speaking of time, the human-measured time horizon pretty well correlates with difficulty for the models, as we see on the left.</p><p>Similarly, on the right we have human-measured difficulty in three buckets: easy, meaning it took a human under 30 minutes; hard, meaning it took a human more than two hours; and medium, falling between 30 minutes and two hours. If we then bucket tasks by model Partial score - over 70% for easy, under 30% for hard, in between for medium - we see a similar correlation. As expected though, it&#8217;s much more common for an easy human task to be a hard model task than vice versa. Do note that percents are normalized by row though, so you really have to read it as &#8220;for a given human-predicted difficulty, what was the spread of empirical difficulty?&#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_!2JvU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2JvU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2JvU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2JvU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2JvU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2JvU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg" width="728" height="304.25252525252523" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:662,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!2JvU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2JvU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2JvU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2JvU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b05d6d9-77fa-49f9-a7c0-a806fea2810b_1584x662.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now beyond the top-level statistics, it&#8217;s instructive to see what exactly the agents are doing in their trajectories.</p><p>Here the researchers had GPT-5.5 review all the trajectories and categorize each step, with some human review afterwards. They provide 15 categories, grouped into four phases.</p><p>A couple patterns stick out to me. One is how similar most of the models are across phases and even across categories for the most part. Like if you take any of the models and sum across phases, it&#8217;s roughly 30-35% Reasoning, 30-35% Perception, 20% Action, and 10% Correction.</p><p>Relatedly, the models likely spend too little time on correction. Obviously the ideal is for a model to never make mistakes in the first place, which would also produce very low numbers for Correction, but as we know from the top-line results these models are far from perfect. Any regular user of agents knows they tend to be overconfident, so no surprise here, but error correction and reflection are increasingly important as the horizon lengthens; the more steps you take, the more likely you are to introduce an error, and if it propagates without correction you are virtually guaranteed to fail any task past a certain length.</p><p>Two is how different GPT is on a category level. I suspect some of it is due to GPT also being the judge, but the extra exploration, information extraction, and tool-semantics reasoning does seem like a substitute for the missing planning - a more efficient substitute, apparently. Relatedly, they show in another chart that GPT greatly favors text interfaces over graphical interfaces, and pretty doggedly looks for the text version of an interface. When it works, it works well and is typically more efficient, but it&#8217;s also brittle. The authors give the example of manipulating the DOM rather than interacting with a website graphically, which is more direct but also obscures layout-based information and cuts out helpful guardrails.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PhRD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PhRD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PhRD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PhRD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PhRD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PhRD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg" width="728" height="434.8324324324324" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/efc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1480,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!PhRD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PhRD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PhRD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PhRD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fefc4a706-2464-459c-913b-dd54637ec521_1480x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Continuing on the micro analysis, the authors revisit their taxonomy of &#8220;challenge phenomena&#8221; and see which phenomena are indeed the most challenging.</p><p>Now they don&#8217;t make this split in the paper, but I want to distinguish strongly <em>visual</em> tasks from the rest of them, because visual acuity is distinct from the general focus and planning the rest of the challenge phenomena test.</p><p>And you can see it right away in the differences between models. Among the three here, GPT is known to have the best vision abilities, and M3 the worst, which we see reflected in the results of the top two vision-heavy phenomena.</p><p>If we put them aside, then, we see pretty consistent results across most of the phenomena. Like apparently deriving implicit information and knowing when to ask the (simulated) user for clarification and keeping lots of things in working memory and noticing changes in the environment that are crucial for the task are all significant hurdles. It&#8217;s not an issue to work across multiple programs or artifacts per se, it&#8217;s more about keeping them all straight <em>at the same time</em> and knowing where the holes are. Gaia2, another updated version of an early agentic benchmark that I covered somewhat recently, drew some similar conclusions.</p><p>So like a relatively easy OSWorld 2.0 task might jump between a few different programs but only require one at a time, with little cognitive overhead or state to mentally keep track of. Like the expense report example from the top, if all you have to do is hunt across email and local files and Slack but each expense is self-contained and can go into the expense tracker one by one, that can be quite long but apparently not that challenging. It&#8217;s only when you add in new emails mid-stream, or conflicting sources of information, or a clear hole like a return plane ticket without a departing plane ticket, that you really start to challenge frontier models.</p><p>One final note: the easiest challenge phenomena, Cross-resource Reasoning, is actually the most common. It seems to me more like an intrinsic part of the benchmark to work across sources rather than a wrinkle to add in for increased difficulty.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!foIe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!foIe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!foIe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!foIe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!foIe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!foIe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg" width="728" height="508.3349131121643" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1266,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!foIe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!foIe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!foIe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!foIe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22288536-5910-439b-9795-fb893a3d3a17_1266x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To make the failures concrete, here are a few examples.</p><p>The first one is an example of Dynamic Environment, where a new Slack message with corrected information goes unnoticed or unused.</p><p>The second one shows Streaming Interaction, where a pop-up moves and eludes the clicks from the agent. Personally I found this one pretty contrived.</p><p>The third one is Multimodal Editing, which explicitly includes CAD reconstructions. Even though the agent can use the software perfectly, it misperceives the plans and thus produces the wrong part model.</p><h2>My Takeaways</h2><ul><li><p>2026 is the Year of Computer Use Agents</p><ul><li><p>2025 actually was the Year of Agents</p></li><li><p>Now that models are good agents, labs can focus on computer use specifically</p></li><li><p>Anthropic probably released Sonnet 5 for computer use</p></li><li><p>I predict an agent will cross 50% on OSWorld 2.0 by EOY 2026</p></li></ul></li><li><p>CUA data should be hot</p><ul><li><p>Plenty of YC companies working on it already</p></li><li><p>Snorkel AI contributed to OSWorld 2.0</p></li></ul></li><li><p>More benchmarks will tie themselves to economic indicators</p><ul><li><p>For many applications, the era of science is over and the era of deployment has begun, which means dollars come into play</p></li><li><p>See my breakdown of <a href="https://friendlypaperreview.substack.com/p/agents-last-exam">Agents&#8217; Last Exam</a></p></li></ul></li><li><p>Interactive benchmarks will become more common for agents</p><ul><li><p>Fully specified and self-contained tasks do not reflect how users work with agents</p></li><li><p>See Scale&#8217;s recent <a href="https://arxiv.org/abs/2606.30573">SWE-Interact</a> for another example</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence]]></title><description><![CDATA[or, Necessity Is the Mother of Invention]]></description><link>https://www.friendlypaperreview.com/p/deepseek-v4-towards-highly-efficient</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/deepseek-v4-towards-highly-efficient</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Mon, 06 Jul 2026 13:01:45 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!LLlb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on May 6, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2606.19348" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LLlb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg 424w, https://substackcdn.com/image/fetch/$s_!LLlb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg 848w, https://substackcdn.com/image/fetch/$s_!LLlb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!LLlb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LLlb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg" width="728" height="1030.200339558574" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1667,&quot;width&quot;:1178,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2606.19348&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!LLlb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg 424w, https://substackcdn.com/image/fetch/$s_!LLlb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg 848w, https://substackcdn.com/image/fetch/$s_!LLlb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!LLlb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc99312dd-c455-4439-b708-36f2ee817927_1178x1667.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2606.19348">Paper</a>   &#183;   <a href="https://api-docs.deepseek.com/news/news260424">Blog post</a>   &#183;   <a href="https://huggingface.co/collections/deepseek-ai/deepseek-v4">Model weights</a>   &#183;   <a href="https://huggingface.co/chat/models/deepseek-ai/DeepSeek-V4-Pro">Demo</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!w07F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!w07F!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!w07F!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!w07F!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!w07F!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!w07F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg" width="728" height="724.7207207207207" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:888,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!w07F!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!w07F!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!w07F!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!w07F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba71f71-913a-49d2-9416-b8daffce4b2c_888x884.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To frame all this, we need to acquaint ourselves with DeepSeek, the lab that makes the DeepSeek models.</p><p>Or maybe we&#8217;re reacquainting, because we&#8217;ve covered them a few times before. Specifically, we&#8217;ve covered:</p><ul><li><p>DeepSeek V3.2, the last major release from DeepSeek</p></li><li><p>mHC, a super technical improvement to a very specific part of the model architecture</p></li><li><p><a href="https://friendlypaperreview.substack.com/p/conditional-memory-via-scalable-lookup">Engram</a>, a sort of built-in memory for common phrases</p></li></ul><p> I&#8217;ve linked all of those talks in the speaker notes if you want to go back. But for those who don&#8217;t know or may have forgotten, DeepSeek is the leading <em>scientific</em> lab in China - not always the absolute performance leader, not cranking out models, but always pushing the envelope. In many ways they are what OpenAI set out to be: an open, research-focused organization dedicated to achieving ASI and sharing it with the world.</p><p>Unlike OpenAI though, which for a long time subsisted on what it viewed as charity, DeepSeek has always had a sugar daddy: a quant hedge fund called HighFlyer, whose founder decided to spin up this ASI effort with his profits. And that missing profit motive, that journey of discovery, comes through in a lot of what DeepSeek does today.</p><p>For one thing, they publish a lot of their innovations. Going back to my list above, mHC and Engram are techniques really only usable at labs pretraining their own models from scratch. From a competitive angle it seems crazy to give away techniques like this, but from a scientific angle it&#8217;s completely standard.</p><p>For another thing, they don&#8217;t put out many models! DeepSeek V3.2 came out on December 1st, 2025. That&#8217;s almost half a year ago, which feels like years in model release time. There were rumors they wanted to publish V4 before Chinese New Year, as some other Chinese labs actually did with their newest releases, but apparently they just weren&#8217;t ready and didn&#8217;t want to put out something not up to their standards.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!AG6d!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AG6d!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!AG6d!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!AG6d!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!AG6d!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AG6d!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg" width="728" height="571.538188277087" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1126,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!AG6d!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!AG6d!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!AG6d!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!AG6d!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F63c04c37-19e8-42f6-9df4-c7a694710f8e_1126x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>DeepSeek is also one of the national AI champions in China, which puts it in a tricky position. On the one hand, the power of the Chinese government is behind it in various ways, including a new upcoming funding round I just read about today. But on the flip side, they have to start adopting Chinese chips.</p><p>Historically, all the labs in China have used NVIDIA chips basically, because for this type of workload they&#8217;ve been the only game in town. But with recent US export controls, China has lost access to cutting-edge chips, and given the importance of AI, the CCP does not want to rely on foreign companies or governments for such a critical resource.</p><p>As a result, the Chinese government doesn&#8217;t <em>want</em> NVIDIA chips - they&#8217;re fine with the export controls! - and instead wants homegrown chips in all the AI labs. Right now that means Huawei chips, specifically the Ascend line. DeepSeek V4 was a major test for the Ascend chips, with Huawei and DeepSeek working closely together to make training and inference work. In fact, there&#8217;s some speculation that the delayed release was primarily due to the switch in chips.</p><p>It&#8217;s okay if the information on this table mostly escapes you - the point is that Ascend chips are behind their NVIDIA counterparts mostly. And the relative underperformance of Ascend chips means DeepSeek has to focus on efficiency, not pure performance, since they&#8217;re unlikely to completely match OpenAI and Anthropic and Google.</p><p>The other hardware-related thing is at a data center level, which is <em>utilization</em>. Utilization is basically &#8220;how often are my GPUs actually doing something&#8221; vs waiting for instructions or data to arrive. It&#8217;s really, really hard to get high utilization; for example, xAI&#8217;s mega data center, Colossus, apparently runs at about 11% utilization. US companies have access to the right hardware and can just scale up; DeepSeek does not - at least for now - so it has to be clever.</p><p>In general, the DeepSeek approach has been to accept engineering complexity in exchange for efficiency. They are cracked engineers and they want to push the envelope.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hg7g!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hg7g!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg 424w, https://substackcdn.com/image/fetch/$s_!hg7g!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg 848w, https://substackcdn.com/image/fetch/$s_!hg7g!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!hg7g!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hg7g!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg" width="728" height="251.85858585858585" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:548,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!hg7g!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg 424w, https://substackcdn.com/image/fetch/$s_!hg7g!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg 848w, https://substackcdn.com/image/fetch/$s_!hg7g!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!hg7g!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4395fb20-01fc-4049-8890-e17d68826e1d_1584x548.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>One expression of that crazy engineering and efficiency is the price.</p><p>What we&#8217;re looking at here is pricing for a bunch of recently released models. You&#8217;ll see three types of price: input, output, and cache hit.</p><p>Input and output are straightforward, it&#8217;s just the price you pay per million tokens you pass in and receive back, respectively. And on those dimensions, DeepSeek V4 is pretty good but not exceptional; other Chinese labs with similarly capable models do about as well, like Kimi K2.6 and GLM 5.1. Of course compared to Opus 4.7 and GPT-5.5, it&#8217;s already a bargain - you can see why Anthropic and OpenAI are getting those massive valuations.</p><p>But the third bar, the cache hit, is where we really see the engineering prowess and relative altruism of DeepSeek come through. &#8220;Cache hit&#8221; tokens are tokens that haven&#8217;t changed since your previous turn, either from the system prompt or from earlier parts of the same conversation. Those tokens can live in storage, cheap storage like a SSD. And that matters a lot when you&#8217;re using agentic scaffolds with big system prompts and doing very long trajectories, rather than a bunch of shorter conversations in a chat window.</p><p>Anyway, as you can just barely see on the chart, DeepSeek V4 Pro only charges a single cent for 1M tokens in cache hit. That&#8217;s basically free! All these long histories all our agents are generating, they cost practically nothing if you&#8217;re using the DeepSeek API.</p><p>I don&#8217;t want to get into exactly <em>how</em> they do that, partly because it&#8217;s in the paper and not part of the background, but it just shows what kind of lab we&#8217;re dealing with here.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KNqD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KNqD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg 424w, https://substackcdn.com/image/fetch/$s_!KNqD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg 848w, https://substackcdn.com/image/fetch/$s_!KNqD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!KNqD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KNqD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg" width="728" height="323.96" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:712,&quot;width&quot;:1600,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!KNqD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg 424w, https://substackcdn.com/image/fetch/$s_!KNqD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg 848w, https://substackcdn.com/image/fetch/$s_!KNqD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!KNqD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6f3de86-63eb-4ab4-a268-c97ab41fc6c8_1600x712.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We also need to do an attention refresher, as attention is the area with the most innovation in DeepSeek-V4.</p><p>We&#8217;ve covered it before, but to oversimplify somewhat there are three components of a transformer model, which is the basic architecture all your favorite LLMs use.</p><ol><li><p>Embedding, which turns words into numbers, since after all we are ultimately working with numbers in the form of matrix multiplications here</p></li><li><p>Attention, which calculates how each individual word or token relates to all the other tokens that came before it in order to form a complete, holistic understanding of the input and output so far</p></li><li><p>Feed-forward, or MLP as it&#8217;s noted here, which takes that complete understanding and &#8220;thinks&#8221; or &#8220;processes&#8221; it</p></li></ol><p>For the attention layer in particular, you see each input splitting into a query, a key, and a value. The thing to notice here is how the queries and the keys form this matrix, where each query gets to &#8220;look at&#8221; or calculate against each key of the previous tokens. So like &#8220;The&#8221; at the start can only attend to itself, whereas &#8220;tokens&#8221; at the end can attend to all the tokens in the example. And within each row, like on each query, the circles are colored by how strong the relation is. So on the query &#8220;to&#8221; for example, it&#8217;s attending strongly to &#8220;The&#8221;, weakly to &#8220;model&#8221;, strongly to &#8220;attends&#8221;, and weakly to itself. Sometimes those relationships are a bit inscrutable to humans but in this case it generally makes sense.</p><p>The only other thing I would briefly note here is that the attention and feed-forward steps or &#8220;layers&#8221; as they&#8217;re called form the &#8220;transformer block&#8221;, and the transformer block repeats many times before the model is finally ready to predict the next token. What that attention matrix looks like in terms of the strength of relations changes from block to block.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UUSp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UUSp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg 424w, https://substackcdn.com/image/fetch/$s_!UUSp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg 848w, https://substackcdn.com/image/fetch/$s_!UUSp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!UUSp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UUSp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg" width="728" height="168.21212121212122" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:366,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!UUSp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg 424w, https://substackcdn.com/image/fetch/$s_!UUSp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg 848w, https://substackcdn.com/image/fetch/$s_!UUSp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!UUSp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d46f98c-8412-4d22-8662-25e9b3534c12_1584x366.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So in the standard transformer model like we just saw, the model pays attention to everything - up to its maximum context window anyway. That would be the first box on the left, &#8220;Full n^2 attention&#8221;. And it&#8217;s called n^2 because the number of green squares goes as the square of the number of tokens. That means if you double the number of tokens in your context window, you&#8217;re quadrupling the compute and memory needs. It&#8217;s the gold standard, but like gold, it&#8217;s pricey.</p><p>People spend a lot of time trying to find cheaper attention mechanisms that are nearly as good. Often you&#8217;ll hear them called &#8220;linear&#8221;, since they tend to use compute and memory in direct proportion to the size of the input, which makes a huge difference once you get out to the 100k or 1M token range.</p><p>One of the more popular ones is Sliding Window Attention (SWA), also seen above. Here you specify a window size that is much smaller than the full context length. At first that means you&#8217;re only getting information about very nearby tokens, but as you keep going through the layers of the transformer, you start to indirectly get information from tokens that are further and further away. Sort of like a game of telephone: if I initially get information directly from my neighbors one day, and they do the same with their neighbors, then the next day when I check back in with them they&#8217;ll have information from their neighbors to share with me too. And if you do more and more layers, more and more days in our metaphor, then eventually you can get information from the whole previous context.</p><p>There are more exotic forms, like c for example. And then for d, a lot of models have different attention designs interleaved, like one layer with full attention and three layers with sliding window attention for example.</p><p>DeepSeek has gotten far more exotic than just a tweak to sliding window as we&#8217;ll see. But the key thing to remember is that attention dictates how much information you can actually pull out of the input, and that you might choose different attention mechanisms for different balances of quality and cost and context window size.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mWo7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mWo7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mWo7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mWo7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mWo7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mWo7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg" width="728" height="345.7391304347826" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:710,&quot;width&quot;:1495,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!mWo7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mWo7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mWo7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mWo7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a675f1d-45be-4cd9-9b0c-0b3d3f272f79_1495x710.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a quick comparison of full and sliding window attention next to DeepSeek Sparse Attention (DSA), which is the foundation on which the most recent model&#8217;s attention mechanisms are built.</p><p>As the captions highlight, DSA is like SWA in that your query token only attends to a certain number of prior tokens, letting it use far less compute than full attention. However, DSA <em>learns</em> which tokens to attend to, rather than relying on a hard rule like SWA. The component that does this learning, that picks which tokens the query is going to attend to, is called the &#8220;lightning indexer&#8221;. Keep that in mind for future slides.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wVWU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wVWU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wVWU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wVWU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wVWU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wVWU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg" width="728" height="158.51982378854626" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:346,&quot;width&quot;:1589,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!wVWU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wVWU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wVWU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wVWU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0940ba21-7a73-4439-9225-1d11d435ea16_1589x346.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So high-level, this is what we&#8217;re working with: a Pro model with 1.6T parameters and 49B activated, and a Flash model with 284B parameters and 13B activated. I added on a couple other stats that basically explain the size difference - Pro is just bigger on every dimension.</p><p>I don&#8217;t have a good explanation for the slight mismatch in pretraining tokens, but I think it may be from Pro getting more agent trajectories.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vIOv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vIOv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vIOv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vIOv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vIOv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vIOv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg" width="728" height="439.88516746411483" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1463,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!vIOv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vIOv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vIOv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vIOv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F19e0a59b-edce-4bbb-947a-4bd4c8caf920_1463x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So here is the overall architecture, for both versions of the model. I know it&#8217;s a lot, but we&#8217;ll go through it node by node. And remember, the important parts of a transformer are the embedding, the attention, and the feed-forward.</p><p>The first part at the bottom is where we pass in the input, turning it into numbers, into vectors. That&#8217;s the simplest part.</p><p>After that you&#8217;ll see a blue dotted line around most of the diagram, designating the transformer block. At heart it&#8217;s one attention layer and one feed-forward layer, with some supporting players in the mix. As I mentioned in the background slides, the transformer block gets repeated over and over, L times, after which the model is ready to make its prediction at the prediction head. There&#8217;s a layer after that about MTP, multi-token prediction, which we don&#8217;t need to get into but basically allows the model to predict a few tokens at once instead of just a single token at a time.</p><p>Now within the transformer block is the real innovation.</p><p>One innovation is mHC, which we covered in a previous paper and which I also don&#8217;t want to rehash too much here. But basically, mHC is all the grey stuff - the mixing, the row of circles that expands and condenses etc. It lets the model learn how much to actually care about what happened in the most recent attention or feed-forward layers.</p><p>The real show is the attention layer, here labeled as CSA / HCA. Those are two new forms of attention that allow DeepSeek-V4 to be so crazy efficient, and that&#8217;s the core technical stuff we&#8217;re gonna explore on the next slide. They interleave CSA and HCA, like using CSA in one transformer block and then HCA in the next one etc.</p><p>I&#8217;ll also note DeepSeekMoE as the feed-forward layer, but that&#8217;s also not new; basically all models competing for SOTA are MoEs.</p><p>Finally, for anyone who remembers the Engram paper, DeepSeek V4 does NOT use Engram. I expect it to appear in a DeepSeek release eventually, but that may not be until DeepSeek V5, since Engram has to be part of pretraining.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-c9W!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-c9W!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-c9W!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-c9W!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-c9W!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-c9W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg" width="728" height="419.9597701149425" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:803,&quot;width&quot;:1392,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!-c9W!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-c9W!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-c9W!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-c9W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F67303758-65eb-40bc-824f-b635f5a455be_1392x803.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now we are ready to tackle the big innovations: CSA and HCA.</p><p>We&#8217;ll start with CSA. It may help your intuition to think of a high-resolution picture you need to reduce the size of. The CSA approach is to keep the pixels in a circle around one spot, then go lower res on all the other pixels, then black most of them out for not being relevant enough. You&#8217;re getting some fairly precise but sparse global signal, and keeping the precise local signal.</p><p>Back to the model. In this diagram, each little yellow or green bar represents one token, or really one &#8220;hidden state&#8221; of a token - basically what the token has turned into after some number of transformer layers. The hidden state is like the model equivalent of electrical signals in your brain.</p><p>So we have our one query token, and we want to decide which of the KV tokens to attend to, and maybe transform the tokens a bit more first.</p><p>The first thing we&#8217;re gonna do is compress the KV tokens, in two ways: we&#8217;re gonna use smaller vectors, and we&#8217;re gonna group tokens together. You can actually see that in the diagram, where the bars are now half the height AND there are fewer of them, something like 4x fewer in this case.</p><p>The next thing we&#8217;re gonna do is use the lightning indexer to figure out which of these already-compressed tokens we want to attend to. That requires the query token and the KV tokens, and it puts out a list of the top KV tokens to care about. So now we only have three yellow bars at the top.</p><p>Finally, we do want to compensate for some of this compression by paying closer attention to nearby tokens. Specifically, we have our sliding window of 128 tokens there towards the top-left, which is gonna add in with the selected compressed KV entries.</p><p>So now from the query&#8217;s perspective, when it&#8217;s attending to all these KV entries, it has some high-fidelity ones in the 128 tokens before it, then a pre-selected group of kinda summarized tokens. And it&#8217;s gonna attend to all of them.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OhFn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OhFn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg 424w, https://substackcdn.com/image/fetch/$s_!OhFn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg 848w, https://substackcdn.com/image/fetch/$s_!OhFn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!OhFn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OhFn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg" width="728" height="569.9670781893004" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:761,&quot;width&quot;:972,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!OhFn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg 424w, https://substackcdn.com/image/fetch/$s_!OhFn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg 848w, https://substackcdn.com/image/fetch/$s_!OhFn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!OhFn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a31c6f6-e8cf-4991-8448-651721663691_972x761.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now for HCA. As the name implies, it&#8217;s like CSA, but even more compressed. They&#8217;re just gonna crank up the compression factor by a lot, like from 4 in CSA to like 128 here. And because everything is <em>so</em> compressed, they don&#8217;t need the lightning indexer to trim the number of tokens.</p><p>Of course they still have the sliding window KV entries, so nearby information is more preserved. But generally the goal of HCA is a global view of everything. Thinking back to our image and pixels from before, HCA keeps that same radius of original pixels, then makes the rest of the image super low res.</p><p>Now if you did only one or the other of CSA and HCA, you probably wouldn&#8217;t get good results. The magic is the <em>alternation</em> of these two, kind of superimposing them, so you have your fuzzy global view matching up with your selective global view. Then if a selected CSA block lands on a big fuzzy HCA block, that little higher-res bit gives you a much better idea of what&#8217;s going on in that big fuzzy block.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gSqd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gSqd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg 424w, https://substackcdn.com/image/fetch/$s_!gSqd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg 848w, https://substackcdn.com/image/fetch/$s_!gSqd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!gSqd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gSqd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg" width="728" height="245.0156366344006" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:452,&quot;width&quot;:1343,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!gSqd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg 424w, https://substackcdn.com/image/fetch/$s_!gSqd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg 848w, https://substackcdn.com/image/fetch/$s_!gSqd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!gSqd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56bbe605-62ea-4115-8620-7e92782a4a7a_1343x452.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s the upshot of all that innovation. Compared to the previous DeepSeek model, the slopes on the lines for compute (left) and memory (right) are drastically lower for both versions of V4. This is despite Pro having 1.3x the activated parameters of V3.2! And it really starts to matter once you get into the 100k regime.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!khWg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!khWg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!khWg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!khWg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!khWg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!khWg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg" width="728" height="595.8814814814815" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1080,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!khWg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!khWg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!khWg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!khWg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa60aab3-bf08-42c5-8574-a06b88423ff9_1080x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Speaking of V3.2, here&#8217;s where we net out when we compare base models. In case you&#8217;ve forgotten, base models have <em>no</em> post-training on them. It&#8217;s actually become quite rare to release base models, even when the post-trained models are open weights, so these are by far the best <em>base</em> models available today. Again, it&#8217;s the DeepSeek devotion to science shining through.</p><p>Anyway, V4 is generally an improvement over V3.2, even when comparing with the much smaller Flash.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GFHq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GFHq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GFHq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GFHq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GFHq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GFHq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg" width="728" height="543.5405405405405" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1184,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!GFHq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GFHq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GFHq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GFHq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbd64cf5-2277-4300-88aa-d58778d27449_1184x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now when you look at the post-trained versions, you can finally compare to the competition that the end user will have in mind.</p><p>Before we draw any conclusions about DeepSeek V4, we should look at the distribution of benchmark scores between the other models. Opus 4.6 and GPT-5.4 are generally regarded as the best models on this list, yet they often are not the winners. So we have to take benchmarks with a grain of salt.</p><p>Anyway, it seems like DeepSeek V4 is competitive, but rarely on top. And from what I&#8217;ve seen of the vibes, that&#8217;s about right; DeepSeek has certainly not closed the gap with OpenAI or Anthropic or even Google, and they&#8217;re generally competitive with the other top Chinese models.</p><p>I wanted to show a bit about the post-training process, but the information is scant. The one interesting thing for this group is that they do use rubrics, although there&#8217;s no other information about them. They actually use the same model for generating and judging, and they claim they improve the model&#8217;s judging abilities alongside its generating abilities when they&#8217;re doing RL.</p><p>They also do a somewhat common thing now where they post-train a bunch of different versions of the model that are each experts in one area, then they distill those models down into one final model. I don&#8217;t think that would change what post-training data they want, more of a fun fact.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NrP_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NrP_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NrP_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NrP_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NrP_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NrP_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg" width="728" height="223.5700575815739" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:480,&quot;width&quot;:1563,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!NrP_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NrP_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NrP_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NrP_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ef247b1-461a-4e4d-8f0c-3032c920685d_1563x480.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>To complement the benchmarks, they do run one eval: a small set of white collar tasks, in Chinese, like writing reports and making nice-looking documents. They don&#8217;t give any numbers on contributors or sample size unfortunately.</p><p>In the SxS rankings, DeepSeek seems to hold its own against Claude, and on the pointwise criteria it does about the same or a bit better. Maybe the tasks being in Chinese was a major factor though, because I would be surprised if this held up at large n or in English based on what I&#8217;ve been hearing.</p><h2>My Takeaways</h2><ul><li><p>Attention innovation still has juice to squeeze</p><ul><li><p>Maybe someone will hit 2M this year</p></li><li><p>I&#8217;m more bearish on alternative attention mechanisms now (e.g. Mamba)</p></li></ul></li><li><p>We&#8217;re not that far from &#8220;tokens too cheap to meter&#8221;</p><ul><li><p>The Bitter Lesson strikes again</p></li></ul></li><li><p>US and Chinese ecosystems are diverging</p><ul><li><p>The US will probably ban the import of Ascend chips on national security grounds</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Qwen-AgentWorld: Language World Models for General Agents]]></title><description><![CDATA[or, A Mirror for Agents]]></description><link>https://www.friendlypaperreview.com/p/qwen-agentworld-language-world-models</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/qwen-agentworld-language-world-models</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Wed, 01 Jul 2026 21:25:45 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!yX04!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on July 1, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2606.24597" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yX04!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yX04!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yX04!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yX04!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yX04!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg" width="728" height="1029.6712328767123" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1239,&quot;width&quot;:876,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2606.24597&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!yX04!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yX04!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yX04!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yX04!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F041d4ef0-95d6-465f-b05e-49f236061414_876x1239.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2606.24597">Paper</a>   &#183;   <a href="https://qwen.ai/blog?id=qwen-agentworld">Blog</a>   &#183;   <a href="https://github.com/QwenLM/Qwen-AgentWorld">Repo</a>   &#183;   <a href="https://huggingface.co/datasets/Qwen/AgentWorldBench">Benchmark</a>   &#183;   <a href="https://huggingface.co/Qwen/Qwen-AgentWorld-35B-A3B">Model</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MNaE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MNaE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg 424w, https://substackcdn.com/image/fetch/$s_!MNaE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg 848w, https://substackcdn.com/image/fetch/$s_!MNaE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!MNaE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MNaE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg" width="728" height="341.08416169648774" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:707,&quot;width&quot;:1509,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!MNaE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg 424w, https://substackcdn.com/image/fetch/$s_!MNaE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg 848w, https://substackcdn.com/image/fetch/$s_!MNaE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!MNaE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6bb12ae5-7ce2-4d09-b552-c6c69e7f677c_1509x707.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So, what are world models?</p><p>We&#8217;ve actually answered this question once before, back in November 2025, when I covered a paper called Benchmarking World-Model Learning. In it, we talked about how there are two ways to predict the future: statistical inference, and world modeling.</p><p>Let&#8217;s say you have a fair coin, and you want to predict whether it will land heads or tails. The <em>statistical</em> way to understand the odds is to gather a bunch of data on past coin flips, then calculate the odds as 50-50. From that finding, you <em>infer</em> the odds of the upcoming coin flip are also 50-50.</p><p>This is what language models generally do today. They have a ton of data about which token comes next given a series of previous tokens, and when you use them - when you <em>run inference</em> - you are asking for a statistical prediction, a distribution across all possible next tokens.</p><p>Now the <em>world modeling</em> way to predict the coin flip is actually much more familiar and intuitive to humans: look at the coin, feel it, see that it&#8217;s symmetrical on both sides, and think through how a coin flip actually works. It&#8217;s a rule-based approach, or maybe a heuristics-based approach given we&#8217;re not actually calculating any physics in our heads when we imagine a coin flipping. But ultimately it&#8217;s about how the world reacts to the action of the flipping.</p><p>This is not how language models work, at least not directly. Like the mechanics of LLMs is statistics and correlations and so on, but one level of abstraction higher they arguably are thinking, and it seems any thinking entity can think through the impact of actions on the world as we discussed with our coin flip. Like if you asked Claude right now to think through why a coin flip is 50-50, you&#8217;d get something pretty familiar back.</p><p>So the potential is there. The question the other paper asked is, can we activate it? If we subject the agent to a series of tests where world modeling beats statistical inference, will the agent make the leap?</p><p>The answer in that paper was: no, not really. At the time at least, agents were not adept at mentally simulating worlds like the one pictured above, which is from another benchmark called <a href="https://arcprize.org/arc-agi/2">ARC-AGI-2</a> but is similar in spirit.</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_B7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!L_B7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!L_B7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!L_B7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!L_B7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!L_B7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg" width="728" height="501.208722741433" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1284,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!L_B7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!L_B7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!L_B7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!L_B7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5284c47e-ec18-4fe6-b11b-5332ecfd6fb9_1284x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Another paper from around that time, <a href="https://arxiv.org/abs/2510.02387">Code World Model</a>, gives us a look at <em>explicit</em> world modeling, where the agent actually writes out what each intermediate step looks like.</p><p>In the image here, you see a simple program for counting the number of letters in a word. Once they define the function, they call it to count the number of r&#8217;s in the word &#8220;strawberry&#8221;.</p><p>What Code World Model then does is to take the inputs and walk through each step of the code with them, tracking the values of each variable. So like in the first frame, the variable &#8220;s&#8221; holds &#8220;strawberry&#8221; and the variable &#8220;t&#8221; holds the letter &#8220;r&#8221;. Then in the second frame, the program defines a new variable &#8220;n&#8221; with value zero, which Code World Model then tracks in the third frame, etc. At the end of the program, where it returns a value, Code World Model has thought everything through and knows the returned value is three.</p><p>The goal of all this is not to substitute for running programs, but to engender greater understanding of code in order to improve coding performance. Like imagine if you were trying to write code by just copy-pasting stuff you didn&#8217;t understand and trying to run it. Obviously you could get <em>somewhere</em> - I&#8217;ve just described vibe coding after all - but you would hit a ceiling pretty quickly. You have to understand the rules and the &#8220;world&#8221; of code to work well within it.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kZy7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kZy7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg 424w, https://substackcdn.com/image/fetch/$s_!kZy7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg 848w, https://substackcdn.com/image/fetch/$s_!kZy7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!kZy7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kZy7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg" width="728" height="340.56060606060606" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:741,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!kZy7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg 424w, https://substackcdn.com/image/fetch/$s_!kZy7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg 848w, https://substackcdn.com/image/fetch/$s_!kZy7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!kZy7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d63361e-2daf-4ded-945d-e5b6cdde17ed_1584x741.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now one area of modern AI that is moving to world models already is robotics, now known as &#8220;physical AI&#8221;. Again, we covered a relevant paper called <a href="https://friendlypaperreview.substack.com/p/world-action-models-are-zero-shot">DreamZero</a>, back in February 2026.</p><p>The dominant paradigm of physical AI in the gen AI era has been vision-language-action models, or VLAs. A VLA is basically an LLM with vision input added at the start and action output added at the end. So the core intelligence is an LLM, and it gets extra parts and extra training to be able to control a robot.</p><p>I always found that kind of odd. Like why would an expert in <em>language</em>, which is an abstraction of the world, be best suited for understanding the most concrete aspects of the world? Wouldn&#8217;t it be better if the native medium of the intelligence matched the world it was working in?</p><p>Well apparently some researchers found that odd too, so they switched the core of the model from <em>language</em> generation to <em>video</em> generation. After all, if your model can generate accurate videos of the world, doesn&#8217;t that mean it can model the world quite well? And then all you have to do is translate the predicted video into the actions for making that future come true, like having the robot use its gripper and move its arm to hit a cymbal with a drumstick.</p><p>These world-action models (WAMs) are starting to take off. I expect to see more of them.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Gb2B!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Gb2B!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Gb2B!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Gb2B!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Gb2B!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Gb2B!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg" width="688" height="438" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:438,&quot;width&quot;:688,&quot;resizeWidth&quot;:688,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!Gb2B!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Gb2B!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Gb2B!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Gb2B!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1967e5a0-fb4d-46d5-9e3d-035c4cd974c8_688x438.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>World modeling in physical AI is making another impact too: it&#8217;s allowing researchers to synthetically create videos of rare events for training data.</p><p>Also in February 2026, <a href="https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simulation/">Waymo announced their own world model</a>, built on the Genie 3 world model from Google DeepMind. Waymo&#8217;s world model generates video and other sensor outputs for events that are too rare to appear in their real training corpus, but are still likely enough to need training on. For example, they have no real training data of snow on the Golden Gate Bridge, but it plausibly could happen, so they should train on it.</p><p>They give other examples too, like a reckless driver veering off the road in a certain way, or an elephant crossing the street.</p><p>So a world model can be a helpful counterpart for an agent in the same domain, simulating new experiences and providing coverage that the environment so far has not produced.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hcXA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hcXA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg 424w, https://substackcdn.com/image/fetch/$s_!hcXA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg 848w, https://substackcdn.com/image/fetch/$s_!hcXA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!hcXA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hcXA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg" width="728" height="333.6666666666667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:726,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!hcXA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg 424w, https://substackcdn.com/image/fetch/$s_!hcXA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg 848w, https://substackcdn.com/image/fetch/$s_!hcXA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!hcXA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff5784b72-9cfd-495f-9f0a-4f87aafd65cc_1584x726.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>One other concept I&#8217;d like to bring in that isn&#8217;t in the paper but kind of lurks in the background is <em>reward models</em>.</p><p>A reward model is a model that numerically scores whatever you show it. So for example, you might train a reward model on safe vs unsafe prompts, with one for &#8220;safe&#8221; and zero for &#8220;unsafe&#8221;. Or you could feed it a partially complete math problem and score potential next steps, with one for &#8220;likely correct&#8221; and negative one for &#8220;likely incorrect&#8221; and zero for &#8220;no impact&#8221;.</p><p>Reinforcement learning with human feedback (RLHF) is probably the most prominent use for reward models. In RLHF, you start with a prompt and feed it to the model you want to train, which we&#8217;ll call the &#8220;generator&#8221;. You have it produce two responses, typically at two different temperatures, and then show the pair of responses to a human. The human then ranks the two responses, usually on a 1-7 scale, with 1 meaning &#8220;response A is much better&#8221; and 7 meaning &#8220;response B is much better&#8221;. You then train a reward model on these preference ranks to learn human preferences.</p><p>With your well trained reward model, you score responses from the generator on a bunch of new prompts. If the reward model is any good, then it can basically interpolate or simulate human preferences and thus train your generator way more scalably and granularly than a reasonable amount of human effort could.</p><p>So there&#8217;s a clear parallel: generators are to reward models what agents are to world models - at least when you use the world model to simulate an environment, rather than when you use the world model directly as the generator or agent etc.</p><p>Keep this parallel in mind for the takeaways at the end of the talk.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wkAa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wkAa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wkAa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wkAa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wkAa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wkAa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg" width="728" height="489.765601217656" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1314,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!wkAa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wkAa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wkAa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wkAa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b2de79c-6632-4ca2-97a8-bd852e20aeae_1314x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So high-level, Qwen-AgentWorld is a language world model (LWM): working only in the medium of language, it models various worlds - search engine, mobile phone OS, terminal, and so on.</p><p>I think of it as the converse of an agent. So like an agent observes the environment and acts on the environment. The converse of that would observe the agent and produce the actions - or maybe the <em>reactions</em> - from the environment.</p><p>Sometimes I picture the LWM as a dungeon master from Dungeons &amp; Dragons. Like in D&amp;D, the player takes actions, and then the DM decides what the in-game consequences are. Except in this case the &#8220;game&#8221; is, like, surfing the web or using the command line.</p><p>The LWM itself might even use tools, like how a DM uses dice, but mostly it&#8217;s about following the logic of a system mentally and inventing aspects as 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_!e8D2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!e8D2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!e8D2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!e8D2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!e8D2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!e8D2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg" width="728" height="642.2674650698602" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1002,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!e8D2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!e8D2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!e8D2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!e8D2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e3b881-5d31-4de7-92f2-f22360e502e0_1002x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here is what that looks like in practice.</p><p>The first example is for software engineering, where the input is a tool call for running a terminal command and a description of what the command is trying to accomplish. Now it&#8217;s the model&#8217;s job to output the results of that command, just by thinking about it - no tool calling allowed. The result is an error and a full stack trace, just like you would get if you ran this command in the given context.</p><p>The second example is for Android, just tapping on the &#8220;Buy Now&#8221; button in this fake app. Now since Qwen-AgentWorld is a <em>language</em> world model, it can&#8217;t directly produce the pixels for the resulting screen; instead, it writes the HTML that then renders into the resulting screen.</p><p>I dwell on this now because it takes a change in mindset to reverse the inputs and outputs like this. We&#8217;re so used to agents acting in the world, it&#8217;s weird to see the model <em>receiving</em> those commands instead of giving them.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pa1r!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pa1r!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pa1r!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pa1r!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pa1r!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pa1r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg" width="728" height="634.6666666666666" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1014,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!pa1r!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pa1r!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pa1r!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pa1r!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd13eef0c-650a-4f24-b51f-8e23cf79ac2e_1014x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now as you may have noticed, a lot of context was missing from the examples on the last slide. Like, how would a model know whether some script will crash or not?</p><p>Well that context is available to the LWM, but it&#8217;s in the system prompt, not in some outside tools it can call. Here&#8217;s an example for the command line, aka the terminal, which says not only what the model is for but also where it&#8217;s supposed to be, what its environment is like. Calling back to our D&amp;D analogy, the system prompt is like the dungeon master&#8217;s guide for the campaign.</p><p>Note the text on the right side in italics: some sections are <em>static</em>, others are <em>dynamic</em>, meaning they change depending on the task. I think the division is pretty intuitive though, like the rules of the terminal &#8220;world&#8221; are always the same, but the conditions vary. One wrinkle however is that for the MCP and SWE domains, the action space actually does change per trajectory, because different MCPs and different software repos will have different tools available. Like obviously the MCPs for Notion and Salesforce will be different, and for software repos you at least have to deal with different programming languages and packages.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zAs1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zAs1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zAs1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zAs1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zAs1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zAs1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg" width="728" height="220.6060606060606" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:480,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!zAs1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zAs1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zAs1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zAs1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc2b93fbb-fcb8-4479-b894-c6bef94ca2ea_1584x480.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Now in terms of the data, they have three distinct phases: continual pretraining (CPT), supervised fine-tuning (SFT), and reinforcement learning (RL).</p><p>Continual pretraining is basically what it says: it&#8217;s pretraining, so basically reading a bunch of text and trying to predict the next token every time, and it continues the existing pretraining. CPT happens on top of a base model, before post-training. The data in this case comes in two flavors:</p><ol><li><p>World knowledge, which will give the world model more detailed information about relevant domains than what was in the original pretraining</p></li><li><p>Trajectories, which show how environments from the relevant domains respond to agents</p></li></ol><p>The trajectories are the novel part here. They spin up a bunch on their own of course, synthesizing tasks for the relevant domains and letting agents run wild on them in various sandboxes. Totally normal for pretraining data, which is more about quantity than quality. But they do also harvest naturally occurring trajectories from public sources like execution traces in code repos, as well as from their own past model development.</p><p>There&#8217;s a lot of cleanup and wrangling to get it all into the same format, which is important and underappreciated for quality but isn&#8217;t that interesting frankly. The do mention having over 10M trajectories to use in CPT, but otherwise no info about their data.</p><p>For SFT and RL, they do give numbers, which we&#8217;ll see on the next slide. But I did want to pull out a couple fun details first.</p><p>For SFT, they add in reasoning, to teach the world model to work through the logic of the given world. They also vary the system prompt to improve generalization.</p><p>For RL, they use rubrics, which we&#8217;ll discuss later when we talk about the benchmark they made for this paper, and they actually cited a Scale paper on rubrics best practices. They do have rule-based verifiers in some cases too, checking for objective correctness. They mix the rubric and rule scores at a 9:1 ratio, which is an approach I&#8217;ve never seen before and doesn&#8217;t get any further explanation sadly.</p><p>Also, during RL itself, they observe one fun bit of reward hacking that I have seen reported elsewhere. Basically, when you use an LLM judge, the model you&#8217;re training can trick the judge into awarding higher scores by peppering its responses with self-affirmations. One example they give is &#8220;operation completed successfully with all fields correctly populated&#8221; - the LLM judge is just too credulous and goes off that statement. Personally, I&#8217;ve seen Claude do a lot of this faulty self-affirmation, so I&#8217;m sure it&#8217;s not just a Qwen problem.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!juXZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!juXZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg 424w, https://substackcdn.com/image/fetch/$s_!juXZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg 848w, https://substackcdn.com/image/fetch/$s_!juXZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!juXZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!juXZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg" width="728" height="323.0769230769231" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:600,&quot;width&quot;:1352,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!juXZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg 424w, https://substackcdn.com/image/fetch/$s_!juXZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg 848w, https://substackcdn.com/image/fetch/$s_!juXZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!juXZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3de9c21d-1924-4f6b-a6bc-a3ac077f4552_1352x600.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>For the SFT and RL phases, here&#8217;s the amount of data for each of the seven domains.</p><p>I&#8217;ll note two things. One is the substantial difference in SFT numbers between MCP and SWE vs all the other domains. I initially thought maybe it was because they were already good at those domains, but Terminal has one of the <em>highest</em> counts, so that can&#8217;t be it. MCP and SWE are the only two domains where the action space is different for every task though, so perhaps it was just harder to generate data that cleared their automated quality checks. They do note later that MCP and SWE have far more turns per trajectory than the other domains, which again hints that they were harder to produce.</p><p>The other thing is the ratio of RL to SFT data. I expected these ratios to be roughly similar, and I guess they kinda are, but it&#8217;s still more varied than I thought it would be. The only pattern I see is lower ratios for the GUI domains, which again I can&#8217;t definitely explain. Could also be a quality issue. Keep in mind that the SFT data comes from a different model than the RL data, and they say later on that their model generally underperforms on GUI tasks because it&#8217;s relatively weak on vision, so my assumption is quality limited them.</p><p>Still, at least they disclosed the numbers. That&#8217;s become increasingly rare for the model builders to do.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Mm8L!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mm8L!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Mm8L!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Mm8L!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Mm8L!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mm8L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg" width="728" height="360.7828282828283" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:785,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!Mm8L!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Mm8L!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Mm8L!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Mm8L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F262098ae-5108-4c5f-83ef-0947082fc4f0_1584x785.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now in addition to training data, they also produce <em>eval</em> data - their new benchmark, AgentWorldBench. This is the ruler they will judge their models by, and we&#8217;ll see the results on the next slide.</p><p>It&#8217;s somewhat misleading to say they produced the data though, because as you can see below the pie chart, the prompts are all from existing benchmarks. And since this is a test of the world model&#8217;s ability to respond to agent actions, the examples also need trajectories showing an agent interacting with an environment. So concretely, this benchmark comprises prompts from other benchmarks, plus one complete and successful trajectory per prompt, containing agent turns from one of five possible models and environment turns from the benchmark&#8217;s environment.</p><p>The job of the world model, then, is to produce the correct environment response given the prompt plus the agent and environment turns so far. They pick several different spots on each trajectory to test the world model on, ensuring some minimum difficulty and some positional variety. So for example, on text domains they always pick the first and last turns at least.</p><p>They then rate on five dimensions, using an LLM judge to compare the LWM&#8217;s response against the ground truth response from the actual environment.</p><p>I have some quibbles about how they define and weight their criteria, but ultimately I think it&#8217;s reasonable enough. You just have to keep in mind that the scores all have error bars around them.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uQas!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uQas!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!uQas!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!uQas!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!uQas!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uQas!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg" width="728" height="421.72477064220186" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1526,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!uQas!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!uQas!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!uQas!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!uQas!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c17716d-b154-4786-bb1d-f97f45d787d8_1526x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here are the results on that benchmark.</p><p>Before we look at any particular result, let me contextualize the models on this list. Of course at the top we have the big three: Claude, GPT, and Gemini. It&#8217;s a little odd to list both Opus 4.8 and Opus 4.6, but otherwise these are fine. Nice that they included a smaller model in the form of Sonnet.</p><p>The next group down is the top of the open-weights pile, minus Qwen of course. These guys are roughly the same size, except for MiniMax-M2.7, which is significantly smaller.</p><p>After that we have Qwen, from what was the latest version at the time, namely Qwen3.6. We don&#8217;t know how big Plus and Max are, but my guess is Max is around the same size as the bigger Qwen3.5.</p><p>Finally, at the bottom we have the baseline and LWM versions of Qwen3.5 in two different sizes. These are mixture-of-experts models, so the first number is the total size and the second number is the count of active parameters.</p><p>Now looking at the results, I think you have to start by looking at the relative difference of the baseline vs the LWM version for both sizes, rather than the absolute performance of the LWM. If you compare the baselines to the other models above, you&#8217;ll see that the baselines are weirdly strong. Like for the smaller model, 3.5 is significantly better than 3.6, and is slightly better than MiniMax-M2.7, which is roughly ten times the size. And the bigger baseline model is apparently on par with Gemini, which is undoubtedly an order of magnitude bigger.</p><p>So yes, it&#8217;s nice they got their bigger LWM to beat all the closed models at simulating these domains, but some of that seems like variance and the right choice of baseline. And as I mentioned on the previous slide, reasonable people can disagree about the rubrics, so I think providing two decimals of precision is misleading and that any scores within a few points of each other are basically equivalent.</p><p>Finally, given the existing interest in world modeling and the high scores, it&#8217;s possible the closed models already get this type of training. Hard to know if we&#8217;re comparing apples to apples here.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0hQN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0hQN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0hQN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0hQN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0hQN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0hQN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg" width="728" height="177.2031007751938" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:314,&quot;width&quot;:1290,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!0hQN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0hQN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0hQN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0hQN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F70eeda8b-cf50-4084-b67a-ba07cf7dae45_1290x314.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Of course this benchmark is brand new for this paper, and also the training data domains matched the benchmark domains. What about some independent confirmation that Qwen-AgentWorld is a good all-around simulator?</p><p>One quick check you can run is to train for new benchmarks. So they take two generalist agent benchmarks, which are not directly in the target domains, and train the same model on them with two different simulators: Qwen3.6-Plus, and Qwen-AgentWorld.</p><p>As the table shows, Qwen3.6-Plus right off the shelf is a poor simulator of at least a generalist agent environment, with virtually no change on either benchmark. Qwen-AgentWorld, on the other hand, shows real improvement on both.</p><p>Thinking back to the AgentWorldBench scores, I do think it&#8217;s unfair to use Qwen3.6-Plus as a point of comparison here, since it scores worse than the stock Qwen3.5-397B. It&#8217;s unclear why they introduced another variable here by changing the baseline model.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mGT-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mGT-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mGT-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mGT-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mGT-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mGT-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg" width="728" height="133.2828282828283" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:290,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!mGT-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mGT-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mGT-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mGT-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1cffd565-f52a-4fb1-b092-73288a3d2426_1584x290.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Now this part still uses Qwen-AgentWorld as a simulator, but it focuses on how <em>controllable</em> the simulator is. Thinking back to our Waymo example from the background slides, one of the key advantages of simulation is you can produce conditions that are rare or not present in your corpus of natural training data. But just because a simulator <em>can</em> produce rare data doesn&#8217;t mean it&#8217;s easy to get the simulator to do it. So you need to test control empirically. Concretely, &#8220;control&#8221; means putting instructions in the system prompt about how to respond or what is in the hidden state, not just letting the simulator pick what seems most probable.</p><p>And when you do give those specific instructions, you get a more effective simulator as the table shows, at least some of the time anyway. It&#8217;s at least never worse.</p><p>Beyond just giving more specific directions, the authors design two sorts of control designed to improve robustness:</p><ol><li><p>Environment Adaptation, where the simulator makes select changes in an otherwise standard environment. For example, one of the APIs in the system prompt might come back with a transient error instead of the expected response.</p></li><li><p>Fictional-World Construction, where a structurally realistic environment gets completely fictional facts. The example they give is a Search environment where a small colony exists on Mars, and there are news articles across the whole arc of colonization.</p></li></ol><p>There&#8217;s some good detail about the fictional-world one in the paper if synthetic data is your jam.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UugG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UugG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg 424w, https://substackcdn.com/image/fetch/$s_!UugG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg 848w, https://substackcdn.com/image/fetch/$s_!UugG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!UugG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UugG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg" width="728" height="239.9090909090909" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:522,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 19&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="Slide 19" title="Slide 19" srcset="https://substackcdn.com/image/fetch/$s_!UugG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg 424w, https://substackcdn.com/image/fetch/$s_!UugG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg 848w, https://substackcdn.com/image/fetch/$s_!UugG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!UugG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4475a1dd-2846-40ef-b2b9-5f711ca1f286_1584x522.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Another view on the impact of controllable simulation is at the behavior level, like one level below the top-line results.</p><p>So on this web search benchmark for example, using real data sometimes teaches the model to be lazy, because in real search results you often don&#8217;t need to look at any of the resulting web pages - the search preview is enough. If that&#8217;s true too often, your model may learn to rely <em>only</em> on the search results, or maybe to click into just one link, before returning an answer.</p><p>However, if you control the simulation so that the known final answer is rarely in the search previews, then you can get the model to try harder and look at more pages. That&#8217;s what the graph on the right shows; for the same number of searches, the model learning from the controlled simulation hits more web pages because of the simulator, which is going to generalize better.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mq4N!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mq4N!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mq4N!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mq4N!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mq4N!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mq4N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg" width="728" height="362.16161616161617" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:788,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 20&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="Slide 20" title="Slide 20" srcset="https://substackcdn.com/image/fetch/$s_!mq4N!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mq4N!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mq4N!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mq4N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13c94b29-e5ef-4eb4-9245-e76dfe4cfc82_1584x788.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>It&#8217;s instructive to see how the simulations got more realistic too. So for search, over the course of RL a couple telling details really improved.</p><p>For one, the url slugs got more realistic. After 100 RL steps, the ID for the Big Eyes movie page on IMDB was something pretty unlikely, this number composed of repeated and increasing digits. But after 200 RL steps, you get a more plausible ID.</p><p>Or take the list of simulated search hits. After 100 steps, you get a plausible but simplistic list, like a hit from NYT but with a generic title. After 200 steps, you get a title with some flair and also a top hit for Wikipedia, which in retrospect seems like an obvious omission from the earlier list but maybe wasn&#8217;t obvious at the time. And as the ground truth search results show, Wikipedia really is the top hit.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tfy1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tfy1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tfy1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tfy1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tfy1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tfy1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg" width="728" height="127.76767676767676" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:278,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 21&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="Slide 21" title="Slide 21" srcset="https://substackcdn.com/image/fetch/$s_!tfy1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tfy1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tfy1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tfy1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4152c3a2-5d9b-4767-961e-a793a856e5af_1584x278.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So the benchmark and the other results we just covered are for LWM <em>as</em> <em>simulator</em>. Now we can talk about LWM <em>as agent</em>, like Code World Model and DreamZero from the background slides.</p><p>They&#8217;re going to measure across several agentic benchmarks - some coding, a little searching, a couple generalist agent, and several variants of tool use. However, the training data is <em>not</em> agentic; it is single-turn, with no tool use or interaction at all!</p><p>So taking this regular old Qwen model, which has not received any world model training in pretraining or in supervised fine-tuning, and then doing LWM RL on it can improve agent performance across the board.</p><p>To me that really shows the power of instilling a mental model into a language model, and how walking through steps makes problems more clear. It also reminds me of <a href="https://en.wikipedia.org/wiki/Rubber_duck_debugging">rubber duck debugging</a>, where just explaining your code out loud to nobody in particular or to an inanimate object clarifies your thinking on it.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WjEH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WjEH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!WjEH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!WjEH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!WjEH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WjEH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg" width="728" height="585.0472727272727" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1100,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 22&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="Slide 22" title="Slide 22" srcset="https://substackcdn.com/image/fetch/$s_!WjEH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!WjEH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!WjEH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!WjEH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F835fd91a-1fed-4c41-9dfc-25b10fc7095e_1100x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a look at some more explicit world modeling. There&#8217;s a tricky task in this email tool called Mailman where the baseline model fails. It&#8217;s a bit jargon-heavy, but the baseline model does the equivalent of reading the docs and trying stuff, all very first-order thinking.</p><p>By contrast, after some RL, the LWM is able to think through the &#8220;world&#8221; or logic of Mailman, with second-order effects. It&#8217;s not totally explicit, like it&#8217;s not simulating exactly what Mailman would do, but it walks through a summary of it in natural language. That&#8217;s just what a human would do, except perhaps in the most challenging circumstances when the abstraction and imprecision of natural language are liabilities.</p><h2>My Takeaways</h2><ul><li><p>World modeling should be part of LLM training</p><ul><li><p>Maybe it already is at the closed labs?</p></li><li><p>There is <a href="https://arxiv.org/abs/2506.01622">some theoretical evidence</a> that sufficiently general agents <em>must</em> contain world models</p></li></ul></li><li><p>World modeling is still early</p><ul><li><p>The paper cites a lot of other recent research, but there are no gold standards that I&#8217;ve seen yet</p></li></ul></li><li><p>Generator : reward model :: agent : world model</p><ul><li><p>Training a world model could become the main way to improve the agent, at least for a time</p></li><li><p>Maybe there will be human data for world model training</p></li><li><p>Could you use a world model as a faster approximation if the real environment is slow/expensive/one-way?</p></li></ul></li><li><p>Agent + world model = RSI?</p><ul><li><p>If the agent can improve the world model, and the world model can improve the agent (as we just saw), the cycle is complete</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[ZAYA1-8B Technical Report]]></title><description><![CDATA[or, Swapping Space for Time]]></description><link>https://www.friendlypaperreview.com/p/zaya1-8b-technical-report</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/zaya1-8b-technical-report</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Mon, 29 Jun 2026 13:02:42 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!q1Lr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on May 13, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2605.05365" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!q1Lr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg 424w, https://substackcdn.com/image/fetch/$s_!q1Lr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg 848w, https://substackcdn.com/image/fetch/$s_!q1Lr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!q1Lr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!q1Lr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg" width="728" height="938.9158878504672" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1242,&quot;width&quot;:963,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2605.05365&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!q1Lr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg 424w, https://substackcdn.com/image/fetch/$s_!q1Lr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg 848w, https://substackcdn.com/image/fetch/$s_!q1Lr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!q1Lr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff8feb501-1776-450b-892c-f3596474064f_963x1242.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2605.05365">Paper</a>   &#183;   <a href="https://huggingface.co/Zyphra/ZAYA1-8B">Weights</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xQF0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xQF0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xQF0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xQF0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xQF0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xQF0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg" width="728" height="414.39278815196394" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1553,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!xQF0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xQF0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xQF0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xQF0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48d09909-6626-4169-b21d-f69815a075d9_1553x884.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I want to start with a high-level view of where AI is headed and what that looks like to the observer on the ground here, the folks living it like you and me.</p><p>All the curves so far say we&#8217;re on track for some super powerful AI. I don&#8217;t necessarily want to call it AGI, or ASI, or anything else like that, because frankly the labels are not helpful. There is no bright line for these events, and there isn&#8217;t even really an objective definition for such labels. People put a lot of stock in the Turing test, we blew past that pretty quickly in the modern AI era, and since then it&#8217;s been more instructive to follow specific and objective measurements, like the METR graph or the scores on Humanity&#8217;s Last Exam.</p><p>And if you watch the trend on those specific and objective measurements, you find that progress at the frontier has not stopped. But at the same time, people are always pointing out weird and dumb behaviors, things that models do that a human of that intelligence never would. Similarly, a lot of our specific and objective measurements cover only a partial set of characteristics we as humans would expect from a strong intelligence. So people call machine intelligence &#8220;jagged&#8221;, and part of that jaggedness is because researchers focus on improving the abilities they can best measure.</p><p>For the big labs, who want to build truly general intelligences, that jaggedness is something to fix. Anthropic wants Claude to be a good philosopher. OpenAI wants GPT to provide good relationship advice. xAI wants Grok to praise Elon more believably.</p><p>But there is another set of labs leaning <em>into</em> the jagged intelligence, spiking on code and reasoning and letting the more well-rounded skills languish. With a much narrower focus and different success criteria, there may indeed be room for players besides the big boys. Newer labs like Arcee and Poolside are positioning their models as agent-first, recognizing that enterprises don&#8217;t much need amazing writing or impressive creativity - just sharp analysis and reliable decision-making.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!490-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!490-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg 424w, https://substackcdn.com/image/fetch/$s_!490-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg 848w, https://substackcdn.com/image/fetch/$s_!490-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!490-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!490-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg" width="728" height="398.010101010101" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:866,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!490-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg 424w, https://substackcdn.com/image/fetch/$s_!490-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg 848w, https://substackcdn.com/image/fetch/$s_!490-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!490-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F388415c6-786d-4ca1-bce2-b43182c70c22_1584x866.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>One of these is Zyphra, the makers of ZAYA1-8B.</p><p>Unlike many so-called &#8220;neolabs&#8221;, outfits like Thinking Machines or Safe Superintelligence that can trace their lineage back to the big labs, Zyphra is on its own evolutionary branch. Founded in the Bay Area in 2021, before ChatGPT and the generative AI explosion, they have been working on neural networks and architectural innovations for some time now. For example, they released a 7B parameter model called Zamba in 2024 that used Mamba rather than the traditional attention mechanism. They also released a model called ZUNA trained entirely on EEG data, for brain-computer interfaces. And just for kicks they released a music generation model called Zonos. So they&#8217;ve got range.</p><p>Staying on the divergent evolutionary branch idea, they also live in a different <em>hardware</em> ecosystem: they train and run on AMD, not NVIDIA. That&#8217;s why AMD led their unicorn round back in October 2025, and why their cloud offering stresses &#8220;Deep integration across the AMD stack&#8221;. They offer inference on Kimi, DeepSeek, and GLM, as well as their own model of course, and they offer training, which I assume is the same infrastructure they used to train their models. So they&#8217;re a full-stack AI company.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PeOK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PeOK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PeOK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PeOK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PeOK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PeOK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg" width="728" height="304.9857328145266" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:646,&quot;width&quot;:1542,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!PeOK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PeOK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PeOK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PeOK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e6dfd4f-c112-4993-91b7-ec526151bca7_1542x646.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Flipping to the science side, we need to talk about a few bits of prior art that ZAYA1 makes use of.</p><p>By now we&#8217;re all familiar with reasoning mode or reasoning models. These are models that use a lot of tokens to &#8220;think&#8221; about a solution before giving a shorter, condensed final answer. The first of these was o1 from OpenAI, R1 from DeepSeek made the whole method public, and now pretty much every model comes with a thinking mode.</p><p>That ability to think more, to spend more compute and more tokens on a problem to get a better solution, is called &#8220;test-time compute scaling&#8221;, or TTC scaling for short. &#8220;Test-time&#8221; is just a fancy term for &#8220;at the time you&#8217;re using the model&#8221;, so basically the term is saying you can scale up the amount of tokens generated just like you can scale up the number of parameters or the amount of pretraining data.</p><p>The version I just described, where a model authors a long CoT before responding to the user, is <em>serial</em> TTC scaling - it&#8217;s about a single response growing longer.</p><p>You can also have <em>parallel</em> TTC scaling, where you have the model generate multiple responses to the same prompt, then use some technique to review or aggregate those responses. A simple example would be majority vote, where you get k responses and just pick one that gave the most common answer.</p><p>This is actually what people thought o1 was doing behind the scenes before R1 came out. If you were paying attention back then, you may remember talk of Q* and Project Strawberry. The rumor was that o1 basically searched a tree of possible responses and had a way to learn which next steps were most promising to further explore. You also may remember a paper we did involving Monte Carlo Tree Search (MCTS), that again would be more like parallel TTC scaling.</p><p>Anyway, the point is that you can go <em>wider</em> in addition to going <em>longer</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_!xYhJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xYhJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xYhJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xYhJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xYhJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xYhJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg" width="728" height="374.88191330343795" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:689,&quot;width&quot;:1338,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!xYhJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xYhJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xYhJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xYhJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b3d870c-949c-4694-9af9-c84c0a2818b0_1338x689.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s an example one such technique, called Parallel Coordinated Reasoning (PaCoRe).</p><p>The authors start from one insight: the limit to serial TTC scaling is the model&#8217;s context window. If we really believe in scaling, we need to break past that limit.</p><p>So they do two things. First is, they have multiple reasoning trajectories in parallel. So that&#8217;s already doing some parallel TTC scaling.</p><p>But second, instead of just aggregating and picking from the reasoning trajectories, they compact them - basically use the model to boil them down to their essentials - and then feed them back into the model along with the original prompt. You can run that many times before all the compactions take up too much of the context window. And then at the end, you do whatever aggregation system, or you just have the model pick the one it thinks is best, etc. So you&#8217;re getting the wisdom of many millions of tokens, but squeezed into one context window.</p><p>We will see PaCoRe in the ZAYA1 paper, but as <em>training data</em> - the input is a problem and a set of reasoning trajectories, and the ideal output is a compaction.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eBTj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eBTj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg 424w, https://substackcdn.com/image/fetch/$s_!eBTj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg 848w, https://substackcdn.com/image/fetch/$s_!eBTj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!eBTj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eBTj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg" width="728" height="324.23136246786635" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:693,&quot;width&quot;:1556,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!eBTj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg 424w, https://substackcdn.com/image/fetch/$s_!eBTj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg 848w, https://substackcdn.com/image/fetch/$s_!eBTj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!eBTj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b444f77-9c4c-41a2-91e9-be12821ab532_1556x693.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>ZAYA1 does something similar to PaCoRe, a technique they call &#8220;Markovian RSA&#8221;. It&#8217;s a combination of two papers. One is called &#8220;The Markovian Thinker&#8221;, and the other is called &#8220;Recursive Self-Aggregation&#8221;, or RSA.</p><p>This graphic is from The Markovian Thinker. If you&#8217;re not familiar, a Markov process is a process where all you need to know is the current state in order to predict the next state. For example, if you throw a ball in the air, you don&#8217;t need to know where it previously was in order to predict where it&#8217;s going - you just need its mass and its velocity and gravity. By contrast, text generation from an LLM is not a Markov process, since the next word depends on all the previous words that came before it.</p><p>If you&#8217;re again trying to scale test-time compute past the context window, that&#8217;s going to cause problems as earlier text leaves the context window. But if you can <em>make</em> text generation Markov, then you don&#8217;t have to worry about earlier text leaving the context window, because your prediction only needs the text from the step before.</p><p>As you can imagine, that&#8217;s probably not going to work at the single-token level, like it&#8217;s gonna be impossible to have one token have everything you need to predict the next token. But if you break up a CoT into bigger units, like steps or sections or lines of inquiry, then maybe you have a shot.</p><p>And in fact that&#8217;s what they did here. They have a prompt and the start of a response, composed of two steps. One prompt plus two steps is one chunk. Then they summarize the two steps, feed the prompt and the summary into the model, and generate another step. That&#8217;s chunk 2. They keep going with this over and over until in the final chunk, chunk L, the new step has the final response. As long as the summary is good enough, you have a Markov process for generating text.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fmOa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fmOa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fmOa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fmOa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fmOa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fmOa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg" width="728" height="240.82828282828282" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:524,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!fmOa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fmOa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fmOa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fmOa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800b317-0b75-4428-8184-f7f8fee6c546_1584x524.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The other half of ZAYA1&#8217;s &#8220;Markovian RSA&#8221; technique is the RSA, the recursive self-aggregation.</p><p>The basic idea is to generate a bunch of trajectories, sample a few of them, and synthesize something from that sample. If you do that over and over, eventually you should converge on the right solution.</p><p>The graphic here I found a bit confusing at first, so let me walk through it. First we have a model and a question. We generate a population of solutions, where each solution has a CoT and a final response. In this case there are eight solutions in the population.</p><p>And then eight different times, we sample from the population and synthesize a new solution from the sampled ones. So like in the first row of blue, we have sampled solutions two, six, one, and four. The synthesized solution from that combination is T_1. Since we&#8217;re doing that sample-and-synthesize process eight times, we again end up with eight solutions.</p><p>You can do that over and over again, as many times as you like. And then in the final step you aggregate them somehow, like with majority voting or by just having a model pick the best one.</p><p>You can see how this is complementary to the Markovian technique on the previous slide, which is just a way to shorten any one CoT. Put &#8216;em together, and boom - Markovian RSA.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IF-J!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IF-J!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!IF-J!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!IF-J!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!IF-J!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IF-J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg" width="728" height="595.8814814814815" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1080,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!IF-J!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!IF-J!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!IF-J!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!IF-J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d573b25-0a14-4939-8081-084bbecc91cf_1080x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s start with the architecture. Fundamentally it&#8217;s still a transformer, so we have our three transformer components:</p><ol><li><p>Embedding, for turning words into vectors</p></li><li><p>Attention, for understanding all the input</p></li><li><p>Feed-forward, for thinking about that input</p></li></ol><p>You may not recognize the attention and feed-forward bits given all that&#8217;s going on here and given some of the nomenclature, so I&#8217;m going to break out each one.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1I2o!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1I2o!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1I2o!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1I2o!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1I2o!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1I2o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg" width="728" height="460.15922798552475" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:524,&quot;width&quot;:829,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!1I2o!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1I2o!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1I2o!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1I2o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff092046d-1412-4160-9b3b-e3c89b27d398_829x524.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This part here is the attention. Actually it&#8217;s attention with an extra step right before it, something they call Compressed Convolutional Attention (CCA).</p><p>I don&#8217;t want to look much at the guts of the thing, but the upshot is you end up with compressed versions of the normal inputs to attention. Like normally in attention you split up the input into queries, keys, and values, q k and v. That&#8217;s still happening here, BUT you do all this stuff on the right to make q k and v a lot smaller. To even out some of the quality loss, you basically look at the previous token in addition to the current token when you do that compression. That&#8217;s the convolution part.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!I-wt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!I-wt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg 424w, https://substackcdn.com/image/fetch/$s_!I-wt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg 848w, https://substackcdn.com/image/fetch/$s_!I-wt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!I-wt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!I-wt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg" width="620" height="345" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:345,&quot;width&quot;:620,&quot;resizeWidth&quot;:620,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!I-wt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg 424w, https://substackcdn.com/image/fetch/$s_!I-wt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg 848w, https://substackcdn.com/image/fetch/$s_!I-wt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!I-wt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdac435a8-d3f7-4d2e-8b43-f0c50fdd2fcc_620x345.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This part here is the feed-forward network. It&#8217;s a mixture of experts, but they&#8217;ve show the individual components broken out instead of just one block that says &#8220;MoE&#8221; on it.</p><p>So you can see there&#8217;s a router that picks the expert, and there are 16 MLPs, those are the individual experts, the little sub-networks. That&#8217;s actually quite low; even small MoEs these days will have 128 or 256 experts.</p><p>The trick is specifically in the router portion, which they&#8217;ve shown is actually four components that I again don&#8217;t want to get too far into. Basically they&#8217;ve made the router smarter, which lets it spread the load in training across all 16 experts more evenly, which improves performance.</p><p>It also allows them to pick just one expert, which again is out of step with the rest of the field; usually there are multiple experts active, and one of <em>those</em> is usually what&#8217;s called a &#8220;shared expert&#8221;, i.e. it is always active.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TuBV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TuBV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!TuBV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!TuBV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!TuBV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TuBV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg" width="728" height="581.873417721519" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1106,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!TuBV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!TuBV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!TuBV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!TuBV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ddd7bdf-1dfc-471a-b8f6-0c75e44ef239_1106x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a summary of the whole thing. With 40 of those transformer layers we end up with about 8B parameters, less than 1B active, for a sparsity ratio of about 11. That&#8217;s pretty normal at this size, although bigger MoEs tend to be more sparse.</p><p>Note also the call-out in the last row of AMD hardware. You would never see that mentioned if they were training on NVIDIA hardware.</p><p>Overall, while they&#8217;re making a couple unusual choices, they&#8217;re not the stars of the show. The main thing is the size, as we&#8217;ll see when we get to the benchmarks and look at what models ZAYA1-8B is competitive with.</p><p>Speaking of size: it&#8217;s not covered in the paper, but they have a 74B version in preview now. The finished version should be out soon.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!spy4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!spy4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg 424w, https://substackcdn.com/image/fetch/$s_!spy4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg 848w, https://substackcdn.com/image/fetch/$s_!spy4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!spy4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!spy4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg" width="728" height="176.94444444444446" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:385,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!spy4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg 424w, https://substackcdn.com/image/fetch/$s_!spy4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg 848w, https://substackcdn.com/image/fetch/$s_!spy4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!spy4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c3b883-f8b3-4e5d-a482-f267c3d99954_1584x385.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Now, on to the training.</p><p>For pretraining, they do about 13T tokens, which is actually not a ton. For comparison, Qwen3.5 and DeepSeek V4 did over 30T. Part of that is probably down to language support - I think ZAYA1 only supports English, although it&#8217;s not mentioned - but I can think of two other causes.</p><p>One is synthetic data. For reasoning and code in particular, synthetic data is quite common, but you need a big operation to create enough tokens at sufficient quality to help out.</p><p>Similar deal for agentic trajectory data, which is by definition synthetic. They mention a few times that they haven&#8217;t trained ZAYA1 for use in agents yet, and agent trajectories can be a significant part of the pretraining corpus.</p><p>The other of course is that they&#8217;re a smaller operation, and it takes time to accrue a big pretraining corpus, whether scraped or generated. So they could catch up on performance with more time there.</p><p>Now for post-training, they provide this handy graphic showing all their stages: one for SFT, four for reasoning RL, and one for behavioral RL.</p><p>For SFT, they have three goals: one, get it to chat; two, lengthen the context to 131k tokens; and three, show it how to aggregate old chains of thought to produce a new one. That third one is key for ZAYA1 and relates to the RSA technique we saw in the background slides.</p><p>For the RL stages, they of course want to improve reasoning, but they also want to improve the various TTC scaling techniques. Like in the two blue boxes, they call out TTC, RSA, and PaCoRe as techniques the model will use and be rewarded for.</p><p>Now let&#8217;s highlight the data. We don&#8217;t get number of examples for SFT, but based on the token count and the maximum response length at that stage, I would guess around 20k. Then for the green box, it&#8217;s not in the graphic for some reason, but in the paper they mention about 85k examples.  Then for the rest of the boxes, you can see they mention having 400 environments in the purple box, over 30k RLVR examples between the two blue boxes, and over 80k RLVR examples in the orange box. Overall that&#8217;s roughly 20k SFT, 200k RLVR, and 400 environments.</p><p>Also on the topic of data, they mention in a couple places how they try to balance out difficulty as the model trains and improves. We don&#8217;t need to get into all the stuff they do with the reward function to capture that and how they dynamically filter the data, but it&#8217;s good for us to keep in mind how valuable a distribution of difficulties is.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2CP1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2CP1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2CP1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2CP1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2CP1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2CP1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg" width="728" height="318.95959595959596" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:694,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!2CP1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2CP1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2CP1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2CP1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83862509-b396-4984-b234-ad93c0d75454_1584x694.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Finally, after all that training, we are ready for some inference. And that&#8217;s where ZAYA1 shines.</p><p>This tangle of boxes and arrows is their Markovian RSA, combining the aggregation and synthesis of RSA with the context window workaround of Markovian Thinker.</p><p>We can see our model producing N different responses, which by default they set to 16. Then they cut off the last Tau tokens of each response and throw away the rest, which they can do because the model has been trained to think in these Markovian chunks. Usually they set Tau as a percent of the overall response length, like half or less.</p><p>Next, they randomly sample C of them, by default 4, and they put em in the aggregation prompt. Feed that prompt to your model and you get a new response. And remember, you&#8217;re gonna do that N times so you end up with N new responses.</p><p>In theory you can keep doing that forever, but by default they go through two rounds of aggregation. They hint that it&#8217;s because they only do RL for a single aggregation step, and they claim they will train on multiple rounds in future work.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YAOw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YAOw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!YAOw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!YAOw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!YAOw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YAOw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg" width="728" height="425.6296296296296" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1512,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!YAOw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!YAOw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!YAOw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!YAOw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9135ce8e-f240-4ac3-b78f-77f552008c11_1512x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now let&#8217;s see where we net out. This is the hero graph, where ZAYA1-8B competes with all these much bigger models. Of course many of these are closed models, so we don&#8217;t know how big they are or their architecture, but they&#8217;re likely all MoEs in the 100B-1T range.</p><p>For this model in particular, I think the shaded part, with Markovian RSA activated, is the right comp. And it seems like it&#8217;s holding up against these previous-gen models. Actually Sonnet 4.5 isn&#8217;t even that old, we&#8217;re only on Sonnet 4.6 now. So, pretty impressive.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!f5tL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!f5tL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg 424w, https://substackcdn.com/image/fetch/$s_!f5tL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg 848w, https://substackcdn.com/image/fetch/$s_!f5tL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!f5tL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!f5tL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg" width="728" height="384.22222222222223" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:836,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!f5tL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg 424w, https://substackcdn.com/image/fetch/$s_!f5tL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg 848w, https://substackcdn.com/image/fetch/$s_!f5tL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!f5tL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2775098-90ec-4db1-9143-ce9aa9f52a2d_1584x836.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Another way to look at performance is against more recent models from the same size range. Qwen3.5 and Gemma 4 are both pretty recent, and both have about 4x more active parameters, being dense models instead of MoEs. It&#8217;s apples-to-oranges but they&#8217;re in the same ballpark on net.</p><p>As we might expect given the focus on reasoning in training, ZAYA1-8B is the best for math and code and competitive on knowledge and instruction-following. The worst performance is on Tau^2 Bench, a recent agentic benchmark, which again is no surprise given where the researchers chose to focus. I suspect they could improve greatly here.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GAXa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GAXa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GAXa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GAXa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GAXa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GAXa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg" width="728" height="377.39130434782606" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:620,&quot;width&quot;:1196,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!GAXa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GAXa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GAXa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GAXa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faaf3b19c-1141-4b9b-b0e7-7aef3552b9d9_1196x620.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So since this paper&#8217;s primary focus is TTC scaling, of course they&#8217;re going to sweep those parameters and show how far TTC scaling can take you.</p><p>Here&#8217;s one view of that, just looking at overall tokens per final response you get and how it correlates with pass rate. It shows a typical diminishing-returns pattern, but take caution, because that y axis is already pretty high when they start the curve. Usually the last few percent are the hardest to get. I would have liked to see similar graphs for benchmarks with more headroom.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!R6xX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!R6xX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg 424w, https://substackcdn.com/image/fetch/$s_!R6xX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg 848w, https://substackcdn.com/image/fetch/$s_!R6xX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!R6xX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!R6xX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg" width="728" height="226.03427004797805" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:453,&quot;width&quot;:1459,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 19&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="Slide 19" title="Slide 19" srcset="https://substackcdn.com/image/fetch/$s_!R6xX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg 424w, https://substackcdn.com/image/fetch/$s_!R6xX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg 848w, https://substackcdn.com/image/fetch/$s_!R6xX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!R6xX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f46eb51-7dd5-41f3-8135-775355d724a3_1459x453.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Here&#8217;s a similar look into a different benchmark, but with the different inference parameters laid out. Again, T is the number of aggregation rounds, N is the number of responses generated, and C is the number of responses sampled for aggregation.</p><p>With no TTC scaling at all, The model hits 32%. Adding just two rounds with a pretty short maximum response length barely moves the needle, adding 1%. It&#8217;s only when you really crank the tokens that you see big gains - 14% from quadrupling the aggregations rounds and doubling the response length, and another ~20% from doubling the number of responses and doubling the response length again.</p><p>I&#8217;ve added the rough multipliers on maximum token usage to the table, but keep in mind you don&#8217;t always use the maximum per response. So if you want to be conservative, maybe cut the multipliers in half for what actually gets used on average. It&#8217;s still a lot, like millions per final response on average for the highest TTC setting. Again, that&#8217;s going to be tens of dollars per response at Sonnet 4.6 pricing. This type of thing is only feasible for smaller models.</p><p>I also added ROI, basically the gain on the benchmark relative to the token multiplier. Weird pattern, I suspect somewhat specific to the benchmark, so I wish they did this for more benchmarks and maybe a finer-grained sweep.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yV9I!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yV9I!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yV9I!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yV9I!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yV9I!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yV9I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg" width="728" height="423.9472990777339" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1518,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 20&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="Slide 20" title="Slide 20" srcset="https://substackcdn.com/image/fetch/$s_!yV9I!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yV9I!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yV9I!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yV9I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e68ba5b-b9ef-4900-ae10-8dac2b49f15e_1518x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So if Markovian RSA is such a great form of TTC scaling, can we just apply it to any old model?</p><p>Well they ran that experiment here, and the answer seems to be no, not really. Remember, ZAYA1 is trained to aggregate and synthesize solutions. It&#8217;s not a super common workflow, so at least at this size, models aren&#8217;t very good at it.</p><p>I do wonder if bigger models would work though, since they are generally more flexible. Again, an experiment I wish they did.</p><h2>My Takeaways</h2><ul><li><p>TTC scaling may substitute for parameter scaling</p><ul><li><p>If you don&#8217;t have the space, you can instead pay in time</p></li></ul></li><li><p>Goes hand-in-hand with faster, cheaper tokens</p><ul><li><p>Groq, Cerebras, Taalas</p></li><li><p>&#8220;Tokens too cheap to meter&#8221;</p></li></ul></li><li><p>Could be promising for consumer hardware</p><ul><li><p>Are small reasoning models &#8220;disruptive technology&#8221;?</p></li></ul></li><li><p>Amenable to context engineering and orchestration</p><ul><li><p>Ex. have a bigger model pick the final response</p></li><li><p>Ex. use deterministic checks to stop and regenerate bad solutions</p></li><li><p>Decoupling improvement from ML knowledge/tools/control of weights means more accessible innovation and customization</p></li></ul></li><li><p>I&#8217;m not sure if the architecture mattered</p></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Agents’ Last Exam]]></title><description><![CDATA[or, Benchmarks Are Hard]]></description><link>https://www.friendlypaperreview.com/p/agents-last-exam</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/agents-last-exam</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Wed, 24 Jun 2026 21:13:03 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!wdiV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on June 24, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2606.05405" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wdiV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wdiV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wdiV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wdiV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wdiV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg" width="728" height="942.2964509394573" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/df9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1240,&quot;width&quot;:958,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2606.05405&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!wdiV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wdiV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wdiV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wdiV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf9de6e2-89fb-40b2-ae92-f5f41c98ca0f_958x1240.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2606.05405">Paper</a>   &#183;   <a href="https://agents-last-exam.org/">Website</a>   &#183;   <a href="https://github.com/rdi-berkeley/agents-last-exam">Repo</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pvwA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pvwA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pvwA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pvwA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pvwA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pvwA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg" width="728" height="536.3428571428572" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:722,&quot;width&quot;:980,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!pvwA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg 424w, https://substackcdn.com/image/fetch/$s_!pvwA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg 848w, https://substackcdn.com/image/fetch/$s_!pvwA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!pvwA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7354733b-26d3-4ec3-9feb-4d2a42845912_980x722.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s start today&#8217;s discussion with a bit of economic background, since one of ALE&#8217;s goals is to measure progress on &#8220;economically valuable&#8221; tasks.</p><p>The US Bureau of Labor Statistics maintains something called Standard Occupational Classification, or &#8220;SOC&#8221;. SOC is a taxonomy of jobs, with 23 major groups at the top and over 800 detailed occupations at the bottom. Each job gets an ID, so like 15-1252 means &#8220;Software Developers&#8221; and 27-2023 means &#8220;Umpires, Referees, and Other Sports Officials&#8221;.</p><p>Now a level more detailed than that is the Occupational Information Network, or &#8220;O*NET&#8221;. O*NET extends each code with specific job titles, and it describes in detail what the job actually does and what it requires.</p><p>So continuing with my example of &#8220;<a href="https://www.onetonline.org/link/details/27-2023.00">Umpires, Referees, and Other Sports Officials</a>,&#8221; the key duties include &#8220;officiating at sporting events&#8221; and &#8220;inspecting game sites for compliance with regulations or safety requirements&#8221;. Key abilities include communication and deductive reasoning. There&#8217;s a ton more detail on the job - knowledge required, areas of interest that align with the job, appropriate styles of work - but for our purposes the only other relevant bit is the software skills required. For umps, it&#8217;s not much more than email and browser, but for other jobs it&#8217;s going to be quite relevant for our agents-replacing-humans benchmark.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!frn4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!frn4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!frn4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!frn4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!frn4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!frn4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg" width="728" height="406.2828282828283" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!frn4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!frn4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!frn4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!frn4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2715ddd-8599-4a0d-979f-881c2e33e478_1584x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Speaking of, here&#8217;s one of the leading players in the space: <a href="https://openai.com/index/gdpval/">GDPval</a>, from OpenAI.</p><p>GDPval, which is a fantastic name by the way, draws directly from O*NET to design its distribution. Specifically, the authors picked the top 9 sectors by contribution to US GDP, then picked 44 occupations within them, then designed tasks to cover the majority of O*NET work activities for each of those 44 occupations. So using the authority of O*NET, the authors could reasonably claim to measure potential to impact GDP.</p><p>Of course, the major filter on their selection of sectors and occupations was how much work happens on computers, in a way that doesn&#8217;t require other people. So for example, not only are physical jobs like Firefighter or Chef out, but so are mostly interactive or management jobs like Sales Representative or CEO. Still, they end up pretty representative of predominantly digital work, across sectors like real estate, government, manufacturing, health care and more. You can see in the example task in the top-right that the job is Manufacturing Engineer, and the task is to design a cable spooling truck for underground mining operations.</p><p>Now for us at Scale in particular, <em>where</em> the tasks came from is of particular interest. OpenAI sourced contributors with an average of 14 years of experience from a variety of firms across each sector and conducted a video interview, ran a background check, and gave them training + a quiz. The accepted contributors then produced tasks using real work materials, with a prompt and the requisite artifacts as inputs and whatever deliverable as the output - stuff like a legal brief or a care plan or a financial model. Of course the tasks got plenty of quality control, both automated and manual.</p><p>The benchmark comprises 1,320 tasks across its 44 occupations, but only 220 are public; the rest are private, with updates on GPT and selected competitors whenever OpenAI releases new models. For example, in the <a href="https://openai.com/index/introducing-gpt-5-5/">GPT-5.5 release</a>, they reported on GPT-5.5, GPT-5.4, Opus 4.7, and Gemini 3.1 Pro.</p><p>As for what they&#8217;re reporting, the main thing they care about is whether AI can replace humans in the job, so what they actually measure is expert preference on the AI output vs the original, human output. If the rater has no preference or thinks the AI version is better in a blind comparison, they count it. Most recently, GPT-5.5 scored 84.9%, although we don&#8217;t know the split between wins and ties.</p><p>Of course we&#8217;d like to know how lots of models score on GDPval, not just the ones OpenAI deems worthy of their time, so folks have adapted the 220 public tasks into different versions of the benchmark. The one I see most often is called <a href="https://artificialanalysis.ai/evaluations/gdpval-aa">GDPval-AA</a>, from Artificial Analysis, hence the &#8220;AA&#8221; in the name. You&#8217;ll see on the chart that they have a much wider array of models, including some from after GPT-5.5 came out. The most noteworthy one on there is GLM-5.2, an open-weights model that apparently matches GPT-5.5.</p><p>You&#8217;ll also notice they do not report a win + tie rate! Instead, they report Elo, basically a power ranking across all the measured models. That&#8217;s because for GDPval-AA, they do head-to-head between models, <em>not</em> model vs human reference solution, so there is no common standard to compare against. Relatedly, their pipeline is automatic, using an LLM judge (with access to the human reference solution) to pick the winner of each matchup.</p><p>One virtue of their scoring system is it can&#8217;t really saturate. Like if GPT-5.5 is already equal to or better than humans on 85% of tasks, there&#8217;s not much more GPT-5.6 can do on that metric. But as we see on the chart, Fable 5 pretty well crushes GPT-5.5, in a way that may not be obvious when GPT-5.6 comes out and we see the updated scores for GDPval. Relatedly, GDPval-AA is what Anthropic reported on the <a href="https://www.anthropic.com/news/claude-fable-5-mythos-5">Fable 5 release notes</a>.</p><p>Finally, one advantage of GDPval-AA in my opinion is they have their own harness, and they use it across all the models. By contrast, OpenAI uses each model within its own harness, and the harness for GPT in particular gets some benchmark-specific tools. On the one hand, it does make sense to measure &#8220;this is the best performance we could get from each model&#8221;, but I think for a leaderboard it&#8217;s more intuitive to have as neutral of a harness as possible. Keep that in mind for when we get to the results of this week&#8217;s paper.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Pftp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Pftp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Pftp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Pftp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Pftp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Pftp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg" width="728" height="413.2017937219731" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:886,&quot;width&quot;:1561,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!Pftp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Pftp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Pftp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Pftp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F47c3c261-b1d8-4f2b-b0c6-65e4d489ae6f_1561x886.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The other leading player in the agents-replacing-humans space is <a href="https://www.remotelabor.ai/">Remote Labor Index</a>, which is a collaboration between Scale and a research organization called Center for AI Safety.</p><p>Like GDPval, RLI sources a bunch of economically representative work and has agents attempt to recreate it. However, many details vary.</p><p>One is the overall approach or framing. Specifically, while GDPval uses top-down design based on a government taxonomy, RLI takes a bottoms-up approach: look at platforms like Upwork as a reflection of what computer work actually gets outsourced today, and sample from it. They do compare to GDPval to ensure the distribution of tasks isn&#8217;t too divergent though, and they somewhat oversampled from the more obscure task types to ensure broad coverage.</p><p>Anyway, the authors sourced real projects from over 300 freelancers, representing over $140k and over 6k hours of real work. After quality filtering, they end up with 240 projects across 23 different Upwork categories, like architecture, marketing, and game development. You can see examples of projects in the top-right.</p><p>As for grading, they have two modes: model vs human reference project, and model vs model - the same ones that GDPval and GDPval-AA cover, respectively. However, it&#8217;s human graders in both cases, so it&#8217;s expensive to update the leaderboard, which is why it&#8217;s a bit stale as you&#8217;ll see in the bottom-right.</p><p>So for model vs human, they ask the grader one question: &#8220;Does the alternative satisfy the brief at least as well as the reference, such that it would be accepted by a reasonable client?&#8221; The grader gives a 1 for no, 2 for yes, and 3 for strong yes, like if the model clearly surpassed the brief. The figure of merit there is what they call the &#8220;Automation Rate&#8221;, which is the count of 2s and 3s divided by the total count. Automation Rate is what you see on the leaderboard, and it&#8217;s quite low - just over 4% for Opus 4.6 in the <a href="https://claude.com/blog/cowork-research-preview">Cowork harness</a>.</p><p>Speaking of harnesses, note the number three player on the leaderboard: Manus, the company Meta acquired but then recently had to <a href="https://techcrunch.com/2026/04/27/china-vetoes-metas-2b-manus-deal-after-months-long-probe/">un-acquire on orders from the Chinese government</a>. Manus doesn&#8217;t even make any models - it only makes a harness. Again, we&#8217;ll see <a href="https://friendlypaperreview.substack.com/p/code-as-agent-harness">the importance of the harness</a> as we dive into ALE.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xRsi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xRsi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xRsi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xRsi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xRsi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xRsi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg" width="728" height="374.1111111111111" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:814,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!xRsi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xRsi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xRsi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xRsi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F776588d0-8745-4850-a50e-ff4a9cd64f5d_1584x814.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So just like GDPval and RLI, ALE is supposed to measure AI&#8217;s ability to replace humans on long-horizon, economically valuable work. ALE has a couple differentiators, which we&#8217;ll come back to, but broadly it is the same as the other two.</p><p>Since we know the premise already, let&#8217;s get into the details.</p><p>First, to actually build a benchmark, you need to know your target distributions. In the case of ALE, the most important distribution is domain coverage, like which jobs and duties to cover. They&#8217;re going to take the GDPval approach and start with O*NET, but instead of just looking at the top occupations by GDP contribution, they&#8217;re going to shoot for maximum coverage. Specifically, they filtered all of O*NET down to jobs that are primarily digital, then clustered them into 13 domains with 55 subdomains.</p><p>Once you have your distribution of domains, now you can go find the experts in the domains. Here they relied on their personal network and some referrals, which is reasonable but quite informal from the Scale perspective. Of course, this is an academic publication, and academic budgets can&#8217;t generally support the kind of large-scale, dedicated sourcing operation a well-funded company can run.</p><p>Now pulling from the <a href="https://lastexam.ai/">Humanity&#8217;s Last Exam</a> playbook, which Scale co-authored of course, they set up a portal for submissions to then vet. They do also explicitly commission some tasks, but mostly they are taking external &#8220;attempts&#8221; and reviewing them.</p><p>As for the reviewers, the first layer is an agent. Then a human engineer tries to convert the task into a standard format within an environment, which can expose quality issues but isn&#8217;t a quality step per se. Finally, there is a QC committee, which we don&#8217;t get much information about.</p><p>Again, from a Scale perspective the pipeline is rudimentary, but it&#8217;s understandable given the constraints. It&#8217;s hard and expensive to produce a good benchmark!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wHWo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wHWo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wHWo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wHWo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wHWo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wHWo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg" width="728" height="480.27777777777777" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:760,&quot;width&quot;:1152,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!wHWo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wHWo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wHWo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wHWo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6078cfac-9998-49de-9831-40f857feec28_1152x760.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a look at their pipeline numbers at their time of publishing, which hopefully have improved, because they&#8217;re not even done with all their tasks! Out of a total of 1,490 submitted and commissioned, 323 are still not QC&#8217;ed. From a Scale perspective I think that&#8217;s shocking, but even from an outside perspective I think it&#8217;s a bit dishonest to include unverified tasks in your benchmark.</p><p>I also found their review process a bit odd. It&#8217;s inspired by the conference paper review process - that&#8217;s where the verdict names come from - but peer review doesn&#8217;t exactly have the best reputation for producing quality. So I&#8217;m a little skeptical here.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jRp8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jRp8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg 424w, https://substackcdn.com/image/fetch/$s_!jRp8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg 848w, https://substackcdn.com/image/fetch/$s_!jRp8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!jRp8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jRp8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg" width="728" height="308.8484848484849" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:672,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!jRp8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg 424w, https://substackcdn.com/image/fetch/$s_!jRp8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg 848w, https://substackcdn.com/image/fetch/$s_!jRp8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!jRp8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F48674fe1-0362-4adf-b7f6-281e1ddf1931_1584x672.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Breaking the aggregate numbers into domains and subdomains, we can see good absolute coverage but some lopsided distributions within covered domains. I think because they don&#8217;t have anything external to moor to, like economic rankings as in GDPval or the empirical distribution on Upwork as in RLI, there&#8217;s no strong opinion about exactly how the distribution should look. I think practically speaking it&#8217;s mostly a result of who they could find in their expert sourcing efforts, which would be a biased sample, but that&#8217;s my speculation - they don&#8217;t explain.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GWq9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GWq9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GWq9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GWq9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GWq9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GWq9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg" width="728" height="221.5252525252525" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:482,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!GWq9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GWq9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GWq9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GWq9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d797f63-9559-4115-b214-d57c601381e0_1584x482.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Here is where the tasks net out. They include some knowledge, coding, and computer use benchmarks for completeness I suppose, but the real competition is just GDPval and RLI.</p><p>The first figure they call out is size, which seems to be clearly in their favor. However, as we saw before, only 150 are public, and over 300 aren&#8217;t even done yet! So I think it&#8217;s frankly inappropriate for them to put 1.5k here, especially because they only put the public slice in for GDPval; the full GDPval has over 1.3k tasks.</p><p>The second figure, breadth, is far more honest. They do genuinely cover a wider variety of domains, and it highlights the different purpose ALE serves: a test of capabilities, not a share of most economically valuable tasks. It&#8217;s right in the name - it&#8217;s the <em>last</em> exam.</p><p>Looking ahead, they claim a longer horizon on the top end. That is possible, but they don&#8217;t back it up with specific numbers anywhere - they&#8217;re just passing along the self-reporting from their contributors. More importantly though, the agents taking this last exam only get five hours per task. Of course agents can work faster than humans, especially if calling sub-agents to work in parallel, but it makes me think either that &#8220;weeks&#8221; is an exaggeration or that five hours is artificially low. Later on they do note that only 4.3% of tasks hit the 5 hour cap, but that could line up with the tail end of the horizon distribution. So I&#8217;m skeptical on the high end of their time horizons.</p><p>The last difference, verification, deserves its own slide.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!n3bY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!n3bY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg 424w, https://substackcdn.com/image/fetch/$s_!n3bY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg 848w, https://substackcdn.com/image/fetch/$s_!n3bY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!n3bY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!n3bY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg" width="728" height="412.4850894632207" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:570,&quot;width&quot;:1006,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!n3bY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg 424w, https://substackcdn.com/image/fetch/$s_!n3bY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg 848w, https://substackcdn.com/image/fetch/$s_!n3bY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!n3bY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6928a7a-91e7-4732-9220-c9369f5c51aa_1006x570.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Concretely, here is what goes into a task and how it gets evaluated.</p><p>First, you&#8217;ve got all the stuff for your task: the description of the work to be done, the required inputs, the software tools available, how to evaluate the outputs, and reference assets - the golden output from the human expert.</p><p>That all ends up in an environment where the agent is gonna run. Once it&#8217;s there, you kick off the run, and the agent gets five hours to complete the work. There&#8217;s no further direction from a human, but the agent is getting plenty of feedback from the environment, like seeing the outputs of the software tools it&#8217;s using.</p><p>Once the agent is done, either by its own decision or by hitting the time limit, the outputs go to the automatic evaluator, which returns a score between zero and one.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9REP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9REP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg 424w, https://substackcdn.com/image/fetch/$s_!9REP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg 848w, https://substackcdn.com/image/fetch/$s_!9REP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!9REP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9REP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg" width="728" height="281.27272727272725" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:612,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!9REP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg 424w, https://substackcdn.com/image/fetch/$s_!9REP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg 848w, https://substackcdn.com/image/fetch/$s_!9REP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!9REP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F81a74a7a-1958-4320-b70c-f0dbc901b61b_1584x612.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now as for the automatic evaluator, the exact method depends on the output type. For handy reference, they&#8217;ve given every method in this table.</p><p>For 93% of tasks, the automatic method is a pretty natural fit, like running code against a test set or checking a 3D object&#8217;s dimensions. However, for 7% of tasks, they have to use an LLM judge, mostly for visual comparisons but occasionally for free text. The judges do get rubrics, but already there&#8217;s a bit of judgment creeping into their automated methods.</p><p>More broadly though, there are two issues in my view. One is that some aspects of quality are not easy to automatically evaluate, even if other aspects for the same task are. So for example, while it&#8217;s easy to check code for correctness with tests, it&#8217;s hard to check maintainability.</p><p>The second, which is broader, is that many tasks are practically impossible to automatically evaluate, so restricting your benchmark to tasks with automatically evaluable quality gives you a biased view. I don&#8217;t think that&#8217;s a problem per se, but I do think automatic verifiability is at odds with their other two goals of realism and breadth.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SBmZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SBmZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!SBmZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!SBmZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!SBmZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SBmZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg" width="728" height="489.02127659574467" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1316,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!SBmZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!SBmZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!SBmZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!SBmZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e49da09-4a8b-46d5-9f6b-8c89a70de5cb_1316x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To make this all a bit more concrete, here are two examples of completed tasks.</p><p>The first one uses an injection molding simulation tool to produce predicted metrics like pressure and weight. There&#8217;s a particular software for it, Moldex3D, and spec for the part that is basically the inputs for the program. The agent has to fill out a provided results template. In this case, the agent did run the program and submit the template with values filled in, but some of them were the agent&#8217;s own estimates rather than outputs of Moldex3D.</p><p>The second one asks the agent to convert an audio recording into sheet music and a MIDI. Again, there&#8217;s some niche software, and some structured inputs with relevant information. In this case, the agent failed because it didn&#8217;t submit the sheet music or a requested image file showing the program in use, just the MIDI. In general the scoring systems follow this hard vs soft requirement pattern, where missing a hard requirement is an automatic zero even if everything else is perfect, whereas the soft requirements can receive a grade anywhere between zero and one. In my view that&#8217;s a bit misleading, or at least deserves a second form of reporting.</p><p>Note in both cases that the red box, Observed Outcome, has details about the failure. They have Codex analyze every agent trajectory for more granular information like that. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rxlx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rxlx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rxlx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rxlx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rxlx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rxlx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg" width="728" height="562.6666666666666" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:844,&quot;width&quot;:1092,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!rxlx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rxlx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rxlx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rxlx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e2324ff-fba0-4953-b6bc-2546a1b9171a_1092x844.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now let&#8217;s look at the full set of results, because there&#8217;s a lot to take in.</p><p>Before we look at any particular results, I want to call out a few divisions on the table. At the top, they&#8217;ve divided their benchmark into three tranches. &#8220;Near-Term&#8221; is the easiest, &#8220;Last-Exam&#8221; is the hardest, but &#8220;Full-Spectrum&#8221; is actually not just what&#8217;s left over - it&#8217;s one task per domain. They don&#8217;t explain how these two different sorting mechanisms happen to work out. I also think it&#8217;s annoying that the benchmark is called &#8220;Agents&#8217; Last Exam&#8221; yet less than a third of the tasks are actually &#8220;Last-Exam&#8221; tier.</p><p>Another division to note is by color: green at the top for model + harness variable, yellow for model variable with harness fixed, blue for model fixed with harness variable. Given the increasing importance of the harness, because of the increasing intelligence and ability of the model to make full use of the harness but also because models train in their harnesses now, I&#8217;m glad they tried to tease out the differences.</p><p>Now, on to the results themselves.</p><p>High-level, it&#8217;s going to be OpenAI victory across the board. GPT is the best model across every tranche and across all harnesses, and Codex is generally the best harness, although sadly they didn&#8217;t test Opus inside Codex. The only asterisk I&#8217;d put there is that ALE-Claw, the custom harness for this benchmark that is basically a stripped-down version of OpenClaw, does better than Codex in some cases. My hunch there is that it has a significantly smaller system prompt and thus is less distracting than Codex, whereas other fully fledged harnesses like Cursor have system prompts of a similar size to Codex&#8217;s.</p><p>One thing I found odd in the list of results is that Fable only appears once, in the third row, whereas Opus 4.7 appears in several places. It&#8217;s not going to save Anthropic here, since even Fable + Claude Code loses to GPT-5.5 + Codex, but it feels incomplete.</p><p>Finally, just look at how badly Grok is doing. It&#8217;s far below many open-weights models, even ones that are likely a tenth its size. Given the impressive performance of Cursor&#8217;s <a href="https://cursor.com/blog/composer-2-5">Composer 2.5</a> and the respectable performance of the Cursor harness, it&#8217;s no wonder SpaceX paid <a href="https://www.nytimes.com/2026/04/21/business/spacex-cursor-deal.html">$60B</a> for them.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ng2_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ng2_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ng2_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ng2_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ng2_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ng2_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg" width="728" height="338.26262626262627" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:736,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!ng2_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ng2_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ng2_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ng2_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8d2a0934-854a-44ff-9a27-83d937a4d03d_1584x736.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So quality is of course the top-line number, but cost and speed are important too.</p><p>Now normally on these graphs, you expect to see a general correlation between cost and quality, and between time and quality. Dots in the top-left corner of the graph are in the &#8220;magic quadrant&#8221; where you can improve quality without paying in money or time.</p><p>On these graphs, our magic quadrants are very busy. In fact, there is basically a straight line up on both, where you can get better quality for basically the same cost and time just by using the right model and harness.</p><p>It&#8217;s a tough couple graphs for any Anthropic users in particular, because apparently you can drop like 10x the money on Claude Code for no improvement at all in results compared to just using GPT-5.5 in pretty much any harness.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1jPV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1jPV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1jPV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1jPV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1jPV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1jPV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg" width="728" height="581.8686131386861" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:657,&quot;width&quot;:822,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!1jPV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1jPV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1jPV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1jPV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e832e52-bd6f-40da-abb6-441ddc71c146_822x657.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Lastly, I want to look at what is going wrong in the unsuccessful cases.</p><p>As the chart shows, the two biggest issues are missing domain knowledge and poor strategy. If you can knock those out, you&#8217;re halfway to a perfect score.</p><p>They are both &#8220;unknown unknowns&#8221; as Donald Rumsfeld once said; if the model knew more about the domain and perhaps about the relevant tools, it would have succeeded, but it didn&#8217;t even know it was missing the knowledge. Fortunately, we know the fix for poor knowledge: more training data! So I think this is a bullish finding for Scale.</p><p>The other two errors in the same families, incomplete work and hallucinations, are much harder to fix. Hallucinations in particular are probably impossible to truly fix in the current AI paradigm.</p><p>As for the execution errors, I suspect better harness tooling would help there, since the harness and the environment are how the model gets feedback about its work.</p><p>By the way, RLI also has error buckets, although they are of course different. Specifically, they found that almost half of all failing outputs were poor quality, which I think actually matches up pretty well with Wrong Strategy + Domain Knowledge + Hallucination. They also have an Incomplete bucket, which was ~35% for them. I think that makes sense as well given the higher difficulty of RLI, like either running out of budget quickly or not even realizing certain aspects were mandatory. Finally, they have a Technical Issues bucket at ~18%, which again has a pretty decent counterpart here in the Execution family of errors.</p><h2>So What?</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eNcV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eNcV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!eNcV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!eNcV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!eNcV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eNcV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg" width="728" height="374.1111111111111" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:814,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!eNcV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!eNcV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!eNcV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!eNcV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61fde5b4-a667-4bca-bcfe-9f2e3c37cfe0_1584x814.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To close out, I want to zoom out and see where all this is going. Then we can talk about the particulars of this paper and this benchmark.</p><p>We know from our old friend the METR chart that models are getting exponentially more autonomous. If you&#8217;re new around here and thus have never seen this chart, what it&#8217;s showing is how long in human time a task can be yet still have a model solve it. It&#8217;s a straight line on this chart because the y axis is on a log scale, which means on a linear axis the curve is exponential. So it literally is exponential progress.</p><p><a href="https://metr.org/time-horizons/">METR</a> is humble enough to admit they can&#8217;t reliably measure progress anymore, but we can extrapolate. In fact, we&#8217;re going to extrapolate from this newer, faster curve I&#8217;ve drawn in orange, which starts at the dawn of reasoning models: o1-preview.</p><p>That curve 10x&#8217;s every year. So if Opus 4.6 could do 10 human-equivalent hours of work autonomously at 50% success rate in February 2026, then by February 2027 the leading model will be able to do 100 human-equivalent hours of work autonomously at 50% success rate.</p><p>So I expect rapid progress on this benchmark, and for it to saturate some time next year.</p><h2>My Takeaways</h2><ul><li><p>I&#8217;m not ready to trust this benchmark yet</p><ul><li><p>Quality is a hard problem and it&#8217;s not clear to me they solved it</p></li><li><p>A lot of good fundamentals though. I would like to trust it</p></li></ul></li><li><p>Complementary to existing benchmarks</p><ul><li><p>Coverage of the tail that GDPval and RLI don&#8217;t cover, but also biased towards the tasks they could get and the tasks that are verifiable</p></li></ul></li><li><p>I expect increased demand for all work artifacts</p><ul><li><p>The market for codebases is already significant</p></li><li><p>&#8220;Task&#8221; is almost too small a unit of measurement now - &#8220;project&#8221; is the right size</p></li></ul></li><li><p>This is all for IC work</p><ul><li><p>Some harnesses may allow subagents, but it&#8217;s not a focus of the benchmark</p></li><li><p>Eager to see the first &#8220;middle manager&#8221; benchmark as we shift into multi-agent by default</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Rewarding the Rare: Uniqueness-Aware RL for Creative Problem Solving in LLMs]]></title><description><![CDATA[or, Fox Math]]></description><link>https://www.friendlypaperreview.com/p/rewarding-the-rare-uniqueness-aware</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/rewarding-the-rare-uniqueness-aware</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Mon, 22 Jun 2026 13:02:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!i1_V!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on March 18, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2601.08763" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!i1_V!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg 424w, https://substackcdn.com/image/fetch/$s_!i1_V!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg 848w, https://substackcdn.com/image/fetch/$s_!i1_V!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!i1_V!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!i1_V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg" width="728" height="1031.9544937428896" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1246,&quot;width&quot;:879,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2601.08763&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!i1_V!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg 424w, https://substackcdn.com/image/fetch/$s_!i1_V!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg 848w, https://substackcdn.com/image/fetch/$s_!i1_V!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!i1_V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F426917d2-85f9-4e1f-b4d4-06612a620186_879x1246.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://arxiv.org/abs/2601.08763">Paper</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!piiZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!piiZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!piiZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!piiZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!piiZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!piiZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg" width="728" height="436.8988458927359" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1473,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!piiZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!piiZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!piiZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!piiZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F439eb950-201d-4376-b8ee-f9969e7f0b8f_1473x884.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The framing I want to use this week comes from Isaiah Berlin, a 20th century philosopher and historian of ideas. He wrote many works and essays, but perhaps his most popular and enduring is this one, The Hedgehog and the Fox.</p><p>The title is a reference to a quote from an ancient Greek poet: &#8220;a fox knows many things, but a hedgehog knows one big thing.&#8221;</p><p>Berlin spends the essay expanding on that idea, classifying thinkers into one camp or the other. So for example he puts Plato, Pascal, and Proust in the hedgehog camp, while Aristotle and Shakespeare go in the fox camp. Heavy hitters on both sides, to be sure.</p><p>In more modern times, a lot of forecasters have taken the fox&#8217;s side, asserting that fox-like thinking produces better predictions than hedgehog-like thinking. So for example Philip Tetlock - famous for his work on superforecasters, people who are consistently good at predicting global and political events - has said foxes outdo hedgehogs here. Similarly, Nate Silver&#8217;s old forecasting team, FiveThirtyEight, adopted the fox as their logo in allusion to this distinction.</p><p>Two things make this framing relevant to LLMs. The first is that they are very widely read. In fact, they have read basically the whole internet, minus the absolute cruft of course. So they contain many and diverse ideas by nature.</p><p>The second is that an LLM&#8217;s job literally is prediction. We call the act of using an LLM &#8220;inference&#8221;, but really the job of the model is to predict with various likelihoods what the right next token is. So we seem to be in very foxy territory here.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!j3fP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!j3fP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!j3fP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!j3fP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!j3fP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!j3fP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg" width="728" height="418.9791666666667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1536,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!j3fP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!j3fP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!j3fP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!j3fP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51e0d715-67d0-432c-a9d4-89616b49d928_1536x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Switching to more technical matters, we need to discuss entropy.</p><p>The term originally comes from physics, specifically thermodynamics, where it measures disorder or randomness. From that framing it seems bad, and if you already have some baggage about the term like I once did, you&#8217;ll have to put it down for the LLM context.</p><p>The term gains a positive valence in information theory, where Claude Shannon adapted it. Here, entropy correlates with the amount of information a message carries, relative to a certain context. So for example if you have a weighted coin that always lands heads, then you&#8217;re never going to be surprised when I tell you the coin came up heads. But if I have a fair coin, then you&#8217;ll always be relatively surprised, since a priori you have no reason to believe heads vs tails. So in information theory, higher entropy is better, since it means the information is more valuable.</p><p>Let&#8217;s take that information theory understanding and apply it to LLMs. If my text so far is &#8220;The United States of&#8221;, you&#8217;re basically guaranteed to see &#8220;America&#8221; next. So our LLM is going to predict the token &#8220;America&#8221; with almost 100% probability, with basically every other token at 0%. If you use the formula here, then H for this position, this next token, is going to be very close to zero; p(x) is basically 1, log(p(x)) is basically 0, and there&#8217;s only one term in the sum that matters.</p><p>We can go back to my fair coin flip example on the other end. If my text so far is &#8220;The coin flip landed&#8221;, most of the probability is going to be split evenly between &#8220;heads&#8221; and &#8220;tails&#8221;, with a few other small terms like &#8220;on&#8221; or &#8220;near&#8221;. If we ignore those and just give 50% odds to &#8220;heads&#8221; and &#8220;tails&#8221;, then we get .5 for p(x). If you use base 2 for the log, which is customary, you get H = 1. The unit when using base 2 is bits, so that&#8217;s 1 bit of entropy.</p><p>H can go much higher than that of course. Like for a fair six-sided die, H is about 2.6 bits. The more events you plausibly could have, the higher H is going to be.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Tk4j!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Tk4j!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Tk4j!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Tk4j!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Tk4j!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Tk4j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg" width="728" height="405.7704918032787" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1586,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!Tk4j!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Tk4j!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Tk4j!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Tk4j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdabce01f-c545-4c2a-96ad-db3399ae1ea3_1586x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a related paper from last year that I really enjoyed. It&#8217;s from the Qwen team, and it looks at the relationship between RLVR and entropy.</p><p>If we think back to the elicitation hypothesis from last week, which says that RLVR just optimizes and brings forth good solutions rather than teaching new solutions, that should have implications for entropy. Like if RLVR is improving the odds of getting a good solution out of your model, it must be changing the distribution of token likelihoods at each step, probably making some of them much more likely at the expense of all the others. That should reduce entropy.</p><p>But as we established earlier, entropy is actually a good thing, something we want to preserve. The framing you sometimes hear is exploration vs exploitation - you need to be able to explore different areas of solution space <em>as well as</em> exploit the most promising areas. Higher entropy means more exploration. There&#8217;s such a thing as too high of course, but the concern with RLVR is getting entropy too low, basically cutting off all the exploring.</p><p>You can actually see this difference in the word clouds they assembled on the right. The high-entropy tokens are at the start of ideas, often new ones or representing changes in direction. The low-entropy ones, by contrast, are often part of calculation or totally deterministic, like a closing parenthesis that you know has to be there because you had an open parenthesis earlier.</p><p>The finding in this paper is that if you focus on the small share of high-entropy tokens for training and updates, you end up better off than if you made updates based on all the tokens. That&#8217;s not as relevant for us, but it does show there is value in preserving a certain level of entropy.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7a_u!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7a_u!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg 424w, https://substackcdn.com/image/fetch/$s_!7a_u!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg 848w, https://substackcdn.com/image/fetch/$s_!7a_u!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!7a_u!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7a_u!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg" width="728" height="334.5858585858586" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:728,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!7a_u!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg 424w, https://substackcdn.com/image/fetch/$s_!7a_u!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg 848w, https://substackcdn.com/image/fetch/$s_!7a_u!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!7a_u!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1060875b-7a01-4439-b62c-c99e0002b2a6_1584x728.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So now that we&#8217;re up to speed on the value of diversity and entropy, we can dive in.</p><p>The basic idea of this paper is simple: your model stays more fox-like if you collect and emphasize less common solutions during training.</p><p>They give an example here and diagram it out. Let&#8217;s say you have to compute this series, summing the cubes of the integers from 1 to 100. This is RLVR, so we have a golden final answer, in this case it&#8217;s 25,502,500. What we want to train on, to reward, is the model getting that right final answer.</p><p>So we take our model, we have it generate a bunch of solutions, then we group those solutions together, using a more powerful LLM. That lets you see past mere changes in wording or variable names etc and just focus on the different strategies represented.</p><p>Then you assign advantages to each group. Here an advantage is a reward times a weight. The reward is going to be either 1 or 0 depending on correctness, classic RLVR. The weight, however, will depend inversely on the number of solutions in the group.</p><p>So as the diagram shows here, any group of wrong solutions is going to get zero advantage. A group of correct and <em>common</em> solutions is going to get a positive advantage, but on the low side. A group of correct and <em>rare</em> solutions will receive a high advantage, with the highest of all going to any &#8220;group&#8221; that only has one example.</p><p>That&#8217;s pretty much it! All you need for GRPO, for the algorithm that adjusts the model&#8217;s weights, is these advantages.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VNFo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VNFo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VNFo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VNFo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VNFo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VNFo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg" width="728" height="332.0366972477064" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:696,&quot;width&quot;:1526,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!VNFo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VNFo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VNFo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VNFo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73f58289-c087-4f00-a614-51f41e846894_1526x696.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here are a few examples of solution diversity. The have three problems, each with a varying number of solutions, plotted as shapes.</p><p>Now to measure coverage, they happened to have a substantial number of human examples to cluster, from web and textbook sources. They imply that having many human solutions means they likely covered all the possible strategies, but they weren&#8217;t rigorous about it imo.</p><p>Anyway, the result they&#8217;re showing here is how the initial model expands its coverage. So like in the middle example, there are apparently four different strategies, only one of which they saw in the initial model. But after some training, they saw two additional strategies, although they still didn&#8217;t observe one that humans got.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2ILo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2ILo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2ILo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2ILo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2ILo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2ILo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg" width="728" height="406.2828282828283" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!2ILo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2ILo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2ILo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2ILo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F482fc3a0-d337-4892-bd71-140e3a048220_1584x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So does it work?</p><p>To answer that, they train three models with their technique: Qwen2.5, Qwen3, and Olmo-3, all in the same size range.</p><p>What they&#8217;re measuring here is AUC, short for &#8220;area under curve&#8221;. It&#8217;s a way to capture performance of pass@k for a series of k values as a single number, instead of having to report pass@k for each value of k. The higher the AUC, the more question you got right at lower values of k. And remember, the pass@k curve can never go down, because increasing k just means giving the model more chances to get something right. One consequence is that lower AUC numbers actually show differences better, since if you&#8217;re already doing well on pass@1, there&#8217;s not much room for improvement. So here for instance they drop AIME and Medicine after Qwen2.5 and focus on the more discriminating benchmarks, HLE and Physics.</p><p>Anyway, as you&#8217;d expect from a published paper, their method wins out. The baseline model, which they label Instruct, does the worst most of the time, although not always.</p><p>The other comparison they do is against what they call &#8220;SimpleRL&#8221;, which is your standard GRPO + RLVR, the foundation this paper builds on.</p><p>For Qwen3 you&#8217;ll notice two other methods, DAPO and Forking Token. DAPO is like a tweaked version of the GRPO algorithm that we don&#8217;t need to worry about. Forking Token is actually from the paper in the background slides, the ones about high-entropy tokens. I was pleased to see they liked that one as much as I did. Still, the simpler method of rewarding diverse strategies does best.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Rn8d!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Rn8d!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Rn8d!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Rn8d!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Rn8d!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Rn8d!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg" width="728" height="222.44444444444446" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:484,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!Rn8d!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Rn8d!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Rn8d!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Rn8d!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa055ec1c-5dbb-4cd9-9125-964db6451641_1584x484.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Of course we have to cover entropy too, since we know how valuable it is. Here they show the classic trend for standard GRPO + RLVR, where the entropy trends down as the accuracy trends up, regardless of the model.</p><p>For their method, by contrast, you preserve or maybe even increase entropy. So then you&#8217;re doing better exploitation while maintaining good exploration, exactly as desired.</p><p>Oh, and if you noticed the relative smoothness of the latter two graphs, I think that&#8217;s just from a change in plotting rather than a genuine difference between Qwen2.5 and the other two models.</p><h2>My Takeaways</h2><ul><li><p>Entropy is a first-class metric</p><ul><li><p>Any training method that only reports accuracy (or pass@k for low k) is cheating</p></li></ul></li><li><p>Maybe we can use this for reasoning data</p><ul><li><p>Their coverage evaluation used human-generated strategies as the ground truth</p></li><li><p>We could verify all the clustered strategies AND try to come up with alternate strategies not represented in the clusters</p></li></ul></li><li><p>Could you be more purposeful in exploration?</p><ul><li><p>Example: ask SOTA for diverse strategies and then only grant max advantage if you display all of them</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Nemotron 3 Ultra]]></title><description><![CDATA[or, The American Open-Weights King]]></description><link>https://www.friendlypaperreview.com/p/nemotron-3-ultra</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/nemotron-3-ultra</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Thu, 18 Jun 2026 12:48:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!sBU5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on June 17, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://research.nvidia.com/labs/nemotron/files/NVIDIA-Nemotron-3-Ultra-Technical-Report.pdf" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sBU5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg 424w, https://substackcdn.com/image/fetch/$s_!sBU5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg 848w, https://substackcdn.com/image/fetch/$s_!sBU5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!sBU5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sBU5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg" width="728" height="1032.4516129032259" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1231,&quot;width&quot;:868,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://research.nvidia.com/labs/nemotron/files/NVIDIA-Nemotron-3-Ultra-Technical-Report.pdf&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!sBU5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg 424w, https://substackcdn.com/image/fetch/$s_!sBU5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg 848w, https://substackcdn.com/image/fetch/$s_!sBU5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!sBU5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdbe969d9-1152-4506-8f0f-f4e8219c5731_868x1231.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://research.nvidia.com/labs/nemotron/files/NVIDIA-Nemotron-3-Ultra-Technical-Report.pdf">Paper</a>   &#183;   <a href="https://research.nvidia.com/labs/nemotron/Nemotron-3-Ultra/">Blog post</a>   &#183;   <a href="https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4">Model</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!M4DD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!M4DD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!M4DD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!M4DD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!M4DD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!M4DD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg" width="728" height="406.02649842271296" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1585,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!M4DD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!M4DD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!M4DD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!M4DD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa72a3eb3-52c6-480d-a1d3-3636672279d9_1585x884.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I want to start our review today with some history. Specifically, the history of NVIDIA in the language modeling space.</p><p>Now NVIDIA chips, and libraries for using those chips, have been part of machine learning for a long time. Most of the breakthrough moments in what people used to call &#8220;deep learning&#8221;, like AlexNet or GPT-1, have used the NVIDIA stack.</p><p>But it wasn&#8217;t until September 2019 - over a year after the release of GPT-1 - that NVIDIA started putting in some language modeling efforts of their own. Specifically, I&#8217;m referring to this paper on the left: <a href="https://arxiv.org/abs/1909.08053v1">Megatron-LM</a>, which is all about training large language models across many GPUs.</p><p>That sounds pedestrian today, with data centers containing thousands of GPUs all running in parallel to train the next SOTA model, but in 2019 it was a real pain point. For context, GPT-1 was 117M parameters and trained across just 8 GPUs. GPT-2, which was training when this paper came out, went up to 1.5B parameters and trained across 32 <em>TPUs</em>. Those are Google&#8217;s special ML chips, so not actually GPUs.</p><p>By contrast, the Megatron-LM paper trained a model with 8.3B parameters, which is a model size many researchers still use today, across 512 GPUs. The model itself didn&#8217;t make much of a splash, but the engineering did; the ideas and tools from Megatron-LM live on today - including in the original <a href="https://github.com/NVIDIA/Megatron-LM">GitHub repo</a>, shown on the right, which is still in active development.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Pe_U!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Pe_U!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Pe_U!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Pe_U!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Pe_U!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Pe_U!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg" width="728" height="414.39278815196394" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1553,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!Pe_U!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Pe_U!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Pe_U!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Pe_U!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16aa6670-1c9d-4018-ae4a-df20d19fb413_1553x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Things scale up rapidly from there. GPT-3 comes out in 2020, rocking 175B parameters, having trained on 10k NVIDIA V100 GPUs. Then ChatGPT comes out in November 2022 and kicks off the generative AI explosion.</p><p>While OpenAI by this point has become closed, enough knowledge has gotten out that other folks are able to train large language models. The big name in the open-weights space, LLaMA, comes out in February 2023, with sizes from 7B to 65B parameters. Llama 2 quickly follows in July 2023.</p><p>Among the many other companies releasing open-weights models is NVIDIA, with Nemotron 3 8B in November 2023.</p><p>Now I know what you&#8217;re thinking: is this Nemotron 3 connected to Nemotron 3 Ultra, the model we&#8217;re discussing today?</p><p>Strangely, the answer is no. Other than both being language models from NVIDIA, the Nemotron of 2023 is not related to the Nemotron of today. The original line extended to Nemotron 4 in 2024, but then they rebooted the franchise so to speak, and released a new Nemotron 2 in August 2025, which we covered in a previous Friendly Paper Review.</p><p>I include all this confusing nomenclature because I find it emblematic of NVIDIA&#8217;s model efforts on the whole, and of my experience reading the Nemotron 3 Ultra paper in particular. Quite the opposite of Microsoft AI&#8217;s approach, <a href="https://friendlypaperreview.substack.com/p/mai-thinking-1-building-a-hill-climbing">which we covered last week</a> and which I found refreshingly clear and principled.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!AIsM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AIsM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!AIsM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!AIsM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!AIsM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AIsM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg" width="728" height="659.3770491803278" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:976,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!AIsM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!AIsM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!AIsM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!AIsM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0d9810-fedb-4056-a78c-561c46e63854_976x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So we know NVIDIA has been working on models for some time now. The next question is, why?</p><p>The answer boils down to one business principle: commoditize your complement.</p><p>Let me explain with reference to Windows and the PC market, which is the classic tale of commoditizing your complement. Once upon a time, PCs were differentiated - different hardware, different drivers, different standards. That differentiation is how PC makers stood out with their customers, but it was hell for operating system makers like Microsoft. If you&#8217;re Microsoft, of course you want all PCs to be interchangeable so that you can easily run on all of them. But more importantly, you want all PCs to be interchangeable so that manufacturers have to compete primarily on <em>price</em> rather than on <em>features</em> - that&#8217;s the hallmark of commodities markets. That price competition on hardware side then drives down the price of PCs overall but leaves the price on the software side untouched. The lower the cost for a PC, the more people can buy them, and the bigger the market for Windows is, at the same price.</p><p>Now let&#8217;s apply that wisdom today, but with the roles reversed: NVIDIA is the hardware maker, and the big model makers like OpenAI and Anthropic are the software folks. They are battling over who will extract the value in their chain.</p><p>Obviously they all want the demand for inference to go up, and that tide is really lifting all boats right now. But no budget is unlimited, and for a fixed amount of money there has to be a split between hardware and software. Right now OpenAI and Anthropic in particular collect fat margins on their tokens, competing on quality or perhaps some differentiated product experiences, which means fewer tokens for a given budget. If NVIDIA can somehow commoditize the token, making providers compete on price, then demand for cheap tokens is gonna go up - there&#8217;s gonna be a lot more inference. And that new inference is mostly gonna run on new NVIDIA chips.</p><p>Microsoft did it by playing PC makers off each other. NVIDIA is doing it by introducing its own competitor in Nemotron - in addition to funding lots of other model makers.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dQUy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dQUy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dQUy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dQUy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dQUy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dQUy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg" width="728" height="626.023346303502" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1028,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!dQUy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dQUy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dQUy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dQUy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca19150-ddb0-4bdc-b80e-a4b1c5698759_1028x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now transitioning from business to technology, one thing to point out that blends both is how AI workloads are evolving.</p><p>As this fun graphic from the recent <a href="https://www.anthropic.com/institute/recursive-self-improvement">Anthropic report on recursive self-improvement</a> shows, the paradigm has shifted from chatbots to agents to swarms of agents. And because of how agents work - looping through thoughts, actions, and observations indefinitely until the task is complete - they are token-intensive. Back in the days of the original ChatGPT, inference was too expensive to do this kind of thing, not to mention the severe constraints on context window size and the generally insufficient intelligence. </p><p>So the dropping cost of tokens encourages more token use overall - a more general economic phenomenon known as the <a href="https://en.wikipedia.org/wiki/Jevons_paradox">Jevons paradox</a> - and unblocks the switch from chatbots to agents. It&#8217;s also very <a href="http://www.incompleteideas.net/IncIdeas/BitterLesson.html">Bitter Lesson</a>, throwing scaled-up resources at a problem instead of eking out wins with human effort; a chatbot assisting a human in a task is more efficient in tokens but ultimately unscalable compared to a swarm of agents working autonomously in parallel to complete that same task.</p><p>All that is to say: NVIDIA is naturally going to focus on agents, especially the always-on ones like OpenClaw, which are going to consume even more tokens because of all the work they do in the background - you don&#8217;t even need a human there to push up token demand!</p><p>Also, NVIDIA is going to satisfice on quality while optimizing for throughput and cost. They are <em>not</em> racing to achieve ASI; they want their good-enough models deployed as fast, cheap agents at every enterprise in the world.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PXrR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PXrR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PXrR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PXrR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PXrR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PXrR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg" width="728" height="317.1212121212121" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:690,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!PXrR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PXrR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PXrR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PXrR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61595b10-2880-45f5-934f-d450f8154aa7_1584x690.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Completing our transition into technical topics, I want to discuss a major shift in language model training to parallelize yet another aspect of the process.</p><p>The technique in question is &#8220;Multi-teacher On-Policy Distillation&#8221;, or MOPD. Like any technology, it has a long lineage, but the citations for it typically go to the <a href="https://arxiv.org/abs/2601.02780">tech report for MiMo-V2-Flash</a>, an open-weights model by Xiaomi.</p><p>This graphic from that paper breaks it down: after establishing a shared starting point, you train many specialist models, then use them as teachers to distill into one shared student - typically the same model you used as a starting point. So instead of taking your one model and training it on search, and then code, and then math etc etc, you do all that training in parallel.</p><p>Training in parallel gets you two benefits. One, just in general, parallelizing work makes it take less wall clock time. Like it takes the same amount of computer cycles, but for you as the researcher it only takes as long as the longest individual teacher. So that could be significant.</p><p>And two, you decouple the training of each teacher, so you can train in the way that is best for each domain. So if one is very SFT-heavy but another uses mostly RL, or even just different hyperparameters - basically the settings during training - you have that freedom. There&#8217;s no compromise, no sequential dependence, all starting from the same clean slate in the form of the SFT model.</p><p> Now I don&#8217;t want to worry about the exact details of the method here, because the Nemotron folks made some adjustments of their own, but the broad idea and the specific MOPD term comes from here.</p><p>And in a final instance of parallelism, the MAI-Thinking-1 paper from last week also used multiple teachers, although it&#8217;s not on-policy distillation; they choose to make SFT data from the teachers and then train the student on that, rather than directly comparing next token predictions given the same inputs, which is how on-policy distillation works.</p><h2>The Paper</h2><p>A quick note: given the volume of content and the interests of my audience, I glossed over most of the infra and training details. There is a lot of good detail in the paper, I recommend reviewing it if those are your interests.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eWaB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eWaB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg 424w, https://substackcdn.com/image/fetch/$s_!eWaB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg 848w, https://substackcdn.com/image/fetch/$s_!eWaB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!eWaB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eWaB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg" width="728" height="475.91800878477306" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:893,&quot;width&quot;:1366,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!eWaB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg 424w, https://substackcdn.com/image/fetch/$s_!eWaB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg 848w, https://substackcdn.com/image/fetch/$s_!eWaB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!eWaB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65ab3aaa-e13d-44e0-a1e8-e0d85b53ad7f_1366x893.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As usual for new model releases, we&#8217;re going to start off with architecture.</p><p>Nemotron 3 Ultra is a big model. It&#8217;s not as big as the biggest open-weights options, like DeepSeek V4 Pro at 1.6T parameters or Kimi K2.6 at 1T parameters, but it&#8217;s up there.</p><p>Notably, it has more <em>active</em> parameters than either of those models: 55B here, compared to 49B on DeepSeek and 32B on Kimi. That&#8217;s due primarily to the number of activated experts in the MoE layer, which is two or three times higher for Nemotron than for a typical model of this size. The more experts you activate, the more parameters you activate.</p><p>The other factor is the sheer number of layers, which is higher than any of the other big open-weights models. And here I want to split out the impact of layer count on training vs on inference.</p><p>On training, the number of layers is mostly a function of your available compute. Adding layers provides diminishing returns, but it still adds returns, so if you can afford the compute you might as well go for it. And NVIDIA can certainly afford the compute.</p><p>On inference though, each layer is going to increase latency - there&#8217;s just more stuff to do for each token - and each attention layer is going to add to the KV cache, the &#8220;state of mind&#8221; of the model. NVIDIA combats this by mostly using Mamba instead of attention. See, whereas attention&#8217;s demand on memory grows as the square of the input length, Mamba is a different architecture that uses a <em>flat</em> amount of memory, regardless of the input length. It&#8217;s kind of like having a fixed-length summary instead of just adding to your notes.</p><p>They do add the occasional attention layer in, which is similar to how many models nowadays interleave local and global attention, but mostly it&#8217;s Mamba.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZlT8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZlT8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZlT8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZlT8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZlT8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZlT8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg" width="728" height="232.55555555555554" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:506,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!ZlT8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZlT8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZlT8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZlT8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc605a1c3-c009-4101-b541-c749600ecf86_1584x506.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Now let&#8217;s talk about how they pretrain that model they&#8217;ve laid out.</p><p>I want to prime you with a reminder of what the Microsoft AI team did with their model, which was to use no synthetic pretraining data. We&#8217;re going to see a very different approach here, which is not a surprise when you think about it; NVIDIA has the GPUs, so they can make all the synthetic data they want. Of course at Scale we&#8217;re going to bring a skeptical eye to that synthetic data, and we know the Microsoft AI folks would agree.</p><p>They have plenty of natural data too, from the web and GitHub and the like, but they spend much more time in the paper describing how they make synthetic data than how they find or clean natural data. Again, a stark contrast to Microsoft&#8217;s approach.</p><p>Because there is so much detail in fact, I can only provide a summary of their synthetic pretraining data efforts. They include:</p><ul><li><p>Generating question-answer pairs based on the training sets of many public benchmarks</p></li><li><p>Using the domain and difficulty distributions from those benchmarks to inspire even more QA pairs</p></li><li><p>Extracting facts from a Wikipedia dataset and turning them into QA pairs</p></li><li><p>Making chains of thought about moral scenarios</p></li><li><p>Pulling legal codes and case law to then summarize</p></li><li><p>Synthesizing random character profiles from a specialized model, Nemotron Persona, and inserting them into legal cases</p></li></ul><p>Most of that is available for download by the way - another service NVIDIA has done for the research community.</p><p>Anyway, they end up pretraining on 20T tokens, shifting from diversity to quality between the two phases pictured here. So for example, &#8220;finepdfs-unfiltered&#8221; is in phase 1, but only the &#8220;medium&#8221; and &#8220;high&#8221; filtered splits are in phase 2. And just in general for all LLM training, you always want to increase in quality as you progress in training. In their case, they do that first quality ratchet after about 15T tokens of pretraining.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sUiG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sUiG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!sUiG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!sUiG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!sUiG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sUiG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg" width="728" height="563.5306479859895" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1142,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!sUiG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!sUiG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!sUiG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!sUiG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a7c2952-1d5e-4174-9017-734048ef9119_1142x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s where the base model nets out, before post-training.</p><p>Competition in the base model space is a bit thin actually; it&#8217;s become less and less common to release one, partly for competitive reasons I think but also because base models have little or no safety training. So at minimum, the NVIDIA folks have done the research community a service.</p><p>However, I do take issue with this slide, because they left off their stiffest competition: DeepSeek V4 Pro, which we&#8217;ll see later when they compare post-trained models. Not sure why they did it, but it makes the results here much less meaningful.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!49pJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!49pJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg 424w, https://substackcdn.com/image/fetch/$s_!49pJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg 848w, https://substackcdn.com/image/fetch/$s_!49pJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!49pJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!49pJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg" width="728" height="369.5151515151515" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:804,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!49pJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg 424w, https://substackcdn.com/image/fetch/$s_!49pJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg 848w, https://substackcdn.com/image/fetch/$s_!49pJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!49pJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2cabd61-e3cb-444b-9f9f-7b075a1b31d7_1584x804.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now that we have our base model, we can focus on post-training.</p><p>Our old friends SFT and RLVR are in here of course, but the fancy new thing is that multi-teacher on-policy distillation we touched on at the top.</p><p>The other unusual thing I&#8217;ll note here now but not dwell on later is MTP Boosting. MTP stands for &#8220;multi-token prediction&#8221;, and it does what the name implies - predicts multiple tokens at once instead of just one. That&#8217;s baked in from the start in the architecture and is part of pretraining, but it needs a little post-training of its own close to the end apparently. Don&#8217;t worry if the jargon in the yellow box escapes you.</p><p>Calling back explicitly to the Microsoft AI paper, the setup here is more complicated and less principled. Like they&#8217;re clearly building upon previous experiences rather than starting with a clean slate like the Microsoft folks did. Not better or worse necessarily, just a very different flavor in reading this paper. And of course the proof is in the pudding, but sadly the Microsoft AI model is not publicly available yet.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DfFT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DfFT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg 424w, https://substackcdn.com/image/fetch/$s_!DfFT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg 848w, https://substackcdn.com/image/fetch/$s_!DfFT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!DfFT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DfFT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg" width="728" height="446.45303867403317" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:777,&quot;width&quot;:1267,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!DfFT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg 424w, https://substackcdn.com/image/fetch/$s_!DfFT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg 848w, https://substackcdn.com/image/fetch/$s_!DfFT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!DfFT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d08c6e1-3c75-4477-8b5e-2f74a4381678_1267x777.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Anyway, on to supervised finetuning. I&#8217;m putting up all these other AI company logos because the researchers really went ham on synthetic SFT data, in terms of the domains and the content and so on but also in terms of the models <em>generating</em> that data.</p><p>Here is the entire list:</p><ul><li><p>gpt-oss-120b</p></li><li><p>DeepSeek V3</p></li><li><p>DeepSeek V3.2</p></li><li><p>DeepSeek V3.2-Speciale</p></li><li><p>DeepSeek V4 Pro</p></li><li><p>Qwen3-30B</p></li><li><p>Qwen3-235B Instruct</p></li><li><p>Qwen3-235B Thinking</p></li><li><p>Qwen3-Coder-480B</p></li><li><p>MiniMax M2.1</p></li><li><p>MiniMax M2.5</p></li><li><p>GLM 5</p></li><li><p>GLM 5.1</p></li></ul><p>That is a ton of models! And notably all open weights models, surely self-hosted. The implication is that diverse training data produces more robust models, which is accurate, but they never give an explicit rationale. I did think it was a little odd they purposely used some much older models though, like in practice there&#8217;s no reason to use MiniMax M2.1 if you have MiniMax M2.5 on hand, but the principle is right.</p><p>This is in addition to models for filtering or judging data by the way. They use some models here for those purposes and also some internal models built for purpose.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!s3zr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!s3zr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg 424w, https://substackcdn.com/image/fetch/$s_!s3zr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg 848w, https://substackcdn.com/image/fetch/$s_!s3zr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!s3zr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!s3zr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg" width="728" height="403.5652173913044" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:714,&quot;width&quot;:1288,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!s3zr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg 424w, https://substackcdn.com/image/fetch/$s_!s3zr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg 848w, https://substackcdn.com/image/fetch/$s_!s3zr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!s3zr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F927832f0-4440-474a-9655-9009c9ef6b17_1288x714.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As for the data itself, there&#8217;s a lot of it, and the researchers provide a lot of detail - albeit with many gaps in information.</p><p>The vast majority of the data is either pre-existing, taken from the training split of benchmarks they don&#8217;t plan to eval on, or synthesized. It&#8217;s a pretty incredible variety of data too. Like they have data for CUDA, their software stack for controlling their GPUs, as well as RTL, which is a hardware design language. Unique to NVIDIA from what I&#8217;ve seen but it makes complete sense.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_Gkk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_Gkk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg 424w, https://substackcdn.com/image/fetch/$s_!_Gkk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg 848w, https://substackcdn.com/image/fetch/$s_!_Gkk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!_Gkk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_Gkk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg" width="728" height="391.1161616161616" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:851,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!_Gkk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg 424w, https://substackcdn.com/image/fetch/$s_!_Gkk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg 848w, https://substackcdn.com/image/fetch/$s_!_Gkk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!_Gkk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45989042-f698-4fd8-aafd-3b125d222a03_1584x851.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>By complete contrast, there are only two short paragraphs about their RLVR stage. They list the domains they target, like terminal use and instruction following and white collar workflows, but no specifics about the data. They don&#8217;t even specify which harnesses they use, just that they use many. It&#8217;s a bit baffling given the copious detail of the SFT section, although we&#8217;ll see more detail on the teacher-specific RL down the road.</p><p>Anyway, with RLVR done, we now have a student ready to transform into all the teachers. Although actually we have two students apparently, that Agentic SFT/RL box towards the bottom of the Prep column, and again that&#8217;s not really explained either. At minimum it&#8217;s from the same base model though.</p><p>So with our chatbot student and our agentic student, we&#8217;re ready to train some teachers. Each one gets its own particular training recipe, which is one of the virtues of MOPD, but it also makes for a nightmarish amount of content. So in the interest of time let me just note a couple commonalities.</p><p>One is the general use of RL over SFT. In particular, many of the training recipes use a technique from another recent NVIDIA paper called <a href="https://arxiv.org/abs/2603.21383">PivotRL</a>, which takes SFT data and finds the most consequential steps - the <em>pivots</em> - and does RL from those points forward. It&#8217;s a nice way to squeeze more juice out of SFT data, basically turning one example into multiple examples.</p><p>Two is, again, the prevalence of synthetic data. They even have some tool called NeMo Data Designer they used for at least the Usability teacher. However, they do mention for the Office Work teacher that they bought data from a vendor called AfterQuery to help them on GDPval.</p><p>There are basically no numbers on their teacher training data, except for two places: 3.5k samples for Coding teacher, and 40B tokens for STEM teacher.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BcEe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BcEe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BcEe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BcEe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BcEe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BcEe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg" width="728" height="305.17171717171715" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:664,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!BcEe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BcEe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BcEe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BcEe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97554d45-9ccb-4c95-ae95-2047e0591c5c_1584x664.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now the distillation from teacher to student isn&#8217;t perfect, partly because the student&#8217;s weights have to optimize all these different skills at once, which inevitably leads to compromise - just like how no human can be an expert in everything.</p><p>So to quantify that compromise, they measure the pre-MOPD student, the student after both rounds of MOPD, and the teacher. The recovery is the improvement of the student divided by the improvement of the teacher. So in the first row for example, MOPD2 minus RLVR is 9.5, and Teacher minus RLVR is 5.5, and 9.5/5.5 is about 173% - the student exceeded the teacher.</p><p>Most cases weren&#8217;t like that of course, but generally the student recovered most of the teacher&#8217;s performance, although in a couple cases recovery was quite poor.</p><p>They hypothesize that distillation works best when the student reasonably could have made the correct choice, and works poorly when the right choice was not at all a possibility. Like if the student just uses suboptimal terms for a web search tool call for example, it probably has the right search terms somewhere in its distribution of likely next tokens. But if the student is doing a hard math problem, there&#8217;s really no guarantee at all that the right next token will have any likelihood - like how I would have no shot of guessing the next step of an algebraic topology problem.</p><p>To be clear, that is speculation and maybe they just have a skill issue. But it seems plausible to me.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wrgZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wrgZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wrgZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wrgZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wrgZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wrgZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg" width="728" height="677.4231578947368" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:950,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!wrgZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wrgZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wrgZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wrgZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb97f404f-6949-4246-9c4a-14f2e0cb87fa_950x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So after all that post-training, including a little polish we again had to cut for time, this is where we land across their chosen benchmarks.</p><p>I have a few comments to make. First is the key: I highlighted the winner of each benchmark, with a 1% band below the top score to allow for ties due to noise. Like there is no practical difference between an 82% and an 81.7% score on IFBench or whatever.</p><p>Second is the selection of models: it&#8217;s all the best <em>open-weights</em> models, no comparison at all to even the closed non-SOTA models, like Qwen3.7 or the latest Grok. Even here though, the range of total and active parameters is wide, with MiniMax M2.7 and DeepSeek V4 Flash on the small side on both. On the big side, for total parameters it&#8217;s Kimi K2.6 and DeepSeek V4 Pro, but on <em>active</em> parameters it&#8217;s actually Nemotron 3 Ultra at the top! As I mentioned on the architecture slide, it&#8217;s due to all those activated experts and all those layers.</p><p>Third is, unfortunately, the relative underperformance of Nemotron in my view. Like despite being the newest and also having the most active parameters, it only wins outright on <em>one</em> benchmark, and it&#8217;s one I&#8217;ve never heard of, with suspiciously bad performance for Qwen and both DeepSeeks. And one of the three it ties on, the Scale benchmark Multi-Challenge, is a tie between basically every model except MiniMax. Worse yet, Qwen is smaller on both dimensions, <em>and</em> is four months older, yet it places first in twice as many 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_!Mv3T!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mv3T!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Mv3T!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Mv3T!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Mv3T!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mv3T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg" width="728" height="424.5065963060686" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1516,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 19&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="Slide 19" title="Slide 19" srcset="https://substackcdn.com/image/fetch/$s_!Mv3T!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Mv3T!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Mv3T!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Mv3T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7cdc73-0a66-48c3-a06d-f5939e1cd11e_1516x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Remember what I said about NVIDIA though: they&#8217;re satisficing on quality and spiking on throughput and cost.</p><p>That&#8217;s the story we see here. At the top in the key you&#8217;ll see two versions of Nemotron: the full-precision one, which stores its numbers in the format BF16; and the quantized one, which stores its numbers in the format NVFP4. The &#8220;NV&#8221; is short for NVIDIA, it&#8217;s a special format designed to work well with their GPUs, preserving most or all of the quality yet taking up only a fraction of the space.</p><p>NVIDIA actually trains the NVFP4 version natively, basically meaning that quantizing down from BF16 to NVFP4 remains high-fidelity. And they do so because it speeds up the model massively, particularly on <em>decode</em>, i.e. when you&#8217;re generating tokens. It helps with <em>prefill</em> too - that&#8217;s the part where you&#8217;re reading all the input - but for agents with these long trajectories, decode speed is crucial.</p><p>The relative comparisons on the right are a bit misleading, since all the models on the chart are in NVFP4, but it is true that NVIDIA engineered the hell outta their serving infrastructure to get that speedup.</p><h2>My Takeaways</h2><ul><li><p>NVIDIA is the American open-weights champ</p><ul><li><p>Nemotron 3 Ultra is their best model yet</p></li><li><p>I don&#8217;t know why it took them so long to embrace this position and put serious resources into near-SOTA models</p></li></ul></li><li><p>NVIDIA is also a gift to the research community</p><ul><li><p>Base models, open pre-training and post-training data</p></li><li><p>Not to mention the hardware, software, and work in other domains (e.g. robotics)</p></li></ul></li><li><p>They rely too much on synthetic data</p><ul><li><p>MAI-Thinking-1 is the perfect counterpoint here</p></li><li><p>Some Scale post-training data could help here &#128521;</p></li></ul></li><li><p>MOPD is the new normal</p><ul><li><p>Still evolving somewhat but the high-level idea is firm</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[World Action Models are Zero-shot Policies]]></title><description><![CDATA[or, Robotics Data Abundance]]></description><link>https://www.friendlypaperreview.com/p/world-action-models-are-zero-shot</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/world-action-models-are-zero-shot</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Mon, 15 Jun 2026 13:04:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!9_Md!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on February 25, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2602.15922" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9_Md!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg 424w, https://substackcdn.com/image/fetch/$s_!9_Md!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg 848w, https://substackcdn.com/image/fetch/$s_!9_Md!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!9_Md!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9_Md!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg" width="728" height="1031.6941376380628" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/df722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1668,&quot;width&quot;:1177,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2602.15922&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!9_Md!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg 424w, https://substackcdn.com/image/fetch/$s_!9_Md!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg 848w, https://substackcdn.com/image/fetch/$s_!9_Md!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!9_Md!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf722bad-3236-4a66-bd77-92538a54e196_1177x1668.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://arxiv.org/abs/2602.15922">Paper</a>   &#183;   <a href="https://dreamzero0.github.io/">Website</a></p><h2>Background</h2><p>I think we have to start with, what are world models?</p><p>We actually covered this in a paper last year, where I explained that world models are <em>not</em> necessarily models of The World, like the physical world around us, although in this paper we actually are talking about that kind.</p><p>At its most abstract, the concept of a world model is about whether an ML model can form a coherent and predictive view of a given environment based on limited information.</p><p>That may <em>sound</em> like a requirement for making good predictions, which we <em>know</em> models can do, but it&#8217;s actually not. Let me give you an example.</p><p>Let&#8217;s say you&#8217;re flipping a coin and you don&#8217;t already know that coin flips are inherently 50-50. One way you could discover they&#8217;re 50-50 is to flip the coin a bunch of times and extrapolate from that data to predict future data. You don&#8217;t need to understand the nature of coins or the laws of physics to do that extrapolation, you just need basic data analysis.</p><p>Of course the way a human would conclude coin flips are 50-50 is to look at the coin, maybe toss it a few times to make sure it&#8217;s not weighted, and then reason a bit or just intuit that the coin toss will be 50-50. That <em>does</em> require a world model, because it requires underlying assumptions about how objects behave in the physical world.</p><p>Another example where you hear both the statistical model and the world model-ish views of a thing is in the stock market. Some people just look at trends, with no concept or view of the underlying company, the ticker symbol could mean anything. A lot of quant trading is like this, where you just feed a bunch of factors into a mathematical model and get a &#8220;buy&#8221; or &#8220;sell&#8221; recommendation out. On the other end of the spectrum are the fundamentals investors, who look at the company&#8217;s financial statements and the market and the strategy etc and form a model of the company&#8217;s future performance.</p><p>So a world model is just about where the reasoning seems to be, not about one particular place or another.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!EdEx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EdEx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EdEx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EdEx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EdEx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EdEx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg" width="728" height="501.208722741433" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1284,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!EdEx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EdEx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EdEx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EdEx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e1cbfff-f103-456d-908a-ef8be8885801_1284x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s another example of a world model, this time in the world of code.</p><p>So normal code data for us would be a prompt and a response, if it&#8217;s SFT, or a prompt and a set of unit tests that verify whether the model&#8217;s answer works, if it&#8217;s RLVR. But in either case we&#8217;re training the model directly for writing code.</p><p>By contrast, this coding world model has a different goal: to predict how a piece of code will work. If the model can do that, then it probably has a good world model for the world of code, its &#8220;laws of physics&#8221; so to speak.</p><p>The way they train that in is to provide a piece of code and an example of using that code, then ask the model to predict the state and action at each step of the program.</p><p>Here the state is in yellow and the action is in blue. As you go down the rows, or &#8220;frames&#8221; as the paper calls them, you can see what the model is keeping track of and how it changes after each action. Like for example in the second frame, we get a new variable n, with the starting value 0. Then in the third frame we see n being tracked in state, along with its current value, 0. The two dots in quotes is just a visual shorthand that means the value of the variable hasn&#8217;t changed, so like s is &#8220;strawberry&#8221; for the first frame and then just the two dots for the rest of the frames.</p><p>Of course in the end what we care about is whether it can produce good code, like with any coding mode. But this idea of training or testing the world model, separate from the end result, will be relevant later on.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!191E!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!191E!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg 424w, https://substackcdn.com/image/fetch/$s_!191E!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg 848w, https://substackcdn.com/image/fetch/$s_!191E!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!191E!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!191E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg" width="706" height="376" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:376,&quot;width&quot;:706,&quot;resizeWidth&quot;:706,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!191E!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg 424w, https://substackcdn.com/image/fetch/$s_!191E!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg 848w, https://substackcdn.com/image/fetch/$s_!191E!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!191E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff38cf006-42d4-451d-a9b6-b52c5dcfd740_706x376.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now let&#8217;s look at some video generation models, what laymen might think of when we say &#8220;world model&#8221;.</p><p>This is a clip from Sora, OpenAI&#8217;s video generation model, when it first came out back in February 2024. I remember being very impressed when it came out, and honestly it still holds up at least in this clip, but you can see some weirdness happening. Take a look at the manhole for instance and how it kinda morphs into pavement, that&#8217;s a classic AI video-ism. Consistency and memory are tough for video gen models.</p><p>One reason it&#8217;s generally so accurate though is because of what they trained on: synthetic videos, generated by engines like Unreal Engine and Unity, which have programmed in very detailed rules of physics. If you train on tons of footage from physics engines, you&#8217;re going to end up with a pretty good sense of physics. OpenAI actually views Sora as a &#8220;general-purpose simulator of the physical world&#8221;. So they&#8217;re going for a world model here.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yBDd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yBDd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yBDd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yBDd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yBDd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yBDd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg" width="588" height="332" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:332,&quot;width&quot;:588,&quot;resizeWidth&quot;:588,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!yBDd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yBDd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yBDd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yBDd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F995a15a1-c996-4b6a-a791-195aaf8fd8ff_588x332.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The latest and greatest in this space is Genie 3, which generates good videos but also allows real-time exploration. Look at the legend in the bottom-left, showing arrow key presses. Genie 3 generates the world in real time, lets you navigate it, and it remembers what has been in the scene before but is out of the scene now, to maintain consistency. Again, you need a really keen idea of the world to do something like this. So the question is, how do we put it to use in the actual physical world?</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!p79S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!p79S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg 424w, https://substackcdn.com/image/fetch/$s_!p79S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg 848w, https://substackcdn.com/image/fetch/$s_!p79S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!p79S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!p79S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg" width="728" height="232.55555555555554" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:506,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!p79S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg 424w, https://substackcdn.com/image/fetch/$s_!p79S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg 848w, https://substackcdn.com/image/fetch/$s_!p79S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!p79S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9eb215-9453-48f1-a71b-1cc8b0772d98_1584x506.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Now getting more into the robotics side, let&#8217;s talk a brief bit about inverse dynamics models, or IDMs. It&#8217;s a complicated name, but really the idea is simple: instead of a regular dynamics model, where you infer outcomes given actions, you invert it, inferring actions given outcomes.</p><p>OpenAI actually pioneered this concept in the modern AI age. This graphic is from a 2022 paper called Video Pretraining: Learning to Act by Watching Unlabeled Online Videos. Their goal was to teach a model to play Minecraft. To do that, they figured the best way was to take advantage of the many many hours of Minecraft gameplay video available out on the internet - some 70k hours apparently, after significant filtering. But how to teach the model with videos yet no key presses or mouse clicks? The model wouldn&#8217;t learn how to actually play the game!</p><p>To make their 70k hour corpus useful, they synthetically added actions in. They collected 2k hours of labeled video, i.e. with the actions recorded, and then trained an IDM to predict actions based on video. Once they had that, they put these &#8220;pseudo-labels&#8221; as they&#8217;re sometimes called on all the initial videos, then trained their Minecraft agent on the pseudo-labeled corpus.</p><p>Ultimately though they&#8217;re learning actions from videos, without any sort of world model; the IDM doesn&#8217;t demonstrably know what the key presses and mouse clicks mean, just what they correlate to.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!skRI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!skRI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg 424w, https://substackcdn.com/image/fetch/$s_!skRI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg 848w, https://substackcdn.com/image/fetch/$s_!skRI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!skRI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!skRI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg" width="728" height="390.65656565656565" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:850,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!skRI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg 424w, https://substackcdn.com/image/fetch/$s_!skRI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg 848w, https://substackcdn.com/image/fetch/$s_!skRI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!skRI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9f4fe84b-d819-480a-8176-70fb9ff38b3a_1584x850.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We should also discuss briefly how a modern robotics model looks. For that we&#8217;re going to turn to the Pi series of models from Physical Intelligence, which is roughly the OpenAI equivalent of robotics model makers.</p><p>The Pi models are VLAs, vision-language-action models. That&#8217;s an LLM at the center, with a vision encoder added on the front so it can see, and an action expert added on the end so the model can do stuff - the action expert outputs signals for the motors and such. In the case of Pi 0.5 the LLM is Gemma 2 2.6B, made by Google. The vision encoder is SigLIP, also made by Google, so the vision-language model so far is 3B parameters. Then you add on the action decoder for another 300M parameters, so 3.3B parameters total. It&#8217;s a pretty small model, but it really has to be in order to produce actions in real-time. Gotta keep that latency down, no way to do that with the parameter counts of SOTA LLMs, which are in the tens or hundreds of billions, maybe even trillions. By the way, this is the same reason that people speculate Sora and Genie are also in the single billions of parameters. Kinda crazy that all the knowledge to model a world can fit in that few parameters.</p><p>So one of the major contributions of Pi 0.5 was this concept of &#8220;co-training&#8221;, i.e. training the VLM part on a bunch of multimodal web data. If you&#8217;re not familiar with this work already it may be somewhat surprising that a robot could learn to manipulate the world better by just looking at images or watching videos, but of course we know humans can do the same - we can learn how to do things just by watching. Hands-on practice is often better but it&#8217;s not always required.</p><p>They also throw in training data from other robots, like other embodiments that this model doesn&#8217;t get used on.</p><p>Anyway, the main thing to know here for our purposes is that VLAs are the currently dominant paradigm in robotics models, and they start from LLMs.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yWvL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yWvL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yWvL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yWvL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yWvL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yWvL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg" width="728" height="417.3380986418871" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:802,&quot;width&quot;:1399,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!yWvL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg 424w, https://substackcdn.com/image/fetch/$s_!yWvL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg 848w, https://substackcdn.com/image/fetch/$s_!yWvL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!yWvL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9622eda5-66eb-4c02-899d-a429b7827b7c_1399x802.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>First let&#8217;s talk hardware. This is the star of our show, AgiBot G1. This model has grippers, although they make a version with dexterous hands. The grippers can rotate. Each arm has two &#8220;elbows&#8221; so to speak. The torso can move up and down on the base, and the base can wheel around. Finally, there&#8217;s one camera watching each gripper, and one behind the faceplate watching the whole scene.</p><p>This is the robot they use for gathering data and for doing most of the evals. They do use a couple other robots, specifically a Franka Emika Panda and a YAM, but if you&#8217;re going to imagine one robot for these results I would pick this one.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!O5bH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!O5bH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg 424w, https://substackcdn.com/image/fetch/$s_!O5bH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg 848w, https://substackcdn.com/image/fetch/$s_!O5bH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!O5bH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!O5bH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg" width="728" height="260.1313131313131" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:566,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!O5bH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg 424w, https://substackcdn.com/image/fetch/$s_!O5bH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg 848w, https://substackcdn.com/image/fetch/$s_!O5bH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!O5bH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6532661-77fe-4ed9-9b62-9360fcd80084_1584x566.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now let&#8217;s cover the model.</p><p>The big difference between normal transformers like your typical LLM and robotics models of any sort is that robotics models have to predict things in parallel, because robots have different parts that can move simultaneously. You don&#8217;t have to do that with text, you can generate one word at a time. But you can&#8217;t trade off which limb moves at a time or something like that, at least if you want to produce smooth motion.</p><p>Image and video generation models, on the other hand, do predict things in parallel, although that&#8217;s more because of the inherently parallel nature of vision than necessarily having to produce many pixels at once. Still, you do have a body of image generation research to draw on.</p><p>So the architecture here combines the transformer, which predicts in serial and is good for language, with diffusion, which predicts in parallel and is good for image. That&#8217;s the diffusion transformer, DiT. And the way it works is by predicting small blocks of actions where stuff can happen in parallel, but predicting each block in series, so only one block at a time. Specifically, they predict 1.6 seconds of action per block. That&#8217;s how far ahead the model is &#8220;thinking&#8221; or &#8220;envisioning&#8221;. Predicting many actions in a block like that results in smoother motion compared to predicting just one action at a time.</p><p>But it doesn&#8217;t blindly act in 1.6s increments and wait until the next increment to make adjustments; just like how your body frequently adjusts balance or grip while carrying your dinner across the kitchen, the model makes updated predictions on a similarly short timescale. With this model, this hardware, and a suite of optimizations we don&#8217;t need to get into, they can make new predictions every 150 ms. So if the researchers swap out an object in the scene, or the robot&#8217;s grip slips, or the wind blows a cup over, the robot can react in a reasonable amount of time. So you never get to the end of that 1.6s block, you always have a new block ready to start acting on.</p><p>Now the other thing they mention here that I want to dig into is this word &#8220;joint&#8221;, as in &#8220;joint video-action flow matching&#8221; and such. What they&#8217;re saying there is that given some inputs, they want to predict video and action simultaneously, NOT predict video and then predict action based on that predicted video. There are a couple reasons for this.</p><p>The first is that with two simultaneous predictions, errors in one are unlikely to appear in the same way as errors in the other. So like if my video part incorrectly predicts the plate I&#8217;m carrying starts to tilt, but my action part has predicted no change in my hands, that disagreement gets picked up as loss and thus is targeted in future training steps. But if I predicted the video and then predicted the action on top of the video, then my action part is basically stuck predicting something wrong in order to agree with the video prediction and thus minimize loss.</p><p>The second is that joint prediction shares the world model knowledge with video and action prediction. That&#8217;s the main theoretical thrust of the paper really, that there&#8217;s this world model implicit in a video generation model that gets locked away when you try to learn actions <em>from</em> video instead of learning actions <em>alongside</em> video. Like you don&#8217;t want the video to be an intermediary between the implicit world model and the action predictions, you want to go straight to the source.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OcuU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OcuU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg 424w, https://substackcdn.com/image/fetch/$s_!OcuU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg 848w, https://substackcdn.com/image/fetch/$s_!OcuU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!OcuU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OcuU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg" width="728" height="340.56060606060606" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:741,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!OcuU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg 424w, https://substackcdn.com/image/fetch/$s_!OcuU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg 848w, https://substackcdn.com/image/fetch/$s_!OcuU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!OcuU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ff47c95-4ee0-40c0-ab14-6e27a7e196b4_1584x741.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a quick example of some generated video. We don&#8217;t get a side-by-side of generated vs actual sadly, but you can see they line up generated video with where the real action happened. In the Generated row, the top-left square is the faceplate view, the top-right square is the right arm, and the bottom-left square is the left arm. You can see the robot uses the left arm to get a second view of the scene, which is kinda cheating from a human point of view.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Logm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Logm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Logm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Logm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Logm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Logm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg" width="728" height="550.0444444444445" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1170,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!Logm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Logm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Logm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Logm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bc0088a-9095-440c-b940-24421c6bafc1_1170x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>OK, on to the data. They need this robotics data to transform their starting point, the open-weights video generation model Wan 14B from Alibaba, into a world action model, a WAM.</p><p>The main body of data they collect is here, ~500 hours of teleoperation data on their AgiBot G1 across 7.2k episodes and 22 different environments. Since one key advantage of WAMs is that they rely on their world models to guide actions, they don&#8217;t need tons of demonstrations per task to then imitate. That allowed the researchers to focus on diversity instead of repetition with their time budget.</p><p>The average episode is about 4.4 minutes and has over 40 steps, what they call &#8220;subtasks&#8221;, which is relatively long-horizon for this type of thing. So with this pretraining data, we can turn Wan 14B into DreamZero, which can predict video <em>and</em> 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_!zwWU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zwWU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zwWU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zwWU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zwWU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zwWU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg" width="728" height="249.1010101010101" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:542,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!zwWU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zwWU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zwWU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zwWU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F324517ff-0c7f-406e-b134-f24fa2a28946_1584x542.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So with their 500 hours of pretraining data in hand, they can train some models and start comparing results.</p><p>Let&#8217;s cover the models and terminology first. On the bottom you&#8217;ll see three models mentioned: GR00T, a VLA also made by NVIDIA; Pi 0.5, a VLA by Physical Intelligence that we&#8217;ve covered before and that we saw the architecture of earlier; and DreamZero.</p><p>They also give two different descriptors in parentheses: scratch and pretrained. Scratch means no robotics data <em>other than</em> the ~500 hours these researchers collected, to give a fair comparison between DreamZero and the VLAs. Pretrained means it <em>does</em> have other robotics data in it, so that&#8217;s like the full versions of GR00T and Pi 0.5 against the full version of DreamZero.</p><p>Finally, for the tasks, PnP means &#8220;pick and place&#8221;, things like putting fruit in a bowl; and Contact-Rich means folding clothes basically, which is super common in robot evals and also is one of the most common use cases for robots in the real world actually, like to a surprising degree.</p><p>In any case, DreamZero outperforms the other two on all tasks and both embodiments. It seems like that world model really does confer a lot of physical common sense and allow the robot to handle a wider variety of 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_!mD0V!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mD0V!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mD0V!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mD0V!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mD0V!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mD0V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg" width="728" height="392.4219178082192" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:787,&quot;width&quot;:1460,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!mD0V!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mD0V!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mD0V!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mD0V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe10aea8c-af9e-4f5d-96f3-df618e4694b2_1460x787.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now for the previous chart, those were all <em>seen</em> tasks, tasks present in the training data, although the evals were in new environments and with different objects.</p><p>In this chart, the tasks are all <em>unseen</em>, not present in the training data. Again we see the same general trends, although Pi 0.5 does come close to DreamZero in a couple cases. To be fair to the Physical Intelligence folks, 0.5 is not the latest version of their model, but it is the most recent open-weights one so it&#8217;s a fair base of comparison.</p><p>One fun note from the authors: apparently the VLAs often try to grab objects regardless of the prompt given, suggesting they&#8217;re overfit to those types of tasks. Makes sense given the most common tasks are versions of pick and place, I like the variety of actions they represented here.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NlsX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NlsX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NlsX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NlsX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NlsX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NlsX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg" width="728" height="238.53030303030303" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:519,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!NlsX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NlsX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NlsX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NlsX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0b75a86-07e0-444a-a8fe-0a5fcf1450e7_1584x519.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So the results we&#8217;ve been looking at so far are for models that are pretrained only, i.e. no task-specific post-training on demonstration data. Here they change that.</p><p>The post-training data is for three tasks: shirt folding, collecting 33 hrs; fruit packing, collecting 12 hrs; and table bussing, collecting 40 hrs. In all cases they use a variety of objects, different counts and positions, etc.</p><p>Here we see near-parity between Pi 0.5 and DreamZero. Unfortunately we don&#8217;t have pretrained vs post-trained results to understand the impact of post-training per se, but my interpretation is that WAMs can learn from demonstrations just as well as VLAs can. Like sure, WAMs seem to do better right out of the box, but you could have objected and said we don&#8217;t care about out of the box performance, we care about absolute performance, and maybe VLAs have a higher ceiling because they learn so well from demonstrations, i.e. from post-training data. But that doesn&#8217;t appear to be the case; the ceiling for a WAM seems just as high as the ceiling for a VLA.</p><p>The bull case here might be that WAMs don&#8217;t even need post-training data or might only need a few human egocentric examples rather than teleop data, but again, they don&#8217;t show these evals before post-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_!oFWi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oFWi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg 424w, https://substackcdn.com/image/fetch/$s_!oFWi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg 848w, https://substackcdn.com/image/fetch/$s_!oFWi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!oFWi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oFWi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg" width="728" height="358.6826029216467" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:742,&quot;width&quot;:1506,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!oFWi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg 424w, https://substackcdn.com/image/fetch/$s_!oFWi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg 848w, https://substackcdn.com/image/fetch/$s_!oFWi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!oFWi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F730d8ee4-2748-4311-a186-c485581482e3_1506x742.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Finally, to drive home the point about most work happening within the world model rather than within the robot-specific parts, they collect two small sets of data for a set of new tasks:</p><ul><li><p>12 minutes of human egocentric video</p></li><li><p>20 minutes of video from YAM, another robot. No actions collected, just video</p></li></ul><p>Then they train on them and run the evals on three versions of DreamZero: the initial version, a version trained with the human data, and a version trained with the YAM data. Then they see how well DreamZero learned to do these new tasks from the human video and the robot video.</p><p>What they found was that both transferred about equally well, meaning you don&#8217;t need expensive robot hardware to make good data. All you need is a human with head- and wrist-mounted cameras who&#8217;s willing to visit a lot of new environments.</p><p>Now running in the opposite direction, they took 30 minutes of video from YAM on a different set of tasks, unrelated to any evals, and trained their model on that. And suddenly the model was able to operate the YAM, even though its pretraining data was only on AgiBot. So in both directions the embodiment seems to matter only a little, and the bigger factor by far is whether anything in the pretraining corpus looks like the task at hand.</p><p>The authors give an explanation that I want to quote in full to round out our review:</p><p>&#8220;Learning an implicit IDM from predicted videos may be inherently more sample-efficient than direct policy learning - the model only needs to learn the mapping from visual features to actions, while leveraging the pretrained video model&#8217;s existing understanding of physical dynamics. Consistent with our AgiBot findings, failures primarily stem from video prediction errors rather than action extraction, suggesting that increasing task diversity during post-training could further improve performance.&#8221;</p><h2>My Takeaways</h2><ul><li><p>We might be able to ditch the robots, at least for pretraining data</p><ul><li><p>For evals you always want to test in real conditions, i.e. with the robot</p></li></ul></li><li><p>Post-training for improving video generation will be valuable</p><ul><li><p>RLHF</p></li><li><p>Rubrics? Seems challenging but potentially worth it</p></li></ul></li><li><p>This could be the start of a shift away from VLAs to WAMs</p><ul><li><p>Even at similar quality, the data for WAMs is more scalable</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[MAI-Thinking-1: Building a Hill-Climbing Machine]]></title><description><![CDATA[or, Microsoft Enters the SOTA Wars]]></description><link>https://www.friendlypaperreview.com/p/mai-thinking-1-building-a-hill-climbing</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/mai-thinking-1-building-a-hill-climbing</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Thu, 11 Jun 2026 00:02:23 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!X7Hm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on June 10, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://microsoft.ai/wp-content/uploads/2026/06/main_20260602_2.pdf" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!X7Hm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg 424w, https://substackcdn.com/image/fetch/$s_!X7Hm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg 848w, https://substackcdn.com/image/fetch/$s_!X7Hm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!X7Hm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!X7Hm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg" width="728" height="948.4396551724138" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1209,&quot;width&quot;:928,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://microsoft.ai/wp-content/uploads/2026/06/main_20260602_2.pdf&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!X7Hm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg 424w, https://substackcdn.com/image/fetch/$s_!X7Hm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg 848w, https://substackcdn.com/image/fetch/$s_!X7Hm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!X7Hm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb957908a-2a51-4065-9f5e-83d13bd57c15_928x1209.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://microsoft.ai/wp-content/uploads/2026/06/main_20260602_2.pdf">Paper</a>   &#183;   <a href="https://microsoft.ai/news/building-a-hillclimbing-machine-launching-seven-new-mai-models/">Blog post</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GYQJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GYQJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GYQJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GYQJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GYQJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GYQJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg" width="728" height="386.2665808113329" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:824,&quot;width&quot;:1553,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!GYQJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GYQJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GYQJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GYQJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb5eab494-d308-48b5-9324-857bca38d495_1553x824.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So before this announcement, I think most people weren&#8217;t aware Microsoft worked on any models at all. Certainly they <em>use</em> models, like in their various Copilot products, but that&#8217;s pretty much all models from other providers.</p><p>But actually, one arm of Microsoft has been releasing models for some time now. That arm is Microsoft Research, and they have a good reputation for their Phi series of models in particular. The Phi Family as the image calls them is a wide array of research-size models, runnable and trainable on relatively modest hardware, and covering a lot of different areas. The Phi models aren&#8217;t great generalists, but they have historically done well on code and STEM work.</p><p>Microsoft Research has a lot of other models on their Hugging Face page, and they release a decent number of papers as well, but at least in my mind, I have historically considered &#8220;Microsoft model&#8221; and &#8220;Phi&#8221; synonymous.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mKRJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mKRJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mKRJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mKRJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mKRJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mKRJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:884,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&quot;,&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!mKRJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mKRJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mKRJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mKRJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5de297d-bb7e-4990-b057-b08ff7841622_884x884.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>But this paper and this release are from a different arm: Microsoft AI. And to talk about Microsoft AI, we have to talk about this man: Mustafa Suleyman.</p><p>Mustafa Suleyman is a giant of the field. In 2010 he and Demis Hassabis cofounded DeepMind, which Google acquired in 2014. DeepMind is the original seat of Google&#8217;s own generative AI efforts, so already in his bio we can credit him as the father, or perhaps the grandfather, of Gemini.</p><p>Fast forward to early 2022. Suleyman leaves Google, joins a VC firm, then quickly leaves to cofound a new lab with Reid Hoffman called Inflection AI. Keep in mind, this is <em>before</em> ChatGPT came out in late 2022, but well <em>after</em> GPT-3 came out, in mid 2020. So folks in the know are seeing the pace of AI progress is starting to really pick up - <em>inflecting</em>, if you will.</p><p>In 2023, Inflection launched its ChatGPT competitor, a chatbot named Pi, powered by the Inflection series of models. Inflection-2 came out in November 2023, Inflection-2.5 came out in March 2024, but by then it was already clear OpenAI was well ahead on both capabilities and chatbot market share.</p><p>So on March 19th, 2024, their lead investor bailed them out: Microsoft hired Suleyman and most of the 70-person team to become Microsoft AI. They also paid a huge &#8220;non-exclusive license&#8221; fee. So this was one of the first of what I like to call &#8220;fake acquisitions&#8221;: a bigger company scooping out their target talent from a smaller company, delivering a big payout, and leaving the remains of the smaller company alone. This is the same playbook Amazon used on Adept and that Google used on both Character AI and Windsurf. </p><p>It does share some characteristics with the investment Meta made in Scale in 2025, with Alex and a few other folks leaving to form Meta Superintelligence Labs, but the other transactions were &#8220;licensing fees&#8221; with no economic upside for the bigger company. Meta actually has a stake in Scale&#8217;s success, and Alex is on the board. Obviously the pattern-matching led to some rough vibes at the time of the transaction, but Scale is very much still a going concern, while the other companies I mentioned are shells of their former selves.</p><p>Anyway, now two years later Suleyman and his Inflection crew, with a lot of other talent on board, have finally released their first 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_!ZwHU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZwHU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZwHU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZwHU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZwHU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZwHU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg" width="728" height="418.80190174326464" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:726,&quot;width&quot;:1262,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!ZwHU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZwHU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZwHU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZwHU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ba716f-b9f9-4a34-aa6c-6aba96720dd8_1262x726.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The parallel thread here, and the subtext to a lot of this, is the relationship between Microsoft and OpenAI.</p><p>Microsoft first invested in OpenAI all the way back in 2019, before the release of GPT-3, as the exclusive cloud provider for OpenAI. At the time, Microsoft execs felt they had fallen behind Google on machine learning, given the latter&#8217;s high-profile acquisition of DeepMind. So as part of the investment, Microsoft got a license to anything OpenAI built. It also gave Microsoft 75% of OpenAI&#8217;s profits, up to the amount they originally invested. Pretty wild deal in retrospect huh?</p><p>So Microsoft continued deepening the partnership, with more big investments in 2021 and 2023, and deployment of GPT-4 across tons of Microsoft product surfaces. And with Microsoft as the exclusive provider of compute, any increasing demand for GPT meant increasing demand for Azure, and thus increasing profit for Microsoft.</p><p>Then in November 2023 came the near-acquisition moment: the OpenAI board fired Sam Altman on a Friday, over the weekend Microsoft offered to hire Sam and whatever staff wanted to move over from OpenAI, but by Monday Sam was back in the driver&#8217;s seat. As we know now, that left the door open for Suleyman at the future Microsoft AI.</p><p>Since then, much of the partnership has come undone. Microsoft is no longer the exclusive provider of compute. Their ownership stake is down, although owning roughly a quarter of a $1T company ain&#8217;t bad. And Microsoft&#8217;s IP and royalties arrangement with OpenAI is looser than before. Now with the release of the MAI models, it&#8217;s almost a frienemy relationship. And I&#8217;m sure Suleyman would love to best GPT one day.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RbMl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RbMl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg 424w, https://substackcdn.com/image/fetch/$s_!RbMl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg 848w, https://substackcdn.com/image/fetch/$s_!RbMl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!RbMl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RbMl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg" width="728" height="404.9159034138218" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:668,&quot;width&quot;:1201,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!RbMl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg 424w, https://substackcdn.com/image/fetch/$s_!RbMl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg 848w, https://substackcdn.com/image/fetch/$s_!RbMl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!RbMl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5445d6b-6a72-4303-9e40-e11630ef9fc9_1201x668.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now briefly on the science side, I do want to cover one thing, which is loss.</p><p>Loss is the way you quantify how good your model is in many stages of training. It&#8217;s a single number that you set out to optimize, to get as low as possible via training.</p><p>For this paper, the form of loss we need to discuss is negative log likelihood, or NLL. NLL is what we use during pretraining and during supervised fine tuning (SFT).</p><p>Conceptually, NLL looks at the likelihood your model gave for the actual next token in your training data. If your model predicted the correct next token with 100% probability, the loss is 0. If it predicted the correct next token with 0% probability, the loss approaches infinity.</p><p>NLL is a nice way to measure performance because it is fast and objective compared to more intuitive forms of benchmarking, like human evals or leaderboards. It is also continuous between pretraining and SFT, so you can compare apples to apples. It also works for any text you think is trustworthy: just feed in some and see if the next predicted word is what your text says is next. That&#8217;s quite different from the training and eval data we make here, where we spend a lot of time ensuring quality and diversity and fit to spec and all that. Of course there are advantages to the other approaches and the other data like we make, and we&#8217;ll see MAI use them.</p><p>So for all these reasons, NLL is the consistent ruler we will see the MAI folks use to measure performance. Although occasionally we will see its cousin, &#8220;bits per byte&#8221; (BPB), which accounts for the differences in tokenizers.</p><h2>The Paper</h2><p>Before we start, just note that I had to skip a lot of things in the interest of time, particularly the serving and training infrastructure. If you want that detail, it&#8217;s all in the paper - they were quite thorough.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rOTX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rOTX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rOTX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rOTX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rOTX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rOTX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg" width="728" height="539.8926174496644" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1192,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!rOTX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rOTX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rOTX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rOTX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffe32972f-0015-49c9-a550-394e7f806fe9_1192x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s start with architecture.</p><p>MAI-Base-1 is a 1T parameter model, with 35B parameters active, across 78 layers and with 512 total experts, 8 of which are active at a time, for a sparsity ratio of 64. That is all very similar to many other modern models where we have architecture details. For example, Kimi K2.6 is 1T total parameters and 32B active parameters. DeepSeek V4 Pro is larger but in the same ballpark. So far so good.</p><p>Where it starts to go off the beaten path is in the details of the layers.</p><p>So for attention, which is where the model forms a holistic picture of the input, they switch between local and global attention, in a 5:1 ratio. So that means for 5 attention layers, the attention is only looking 512 tokens back, and then for the sixth layer it looks all the way back to the first token, assuming we&#8217;re within the model&#8217;s 256k context window. Switching between local and global is common, but 5:1 is on the more extreme end.</p><p>The weirder thing, which I have never seen before, is switching between dense and mixture-of-experts feed-forwards - the layer where all the processing or &#8220;thinking&#8221; happens. They&#8217;re switching it up every time, so in a 1:1 ratio. They claim that interleaving dense and super sparse MoE like this yields the same results as a less-sparse MoE throughout, but faster, which makes sense given how successful interleaving attention types has been.</p><p>Speaking of MoE, on the right side they diagram theirs, which is also a bit weird. So they&#8217;re showing their 512 experts, and we know they pick 8 of them each time, but they have this down and up projection thing and these yellow boxes around the experts.</p><p>Here&#8217;s what&#8217;s going on with that: they are compressing the inputs before going to the experts. That&#8217;s what the down projector does. But routing, which is where you select experts to activate, is super sensitive. So they split out those functions: the <em>router</em> uses the uncompressed input to pick which experts to use, and the <em>dispatcher</em> relays the compressed input to the selected experts. Then they combine all that info and uncompress it.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!egJi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!egJi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!egJi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!egJi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!egJi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!egJi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg" width="728" height="429.8944555778223" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1497,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!egJi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!egJi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!egJi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!egJi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60fa11f-77f4-43a6-b5a5-c360dafbfdfa_1497x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a bit about how they settled on their MoE setup.</p><p>What they&#8217;re showing here is how performance improves on a series of benchmarks given more training and more experts. So the x axis is FLOPs, which is the standard unit of training compute. The y axis is something they call &#8220;efficiency gain&#8221;, or EG for short, which is basically how much better your experiment is compared to your baseline. And the different colors show different numbers of total experts - they only activate 8 every time.</p><p>The upshot is that more total experts improves performance, and training them for longer sometimes improves performance. But more parameters means more cost and more latency, so they compromise on 512.</p><p>This one decision per se is not critical for understanding the whole model, but it&#8217;s emblematic of how the MAI team approached all of their decisions: empirically, with lots of rigorous optimization experiments. It&#8217;s a refreshing paper for its rigor, and also for its openness.</p><p>By the way, the weighted average in the bottom-right weights code at 50%, math and STEM at 17.5% each, general at 10%, and multilingual at 5%. So you can really see how much they&#8217;re optimizing for code and reasoning compared to everything else.</p><p>Worth noting these benchmarks include at least some human-generated data from external vendors &#8212; a sign that demand for human data in GenAI isn't going away.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2OeF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2OeF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2OeF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2OeF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2OeF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2OeF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg" width="728" height="568.5088339222615" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1132,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!2OeF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2OeF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2OeF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2OeF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0f28a-eb42-4d4d-82c7-809948b51707_1132x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s another example of that optimization loop and rigor.</p><p>What they&#8217;re showing here is how different mixes of training data impact performance, as measured by NLL on two different validation sets - that&#8217;s the x and y axes. Each dot is a different data mix, and each color is a different size of model they trained in order to test the mixes.</p><p>They&#8217;re only showing a few sizes of model here, so there&#8217;s maybe a few dozen dots on here, but they mention that in total they trained several thousand models of between 760M and 4B active 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_!9lQ7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9lQ7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!9lQ7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!9lQ7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!9lQ7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9lQ7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg" width="728" height="468.37845705967976" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1374,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!9lQ7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!9lQ7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!9lQ7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!9lQ7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F18dddd26-1ba6-4414-b9df-617571bf43eb_1374x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>One particular aspect they pay attention to is how different datasets interact, both within their domain but also across domains.</p><p>Like here for example, they&#8217;re measuring performance on a graduate-level physics benchmark, which a vendor created for them for this purpose. You&#8217;ll see our old friend NLL on the y axis, so lower is better here.</p><p>What each of the six graphs show is how adding the given data type in impacts performance. Like before, each dot is a model trained on one specific data mix.</p><p>In this example, math and STEM stuff helped, which includes &#8220;web PDFs&#8221; - those are PDFs of scientific papers. General web content didn&#8217;t matter, and code actually hurt. I personally was surprised by that, because generally code data helps with math performance, and vice versa, and physics is mostly math. But that&#8217;s why you run the tests! Anyway, hopefully you&#8217;re getting a sense of how a team ends up training several thousand models in their pursuit of one final model.</p><p>Relatedly, even though this much training takes a lot of infrastructure work, we just don&#8217;t have time to cover it. But if you want to know all the gnarly bits about managing GPUs and various forms of parallelism, it&#8217;s in there.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dmCt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dmCt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dmCt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dmCt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dmCt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dmCt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg" width="728" height="231.63636363636363" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:504,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!dmCt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dmCt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dmCt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dmCt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9250e947-dfac-4304-b43f-b5771008d2f7_1584x504.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So after all that fiddling, here&#8217;s where they net out on pretraining mix.</p><p>Keep in mind this is all naturally generated - none of it is synthetically made for the purpose of training data. They even take great pains to identify and remove suspected AI-generated text from scraped sources. However, given the high share of code and the pervasiveness of coding agents, I suspect a decent share of the data is ultimately from models.</p><p>Speaking of code, it&#8217;s over half the data! And it gets one of the highest multiples there in the right corner, meaning they replay the data about two times. That&#8217;s kind of a proxy for usefulness. So apparently STEM data, books and journals, and especially math data were all very helpful.</p><p>30T tokens in pretraining is pretty good by the way. That&#8217;s about the same pretraining corpus as DeepSeek V4. To go much higher than that you&#8217;d need to start generating a lot of synthetic data expressly for pretraining purposes, which is a gamble and thus was not where MAI wanted to start.</p><p>Now after pretraining there&#8217;s midtraining, kind of smaller and more focused pretraining where they only take the cream of the crop. It&#8217;s also typically where people extend the context window.</p><p>Both cases are true here. They filter heavily for quality and rebalance domains a bit, then they extend context out to 256k tokens. That adds another 3.5T tokens or so.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ER8i!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ER8i!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ER8i!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ER8i!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ER8i!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ER8i!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg" width="728" height="222.44444444444446" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:484,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!ER8i!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ER8i!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ER8i!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ER8i!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F15022c5f-81a6-4736-8d95-daf7ccf68ca4_1584x484.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Here&#8217;s the actual loss graph from their final training run, just to give you an idea of what researchers actually look at. We have NLL on the y axis, and we see how it pretty quickly flattens out, with very gradual gains for the vast majority of the training run.</p><p>Kind of wild to think how much quality improvement and polish comes from this seemingly small drop in loss. Also, if they had more tokens, they probably would have gotten even better results. But as we mentioned, new pretraining tokens are hard to come by these days.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!53TM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!53TM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!53TM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!53TM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!53TM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!53TM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg" width="728" height="505.937106918239" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1272,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!53TM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!53TM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!53TM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!53TM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff158c861-fdb0-46d3-b276-152a6ea0464d_1272x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So once pretraining and midtraining are done, you end up with your base model. In case you&#8217;re not familiar, base models are basically like autocompletes, they can&#8217;t do chat. Chat and other abilities come during post-training, which we&#8217;ll look at after this slide.</p><p>Base models are actually not that common to release anymore, so the comparison selection is limited, but they did their best here and picked reasonable competition - you&#8217;ll see the Kimi and DeepSeek models I mentioned before for example. They also included an earlier version of their model to show how they improved. </p><p>As for what they&#8217;re testing on, the top-right is code from their infrastructure, while the other three are benchmarks built by external vendors &#8212; again, a signal of ongoing demand for vendor-built eval data.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!62RC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!62RC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg 424w, https://substackcdn.com/image/fetch/$s_!62RC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg 848w, https://substackcdn.com/image/fetch/$s_!62RC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!62RC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!62RC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg" width="728" height="176.49903536977493" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:377,&quot;width&quot;:1555,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!62RC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg 424w, https://substackcdn.com/image/fetch/$s_!62RC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg 848w, https://substackcdn.com/image/fetch/$s_!62RC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!62RC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4955840f-aab5-489a-b17e-15a9b38521e1_1555x377.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So with their capable pretrained and midtrained model in hand, MAI are going to use reinforcement learning (RL) to post-train three specialist teacher models: SWE &amp; Agentic, STEM, and Helpfulness &amp; Safety. Then those three teachers are going to use SFT to distill down into one single student, which will get another round of RL training to form their final model, MAI-Thinking-1.</p><p>We will tackle each aspect in turn, but one thing I want to say here is how common this sort of pipeline is becoming. For folks who joined the DeepSeek V4 paper review, you&#8217;ll have seen this before. The question is, why? Why not just keep training your one model?</p><p>The biggest reason is actually right there on the diagram: you can train the teachers in parallel. Assuming you have the compute for it, which Microsoft clearly does, it speeds up overall training time to do these separate skills in parallel and then come together at the end.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Q9WL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Q9WL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Q9WL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Q9WL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Q9WL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Q9WL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg" width="728" height="395.3061224489796" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:745,&quot;width&quot;:1372,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!Q9WL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Q9WL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Q9WL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Q9WL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa04e1d3a-6230-424c-84fd-097f223d83f4_1372x745.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>A couple fun notes about their RL scheme.</p><p>First of all, they&#8217;re using GRPO basically, kind of the standard RL algorithm, but with one neat trick they call &#8220;adaptive entropy control&#8221;, shown here. Basically, if they find their model isn&#8217;t exploring enough, if the entropy of its next-token probability distribution is getting too low, they flip on this switch that lets the model make bigger moves on each training step. The top graph is entropy, with symbol H, and they&#8217;re targeting an average of 0.3. The bottom graph is their switch, which they flip on when H is too low and generally flip off when H is too high.</p><p>Second, they control maximum response length based on how hard a problem is. So if it&#8217;s a very easy problem, maybe only 8k token budget. If it&#8217;s a really hard problem, they let the model go up to 128k tokens in its response. That&#8217;s like 100k words for one response! They also penalize length in the reward.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!T5Vb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!T5Vb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg 424w, https://substackcdn.com/image/fetch/$s_!T5Vb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg 848w, https://substackcdn.com/image/fetch/$s_!T5Vb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!T5Vb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!T5Vb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg" width="728" height="310.6868686868687" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:676,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!T5Vb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg 424w, https://substackcdn.com/image/fetch/$s_!T5Vb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg 848w, https://substackcdn.com/image/fetch/$s_!T5Vb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!T5Vb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbcfb53cc-fc8b-489f-8f8c-1be19d6a5471_1584x676.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now over the course of their RL, they lock in progress every so often by distilling the model onto itself. In other words, they take their somewhat improved model, make SFT training data out of it, and then train the base model on it. That&#8217;s what all the stars are, points of self-distillation. And the different colors are different models they distill onto. This lets them lock in progress and work off a clean slate, and also look for potentially bad behaviors in the SFT data that they can filter out - things like language switching or reward hacking.</p><p>It requires on the order of 1M SFT examples to effectively distill from the teacher to the student, but they get them &#8220;for free&#8221; by just keeping the correct rollouts from RL. Although weirdly, they report that even keeping the incorrect rollouts, like the model attempts that <em>don&#8217;t</em> get the right answer, still improves the student model in training.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!r0sb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!r0sb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg 424w, https://substackcdn.com/image/fetch/$s_!r0sb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg 848w, https://substackcdn.com/image/fetch/$s_!r0sb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!r0sb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!r0sb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg" width="728" height="193.16266666666667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/becf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:398,&quot;width&quot;:1500,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!r0sb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg 424w, https://substackcdn.com/image/fetch/$s_!r0sb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg 848w, https://substackcdn.com/image/fetch/$s_!r0sb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!r0sb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbecf0872-4853-44b9-bc24-551a34f78758_1500x398.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Now let&#8217;s look at each of the three teachers quickly in turn.</p><p>This figure is their pipeline for producing QA pairs from natural sources for the STEM teacher&#8217;s mix. They also buy QA pairs from vendors, but of course we don&#8217;t get any details about the vendor processes.</p><p>Anyway, there&#8217;s a ton of work represented here, but I wanted to call out the scoring part in particular, since it applies to any QA pairs, even ones built by external vendors, so it could be a hint at their quality control process for purchased data.</p><p>I want to call out the Consensus Grading step. Basically, they&#8217;re doing a lot of attempts with a good model and seeing what the consensus answer is, then having a judge model compare that consensus answer against the ground truth from the QA pair. To me that sounds workable for most of the difficulty distribution, but for the hardest problems I suspect even a good judge will get it wrong, so I wonder if they&#8217;re leaving something on the table here. Or perhaps that tip of the difficulty distribution just isn&#8217;t present in their original sources.</p><p>This teacher also covers code, which they say they leaned on vendors for more, with 160k total coding problems.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!653w!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!653w!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg 424w, https://substackcdn.com/image/fetch/$s_!653w!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg 848w, https://substackcdn.com/image/fetch/$s_!653w!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!653w!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!653w!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg" width="728" height="471.7258566978193" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:832,&quot;width&quot;:1284,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 19&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="Slide 19" title="Slide 19" srcset="https://substackcdn.com/image/fetch/$s_!653w!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg 424w, https://substackcdn.com/image/fetch/$s_!653w!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg 848w, https://substackcdn.com/image/fetch/$s_!653w!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!653w!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88988ee6-87ac-4b7a-a9e4-25209c661964_1284x832.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The second teacher is for SWE and general agentic work.</p><p>Since they&#8217;re doing agents, they need environments, which each consist of a task, a sandbox for the agent to safely work in, an initial state, and rewards at the end. They&#8217;re going to decide those rewards with a combination of rules (i.e. verifiable states) and LLM judges (for e.g. task interpretation, helpfulness, and trajectory quality).</p><p>For the SWE tasks, they harvested from GitHub, filtering 102M PRs all the way down to just 266k, across 94k repos. Those are all the PRs that have fully fleshed-out issues, with all passing tests, and reproducible environments.</p><p>For the general tasks, their major goal was getting the model to pick the right tools. So they flooded the zone, offering 50+ API and MCP tools to the model, and even including some prompts that didn&#8217;t require any tool use at all. They did a lot of the data generation synthetically, 130k+ tasks across 150+ environments, with diversity across task, environment, personas etc.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cMPv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cMPv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg 424w, https://substackcdn.com/image/fetch/$s_!cMPv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg 848w, https://substackcdn.com/image/fetch/$s_!cMPv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!cMPv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cMPv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg" width="728" height="260.45036642238506" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:537,&quot;width&quot;:1501,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 20&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="Slide 20" title="Slide 20" srcset="https://substackcdn.com/image/fetch/$s_!cMPv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg 424w, https://substackcdn.com/image/fetch/$s_!cMPv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg 848w, https://substackcdn.com/image/fetch/$s_!cMPv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!cMPv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce1b734-4b03-4f73-b8ce-e734be0fb4db_1501x537.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The last teacher is Helpfulness &amp; Safety, a real grab bag of more subjective stuff, which is in orange at the top.</p><p>I want to call out a couple things here. One is how they view human vs synthetic data. Human data has better complexity, like harder or many-step tasks that actually make sense and aren&#8217;t contrived, but synthetic data has better coverage - you can design and program in all the distributions you want your synthetic data generator to touch.</p><p>Another is the change in rewarding. As you move from left to right on this table, you get more and more subjective. Like Instruction Following for example is sometimes verifiable by rule even, for example on word count, whereas style is rarely that way. Even within a consistent method of rewarding, namely with LLM judges, the details change: rubrics for Instruction Following, yet a simple 0-2 scale for Style.</p><p>Lastly, one interesting trick not on this table: they estimate the distribution of appropriate response lengths based on the prompt, then penalize the model for anything outside of that. Yet another tool to combat overlong responses.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UFK1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UFK1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg 424w, https://substackcdn.com/image/fetch/$s_!UFK1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg 848w, https://substackcdn.com/image/fetch/$s_!UFK1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!UFK1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UFK1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg" width="728" height="303.84051446945335" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:649,&quot;width&quot;:1555,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 21&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="Slide 21" title="Slide 21" srcset="https://substackcdn.com/image/fetch/$s_!UFK1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg 424w, https://substackcdn.com/image/fetch/$s_!UFK1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg 848w, https://substackcdn.com/image/fetch/$s_!UFK1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!UFK1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff19f3c24-05b4-4aa6-a141-4d4345ea5d1b_1555x649.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So once you have all three teachers, it&#8217;s time to distill onto the student, here labeled &#8220;Consolidated Model&#8221;.</p><p>As before, they&#8217;re going to reuse the RL rollouts as SFT, and they&#8217;re going to filter for relevant characteristics for each teacher, like correctness for STEM and style heuristics for Helpfulness &amp; Safety.</p><p>Also as before, the mix of examples from each teacher is a matter of optimization. They find the share of examples is all that matters, not share of tokens, but they report both and it&#8217;s wild to see how disproportionate the mix can get while still being effective.</p><p>After distillation, there&#8217;s a final round of RL, mostly polish - a lot of the Helpfulness &amp; Safety data, with a bit of the other two and a bit of long context, just to preserve those abilities.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XwRL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XwRL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg 424w, https://substackcdn.com/image/fetch/$s_!XwRL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg 848w, https://substackcdn.com/image/fetch/$s_!XwRL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!XwRL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XwRL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg" width="728" height="404.3337893296854" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:812,&quot;width&quot;:1462,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 22&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="Slide 22" title="Slide 22" srcset="https://substackcdn.com/image/fetch/$s_!XwRL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg 424w, https://substackcdn.com/image/fetch/$s_!XwRL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg 848w, https://substackcdn.com/image/fetch/$s_!XwRL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!XwRL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba80b085-6788-401e-8b1b-66c3a4f1da91_1462x812.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now we can get to results.</p><p>The MAI model doesn&#8217;t win on any benchmarks, but it&#8217;s competitive. Similar to how Meta&#8217;s Muse Spark was good but not amazing, just to prove they could do it. I wanted to compare benchmarks on the two but there&#8217;s basically no overlap, and Muse Spark isn&#8217;t available by API so even the benchmark maintainers can&#8217;t run it.</p><p>MAI picked Sonnet 4.6 as their comparison, and on the bottom table that seems to be true. Their model isn&#8217;t out yet though, so can&#8217;t compare vibes, which is increasingly crucial given how hard it is to measure some of these differences.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6o4L!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6o4L!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6o4L!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6o4L!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6o4L!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6o4L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg" width="728" height="370.8939393939394" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:807,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 23&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="Slide 23" title="Slide 23" srcset="https://substackcdn.com/image/fetch/$s_!6o4L!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6o4L!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6o4L!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6o4L!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc59be6e4-bbff-4024-8a4d-797f45ee7f18_1584x807.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Finally, since they are good scientists, they do some human evals in addition to running programmatic benchmarks.</p><p>They actually call out their vendor, Surge AI, by name - a real sign of respect. Otherwise there&#8217;s not a ton new to report here; they use the standard RLHF task setup of several pointwise criteria on a 0-2 scale, then a pairwise scale for overall preference on a 7-point Likert scale, i.e. 1 = &#8220;Response A was much better&#8221; and 7 = &#8220;Response B was much better&#8221;.</p><p>Again, they&#8217;re on par or a bit better than Sonnet 4.6, generally a bit worse than Opus 4.6. A respectable first showing for MAI.</p><h2>My Takeaways</h2><ul><li><p>This is the MSL playbook: build a good-enough model to prove you can do it</p><ul><li><p>Meta&#8217;s Muse Spark isn&#8217;t really available outside of Meta products, and it may never be - or at least there&#8217;s no rush</p></li><li><p>MAI is in the same position</p></li></ul></li><li><p>I predict MAI will primarily be for Microsoft product surfaces</p><ul><li><p>This is what Amazon and Meta currently do</p></li><li><p>It&#8217;s also the fallback case for Google - they would keep building Gemini even if nobody used the API or subscribed to the chatbot</p></li></ul></li><li><p>All the big tech cos are invested in either OpenAI or Anthropic or both anyway</p><ul><li><p>In a way, OpenAI vs Anthropic is a proxy fight for the big tech cos</p></li></ul></li><li><p>Microsoft&#8217;s demand for data should continue and increase</p><ul><li><p>MAI has plenty of time to prove itself and all the financial runway it needs</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models]]></title><description><![CDATA[or, Save the Whale's Compute]]></description><link>https://www.friendlypaperreview.com/p/conditional-memory-via-scalable-lookup</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/conditional-memory-via-scalable-lookup</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Mon, 08 Jun 2026 13:01:17 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!s34_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on February 18, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2601.07372" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!s34_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg 424w, https://substackcdn.com/image/fetch/$s_!s34_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg 848w, https://substackcdn.com/image/fetch/$s_!s34_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!s34_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!s34_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg" width="728" height="1033.4502127659575" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/be13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1668,&quot;width&quot;:1175,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2601.07372&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!s34_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg 424w, https://substackcdn.com/image/fetch/$s_!s34_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg 848w, https://substackcdn.com/image/fetch/$s_!s34_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!s34_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe13667f-997f-4fb8-8529-aa7710c52c1d_1175x1668.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://arxiv.org/abs/2601.07372">Paper</a>   &#183;   <a href="https://github.com/deepseek-ai/Engram">Repo</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zcvI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zcvI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zcvI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zcvI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zcvI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zcvI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg" width="728" height="473.2" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1360,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!zcvI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zcvI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zcvI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zcvI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1a31363-77df-443a-a8f3-49700bf32476_1360x884.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s start with DeepSeek, the authors of this paper. They are one of the two top-tier labs in China, along with the Qwen team. Where Qwen shoots for quantity though, DeepSeek goes for quality.</p><p>Like look at the models DeepSeek has released here on their Hugging Face page. It&#8217;s been over a year since they released their last major model, DeepSeek V3, there at the bottom. It was apparently updated in March last year but it originally came out at the end of 2024. And you may remember DeepSeek R1, the model that briefly crashed the stock market in January 2025. They made two minor releases in 2025, and they released an OCR model for turning images of text into text, but that&#8217;s about it. If you compare that to the Qwen page, where they&#8217;ve released models across pretty much all modalities in both major and minor versions in the last year, and you&#8217;ll see what I mean.</p><p>Fundamentally it&#8217;s all because of resource constraints. For one, China overall is way behind the US in terms of available compute. They also don&#8217;t have access to the latest and greatest NVIDIA chips. So they&#8217;re working with fewer chips from a generation behind. That means every lab in China has to get clever.</p><p>Since Qwen is part of Alibaba, they still have relative abundance within the Chinese AI ecosystem. That&#8217;s why they&#8217;re able to produce models of many types and sizes and so on. But DeepSeek is different. They are an outgrowth of a hedge fund. They have always been more of a science experiment, and even though the hedge fund does well they don&#8217;t have the budget of an Alibaba. So DeepSeek is the cleverest of all these clever Chinese labs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IAH4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IAH4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!IAH4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!IAH4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!IAH4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IAH4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg" width="728" height="411.7415227127319" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1563,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!IAH4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!IAH4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!IAH4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!IAH4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdadf019a-4852-497e-9252-5c0637ccaa67_1563x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>And because they&#8217;re so clever and so focused on R&amp;D, they end up producing some pretty impressive papers. Probably the most impressive one is this Mixture of Experts paper, from all the way back in January 2024. That&#8217;s incredibly early in the history of the MoE architecture, which is totally dominant now in SOTA models. While they didn&#8217;t invent the idea, which actually dates to well before the modern Gen AI era, they laid a lot of the groundwork for how those SOTA models do MoE today.</p><p>First, they made lots of smaller experts and selected several per token, rather than having a few bigger experts and only picking one. If you remember Mixtral, which was 8 experts of 7B parameters each where only one was active per token, you know how big of a change DeepSeekMoE was. The smaller experts allowed more specialization and fine-grained knowledge.</p><p>Second, they introduced a shared expert, which is always active no matter which other experts are selected. The one shared expert tends to learn basic things like sentence structure or formatting, leaving room in all the other experts for more complex knowledge.</p><p>The graphic on the right shows both changes. In a traditional MoE, you might have N experts and pick 2. In this example, they bump it out to 2N experts and have 4 active: 1 shared expert and 3 selected experts.</p><p>Now in modern MoEs they&#8217;ve turned these knobs all the way up. Like in this paper they have 64 experts with 8 active, for a sparseness of 8, whereas in the most recent DeepSeek model they have 256 experts with 8 active, for a sparseness of 32.</p><p>And remember, this was all born of resource constraints, not pure performance gains. The virtue of MoE models is they trade expensive compute for cheap memory. So like in this paper, their model is 16B parameters but only has 2.8B active per token, swapping experts in and out of memory as they&#8217;re selected. Performance matched that of Llama 2 7B, which takes more than twice the compute to run. MoE is more complex and finicky, but if you&#8217;re really skilled engineers like the folks at DeepSeek, you can handle the complexity to unlock efficient performance.</p><p>Keep those themes of sparsity and complexity for performance in mind. There&#8217;s a reason they call their findings &#8220;a new axis of sparsity&#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_!3e0j!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3e0j!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3e0j!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3e0j!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3e0j!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3e0j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:884,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!3e0j!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3e0j!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3e0j!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3e0j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff869d809-ee7e-47e8-abaa-6f53ba43a154_884x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now let&#8217;s get into the topics of this paper. I want to start from a human, intuitive point of view and then transition into the technical.</p><p>First I want to highlight the different types of memory in humans. People talk about short-term vs long-term memory, but the popular notion of short-term memory is confused; it&#8217;s actually on a pretty short timescale as the graphic shows, and the better term is &#8220;working memory&#8221;. An example of working memory is if I give you a phone number to remember and repeat back to me. Most people have a working memory of 5-7 things. In the phone number example, a number without an area code is 7 digits, and if it&#8217;s an area code you&#8217;re familiar with you don&#8217;t need to keep all the digits in working memory, you have it in long-term memory.</p><p>Now within long-term memory, I want to distinguish between declarative and procedural memory. Declarative is stuff you can accurately describe and verbalize, like past events or facts. Procedural is stuff you can do but may not be able to explain well, &#8220;muscle memory&#8221; and the like. Declarative memory is much more amenable to written records and is easy to look up, while procedural memory is more diffuse. That split is going to be important in how the authors structured the Engram model.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qoMG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qoMG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg 424w, https://substackcdn.com/image/fetch/$s_!qoMG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg 848w, https://substackcdn.com/image/fetch/$s_!qoMG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!qoMG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qoMG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:840,&quot;width&quot;:840,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!qoMG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg 424w, https://substackcdn.com/image/fetch/$s_!qoMG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg 848w, https://substackcdn.com/image/fetch/$s_!qoMG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!qoMG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8024d71-1ec4-49d6-8512-7e44f806a591_840x840.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a little illustration of working vs long-term memory. Since working memory is difficult to expand, we get smarter and more capable by putting things in long-term memory and then referencing it in working memory. So again, thinking back to my phone number example, the area codes in your home state are in long-term memory, so if someone gives you a phone number you can just point to that set of three digits rather than taking up three slots in working memory.</p><p>By analogy, working memory is like compute for a model, whereas long-term memory is like parameters. If you can look up the right parameters and swap them in, then you can avoid constructing the same ideas from scratch with your compute. That&#8217;s going to save compute for the things that require it, like handling new information and doing reasoning.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fqEF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fqEF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fqEF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fqEF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fqEF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fqEF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg" width="728" height="246.34343434343435" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/deae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:536,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!fqEF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fqEF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fqEF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fqEF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdeae2bcb-5ef2-4480-984c-d1f1afcfdccc_1584x536.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Thinking further about memory and meaning, let&#8217;s recall another slide from that agent memory paper in January. It shows how text turns into tokens, then into token IDs, then finally into embeddings. Embeddings are literally vectors, just a series of numbers, but more abstractly they represent the meaning of a token. And as we know from natural language, words and concepts and proper nouns etc have more than just their strict meaning: there&#8217;s also connotations, synonyms, personal associations, many many layers.</p><p>All LLMs have this single-token embeddings table. It&#8217;s how the model turns words into vectors it can then process into a next token prediction. But you could also do the same thing with groups of tokens instead of individual tokens. Like you could have one row in an embeddings table for &#8220;Alexander the Great&#8221; as one group, one n-gram as researchers call it, in this case a 3-gram since it has 3 words in it.</p><p>Of course you can&#8217;t have a row for every possible combination of three tokens, there are just too many combinations. But there could be ways around that with enough cleverness.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xbvr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xbvr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xbvr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xbvr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xbvr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xbvr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg" width="728" height="508.3076923076923" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:708,&quot;width&quot;:1014,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!xbvr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg 424w, https://substackcdn.com/image/fetch/$s_!xbvr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg 848w, https://substackcdn.com/image/fetch/$s_!xbvr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!xbvr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F98c57391-bc02-449a-93d6-d909ca8d8873_1014x708.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As for how LLMs build meaning from n-grams now, here&#8217;s an example from a related paper about how models piece together context as they process input layer by layer. The middle column, &#8220;Latent State Translation&#8221;, is a model&#8217;s own description of its &#8220;thoughts&#8221; so to speak at that point in its processing.</p><p>The input phrase here is going to be &#8220;Diana, Princess of Wales&#8221;. And at the start, after the first few layers of attention + feedforward, the model has really only picked up the very basic fact that this input relates to a country in the UK and in Europe. In the fourth layer it picks up on princess, in the fifth layer it connects princess and Wales, and then finally in layer 6 it recognizes that hey, we&#8217;re actually talking about a specific historical person with that title who has other facts associated with her, like her lifespan and her work.</p><p>That&#8217;s helpful and where we want to end up of course, but notice how much work went into putting together something the model already knew and was not context-dependent in any way. Like you could look up that exact information in a barebones encyclopedia. Maybe there&#8217;s a way to cut out that reconstituting process and just get the fully constructed information right away.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!n-va!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!n-va!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg 424w, https://substackcdn.com/image/fetch/$s_!n-va!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg 848w, https://substackcdn.com/image/fetch/$s_!n-va!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!n-va!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!n-va!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg" width="728" height="194.86868686868686" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:424,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!n-va!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg 424w, https://substackcdn.com/image/fetch/$s_!n-va!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg 848w, https://substackcdn.com/image/fetch/$s_!n-va!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!n-va!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b558a18-b7e8-4f17-9223-7372f64ed50c_1584x424.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Well that&#8217;s exactly what they did here with Engram. This figure is from later in the paper but it illustrates the idea pretty well: if you find that the last two or three tokens formed a known entity or phrase or something, just look up that meaning rather than reconstituting it from the knowledge in your parameters.</p><p>So in the first example, &#8220;Great&#8221; is bright red because the 3-gram &#8220;Alexander the Great&#8221; is well known. Same with most of the tokens in his horse&#8217;s name.</p><p>Then in the second example, the &#8220;way&#8221; in &#8220;By the way&#8221; is also quite red, because that&#8217;s a stock phrase and doesn&#8217;t need to be interpreted as individual words or with much attention to other context.</p><p>It even works in Chinese. In the first example, the first red block is the end of a famous phrase, The Four Great Inventions. You can see after the colon there are four list entries, and each one of them ends in red blocks too. For reference, the four inventions are papermaking, the compass, gunpowder, and printing.</p><p>This example is for 3-grams as I mentioned, but they also did 2-grams. They tried 4-grams but it barely helped, so apparently most proper nouns and stock phrases and the like are two or three tokens.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Eh5l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Eh5l!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Eh5l!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Eh5l!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Eh5l!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Eh5l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg" width="728" height="434.8324324324324" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1480,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!Eh5l!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Eh5l!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Eh5l!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Eh5l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ceee579-d160-4828-b40d-fe505f6506d2_1480x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Okay, we&#8217;ve arrived at the architecture piece, which is going to take the most explaining.</p><p>First I want to situate us. At core we are still working with a transformer, still seeing the core operations:</p><ol><li><p>Embedding, which turns tokens into meanings</p></li><li><p>Attention, which calculates how each token relates to every other token and establishes the meaning of the entire input</p></li><li><p>Feed forward, which processes that meaning into a prediction for the next token. In this model it happens to be a MoE setup</p></li></ol><p>The big thing we&#8217;ve added is this Engram piece, also with a slight tweak to the embeddings which we can ignore. Let&#8217;s take each new step in order.</p><p>So the Engram starts with three inputs: the result of the previous transformer block, which is called &#8220;Input Hidden&#8221; here; then there&#8217;s the 2-gram; and the 3-gram.</p><p>Input Hidden will come into play later. For the 2-gram and 3-gram, we&#8217;re going to turn them into row IDs for our embedding tables using something called a hash. So the 2-gram and 3-gram are both going to become h different embedding rows.</p><p>Then we&#8217;re going to put all those rows together into one bigger row, specifically a row that is 2h bigger than each individual row. That&#8217;s called concatenation. That one big row stores all the meanings our embedding tables learned.</p><p>After that we&#8217;re going to basically copy the attention playbook. But whereas attention looks at how each part of the input relates to every other part, Engram looks at how each part of the input relates to these meanings we&#8217;ve fetched from the embedding tables. So maybe in this example the prior context is about Greek history, or about famous horses, or about literary devices in myth. That&#8217;s going to get mixed in with these context-free meanings we have about Alexander the Great, using that attention technique.</p><p>Now not all 2-grams and 3-grams are going to be meaningful of course. In fact most of them won&#8217;t have a static, context-free meaning the way proper nouns or common phrases do. If the fetched meanings are dissimilar from the constructed meanings, then the scaled dot product is going to be low, because the dot product measures similarity. So then you end up ignoring the fetched meanings. That&#8217;s fine because the Engram operation is pretty cheap, and the gain you get when the fetched meanings are similar to the constructed meanings outweighs the cost.</p><p>Anyway, you do a quick convolution at the end for stability and then add that Engram output to Input Hidden. Now your attention and feed-forward layers have this extra meaning and can skip the work they would have had to do to calculate that same meaning.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qQDZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qQDZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg 424w, https://substackcdn.com/image/fetch/$s_!qQDZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg 848w, https://substackcdn.com/image/fetch/$s_!qQDZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!qQDZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qQDZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:773,&quot;width&quot;:773,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!qQDZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg 424w, https://substackcdn.com/image/fetch/$s_!qQDZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg 848w, https://substackcdn.com/image/fetch/$s_!qQDZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!qQDZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97623c2c-16a4-412c-8a29-777cb3140922_773x773.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So that&#8217;s how it works for one transformer block with Engram. Not every transformer block needs Engram though, like in this example they show it at layers 2 and 4, although real models are dozens of layers deep so this is not totally indicative. In fact, the full model they train has 30 layers, and they put Engram blocks at layers 2 and 15, for reasons we&#8217;ll see in a bit. Earlier is generally better though since the memory lookup work is most helpful when the model is still piecing meanings together.</p><p>This diagram is also helpful because it reinforces the point that Engram memories do NOT live on the GPU, on the device as they say here. Instead, the Engram tables are either in RAM or the harddrive, both of which are far cheaper than GPU compute or memory. Again, there&#8217;s a throughline with their MoE paper; they&#8217;ve traded a little of an expensive resource, compute, for a lot of a cheap resource. If compute is your constraint then you want to make as many versions of that trade as you can.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ptpX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ptpX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ptpX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ptpX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ptpX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ptpX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg" width="728" height="293.67303609341826" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:570,&quot;width&quot;:1413,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!ptpX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ptpX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ptpX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ptpX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0e0d72-63b5-4bd7-8a45-0bd745b94e5e_1413x570.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s another view of how having this Engram block to look up memories helps. On the left we have a graph that basically shows how close a representation is to the final one. So in general your representation gets more and more accurate as you keep processing, which makes sense. The interesting bit here is that the Engram lines, in yellow and red, are lower than the normal model&#8217;s line in blue. That means the Engram blocks give the model a head start sometimes, like a little boost, on its way to the final representation.</p><p>The sort of blocky diagrams on the rest of the slide tell a similar tale. We don&#8217;t need to get into what CKA means, but basically the lighter colors mean more similarity. So you can see that the early Engram layers are more similar to middle layers of the baseline model, with jumps at layers 2 and 15 where the Engram blocks are.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sC52!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sC52!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg 424w, https://substackcdn.com/image/fetch/$s_!sC52!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg 848w, https://substackcdn.com/image/fetch/$s_!sC52!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!sC52!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sC52!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg" width="728" height="266.5656565656566" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:580,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!sC52!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg 424w, https://substackcdn.com/image/fetch/$s_!sC52!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg 848w, https://substackcdn.com/image/fetch/$s_!sC52!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!sC52!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36bb1dec-057d-4425-a44b-0ddec1a72d6b_1584x580.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So it seems like Engram helps. The question is, how much? To measure that they did a few things.</p><p>One version of this question is, if I only have a certain number of parameters, how should I split them between Engram and the rest of the blocks? That&#8217;s what the graph on the left checks out. The allocation ratio, rho, is the % of parameters allocated to the rest of the blocks. So at 100%, you have no Engram, just the baseline model. At 0% you would have just Engram which doesn&#8217;t really make sense, so they only investigate down to 40%. So they train all these test models with different allocation ratios, and they measure the loss at two different amounts of training. At both levels of training, you see the same pattern, where something like 80% is optimal. That means a full 20% of parameters in the optimal model go to Engram.</p><p>Another version of this question is, how much can I scale Engram? Like keep the other parameters fixed, just allow for bigger and bigger embedding tables. That&#8217;s what the graph on the right addresses. What it finds is there is no limit, that the more space you allocate for memory, the better your model does. It might become impractical, but if you can support or afford it it seems to always help.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZZyW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZZyW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZZyW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZZyW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZZyW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZZyW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg" width="728" height="669.1176470588235" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:875,&quot;width&quot;:952,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!ZZyW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZZyW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZZyW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZZyW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F99124332-f179-4180-b8bb-7406da8224bb_952x875.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Of course the ultimate question to how much Engram helps is how much better the end model is.</p><p>Here we compare four models, all with the same number of active parameters and thus the same demands on inference compute: a dense 4B, a MoE 27B as we&#8217;ve been seeing for the baseline, Engram 27B to keep the same total parameters as the baseline, and Engram 40B where we keep the same active parameters and experts as Engram 27B but really bump out the Engram part, more than tripling those parameters.</p><p>Keep in mind that these are base models, not instruct models, so all they&#8217;ve done is pretraining, no post-training.</p><p>Anyway, as you can see Engram 27B beats the baseline model on every benchmark, sometimes by 4 or 5 points. As we saw with that U-curve on the previous slide, allocating ~20% of parameters to Engram is going to really help performance.</p><p>What&#8217;s interesting is that Engram 40B is not uniformly better. For several benchmarks it&#8217;s less than a point better, which I consider basically equal, and for a couple of them Engram 27B is better by more than a point. The authors attribute the somewhat mixed record to the shared limit on pretraining tokens, which is likely too low for a 40B model. Also, when you bump out the Engram parameters without bumping out the other parameters, you get away from that optimal allocation ratio.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!D_dp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!D_dp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg 424w, https://substackcdn.com/image/fetch/$s_!D_dp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg 848w, https://substackcdn.com/image/fetch/$s_!D_dp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!D_dp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!D_dp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg" width="728" height="186.59595959595958" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:406,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!D_dp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg 424w, https://substackcdn.com/image/fetch/$s_!D_dp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg 848w, https://substackcdn.com/image/fetch/$s_!D_dp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!D_dp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92ce2113-f7a4-4fff-96b1-16683f30e3e0_1584x406.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>One area of performance they pay special attention to is long-context, which typically means 32k or higher, even up to 1M in rare cases. They examine long context because it tests their theory that Engram allows the model to refocus effort from entity or phrase recognition in local contexts, which Engram now handles, to reasoning and global contexts.</p><p>Here they deploy two benchmarks, LongPPL and RULER, both on 32k token sequences. We don&#8217;t need to examine every metric, but the three groups are helpful to know: that&#8217;s perplexity, which is a measure of surprise; NIAH, short for &#8220;needle in a haystack&#8221;, where the model has to fetch one or more words or phrases from the long context; and then the other tasks, which are frankly less artificial than NIAH, for example question answering.</p><p>So compared to the baseline model, with 50k pretraining steps and 1.63 pretraining loss, some version of Engram pretty much always wins. The one with the most pretraining steps does the best unsurprisingly, but the one with fewer pretraining steps yet equal pretraining loss to the baseline model generally does second-best. So it seems like you can get more performance for the same amount of pretraining, or use less pretraining to get the same 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_!5JdU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5JdU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg 424w, https://substackcdn.com/image/fetch/$s_!5JdU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg 848w, https://substackcdn.com/image/fetch/$s_!5JdU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!5JdU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5JdU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg" width="728" height="316.49929078014185" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:613,&quot;width&quot;:1410,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!5JdU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg 424w, https://substackcdn.com/image/fetch/$s_!5JdU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg 848w, https://substackcdn.com/image/fetch/$s_!5JdU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!5JdU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3dd2f1f3-3230-421a-ba3e-486e25bb16c2_1410x613.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Finally, they do what&#8217;s called an ablation, basically taking away some of the stuff you added to see how important is actually was. In this graph they ablate the Engram component, so like they train the complete model with two Engram blocks and then just delete the Engram blocks.</p><p>Here&#8217;s the result, grouped by benchmark skill. The more reasoning-heavy tasks like reading comprehension and commonsense reasoning take minor hits, while factual recall tasks fall off a cliff. This validates two claims: one, Engram offloads a lot of factual memory but not process memory; two, that offloading lets the rest of the model focus more on other work.</p><h2>My Takeaways</h2><ul><li><p>I suspect this will follow the same path as DeepSeekMoE: appreciated for good engineering but not really &#8220;in the water&#8221; until DeepSeek releases a ~SOTA model with Engram</p><ul><li><p>One of their researchers confirmed on Twitter that DeepSeek V4,  whose release is immanent, will not have Engram</p></li></ul></li><li><p>Post-training an Engram model will present new challenges</p><ul><li><p>Recall that the models in this paper are only base models</p></li><li><p>If Engram becomes the new standard, we will need to track such differences</p></li></ul></li><li><p>Could make the most sense on edge devices, where power management is an additional concern</p><ul><li><p>1B params is ~2 GB at full quality (i.e. in BF16 format, before quantization)</p></li><li><p>The Engram parameters (~20% of the total) can live in storage rather than RAM</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Code as Agent Harness]]></title><description><![CDATA[or, How Chatbots Became Agents]]></description><link>https://www.friendlypaperreview.com/p/code-as-agent-harness</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/code-as-agent-harness</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Wed, 03 Jun 2026 21:07:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!7a-4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Originally presented as a live talk on June 3, 2026</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2605.18747" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7a-4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg 424w, https://substackcdn.com/image/fetch/$s_!7a-4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg 848w, https://substackcdn.com/image/fetch/$s_!7a-4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!7a-4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7a-4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg" width="728" height="939.3548387096774" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1240,&quot;width&quot;:961,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2605.18747&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!7a-4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg 424w, https://substackcdn.com/image/fetch/$s_!7a-4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg 848w, https://substackcdn.com/image/fetch/$s_!7a-4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!7a-4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F986f3810-ba3d-4590-8f3e-fca63936bfc6_961x1240.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://arxiv.org/abs/2605.18747">Paper</a>   &#183;   <a href="https://github.com/YennNing/Awesome-Code-as-Agent-Harness-Papers">Source papers</a></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7k3f!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7k3f!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg 424w, https://substackcdn.com/image/fetch/$s_!7k3f!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg 848w, https://substackcdn.com/image/fetch/$s_!7k3f!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!7k3f!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7k3f!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg" width="728" height="389.2682926829268" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:570,&quot;width&quot;:1066,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!7k3f!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg 424w, https://substackcdn.com/image/fetch/$s_!7k3f!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg 848w, https://substackcdn.com/image/fetch/$s_!7k3f!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!7k3f!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56b052a9-8b40-468c-a5e8-430b98a5bfc1_1066x570.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To start off, I want to take us back. All the way back, to before the dawn of GenAI.</p><p>When I first started at Scale back in early 2021, the first project I was ever on used ML. Specifically, we used classifiers - models that take whatever input and spit out a class, like taking in a drawing of furniture and giving a confidence or probability for each class. For my project, we took as input a description of a grocery item, and the model predicted what category that item was: Canned Tomatoes, Frozen Fish, Packaged Cookies, Thank You Cards, and so on.</p><p>When you train a classifier, you give it the whole set of classes it could predict in advance. Like for our grocery classifier, we had to say in advance what all the classes were. You couldn&#8217;t just pass in a description and say &#8220;What item is this?&#8221; the way you can now with LLMs. That&#8217;s what <em>generative</em> AI means, it can generate new stuff on its own.</p><p>So you have this vocabulary of classes, and you make training data by saying, this description is Precut Melon, this description is Wet Cat Food, whatever.</p><p>The architecture, the way those classifiers worked, is broadly the same as the architecture of most LLMs now: a transformer, using attention and feed-forward layers. If you don&#8217;t know what those are, no problem - just being concrete for those who do.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rYjw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rYjw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rYjw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rYjw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rYjw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rYjw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg" width="728" height="379.1666666666667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:650,&quot;width&quot;:1248,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!rYjw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rYjw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rYjw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rYjw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa8117360-a62a-4742-affc-04c5588b0978_1248x650.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now let&#8217;s extrapolate. Let&#8217;s say that instead of these grocery items as classes, I had every word in the English dictionary as my vocabulary. And instead of grocery item descriptions, I had just any old text. Then my &#8220;classifier&#8221; could &#8220;classify&#8221; each input by what word came next.</p><p>Now you have a generative model. It&#8217;s still just text in, text out, but now the output text can be anything.</p><p>That oversimplifies somewhat, about how generative models are typically decoders rather than encoder-decoders and about how it&#8217;s tokens rather than words the model is predicting. But it really is the same core idea, that if you can just predict one thing at a time really well, you can eventually just keep predicting basically forever, on anything.</p><p>Your training data is just whatever text you can find, above some minimum quality bar anyway. You can take a bit of text, train your model to predict the next token, see if it was right, give it feedback, over and over and over again for every next token you can find. That is how you train - or more specifically, &#8220;pretrain&#8221; - an LLM.</p><p>After enough pretraining, like tens of trillions of tokens worth, you now have a <em>base model</em>, i.e. a model that can predict the next token for some input text. It can&#8217;t chat, can&#8217;t engage in dialog yet, but it can autocomplete like nobody&#8217;s business. And as with our classifier, each next token prediction comes with a probability.</p><p>This is what the first GPT did, back when it came out in 2018.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tkCl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tkCl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tkCl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tkCl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tkCl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tkCl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg" width="728" height="326.5564924114671" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:532,&quot;width&quot;:1186,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!tkCl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg 424w, https://substackcdn.com/image/fetch/$s_!tkCl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg 848w, https://substackcdn.com/image/fetch/$s_!tkCl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!tkCl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54d9a841-5210-4150-a0be-a9ead0076fbc_1186x532.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now since then LLMs have gotten a lot better of course. For one, they&#8217;ve gotten a lot smarter; they know much more, they are better at reasoning, they are more perceptive and so on.</p><p>For another, they&#8217;re no longer just autocompletes! Through the magic of post-training, for which Scale provides data in our GenAI line of business, base models become <em>instruct models</em>. Instruct models converse, they don&#8217;t simply continue the train of thought you provided.</p><p>This is what OpenAI did with GPT-3 to turn it into InstructGPT - which Scale contributed training data to - and then GPT-3.5, the model that powered ChatGPT at launch. But it wasn&#8217;t just the model that changed - it was the model&#8217;s <em>environment</em> too. Whereas GPT-1, GPT-2, and GPT-3 were almost exclusively API services, ChatGPT was a consumer experience: on the web, with a UI, engaging in dialog.</p><p>Now remember, the model itself was not different between the API of GPT-3.5 and the website of ChatGPT. Ultimately it received text input and produced text output, like all its predecessors. But exactly what text it got was different. For example, a user on ChatGPT has a location and a timezone, which the model might use to adapt its slang or know to say &#8220;Good night&#8221; instead of &#8220;Good morning&#8221;. So <em>where</em> the model interacts is already starting to cause diverging behavior a bit.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!S_Ig!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!S_Ig!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg 424w, https://substackcdn.com/image/fetch/$s_!S_Ig!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg 848w, https://substackcdn.com/image/fetch/$s_!S_Ig!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!S_Ig!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!S_Ig!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:840,&quot;width&quot;:840,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!S_Ig!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg 424w, https://substackcdn.com/image/fetch/$s_!S_Ig!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg 848w, https://substackcdn.com/image/fetch/$s_!S_Ig!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!S_Ig!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F55c314a8-9654-4509-9b73-e14c8e0ee93f_840x840.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As many of us will recall, the earliest version of ChatGPT was really just a chatbot: you put in a message, it sent a message back. No web search, no running code it wrote, no memory outside of the current conversation. And by the way, the conversation could only be 4096 tokens - about 3k words.</p><p>As time went on, the barebones chatbot experience changed in a few important ways.</p><p>For one, that context window got longer. GPT-4 doubled it to 8192, then quadrupled it to 32k. By late 2023, only a year after ChatGPT came out, GPT-4 Turbo bumped it all the way up to 128k. That ceiling generally stuck around for a while, although now 1M is becoming the standard.</p><p>Of course the intelligence improved dramatically too. A fun toy of a chatbot became a productive tool for many people, by API or by GUI.</p><p>Crucially for us, the <em>software</em> around the model improved too. Web search, code execution, and memory - what we broadly call &#8220;tool use&#8221; now - all enhanced the model&#8217;s performance without altering the model itself. And they provided a source of information and interaction aside from the user.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!539t!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!539t!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg 424w, https://substackcdn.com/image/fetch/$s_!539t!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg 848w, https://substackcdn.com/image/fetch/$s_!539t!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!539t!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!539t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg" width="728" height="238.16526138279932" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:388,&quot;width&quot;:1186,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!539t!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg 424w, https://substackcdn.com/image/fetch/$s_!539t!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg 848w, https://substackcdn.com/image/fetch/$s_!539t!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!539t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa63aa538-1b9d-462c-a60a-bbfadb80d801_1186x388.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So the software grew alongside the model. And new software capabilities influenced model training.</p><p>For one, training models to use tools at all takes work, since that type of interaction didn&#8217;t exist before LLMs and so isn&#8217;t going to be in the pretraining data you scrape from the internet. But more specifically, the LLMs need <em>new tools</em>, tools with different affordances and abilities.</p><p>That&#8217;s the whole reason behind Model Context Protocol, or MCP as it&#8217;s more commonly known. Models have different strengths and weaknesses than either humans or regular old software, so your tools have to lean into those. So for instance, models like structured text, like regular software does, but it can&#8217;t handle a flood of output like regular software does. So tools should return a large-but-still-limited amount of structured text.</p><p>Or think about memory, which in most cases is just a set of well structured folders and Markdown files. A normal software program would use a database and would have clear rules for storing and fetching data. An LLM needs to work memory in naturally and quickly. It&#8217;s a different sort of tool, and models need training on when and how to best use it.</p><p>So we see that the initially clean split between model and software has started to heal, where the optimal model performance comes only within particular software. Kind of like a marriage, where two separate people come to share one mind in many ways.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fe9Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fe9Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fe9Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fe9Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fe9Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fe9Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg" width="520" height="302" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:302,&quot;width&quot;:520,&quot;resizeWidth&quot;:520,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!fe9Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fe9Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fe9Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fe9Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d1af7c1-d434-4f8b-9ead-bbe8b40bd80e_520x302.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So the marriage between model and software gets us some pretty slick chatbot capabilities. But the fundamental framing of chat is still around a conversation, not about getting work done &#8220;out there&#8221; so to speak.</p><p>One capability in ChatGPT and other chat portals that started to break that pattern was Deep Research, which came out for ChatGPT in February 2025. In a regular chat session, you could start out with one question but typically would need to keep directing the model on research steps, then ask it to compile its work, etc.</p><p>With Deep Research though, the model was <em>autonomous</em>: you gave it a question, it might request some initial clarification, then it would go off and work. It felt like the model was &#8220;out there&#8221; on the internet, not there in your conversation, and that it would &#8220;come back&#8221; when it was done, report in hand.</p><p>That was the first in-production peek at <em>agentic</em> workflows. The framing had shifted; instead of having an AI assistant, you now had an AI worker, returning you substantially complete work in one go.</p><p>But some problems require more than just a chat interface in the browser, or even a chat interface with a secret room on the server for the model to go Deep Researching in. You might need a different <em>environment</em> for some work, and really a different paradigm for working.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0Go4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0Go4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0Go4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0Go4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0Go4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0Go4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg" width="604" height="444" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:444,&quot;width&quot;:604,&quot;resizeWidth&quot;:604,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!0Go4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0Go4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0Go4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0Go4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5af0e03f-ff7f-4a8b-8a70-426f8e2cb00d_604x444.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Anthropic realized that. And a few weeks after ChatGPT Deep Research came out, they released Claude Code.</p><p>If you&#8217;re not familiar, Claude Code is a program you install on your computer. That program lets Claude do things on your computer, basically anything that can be done with a command line, which is most things. You ask it to do stuff, it goes off and does it until it needs you again.</p><p>That software is called a <em>scaffold</em> or a <em>harness</em>, people use both terms but they mean the same thing: a program that turns a model into an agent. The harness provides prompts and tools and guardrails that the model follows and uses and obeys when working in the environment of your computer.</p><p>And while the form factor and capabilities seem radically different, it really is a gentle spectrum all the way from pure LLM endpoint to simple chatbot to modern chatbot to agent. Yes, the points further along the spectrum require model capabilities, like long context for those long agent trajectories and better tool use for the increasing array of tool options - that&#8217;s why ChatGPT didn&#8217;t start out as an agent - but the actual variable on that LLM-to-agent axis is the software. And that&#8217;s what today&#8217;s paper is really about.</p><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_Oeh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_Oeh!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!_Oeh!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!_Oeh!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!_Oeh!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_Oeh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg" width="728" height="492.7656967840735" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1306,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!_Oeh!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!_Oeh!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!_Oeh!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!_Oeh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b579ae5-ce93-41d1-8f44-2539eaef936b_1306x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So this is a survey paper, which means they basically found and read all the papers they could on a certain topic and then composed their findings into something coherent, with a bit of original analysis on top. Surveys are by nature broad, whereas the papers we typically cover are narrow but deep.</p><p>This graphic from the start of the paper is our roadmap. After defining terms at the top, we&#8217;ll go through how the harness looks, what the harness does, how agents can work together using shared harness infra, and what the leading edge looks like.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wzIV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wzIV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wzIV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wzIV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wzIV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wzIV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg" width="728" height="131.55283307810106" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/abfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:236,&quot;width&quot;:1306,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!wzIV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wzIV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wzIV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wzIV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fabfbb275-2070-418d-b8c1-174e8ae589b3_1306x236.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Let&#8217;s isolate the top part first. An agent is a model plus a harness. The harness lets the model act in an environment, like on your computer in the case of Claude Code.</p><p>One of the main points of original analysis in this paper is how vital code is as a working medium for agents, why code is &#8220;agent harness infrastructure&#8221; in their jargon.</p><p>In fact it&#8217;s literally a medium in their graphic; code is in between the agent and the environment. It&#8217;s what the agent writes and executes in order to act on, to make changes to the environment. And then through code it receives feedback, signals like a printout or a confirmation or an error.</p><p>That&#8217;s quite different from chat, where the model interacts with us through natural language. If we think of ourselves as the environment that the agent is acting on during a chat, the agent uses words to act on us and we use words to send signals back to it.</p><p>And as the graphic points out, code has some nice properties that make it better as a working medium for agents:</p><ul><li><p>Code has hard rules and is basically machinery for reasoning. Natural language has soft rules and <em>can</em> work for reasoning, but provides no guarantees or checks</p></li><li><p>Code provides feedback, like detailed errors and stack traces. Natural language does not</p></li><li><p>Code can store state, basically it has memory. Again, natural language does not - it is not machinery</p></li></ul><p>I would also add that model makers, the big labs like OpenAI and Anthropic, want agents to be good at code so they can achieve Recursive Self Improvement (RSI). The better the model gets at code, the more it can contribute to research to make itself more capable. That&#8217;s what Anthropic hired Andrej Karpathy to do, and OpenAI says they will have an intern-level autonomous ML researcher agent by September 2026.</p><p>So code composes the harness, yes, but code is also what a model does <em>via</em> the harness, when you combine the model and the harness to form an agent.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vh6C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vh6C!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vh6C!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vh6C!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vh6C!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vh6C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg" width="728" height="648.0886203423968" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:993,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!vh6C!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vh6C!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vh6C!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vh6C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d698789-ea0c-42e3-a896-6752e34fe18e_993x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This is not a new realization, and basically since the dawn of the GenAI era people have been working on code from AIs.</p><p>The top timeline, Code for Reasoning, looks at code as machinery for logic. The very first one, Program of Thought (PoT), is one I remember reading. Back when LLMs couldn&#8217;t reliably do even simple math like two-digit multiplication, people realized you could get math right if you just got your model to write the formulas as code instead of just numbers. So if your model can write a quick Python block that just says the two numbers you want to multiply, some software can watch for that Python block, run it, and return the result.</p><p>LLMs have gotten a lot better at calculation now, but they still know to invoke a calculator like that instead of relying on mental math.</p><p>The middle timeline is basically for writing and then using scripts as tools. Like if your model wants to navigate a browser, what it often does is actually write little code snippets for different action and then stitch those together depending on the task. We&#8217;ll get to it later, but there are many ways code acts as a medium instead of a model visually perceiving a screen and just saying what pixel it wants to click.</p><p>The bottom timeline is for code as an end, not just as a means. Many of you will recognize SWE-Bench, which is the OG agentic coding benchmark. CWM, which stands for Code World Model, is an interesting one; they taught the model to predict how code will run in order to improve its coding skills.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_Cy_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_Cy_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg 424w, https://substackcdn.com/image/fetch/$s_!_Cy_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg 848w, https://substackcdn.com/image/fetch/$s_!_Cy_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!_Cy_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_Cy_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg" width="728" height="378.24747474747477" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:823,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!_Cy_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg 424w, https://substackcdn.com/image/fetch/$s_!_Cy_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg 848w, https://substackcdn.com/image/fetch/$s_!_Cy_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!_Cy_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d2d7192-5dab-4f54-a172-0190934f9441_1584x823.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now in terms of how the harness operates, we&#8217;re gonna tick through five different skills: planning, memory, tool use, control, and optimization.</p><p>Planning has evolved significantly from the early days. Kind of inherited from the chatbot days, you start with something linear and direct. Then people tried getting clever by putting those lines into different shapes, different workflows. But that&#8217;s not very <a href="http://www.incompleteideas.net/IncIdeas/BitterLesson.html">Bitter</a>-pilled, and agent intelligence quickly advanced to not need so much prescriptive planning from humans, and more open-ended planning methods like search took over. Now the leading edge is in orchestrating between multiple agents, which we&#8217;ll come back to later on.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!94V9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!94V9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg 424w, https://substackcdn.com/image/fetch/$s_!94V9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg 848w, https://substackcdn.com/image/fetch/$s_!94V9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!94V9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!94V9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg" width="728" height="361.7020202020202" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:787,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!94V9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg 424w, https://substackcdn.com/image/fetch/$s_!94V9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg 848w, https://substackcdn.com/image/fetch/$s_!94V9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!94V9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4737fbec-1d11-41d4-8e0d-8812e5bb0f8d_1584x787.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Memory has also gotten significantly more sophisticated, and has different forms as we know from human cognition. So now people work on different types, like storing the outcome of experiences or storing the <em>meaning</em> of data as metadata in addition to storing the data raw. And again, on the leading edge we see multi-agent cropping up.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZQeT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZQeT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZQeT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZQeT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZQeT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZQeT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg" width="728" height="376.40909090909093" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:819,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!ZQeT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ZQeT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ZQeT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ZQeT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F432d8285-86d2-4dc4-b7f5-60a297cb5c18_1584x819.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Tool use they call out explicitly but is a bit of a catch-all, since technically any action a model takes other than simply returning text is tool use. But they do show the general trend from input-based (&#8220;do this&#8221;) to output-based (&#8220;achieve this&#8221;), and they again end on multi-agent.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YymC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YymC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg 424w, https://substackcdn.com/image/fetch/$s_!YymC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg 848w, https://substackcdn.com/image/fetch/$s_!YymC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!YymC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YymC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg" width="728" height="376.40909090909093" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:819,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!YymC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg 424w, https://substackcdn.com/image/fetch/$s_!YymC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg 848w, https://substackcdn.com/image/fetch/$s_!YymC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!YymC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27d72ac0-956e-41dd-aeb8-f454271b295a_1584x819.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Control is a less intuitive one if you&#8217;re not coming from a programming background, but it&#8217;s basically about how much autonomy you grant the agent while maintaining safety. The narrative here is that software infrastructure is starting to change to accommodate and fit agents, just as it changed to fit different types of users when computers got popular.</p><p>The &#8220;plan, execute, and verify loop&#8221; from the top is also a crucial point. One reason code is so great for agents is that the feedback is automatic for the most part. Like until the user needs to make a judgment call, the agent can just iterate freely. The more free iteration you can enable, the more autonomous the agent can be. Part of that is safety, part of that is verification.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-AnC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-AnC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-AnC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-AnC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-AnC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-AnC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg" width="728" height="313.44444444444446" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:682,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!-AnC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg 424w, https://substackcdn.com/image/fetch/$s_!-AnC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg 848w, https://substackcdn.com/image/fetch/$s_!-AnC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!-AnC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb086f17-c9f4-43a5-974f-6c7e0f446832_1584x682.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now harness optimization is where things get really interesting. If agents are so good at code, shouldn&#8217;t they be able to to improve their own harnesses? It&#8217;s just code after all.</p><p>In fact that&#8217;s starting to happen, and it&#8217;s a big part of the RSI story. I don&#8217;t want to minimize the raw model capabilities of course, which Scale&#8217;s training data is critical for, but harnesses have gone from nice add-ons to integral parts of the product. In fact, I wouldn&#8217;t be surprised the big model makers stopped generally offering API access to their models and <em>only</em> offered them as part of their products. Like you wouldn&#8217;t be able to use Claude via API anymore, only on <a href="claude.ai">claude.ai</a> or in Claude Code or in Claude Cowork etc. Or maybe it would only be available to enterprises for use in their products on certain terms.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Xo7N!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Xo7N!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Xo7N!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Xo7N!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Xo7N!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Xo7N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg" width="728" height="472.50513950073423" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1362,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 19&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="Slide 19" title="Slide 19" srcset="https://substackcdn.com/image/fetch/$s_!Xo7N!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Xo7N!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Xo7N!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Xo7N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F064acf59-9470-4a95-b655-f63087240bcf_1362x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Note the timelines on each of these areas. Memory in particular is a longstanding and thorny problem, and I&#8217;m sure anyone who has used AI products with memory enabled has had recent terrible experiences. I think it will take some time before memory as fluid as ours is available.</p><p>I&#8217;ll also call out optimization as a recent hot area. Again, models have only recently become capable enough for harnesses to become critical, but now that harnesses are first-class players, expect a lot more effort to go into self-improvement.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vbds!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vbds!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vbds!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vbds!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vbds!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vbds!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg" width="728" height="387.43939393939394" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:843,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 20&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="Slide 20" title="Slide 20" srcset="https://substackcdn.com/image/fetch/$s_!vbds!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vbds!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vbds!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vbds!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c4977a5-a113-4930-ae2c-ada30bb70954_1584x843.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now as I&#8217;ve mentioned a few times, multi-agent is also a hot area. Multi-agent swarms are valuable because they parallelize work and they break up the context window amongst the different agents. So you can get more work done faster.</p><p>I personally think multi-agent is still in its infancy, and that it will take a long time to work out organizational principles and sociology of machine intelligences, but there has already been some progress.</p><p>One immediate split people have imported from human organizations is division of labor, specialization basically. Usually that&#8217;s just a harness change on the same model, but sometimes for cost and speed reasons you might use different models for different jobs.</p><p>Another import from human organizations is ways of working, like interaction and topologies as the top-right shows. The topologies one in particular is interesting as the bottom-right shows; instead of humans encoding a topology from the start, emergent or task-dependent reorganization has become prominent.</p><p>Of course code as the working medium recurs as a theme, as the green and red boxes towards the bottom show. Anyone who has used git to coordinate software projects knows how important it is to have everyone working off the same codebase rather than individual copies or going through one person who has control. For the non-technical folks, the equivalent would be using a shared Google Doc to work instead of everyone having their own local files.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!h8q9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!h8q9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg 424w, https://substackcdn.com/image/fetch/$s_!h8q9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg 848w, https://substackcdn.com/image/fetch/$s_!h8q9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!h8q9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!h8q9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg" width="728" height="387.43939393939394" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:843,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 21&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="Slide 21" title="Slide 21" srcset="https://substackcdn.com/image/fetch/$s_!h8q9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg 424w, https://substackcdn.com/image/fetch/$s_!h8q9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg 848w, https://substackcdn.com/image/fetch/$s_!h8q9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!h8q9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52eb68da-647a-4807-84dc-79dd767619fc_1584x843.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As we continue looking to the future, there are areas besides code we want our agents to be good at, like graphically using the computer or doing science or steering robots.</p><p>In keeping with the theme, the authors recommend framing all these new capabilities in terms of code. The more code-like you can make it, the better agents are going to be.</p><p>Obviously coding agents are going to be good at coding. One non-obvious detail they do note though is how trajectories from the coding agents end up as training data. So the model now has training in its particular harness, not just on harness-agnostic capabilities. That means that Claude will always work better in Claude Code than in any other coding harness. Same with GPT in Codex. That&#8217;s yet another way the model and the harness are becoming inseparable, and why pretty much every model maker has their own harness now. There are still model-agnostic ones like OpenCode, but to me it seems they&#8217;re at a structural disadvantage.</p><p>Similarly, generalist agents like OpenClaw and Hermes are also seeing proprietary competition. Google and Microsoft both announced their own versions. Meta has an internal one I suspect they will release. A lot of generalist agent stuff like personalization is on a different axis than the raw performance you need with coding, so I do see a world where model-agnostic options are alive and well</p><h2>So What?</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zZXw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zZXw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zZXw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zZXw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zZXw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zZXw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg" width="728" height="334.0689655172414" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:692,&quot;width&quot;:1508,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 23&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="Slide 23" title="Slide 23" srcset="https://substackcdn.com/image/fetch/$s_!zZXw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zZXw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zZXw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zZXw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54f1e49f-836c-41b6-a3df-1b1f1abc0a1c_1508x692.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Since we&#8217;ve been mentally drawing trendlines and now extrapolating, I wanted to make the trendline clear.</p><p>This is the famous METR chart, which shows how long of tasks models can accomplish, in terms of how long it would take a competent human to do them.</p><p>We&#8217;re at a point now where the best model on the planet, Claude Mythos, is beyond our current capabilities to measure accurately. I&#8217;m sure we&#8217;ll catch up in this case, but the gap will emerge again and one day we won&#8217;t be able to catch up.</p><p>In terms of the trend, depending on how you draw the line, it predicts a 10x annual increase in task duration. So if Opus 4.6 was at a 10-hour horizon in February 2026, then in February 2027 we&#8217;ll have a model that can do the equivalent of 100 hours of human work autonomously - at 50% success rate anyway. For 80% success rate the respective numbers are 1 and 10 hours.</p><h2>My Takeaways</h2><ul><li><p>RSI will be a system, not a model</p><ul><li><p>How many more optimizations loops can we add?</p><ul><li><p>Innermost = model</p></li><li><p>Outer = harness/agent</p></li><li><p>Outer outer = optimizer? swarm?</p></li></ul></li><li><p>Will it require optimizing further-flung aspects, e.g. the CLI or the OS or the hardware? The org chart or society of agents?</p></li><li><p>Will we Goodhart intelligence to just be coding, or is intelligence a package that includes e.g. creative writing?</p></li></ul></li><li><p>The optimal arrangement of swarms will depend on the task, but will often look different from how humans self-organize</p><ul><li><p>The more Bitter the better</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Speculative Speculative Decoding]]></title><description><![CDATA[or, Queue Management by Any Other Name]]></description><link>https://www.friendlypaperreview.com/p/speculative-speculative-decoding</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/speculative-speculative-decoding</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Tue, 02 Jun 2026 13:03:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!G2e4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2603.03251" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!G2e4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg 424w, https://substackcdn.com/image/fetch/$s_!G2e4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg 848w, https://substackcdn.com/image/fetch/$s_!G2e4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!G2e4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!G2e4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg" width="728" height="939.575" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1239,&quot;width&quot;:960,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2603.03251&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!G2e4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg 424w, https://substackcdn.com/image/fetch/$s_!G2e4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg 848w, https://substackcdn.com/image/fetch/$s_!G2e4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!G2e4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbbaef83d-5770-4371-be71-d4b882d35d56_960x1239.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2603.03251">Paper</a>   &#183;   <a href="https://github.com/tanishqkumar/ssd">Repo</a></p><p><em>Originally presented as a live talk on May 20, 2026</em></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CqVZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CqVZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg 424w, https://substackcdn.com/image/fetch/$s_!CqVZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg 848w, https://substackcdn.com/image/fetch/$s_!CqVZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!CqVZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CqVZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg" width="728" height="286.7878787878788" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:624,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!CqVZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg 424w, https://substackcdn.com/image/fetch/$s_!CqVZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg 848w, https://substackcdn.com/image/fetch/$s_!CqVZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!CqVZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c5ce83-66ff-428d-afed-34d344cd61ee_1584x624.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To understand this paper, we have to understand how a model on a GPU turns your prompt into predicted tokens.</p><p>Let&#8217;s start with what we already know from our daily use of LLMs: you pass in your prompt all at once, you wait a bit, and then you start getting back tokens one by one.</p><p>Already we can start to relate to this diagram. The part where you pass in your prompt is called <em>prefill</em>. During prefill, you are filling up the working memory of the model, what we call the <em>KV cache</em>. The diagram here kinda breaks up &#8220;KV&#8221; and &#8220;cache&#8221;, but you can see that the prompt turns into KV vectors, and then those get cached, hence &#8220;KV cache&#8221;.</p><p>So now we have all the input in our working memory. That can take a long time depending on the hardware you&#8217;re using and how big your input is, but importantly, prefill happens for all input tokens <em>in parallel</em>. On my GPU at home, prefill runs at several hundred tokens per second.</p><p>So once prefill is done, the model is ready to start making predictions. And it makes those predictions one at a time, as the diagram shows: first &#8220;jumps&#8221;, then &#8220;over&#8221;, etc etc. This stage is called <em>decode</em>, because we&#8217;re decoding the mathematical representations that the model works with into words that humans work with.</p><p>Because decode runs one token at a time, it is <em>much</em> slower than prefill. On my GPU, decode runs at something like 30 tokens per second.</p><p>Note that when we decode a token, it gets cached too - that&#8217;s why the dotted line at the top spans prefill <em>and</em> decode. So the KV cache, that working memory, grows every time the model outputs a new token.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!91no!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!91no!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg 424w, https://substackcdn.com/image/fetch/$s_!91no!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg 848w, https://substackcdn.com/image/fetch/$s_!91no!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!91no!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!91no!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg" width="728" height="442.5332239540607" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:741,&quot;width&quot;:1219,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!91no!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg 424w, https://substackcdn.com/image/fetch/$s_!91no!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg 848w, https://substackcdn.com/image/fetch/$s_!91no!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!91no!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51cdbbcb-3cf6-4aa2-9bf9-f43555dc08d1_1219x741.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now let&#8217;s look a level deeper, at the hardware. On a GPU, you have your chip and your memory, aka your VRAM. When you start up your model server, the server reads the model from your hard drive and puts it into your VRAM, right next to your chip.</p><p>When you actually <em>use</em> your model, like by sending it a prompt and getting back a response, your model server takes one layer of your model at a time from VRAM and sends it to your chip for computation. So if I&#8217;m at the very first attention layer, it&#8217;s gonna take my input and the matrices that actually make up the first attention layer and send &#8216;em to the chip for multiplication and so on. Then it takes that first attention layer back from the chip, along with the KV cache created from the computation, and it&#8217;s gonna send in the first feed-forward layer for computation.</p><p>That process of loading and computing and unloading happens over and over again until you&#8217;re at the final layer, where the chip can finally produce the predicted token. Then you gotta do the whole routine over again to predict the next token.</p><p>So this shuttling of weights to and from the chip is typically what slows you down - the constraint is your <em>memory bandwidth</em>, not the speed of your chip. If you can somehow compute multiple tokens at once in decode, like you do for prefill, then you can avoid repeating that shuttling. Sure, it costs you a tiny bit of extra time on the chip to deal with more tokens, but that&#8217;s peanuts compared to the time you saved in transit.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!A-Ik!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!A-Ik!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg 424w, https://substackcdn.com/image/fetch/$s_!A-Ik!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg 848w, https://substackcdn.com/image/fetch/$s_!A-Ik!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!A-Ik!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!A-Ik!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg" width="728" height="351.8283911671924" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:766,&quot;width&quot;:1585,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!A-Ik!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg 424w, https://substackcdn.com/image/fetch/$s_!A-Ik!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg 848w, https://substackcdn.com/image/fetch/$s_!A-Ik!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!A-Ik!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F002c126a-7b84-4b57-b1ba-4c3558527353_1585x766.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The question is, how do you predict multiple tokens? If predicting a token requires understanding all the tokens before it, how can you predict more than one?</p><p>The answer is in the name of the technique: &#8220;speculative decoding&#8221;. Instead of making a brand new prediction every time, you <em>speculate</em> about what the next few tokens will be - you take a guess beforehand and then check.</p><p>Speculative decoding works for the same reason prefill is faster than decode: inputs get processed in parallel. As we said before, once you load the weights onto the chip, it&#8217;s quick to do one or two or three or four calculations. As long as you have a good way to guess tokens, the model can check them all in parallel.</p><p>Of course, if the first token fails, then the other ones you guessed after it will likely be wrong and you&#8217;ll have to throw them away. But if your method for guessing tokens is cheap enough, and you&#8217;re not wrong too often, it can work out.</p><p>One common method is to have a version of the model itself make the guesses. Specifically, a much smaller version, ten or a hundred times smaller in fact, so it&#8217;s much faster and also can fit on the same GPU. This &#8220;draft model&#8221; as it&#8217;s called is not nearly as smart as the target model that is actually producing tokens, but it&#8217;s often smart enough. After all, most tokens are not incredibly complex or subtle; language is chock full of common and supporting words, and a lot of sentences are pretty mundane, meant to support the occasional novel or surprising sentence. It&#8217;s even more true for code, which demands predictable structure in a way natural language doesn&#8217;t.</p><p>As the graphic shows, the draft model quickly produces a few tokens, which all go into the target model in parallel rather than in serial. And thinking back to the last slide about where the bottleneck is, because you now have multiple tokens ready for computation, you save all that shuttling from VRAM to the chip on the second and third and fourth tokens.</p><p>In the example here, we have indeed generated four tokens, but the third one gets rejected, and the target model&#8217;s predicted token takes its place. The fourth draft token doesn&#8217;t get checked at all, because it depends on the third draft token being correct, which it wasn&#8217;t.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BGC1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BGC1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BGC1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BGC1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BGC1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BGC1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg" width="728" height="418.1526520051746" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:444,&quot;width&quot;:773,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!BGC1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BGC1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BGC1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BGC1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9328585e-8b54-4aee-a033-ebe0e8b40594_773x444.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s zoom in on this example a bit more. We have our four speculated tokens from the draft model, and we&#8217;re going to verify them with the target model.</p><p>Specifically, we&#8217;re going to check if the probability of the speculated token for the target model is at least as high as the probability of that token from the draft model. Like in our case, the target model thought &#8220;Brown&#8221; was 93% likely, and the draft model though it was 92% likely, and since the target model is smarter, we take the increased probability as a sign that the draft model was pointing us in the right direction. Similar story for &#8220;Fox&#8221;.</p><p>But for &#8220;Hopped&#8221;, the draft model was more confident in that token than the target model was. That&#8217;s a bad sign and means we should reject the draft model&#8217;s choice.</p><p>Incidentally, when the target model rejects the third token, it substitutes its own - in this case it&#8217;s the word &#8220;jumped&#8221;. That extra token you get from the target model when it rejects the token from the draft model is called a &#8220;bonus token&#8221;, because you get it &#8220;for free&#8221; in the process of verification. If you&#8217;re really lucky and all your speculated tokens get approved, you get a bonus token after <em>that</em>, directly from the target model. Like if all four tokens had been right in this example, we also would have gotten a fifth token as well, with virtually no extra effort.</p><p>Now as you might imagine, the draft model is going to be better at predicting some tokens than others. Like on a hard reasoning problem, the acceptance rate will be quite low, maybe like 25%. But on a more structured and straightforward task, like using a web search tool, it could be near 100%. So speculative decoding isn&#8217;t a complete across-the-board speedup, but for a lot of mundane LLM uses it&#8217;s helpful. It&#8217;s really an empirical question depending on your use cases, your hardware, what model you&#8217;re using, stuff like that. Like me personally, on my hardware and for my Hermes Agent, speculative decoding 4 tokens at a time has been helpful and fits on my GPUs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mN6h!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mN6h!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mN6h!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mN6h!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mN6h!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mN6h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg" width="728" height="319.8787878787879" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:696,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!mN6h!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg 424w, https://substackcdn.com/image/fetch/$s_!mN6h!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg 848w, https://substackcdn.com/image/fetch/$s_!mN6h!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!mN6h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a192c74-4ffb-437b-8d3c-83a6aaca01c0_1584x696.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I should add that there are other forms of speculative decoding, or of trying to predict multiple tokens in one go anyway. We&#8217;ll briefly see one called EAGLE-3 in the paper for example.</p><p>Another example, which we&#8217;re looking at here, is literally called &#8220;multi-token prediction&#8221; or MTP. The difference with MTP is that is has to be part of a model&#8217;s training from the get-go, it&#8217;s not an external enhancement.</p><p>You can see it right there along the top, at the boxes labeled &#8220;Cross-Entropy Loss&#8221;. The loss is the single number that tells you how well your model is doing. In a normal model, your pretraining loss is based on how likely you predicted the actual next token in the training data would be. That&#8217;s the first box along the top, it has an arrow pointing to L_Main - that&#8217;s the symbol for loss.</p><p>But here in MTP, there are multiple losses! As you continue along the top, you&#8217;ll see L_MTP^1 and L_MTP^2 - the losses for predicting the first and second of the multiple tokens. So now your loss is from the normal token, the first MTP token, and the second MTP token. And if you do training right and minimize the overall loss, you can get pretty good at predicting multiple tokens.</p><p>As with so many thing, MTP is an invention of the DeepSeek crew, and all their models since V3 have had it. More recently, Gemma 4 and Qwen3.5 got it, which has been great for local LLM users.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!oNcd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oNcd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg 424w, https://substackcdn.com/image/fetch/$s_!oNcd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg 848w, https://substackcdn.com/image/fetch/$s_!oNcd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!oNcd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oNcd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:818,&quot;width&quot;:818,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!oNcd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg 424w, https://substackcdn.com/image/fetch/$s_!oNcd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg 848w, https://substackcdn.com/image/fetch/$s_!oNcd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!oNcd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecddb9df-5209-423c-aeaf-78fffb676600_818x818.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Lastly, one thing I want to remind folks of is what LLMs actually predict. It&#8217;s not just one token, it&#8217;s actually a <em>distribution</em> of tokens, each with its own likelihood.</p><p>Technically the model predicts a likelihood for every single token in its vocabulary, which is usually in the high tens or low hundreds of thousands. Of course nearly all of them will receive virtually 0% odds, so in practice you end up with something more like the distribution here, where a small number sum to almost 100% probability. The shape of the distribution, and how far it extends out, can vary a lot and will be important later on. For now though, just remember that the model usually has a few thoughts on what could or should come next.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rlMZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rlMZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rlMZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rlMZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rlMZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rlMZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg" width="728" height="407.72727272727275" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:690,&quot;width&quot;:1232,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 10&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="Slide 10" title="Slide 10" srcset="https://substackcdn.com/image/fetch/$s_!rlMZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rlMZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rlMZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rlMZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbb014dd4-5063-4cbc-ba61-4b995aaaeff5_1232x690.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So now that we&#8217;re equipped with the knowledge of speculative decoding, and other techniques like it, we can finally discuss speculative speculative decoding.</p><p>For reference, we have SD on the left. Our draft model speculates a few tokens in blue, our target verifies the first one but rejects the second and third, and in the process produces a bonus token, in yellow. A line of connected dots means a sequence of tokens, so we see the end result is two new tokens. Then the cycle begins again, with the next speculated sequence in red.</p><p>You&#8217;ll notice the draft and target turns happen in serial - one waits while the other works. Surely we could make use of the draft model while the target model is working, right? Like the draft model is fast, it could produce lots of tokens in the time it takes the target model to verify.</p><p>There are two problems though. One is that the target model is using up all the memory bandwidth while it&#8217;s working. So at least on the same GPU, there is no way for the draft model to work in parallel. That&#8217;s fixable with another GPU of course.</p><p>The second, bigger problem is that the draft model depends on having all the prior tokens available. If the target model isn&#8217;t done verifying, then we don&#8217;t know all the prior tokens yet! We know the prior <em>speculated</em> tokens, but of course not all the speculated tokens will be right. Even worse, the bonus token could in theory be any token in the vocabulary. What are we supposed to do?</p><p>Well as you probably guessed, there is a solution, shown on the right. Let me walk through it.</p><p>First off, you&#8217;ll see there are now two parallel paths, separated by a little dotted line down the middle. That&#8217;s showing the target model on one GPU and the draft model on another GPU. So they can work simultaneously.</p><p>Now the sequence of events is this:</p><ol><li><p>The target produces a token, shown in green</p></li><li><p>The draft model returns a few speculated tokens</p></li><li><p>The target model starts verifying. Relatively speaking, that&#8217;s gonna take a while</p></li><li><p>On the draft side, we start preparing contingencies, shown as this kinda branching thing with tones of red and yellow. Specifically, at each token position, we are guessing what <em>bonus</em> tokens the target will produce in case the next <em>speculated</em> token gets rejected. So even for the first token, the green one from the target, we could get the first speculated token rejected. So now we have to be prepared for whatever bonus token in yellow the target model will produce</p></li><li><p>Since we have our bonus tokens predicted, we might as well speculate on what comes after <em>those</em>. Again, that&#8217;s the chains in red. So as long at the actual bonus token is one we anticipated and speculated on, we&#8217;re ready to immediately return that new speculated sequence</p></li><li><p>In this example, the target model verified only the first speculated token, then it produced a bonus token, and that bonus token was one of the three we anticipated. So the draft model immediately returned a new speculated sequence, in that medium shade of red. It&#8217;s a little hard to see, but in the tree thing they bolded the line showing the sequence of events</p></li></ol><p>That&#8217;s basically it! You now understand the core concept of SSD. Now we look at optimization and 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_!woV7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!woV7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg 424w, https://substackcdn.com/image/fetch/$s_!woV7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg 848w, https://substackcdn.com/image/fetch/$s_!woV7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!woV7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!woV7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg" width="728" height="538.9090909090909" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:684,&quot;width&quot;:924,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!woV7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg 424w, https://substackcdn.com/image/fetch/$s_!woV7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg 848w, https://substackcdn.com/image/fetch/$s_!woV7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!woV7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9f5535d-4464-4b47-8a26-3806440a2bde_924x684.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So the big catch on this method is that you have to guess the bonus token, or at least guess it enough of the time that your extra effort isn&#8217;t wasted.</p><p>On its face, that might seem tough, since the bonus token can in theory be any token in the vocabulary. But of course in practice, it&#8217;s not a random choice, and the whole idea of a draft model is it knows how to make reasonable guesses at what the target model will say.</p><p>As we know, LLMs actually produce a distribution of tokens, so we have a straightforward way to guess bonus tokens from the start: pick the most likely token in the distribution as the one to speculate, and save a few others for your guesses at the bonus token, in case the speculated token was wrong.</p><p>On the surface that seems fine. But because of how verification works, it&#8217;s actually a big problem if your other guesses are overconfident, which they tend to be for draft models. Intuitively, since draft models are much smaller than target models, draft model distributions tend to be smaller and thus put a lot of probability on the few tokens they think could be right. By contrast, the smarter target models have wider distributions, accounting for genuinely different thoughts but also things like richer vocab.</p><p>So one key to making this work is to fiddle with the raw distributions of the draft model to spread probabilities out more, take out that overconfidence and just hedge a bit. That makes your bonus tokens a better safety net.</p><p>The other optimization they work on is how much speculating to do, and where exactly to do it. Like if you had all the time in the world, you would pick tons of bonus tokens at every position in the speculation. But in reality we only have the time it takes for the target model to verify, so the draft model needs to make the best use of it. How exactly they figure out the optimal number of bonus tokens per position is too far in the weeds for this paper, but you can see in the graphic that different positions have different numbers.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IvD0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IvD0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!IvD0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!IvD0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!IvD0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IvD0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg" width="728" height="695.5305164319249" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:814,&quot;width&quot;:852,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!IvD0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg 424w, https://substackcdn.com/image/fetch/$s_!IvD0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg 848w, https://substackcdn.com/image/fetch/$s_!IvD0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!IvD0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14a12b6f-555d-4dd2-87e6-e3d5a0167838_852x814.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Okay, now let&#8217;s look at performance. Our target model here is Llama 3.1 70B, and the draft model is Llama 3.2 1B.</p><p>Here they compare three methods of decoding, of producing tokens:</p><ol><li><p>Autoregressive, which is the baseline of just one token at a time</p></li><li><p>Speculative decoding, which runs draft and target models in serial</p></li><li><p>Speculative speculative decoding, which runs draft and target models in parallel</p></li></ol><p>As you&#8217;d expect, SSD wins out, at 4x the speed of AR, and almost twice the speed of SD when using vLLM, which is a very popular LLM server program. SGLang is a relative newcomer and apparently does better with SD than vLLM does, but still, SSD is about a third better.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!X7Vx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!X7Vx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg 424w, https://substackcdn.com/image/fetch/$s_!X7Vx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg 848w, https://substackcdn.com/image/fetch/$s_!X7Vx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!X7Vx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!X7Vx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg" width="728" height="390.29213483146066" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:668,&quot;width&quot;:1246,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!X7Vx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg 424w, https://substackcdn.com/image/fetch/$s_!X7Vx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg 848w, https://substackcdn.com/image/fetch/$s_!X7Vx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!X7Vx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fed2f72e5-191a-4e9f-ab5a-6384db86c343_1246x668.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>It&#8217;s important to note that the efficacy of speculative decoding, and other techniques like MTP, vary by domain and difficulty.</p><p>Like a very easy programming problem is gonna be super predictable, because it has lots of structured language and the draft model&#8217;s guesses are gonna be pretty good, because the problem is easy and because programming is a very common use of LLMs.</p><p>By contrast, SD will probably not work that well on high-minded creative writing. The draft model is gonna have bad guesses, and there&#8217;s just not nearly as much of that stuff in the training data in the first place.</p><p>So to that end, it&#8217;s important to measure speed gains on different benchmarks. Here we have one code, two chat, and one math benchmark, respectively. As we would expect, the programming and math benchmarks show higher speed gains.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DJlW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DJlW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg 424w, https://substackcdn.com/image/fetch/$s_!DJlW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg 848w, https://substackcdn.com/image/fetch/$s_!DJlW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!DJlW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DJlW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg" width="728" height="233.4747474747475" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:508,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!DJlW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg 424w, https://substackcdn.com/image/fetch/$s_!DJlW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg 848w, https://substackcdn.com/image/fetch/$s_!DJlW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!DJlW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e859763-b519-4249-8563-6eadc510e017_1584x508.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>On a related note, temperature also impacts SSD performance. It&#8217;s the same intuition, that less predictable text means a lower hit rate for SSD. Higher temperature flattens out the probability distribution and make guessing harder. That&#8217;s also why people conflate high temp with creativity, because it makes unlikely tokens relatively more likely, thus creating surprises.</p><h2>My Takeaways</h2><ul><li><p>There is simultaneously a compute shortage and compute overhang</p><ul><li><p>Lots of efforts to squeeze more performance out of existing hardware</p></li></ul></li><li><p>This is a &#8220;yes and&#8221; approach</p><ul><li><p>Innovation will continue on the other constraints (e.g. memory bandwidth)</p></li></ul></li><li><p>ML infra is still in its infancy</p><ul><li><p>People have only been serving LLMs at scale for a few years</p></li><li><p>Innovations in architecture (e.g. MoE) and inference (e.g. reasoning/TTC scaling) will present different avenues for optimization</p></li></ul></li><li><p>I am waiting for AI to discover something like this</p><ul><li><p>Anyone working on RSI will hit this stuff at some point</p></li><li><p>Great test of creativity in the wild</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Embarrassingly Simple Self-Distillation Improves Code Generation]]></title><description><![CDATA[or, How to Train Your Distribution]]></description><link>https://www.friendlypaperreview.com/p/embarrassingly-simple-self-distillation</link><guid isPermaLink="false">https://www.friendlypaperreview.com/p/embarrassingly-simple-self-distillation</guid><dc:creator><![CDATA[Tim Dingman]]></dc:creator><pubDate>Mon, 01 Jun 2026 19:19:23 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!NOZw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2604.01193" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NOZw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NOZw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NOZw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NOZw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NOZw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg" width="728" height="941.3793103448276" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:1500,&quot;width&quot;:1160,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paper&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://arxiv.org/abs/2604.01193&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Paper" title="Paper" srcset="https://substackcdn.com/image/fetch/$s_!NOZw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg 424w, https://substackcdn.com/image/fetch/$s_!NOZw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg 848w, https://substackcdn.com/image/fetch/$s_!NOZw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!NOZw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F027ba524-7698-449d-9622-36d277406153_1160x1500.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><a href="https://arxiv.org/abs/2604.01193">Paper</a>   &#183;   <a href="https://github.com/apple/ml-ssd">Repo</a></p><p><em>Originally presented as a live talk on May 27, 2026</em></p><h2>Background</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!E6AO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!E6AO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg 424w, https://substackcdn.com/image/fetch/$s_!E6AO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg 848w, https://substackcdn.com/image/fetch/$s_!E6AO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!E6AO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!E6AO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/db2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:828,&quot;width&quot;:828,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 3&quot;,&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="Slide 3" title="Slide 3" srcset="https://substackcdn.com/image/fetch/$s_!E6AO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg 424w, https://substackcdn.com/image/fetch/$s_!E6AO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg 848w, https://substackcdn.com/image/fetch/$s_!E6AO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!E6AO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb2bb392-9f8e-41df-929f-f7fa4cdac308_828x828.jpeg 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"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So to really understand this paper, we need to know a lot about how LLMs predict the next token.</p><p>We spend a lot of time talking about the three main parts of the transformer:</p><ol><li><p>Embeddings, which turn tokens into vectors</p></li><li><p>Attention, which forms a holistic understanding of the input</p></li><li><p>Feed-forward, which processes or &#8220;thinks about&#8221; that holistic understanding</p></li></ol><p>What we typically neglect though is what happens at the end of the transformer, after all N transformer blocks. What is that last step that turns the output of the last feed-forward layer into a token? The way it&#8217;s shown here, it make it seem like the last feed-forward layer just outputs tokens.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wAyM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wAyM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wAyM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wAyM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wAyM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wAyM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg" width="728" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:884,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 4&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="Slide 4" title="Slide 4" srcset="https://substackcdn.com/image/fetch/$s_!wAyM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wAyM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wAyM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wAyM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e988d47-7007-40aa-bef8-292831a69522_884x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In fact, that&#8217;s not the case. After all your transformer blocks, you need some way to turn that final transformer output into whatever it is your model is supposed to output. In the case of an LLM, that&#8217;s going to be language.</p><p>So we attach and train a language modeling head, or LM head for short. The end result of the LM head is not a <em>single</em> token, but a probability for <em>all</em> tokens in the model&#8217;s vocabulary, which usually contains around 100k tokens.</p><p>Now the vast majority of them are going to be zero or near-zero probability. But depending on the context, you could have kind of a long tail of possible outcomes. Of course in other cases it&#8217;s going to be pretty certain, like if the sentence says &#8220;The capital of France is&#8221;, the token &#8220;Paris&#8221; is gonna get 99.9% probability or something.</p><p>So that probability distribution is what the LLM produces. But how do we get from a probability distribution to a single, selected token?</p><p>There are some simple ways you could come up with, like taking the most likely one every time, or picking randomly based on their probabilities. And people do both.</p><p>But there&#8217;s a lot more to it than that. And how exactly you <em>sample</em> from this distribution can be a surprisingly big deal. So we need to take a closer look at the mechanics.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fUxq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fUxq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fUxq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fUxq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fUxq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fUxq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg" width="728" height="271.16161616161617" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:590,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 5&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="Slide 5" title="Slide 5" srcset="https://substackcdn.com/image/fetch/$s_!fUxq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fUxq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fUxq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fUxq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53d0b3f1-107f-47c8-b4a5-f2c10e00638a_1584x590.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So broadly, the knobs to twiddle for sampling from your LLM&#8217;s probability distribution are called &#8220;inference parameters&#8221;. Some other settings are inference parameters too, like the maximum number of tokens per response, but a lot of them are about shaping or sampling from the distribution at each position, each time you need a new token.</p><p>The most familiar one is temperature. If you&#8217;ve heard of it, you probably heard what it <em>impacts</em>, like creativity or predictability. That&#8217;s true, but it will serve us better to understand the math directly.</p><p>Temperature is a way to fiddle with the distribution <em>before</em> you sample it. When temperature is 1, you get the unaltered distribution, shown in the middle here. 1 is actually considered a high temperature, which might be surprising given the mathematical impact is to do nothing - like you&#8217;d naively expect that to be the baseline or neutral temperature.</p><p>The lower the temperature goes, the more uneven things get. So the most likely token gets more likely, and everything else gets less likely, sometimes dramatically so. In the extreme case, T = 0, the most likely token from the original distribution is the only token in the new distribution, so you always pick it. A lot of evals run at T = 0 because it makes results reproducible. Like if you always pick the most likely token, then given the same input you should always get the same sequence of tokens as outputs.</p><p>On the flip side, raising T past 1 flattens things out. In the extreme case where T approaches infinity, all tokens are equally likely. Practically speaking you of course would not want that, but even a temp like 1.5 shown here is considered pretty high.</p><p>You can see where the conflation of temperature and creativity comes from - if creativity means making unusual or unexpected choices, raising the temperature means choices that started unlikely are now relatively more likely.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vh1m!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vh1m!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vh1m!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vh1m!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vh1m!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vh1m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg" width="728" height="436.5040650406504" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:590,&quot;width&quot;:984,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 6&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="Slide 6" title="Slide 6" srcset="https://substackcdn.com/image/fetch/$s_!vh1m!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vh1m!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vh1m!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vh1m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F367788e4-d3f7-4e44-8309-1394a5d94b5c_984x590.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So once you have your temperature set, there are a few other ways you can alter your distribution.</p><p>One of the most common ways is to keep just the top few token choices, drop the rest, and redistribute that dropped probability equally amongst the token choices you kept. That&#8217;s called &#8220;top-k&#8221;. In this example, k=2, so we kept the top two and dropped the rest and gave their probability mass to the two we kept.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PflP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PflP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PflP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PflP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PflP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PflP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg" width="728" height="436.5040650406504" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:590,&quot;width&quot;:984,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 7&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="Slide 7" title="Slide 7" srcset="https://substackcdn.com/image/fetch/$s_!PflP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PflP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PflP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PflP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01b17e5b-e4fa-43b0-b934-8efdbe80beea_984x590.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Another common choice is top-p, where you set a cumulative probability and drop everything below that. So let&#8217;s say I picked p=0.95, meaning I want to keep adding tokens to my retained set until I cross 95% total probability. As soon as I cross that threshold, I drop the remaining tokens and again redistribute the probability mass.</p><p>You can do both by the way. Like you take your original distribution, do top-k so you only keep the top 10 or whatever, redistribute probability mass, and then do top-p. Depending on the shape of your distribution, doing one, the other, or both can make a big difference.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HQiI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HQiI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HQiI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HQiI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HQiI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HQiI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg" width="728" height="411.2153354632588" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:884,&quot;width&quot;:1565,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 8&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="Slide 8" title="Slide 8" srcset="https://substackcdn.com/image/fetch/$s_!HQiI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HQiI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HQiI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HQiI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e6c183b-9ed4-4fab-97fa-460be72919d3_1565x884.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now once you have your final distribution, after your rebalancing with temperature and truncating with top-k and top-p, you may want to characterize it, to describe it in a few metrics.</p><p>You&#8217;re likely familiar with the basic stats properties like the mean, the median, the standard deviation and so on. Maybe you even know fancier terms like skewness or kurtosis.</p><p>But for LLMs, the key metric for these next token probability distributions is the <em>entropy</em>.</p><p>The term originally comes from physics, specifically thermodynamics, where it measures disorder or randomness. From that framing it seems bad, and if you already have some baggage about the term like I once did, you&#8217;ll have to put it down for the LLM context.</p><p>The term gains a positive valence in information theory, where Claude Shannon adapted it. Here, entropy correlates with the amount of information a message carries, relative to a certain context. So for example if you have a weighted coin that always lands heads, then you&#8217;re never going to be surprised when I tell you the coin came up heads. But if I have a fair coin, then you&#8217;ll always be relatively surprised, since a priori you have no reason to believe heads vs tails. So in information theory, higher entropy is better, since it means the information is more valuable.</p><p>Let&#8217;s take that information theory understanding and apply it to LLMs. If my text so far is &#8220;The coin flip landed&#8221;, most of the probability is going to be split evenly between &#8220;heads&#8221; and &#8220;tails&#8221;, with a few other small terms like &#8220;on&#8221; or &#8220;near&#8221;. If we ignore those and just give 50% odds to &#8220;heads&#8221; and &#8220;tails&#8221;, then we get .5 for p(x). If you use base 2 for the log, which is customary, you get H = 1. The unit when using base 2 is bits, so that&#8217;s 1 bit of entropy.</p><p>If we work out the math for my example in the previous charts, we see more entropy, about 1.44 bits, since it contains more possibilities, but there is a clear favorite. If all four had the same odds, H would increase to 2 bits. If we had eight options all with the same odds, H would increase to 3 bits. Entropy is rising because we&#8217;re adding information about what could realistically happen.</p><p>Conversely, if one token had 97% odds and the rest just had 1% each, H would be about 0.24 bits, way lower than before, because the distribution would barely mean anything - you&#8217;re almost guaranteed to get the same token every time.</p><p>So we can measure the entropy at each position in our response. Some positions will have low entropy, where it was really predictable and basically guaranteed what token we would get at that position. Other positions will have high entropy, where it seems the model had a genuine choice to make and considered many viable options.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rvgB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rvgB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rvgB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rvgB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rvgB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rvgB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg" width="728" height="306.178517397882" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:556,&quot;width&quot;:1322,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 9&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="Slide 9" title="Slide 9" srcset="https://substackcdn.com/image/fetch/$s_!rvgB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rvgB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rvgB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rvgB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F806c81ae-77c9-4560-962f-da53f06e5be0_1322x556.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Entropy is important not only for measuring, but for training. In fact, for pretraining and for SFT, the entropy is how score your model!</p><p>Let me break it down. As we saw before, your model produces a distribution for the next token - what <em>it</em> thinks are the realistic tokens, <em>for</em> the given context, <em>based</em> <em>on</em> all the training data it has seen so far. In the formula above, we&#8217;re going to call the model&#8217;s distribution q, and we&#8217;re going to call the current token position x.</p><p>In addition to our model&#8217;s distribution, which we can measure and look at, there is also the <em>true</em> distribution, the likelihood of every possible next token given basically all the information in the world: all language ever spoken, the complete physical state of the person speaking it, the time of day, the weather, and so on and so on. On here, we call that p.</p><p>Of course that true distribution doesn&#8217;t concretely exist, in the sense that it can never be found and calculated. It&#8217;s more like a Platonic ideal.</p><p>But what we can do is treat any piece of training data as a <em>sample</em> from that true distribution. Like if I write an essay, that&#8217;s some real text from some combination of factors from the true distribution. So when we train on that, the model gets one particular view of the true distribution. And if we get lots of different samples, from all sorts of people and places and circumstances, we can get more and more samples from the true distribution. We&#8217;ll never fully build it, but we can keep getting closer with more data.</p><p>So when we model the true distribution, what we&#8217;re really doing is stringing all these individual discrete samples together into one smooth curve, which hopefully is close to the true distribution.</p><p>The difference between the samples of the true distribution p and our model q is the loss. And the loss has two parts: the entropy of the true distribution p, since it is changing all the time; and the distance between p and q. Those parts together form the loss. We have no influence on p of course, so loss is never zero, but we can keep trying to shrink the gap between p and q.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h2>The Paper</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KPgf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KPgf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg 424w, https://substackcdn.com/image/fetch/$s_!KPgf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg 848w, https://substackcdn.com/image/fetch/$s_!KPgf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!KPgf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KPgf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg" width="728" height="399.945" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:879,&quot;width&quot;:1600,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 11&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="Slide 11" title="Slide 11" srcset="https://substackcdn.com/image/fetch/$s_!KPgf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg 424w, https://substackcdn.com/image/fetch/$s_!KPgf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg 848w, https://substackcdn.com/image/fetch/$s_!KPgf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!KPgf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5104aaf8-7877-49d1-b9c7-b7a3056d6a55_1600x879.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This is the entire method for the paper. Hopefully some of the math looks a bit familiar, but I&#8217;ll break it down into English.</p><p>First, they take a model and use it to produce one response per prompt, with certain values for temperature, top-k, and top-p.</p><p>Then, they use those prompt-response pairs to do SFT.</p><p>Then they test the model, using potentially different values for temperature, top-k, and top-p.</p><p>That&#8217;s it! They don&#8217;t check the responses at all, there is no QA. It&#8217;s just raw synthetic data from the same model they train, with certain temperature and top-k and top-p.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DWUN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DWUN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg 424w, https://substackcdn.com/image/fetch/$s_!DWUN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg 848w, https://substackcdn.com/image/fetch/$s_!DWUN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!DWUN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DWUN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg" width="728" height="336.42424242424244" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:732,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 12&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="Slide 12" title="Slide 12" srcset="https://substackcdn.com/image/fetch/$s_!DWUN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg 424w, https://substackcdn.com/image/fetch/$s_!DWUN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg 848w, https://substackcdn.com/image/fetch/$s_!DWUN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!DWUN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f6b6f28-1f9b-457c-ad39-8bb19459749c_1584x732.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Incredibly, this works. We&#8217;re going to come back to this table of results once we understand more about <em>why</em> their method works, but for now I wanted to flash the results.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3YCm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3YCm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3YCm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3YCm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3YCm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3YCm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg" width="728" height="399.8484848484849" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:870,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 13&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="Slide 13" title="Slide 13" srcset="https://substackcdn.com/image/fetch/$s_!3YCm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3YCm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3YCm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3YCm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e4a6b90-155d-4fd8-aefa-78bd9505f56d_1584x870.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So the core insight of the paper in my view is this: some parts of a response are very predictable, while others are very uncertain.</p><p>The most illustrative domain for their insight is code. A lot of code is pretty standard, pretty formulaic, because code has lots of hard and fast rules. Like in Python here, when you define a function, you have to write &#8220;def&#8221; and then a function name with parenthesis around the arguments and then a colon. If it doesn&#8217;t look like that, you&#8217;re going to throw an error. There are lots of rules in natural language too, but almost none of them are hard and fast; natural language is famously flexible, it has artistic license and can even contain mistakes like misspellings without destroying the meaning.</p><p>Of course, since code is just a way to solve problems and one problem can have many solutions, some code is quite flexible. As the authors show here, there are many different ways to sort a list of things, and which one to pick can be a subtle matter, or may be only a matter of taste depending on the circumstances.</p><p>The authors coin two terms for the ends of this spectrum: &#8220;fork&#8221; for the uncertain cases, and &#8220;lock&#8221; for the certain ones.</p><p>As the charts illustrate, forks and locks have different needs. At a fork, the model needs to <em>explore</em>, to have lots of roughly equal next token probabilities so that it can learn better and so that minor changes to upstream context can tip it towards a different path easily. So there we would like a higher temperature.</p><p>By contrast, at a lock, the model needs to be sure. Locks have one right answer, and all other tokens in the distribution are distractors. At locks, we want low temperature.</p><p>The problem is that we can&#8217;t adjust temperature on the fly like this - it&#8217;s a parameter we provide once for the entire inference, for the entire response. In practice we end up compromising, but it&#8217;s not optimal.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0FgM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0FgM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0FgM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0FgM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0FgM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0FgM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg" width="728" height="250.02020202020202" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:544,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 14&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="Slide 14" title="Slide 14" srcset="https://substackcdn.com/image/fetch/$s_!0FgM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg 424w, https://substackcdn.com/image/fetch/$s_!0FgM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg 848w, https://substackcdn.com/image/fetch/$s_!0FgM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!0FgM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1722e8b5-2cfe-4035-85b7-171cacccd99b_1584x544.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So you might think we could just make a better rule, right? Like if the distribution looks like this, then change the temperature like that, maybe ignore the tail as defined by a certain probability, things like that. But that&#8217;s not very ML of us, right? That&#8217;s not very Bitter Lesson, putting human-engineered rules on a thing that learns. Instead, what if we could teach the model to change its distributions? After all, producing the right distribution is already what we train models to do!</p><p>What if there was some way to train models to dynamically adjust temperature, top-k, and top-p, so that we get distributions more like this - flatter at forks, more peaked at locks, and always ignoring distractors. Or if it&#8217;s not literally learning different T, k, and p values, at least learning to change distributions as if it did learn different T, k, and p.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BPHs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BPHs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BPHs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BPHs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BPHs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BPHs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg" width="728" height="377.7878787878788" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:822,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 15&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="Slide 15" title="Slide 15" srcset="https://substackcdn.com/image/fetch/$s_!BPHs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BPHs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BPHs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BPHs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd79fce81-3eef-4ae8-bfa5-fe047180bc31_1584x822.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In the interest of reducing variables, the researchers try out a much simpler model: a finite state machine (FSM). A FSM is not a transformer. It&#8217;s barely even a model. Very concretely, each node on here is a set of sixteen numbers, each representing the probability of going in one of sixteen possible directions. They call the directions &#8220;tokens&#8221; to match LLM terminology, which is why you see &#8220;tok&#8221; and then a number on all the arrows here.</p><p>The idea here is they can construct trajectories to only be made of forks and locks. Like starting from the root, tokens 0 and 1 are both viable, so there is a genuine choice to make. But then after the choice, from either Fork-A or Fork-B, there is only one right choice to make - there are three locks in a row.</p><p>The way the model operates is by selecting from its &#8220;tokens&#8221; in the same way an LLM selects from the tokens in its vocabulary: take the raw probabilities, adjust with temperature and top-k and top-p, then pick based on these final probabilities. So you&#8217;re isolating just the impacts of inference parameters and training from all the other LLM stuff, and you have this fake, tightly controlled scenario.</p><p>Importantly, you can train this FSM using cross-entropy loss on sequences of tokens, the same way you would train an LLM.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VBwO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VBwO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VBwO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VBwO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VBwO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VBwO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg" width="728" height="341.93939393939394" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:744,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 16&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="Slide 16" title="Slide 16" srcset="https://substackcdn.com/image/fetch/$s_!VBwO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg 424w, https://substackcdn.com/image/fetch/$s_!VBwO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg 848w, https://substackcdn.com/image/fetch/$s_!VBwO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!VBwO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb45ea3eb-afd1-4eb4-82d0-bc00b8e91d00_1584x744.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So what is their crazy method, what information exactly are they gonna train their toy model on?</p><p>You might <em>think</em> they can use the PASS or FAIL information. That would be perfectly reasonable, given we typically do SFT on good examples, or if you&#8217;re still in the RL mindset where we&#8217;re thinking in rewards. But that wouldn&#8217;t be teaching us anything new!</p><p>Instead, they&#8217;re just going to self-distill, to take a bunch of trajectories, whether PASS or FAIL, and train on them. The key variables to adjust are the <em>inference parameters</em>: temperature, top-k, and top-p.</p><p>What they show is that if you train on trajectories with the right inference parameters, regardless of the quality of the data, you can teach the model to shape its probabilities better.</p><p>This is what they actually observe, not just an illustrative example. For the lock nodes, the model learns to drop distractors and put more weight on the dominant token. For the fork node, the model learns to spread out more amongst the options left after truncation.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GFnv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GFnv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GFnv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GFnv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GFnv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GFnv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg" width="728" height="250.02020202020202" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:544,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 17&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="Slide 17" title="Slide 17" srcset="https://substackcdn.com/image/fetch/$s_!GFnv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg 424w, https://substackcdn.com/image/fetch/$s_!GFnv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg 848w, https://substackcdn.com/image/fetch/$s_!GFnv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!GFnv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc842dfe9-bbe1-4429-8411-f27e41afc121_1584x544.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I want to give a quick intuition on <em>why</em> this should work before we get to the empirical results.</p><p>Let&#8217;s start with self-distillation at T=1, with no truncation. All we&#8217;re doing then is getting unaltered samples from the model and reinforcing those. But since we&#8217;re not changing the samples at all, or filtering them like we would if quality were a concern, then training on them should produce no change.</p><p>However, with SSD, we specifically <em>avoid</em> T=1, and we <em>do</em> use truncation, i.e. top-k and top-p. So now the synthetic samples <em>are</em> different from what the model normally would say, so there is something to learn from.</p><p>So really SSD is just reinforcing and sharpening instincts the model already has. If the distribution looks like a lock, truncating puts even more probability on the top token, and the imbalance is already large enough that temperature shouldn&#8217;t change much. If the distribution looks like a fork, temperature spreads out probability more, but truncation ensures you don&#8217;t explore too far down the tail.</p><p>It&#8217;s not gonna help if the model is trash in the first place. And it does bank on there being some untapped potential within the model to then tap. But on the flip side, it&#8217;s embarrassingly simple and practically free compared to producing high-quality training data.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fJhW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fJhW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fJhW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fJhW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fJhW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fJhW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg" width="728" height="336.42424242424244" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:732,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 18&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="Slide 18" title="Slide 18" srcset="https://substackcdn.com/image/fetch/$s_!fJhW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg 424w, https://substackcdn.com/image/fetch/$s_!fJhW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg 848w, https://substackcdn.com/image/fetch/$s_!fJhW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!fJhW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef8c5ffa-2b4b-4803-a293-8b797e5224e8_1584x732.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now let&#8217;s take a closer look at the empirical results.</p><p>For all models they tested in basically every segment on the two version of LiveCodeBench, SSD helps. If you&#8217;re not familiar with pass@1 and pass@5, it just means how many chances a model had to get the problem right. Pass@1 measures accuracy in the way an end user would expect, like of course we want the one response we get to be correct. Pass@5 is more a reflection of model potential, like is it <em>able</em> to get the right answer.</p><p>Two trends to call out. First, within the instruct models, the smarter models benefited more. The authors don&#8217;t explain why, but I think it boils down to the whole &#8220;self-distillation&#8221; thing. Like if we think SSD&#8217;s function is to bring out the potential of the model, then smarter models likely have more potential. It&#8217;s actually pretty similar to how RLVR works, if you believe in the elicitation hypothesis, which I do. I wish they had actually done something similar here, where they measured pass@256 or some other really high number in order to see whether SSD was doing the same sort of internal optimization. We know it can&#8217;t be learning from the data in the normal way, given how this SFT data is created and how poor the quality can be, at least by traditional measures.</p><p>Second, the models generally improved more on the harder problems. Again, the authors don&#8217;t provide a direct explanation, but if we think back to the forks vs locks thing, we&#8217;d expect harder problems to have more forks. Like on an easy problem, not everything is a lock of course, but the distribution of positions is gonna be more on the lock side. I imagine for harder problems there will be way more forks, so if SSD helps with forks and locks, you can see why it might help with harder problems more.</p><p>Of course this doesn&#8217;t scale indefinitely; at some point, a problem is just impossibly hard for a model, and no amount of training is gonna help. So that might be starting to bite on the hard problems for Qwen3-4B for example.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kuDI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kuDI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg 424w, https://substackcdn.com/image/fetch/$s_!kuDI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg 848w, https://substackcdn.com/image/fetch/$s_!kuDI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!kuDI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kuDI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg" width="728" height="370.66030230708037" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:640,&quot;width&quot;:1257,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 19&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="Slide 19" title="Slide 19" srcset="https://substackcdn.com/image/fetch/$s_!kuDI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg 424w, https://substackcdn.com/image/fetch/$s_!kuDI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg 848w, https://substackcdn.com/image/fetch/$s_!kuDI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!kuDI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23c3b287-6dc7-4600-82ee-d14d3ab307cc_1257x640.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To drive home the point about how the training data isn&#8217;t operating in the conventional way, they really dial up the temperature on some of it. As you can see on the left, a temperature of 2 can lead to complete gibberish, let alone unrunnable code.</p><p>And yet, if you train on this data, where 62% of outputs contain no extractable code at all, you still improve.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QYid!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QYid!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg 424w, https://substackcdn.com/image/fetch/$s_!QYid!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg 848w, https://substackcdn.com/image/fetch/$s_!QYid!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!QYid!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QYid!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg" width="728" height="403.52525252525254" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:878,&quot;width&quot;:1584,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Slide 20&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="Slide 20" title="Slide 20" srcset="https://substackcdn.com/image/fetch/$s_!QYid!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg 424w, https://substackcdn.com/image/fetch/$s_!QYid!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg 848w, https://substackcdn.com/image/fetch/$s_!QYid!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!QYid!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602efb1f-0339-4142-a424-16ee2f4c6edb_1584x878.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To give you an idea of how much better SSD is compared to just picking the optimal temperature, they do a sweep over temperature values on different benchmarks and models. In every case, the best temperature for the untrained model is worse than the performance of the trained model.</p><p>I also think this graph is helpful for providing an idea of temperature&#8217;s impact. 0.5 to 1.4 is a pretty big range, but for most cases the difference isn&#8217;t very big, and the big differences themselves fall in unpredictable patterns. Like why is there a seven-point drop from 0.9 to 1 for the bottom-right graph? Very strange.</p><h2>My Takeaways</h2><ul><li><p>This is the elicitation hypothesis but with trash data</p><ul><li><p>How well it works depends on how much potential the model has left to bring out</p></li></ul></li><li><p>Surely there is a cap to this work</p></li><li><p>The result is more instructive than useful</p></li><li><p>What are we losing?</p><ul><li><p>Leans more into priors</p></li><li><p>So the model may be worse past a certain difficulty - just sharpens the boundary</p></li></ul></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.friendlypaperreview.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">One ML paper a week, accessible to non-ML audiences. Subscribe to FPR today</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>