<?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[Everything Bagel]]></title><description><![CDATA[Bagel Labs is a distributed machine learning research lab.]]></description><link>https://blog.bagel.com</link><image><url>https://substackcdn.com/image/fetch/$s_!mmM_!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3ebd2f8-e40d-4c58-a917-e8e161d8df5c_864x864.png</url><title>Everything Bagel</title><link>https://blog.bagel.com</link></image><generator>Substack</generator><lastBuildDate>Sun, 14 Jun 2026 05:49:59 GMT</lastBuildDate><atom:link href="https://blog.bagel.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Bagel Labs]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[team@bagel.com]]></webMaster><itunes:owner><itunes:email><![CDATA[team@bagel.com]]></itunes:email><itunes:name><![CDATA[Bagel Labs]]></itunes:name></itunes:owner><itunes:author><![CDATA[Bagel Labs]]></itunes:author><googleplay:owner><![CDATA[team@bagel.com]]></googleplay:owner><googleplay:email><![CDATA[team@bagel.com]]></googleplay:email><googleplay:author><![CDATA[Bagel Labs]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Introducing Paris 2.0]]></title><description><![CDATA[A Decentralized Diffusion Model for Video Generation]]></description><link>https://blog.bagel.com/p/paris2</link><guid isPermaLink="false">https://blog.bagel.com/p/paris2</guid><dc:creator><![CDATA[Ali Rouzbayani]]></dc:creator><pubDate>Thu, 28 May 2026 16:53:47 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!t2lN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Today we&#8217;re releasing <strong>Paris 2.0</strong>, the first video generation model pre-trained across heterogeneous GPU types distributed across regions.</p><p>Three things make Paris 2.0 unique.</p><ol><li><p>The model was trained on a deeply <strong>heterogeneous pool of GPUs</strong> across generations and vendors.</p></li><li><p>Paris 2.0 training ran across <strong>geographically distributed </strong>regions and clouds, instead of shared datacenters.</p></li><li><p>In low-resolution text-to-video training, against a monolithic baseline model at a <strong>matched total compute budget</strong>, Paris 2.0 cuts Fr&#233;chet Video Distance (FVD) from <strong>561.04 &#8594; 279.01</strong> - a <strong>~2.0&#215; improvement</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!t2lN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!t2lN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png 424w, https://substackcdn.com/image/fetch/$s_!t2lN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png 848w, https://substackcdn.com/image/fetch/$s_!t2lN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png 1272w, https://substackcdn.com/image/fetch/$s_!t2lN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!t2lN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png" width="1456" height="706" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:706,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paris 2.0 relative improvement over monolithic baseline&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&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="Paris 2.0 relative improvement over monolithic baseline" title="Paris 2.0 relative improvement over monolithic baseline" srcset="https://substackcdn.com/image/fetch/$s_!t2lN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png 424w, https://substackcdn.com/image/fetch/$s_!t2lN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png 848w, https://substackcdn.com/image/fetch/$s_!t2lN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png 1272w, https://substackcdn.com/image/fetch/$s_!t2lN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00fccc33-0a3b-401e-8eb0-e84f8eb8010e_1980x960.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Relative improvement over the monolithic baseline, where a taller bar marks a larger gain. Paris 2.0 roughly halves FVD and lifts CLIP text-video and aesthetic scores.</figcaption></figure></div><h3>Samples</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9Itm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9Itm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png 424w, https://substackcdn.com/image/fetch/$s_!9Itm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png 848w, https://substackcdn.com/image/fetch/$s_!9Itm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png 1272w, https://substackcdn.com/image/fetch/$s_!9Itm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9Itm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png" width="1094" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8128e382-95d3-46de-a190-71803a31165c_1094x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1094,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paris 2.0 generated talking-head video frames&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&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="Paris 2.0 generated talking-head video frames" title="Paris 2.0 generated talking-head video frames" srcset="https://substackcdn.com/image/fetch/$s_!9Itm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png 424w, https://substackcdn.com/image/fetch/$s_!9Itm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png 848w, https://substackcdn.com/image/fetch/$s_!9Itm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png 1272w, https://substackcdn.com/image/fetch/$s_!9Itm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8128e382-95d3-46de-a190-71803a31165c_1094x256.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption">A woman with long, blond, wavy hair is speaking directly to the camera. She is wearing a red sweater. While talking, her facial expressions changing as she speaks. The background is a cluttered room.</figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ecAQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ecAQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png 424w, https://substackcdn.com/image/fetch/$s_!ecAQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png 848w, https://substackcdn.com/image/fetch/$s_!ecAQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png 1272w, https://substackcdn.com/image/fetch/$s_!ecAQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ecAQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png" width="1094" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1094,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paris 2.0 generated paper-craft video frames&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&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="Paris 2.0 generated paper-craft video frames" title="Paris 2.0 generated paper-craft video frames" srcset="https://substackcdn.com/image/fetch/$s_!ecAQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png 424w, https://substackcdn.com/image/fetch/$s_!ecAQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png 848w, https://substackcdn.com/image/fetch/$s_!ecAQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png 1272w, https://substackcdn.com/image/fetch/$s_!ecAQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F692e0005-991e-4bfa-ae82-9a106c0ce6a9_1094x256.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption">A person&#8217;s hands performing a paper-folding craft on a green cutting mat with a grid. The person uses a black marker to make a small mark on a piece of purple paper that has already been folded into a specific shape.</figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Rzga!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Rzga!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png 424w, https://substackcdn.com/image/fetch/$s_!Rzga!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png 848w, https://substackcdn.com/image/fetch/$s_!Rzga!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png 1272w, https://substackcdn.com/image/fetch/$s_!Rzga!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Rzga!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png" width="1094" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:1094,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Paris 2.0 generated slime video frames&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&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="Paris 2.0 generated slime video frames" title="Paris 2.0 generated slime video frames" srcset="https://substackcdn.com/image/fetch/$s_!Rzga!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png 424w, https://substackcdn.com/image/fetch/$s_!Rzga!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png 848w, https://substackcdn.com/image/fetch/$s_!Rzga!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png 1272w, https://substackcdn.com/image/fetch/$s_!Rzga!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F50bb6ebb-3152-4d6b-90e4-044b109b39e5_1094x256.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption">A pair of hands interacting with a translucent, gelatinous slime. The slime is a vibrant blue color. The hands are seen stretching, squeezing, and folding the slime, demonstrating its gooey and pliable texture.</figcaption></figure></div><h3>Get Started</h3></li></ol><ul><li><p>&#128196; &#8594; <strong><a href="https://arxiv.org/abs/2605.26064">Read the Full Technical Report on arXiv</a></strong></p></li><li><p>&#129303; &#8594; <strong><a href="https://huggingface.co/bageldotcom/paris2">Download Weights on Hugging Face</a></strong></p><p></p></li></ul>]]></content:encoded></item><item><title><![CDATA[Heterogeneous Decentralized Diffusion Models]]></title><description><![CDATA[Training free merge of heterogeneous objective diffusion ensemble]]></description><link>https://blog.bagel.com/p/heterogeneous-decentralized-diffusion</link><guid isPermaLink="false">https://blog.bagel.com/p/heterogeneous-decentralized-diffusion</guid><dc:creator><![CDATA[Gin Jiang]]></dc:creator><pubDate>Wed, 11 Mar 2026 15:16:10 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!YZ-E!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YZ-E!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YZ-E!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png 424w, https://substackcdn.com/image/fetch/$s_!YZ-E!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png 848w, https://substackcdn.com/image/fetch/$s_!YZ-E!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png 1272w, https://substackcdn.com/image/fetch/$s_!YZ-E!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YZ-E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png" width="1456" height="667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:667,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:557310,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YZ-E!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png 424w, https://substackcdn.com/image/fetch/$s_!YZ-E!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png 848w, https://substackcdn.com/image/fetch/$s_!YZ-E!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png 1272w, https://substackcdn.com/image/fetch/$s_!YZ-E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4634f5b1-debb-4713-b809-b768ca1958ee_1936x887.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Based on Bagel Labs' CVPR 2026 paper on Heterogeneous Decentralized Diffusion Models: <a href="https://arxiv.org/abs/2603.06741">arxiv link</a></em></p><div><hr></div><p>Decentralized Diffusion Models (DDMs) train independent experts on disjoint data partitions and combine them at inference time. Existing DDM frameworks assume all experts share the same training objective. We relax this constraint. In our setup, some experts train with DDPM (&#949;-prediction) and others with Flow Matching (velocity-prediction), then unify at inference through a deterministic conversion into a common velocity space. <em>No retraining, no fine-tuning, <strong>no coordination</strong> during training.</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_!AgqY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AgqY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png 424w, https://substackcdn.com/image/fetch/$s_!AgqY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png 848w, https://substackcdn.com/image/fetch/$s_!AgqY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png 1272w, https://substackcdn.com/image/fetch/$s_!AgqY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AgqY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png" width="1456" height="451" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d7314350-4419-4818-9944-081effcc521e_1822x564.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:451,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:173379,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!AgqY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png 424w, https://substackcdn.com/image/fetch/$s_!AgqY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png 848w, https://substackcdn.com/image/fetch/$s_!AgqY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png 1272w, https://substackcdn.com/image/fetch/$s_!AgqY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7314350-4419-4818-9944-081effcc521e_1822x564.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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;"><em>Heterogeneous experts trained independently on single GPUs, unified at inference through velocity conversion.</em></p><p>Under aligned inference settings, this heterogeneous ensemble (2 DDPM + 6 FM experts) achieves better FID (11.88 vs. 12.45) and higher intra-prompt diversity (LPIPS 0.631 vs. 0.617) than a homogeneous ensemble of 8 FM experts. Relative to the training scale reported for prior DDM work, our framework reduces compute from 1176 to 72 A100-days (16&#215;) and data from 158M to 11M images (14&#215;), with each expert requiring only 24&#8211;48 GB VRAM on a single GPU, making decentralized diffusion training accessible on commodity hardware.</p><h2>Background: Decentralized Flow Matching</h2><p>DDMs decompose a generative model into K experts, each trained on a semantically coherent subset of the data. Following <a href="https://arxiv.org/abs/2501.05450">prior DDM work</a>, the marginal velocity field is expressed as a weighted combination of per-expert conditional flows:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;u_t(x_t) = \\sum_{k=1}^{K} p_t(k \\mid x_t) \\cdot u_t^{(k)}(x_t)&quot;,&quot;id&quot;:&quot;SCNCKAZAOF&quot;}" data-component-name="LatexBlockToDOM"></div><p>where u&#8348;&#8317;&#7503;&#8318;(x&#8348;) is the velocity predicted by expert k trained on cluster S&#8342;, and p&#8348;(k | x&#8348;) is a posterior weight from a learned router.</p><h3>Training</h3><p>We partition the dataset into K semantic clusters using DINOv2 features (1024-dimensional representations with hierarchical k-means). This produces semantically coherent partitions, e.g. portraits, landscapes, architecture. Each expert &#952;&#8342; trains exclusively on its assigned cluster S&#8342; with zero communication between experts. No shared parameters, no gradient synchronization, no activation passing.</p><h3>Routing</h3><p>A lightweight router (DiT-B, 129M parameters) learns to predict cluster assignments from noisy inputs:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;p_\\phi(k \\mid x_t, t) = \\mathrm{softmax}(\\mathrm{Router}_\\phi(x_t, t))_k&quot;,&quot;id&quot;:&quot;XPENSRBJOT&quot;}" data-component-name="LatexBlockToDOM"></div><p>trained with cross-entropy loss against ground-truth cluster labels. At inference, the router dynamically selects and weights experts based on the current noisy state and timestep. We support three selection modes: Top-1 (single best expert), Top-K (weighted ensemble of K highest-probability experts), and Full Ensemble (all experts weighted by router probabilities). As shown in <a href="https://arxiv.org/abs/2602.02685">our prior work</a>, Top-2 routing consistently outperforms Full Ensemble because sparse routing maintains expert-data alignment, selecting experts that are in-distribution for the current denoising state.</p><h2>Heterogeneous Objectives</h2><p>Previous DDM work requires all experts to share the same training objective. This is a coordination requirement that may be impractical when contributors operate independently. We remove this constraint.</p><h3>Two objectives, different emphasis</h3><p>We train n experts with Flow Matching loss and m experts with DDPM loss. DDPM experts predict the noise &#949; added during the forward process:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\mathcal{L}_{\\mathrm{DDPM}}^{(k)} = \\mathbb{E}_{x_0 \\in S_k, \\epsilon, t} \\left[ \\|\\epsilon_{\\theta_k}(\\alpha_t x_0 + \\sigma_t \\epsilon, t) - \\epsilon\\|^2 \\right]&quot;,&quot;id&quot;:&quot;BLXPNFFZDL&quot;}" data-component-name="LatexBlockToDOM"></div><p>Flow Matching experts predict the velocity field directly:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\mathcal{L}_{\\mathrm{FM}}^{(k)} = \\mathbb{E}_{x_0 \\in S_k, \\epsilon, t} \\left[ \\|v_{\\theta_k}(x_t, t) - (\\epsilon - x_0)\\|^2 \\right]&quot;,&quot;id&quot;:&quot;OQSDUTGFLZ&quot;}" data-component-name="LatexBlockToDOM"></div><p>Here x&#8320; &#8712; S&#8342; means expert k trains only on clean samples from its assigned cluster S&#8342;, &#949; ~ N(0, I) is Gaussian noise, t is the sampled timestep, and &#945;&#8348;, &#963;&#8348; are the schedule coefficients controlling signal and noise strength, x&#8348; = (1-t)x&#8320; + t&#949; is the linear interpolation between clean data and noise.</p><p>Both objectives model the same generative process through different parameterizations. But they weigh errors differently across timesteps, and this difference is the mechanism behind heterogeneous ensembles.</p><h3>Complementary loss weighting</h3><p>We can write both losses in terms of the squared clean-sample estimation error |x&#770;&#8320; - x&#8320;|&#178; (the detailed derivation can be read from <a href="https://arxiv.org/abs/2107.00630">variational diffusion models</a>). Under a variance-preserving schedule (&#945;&#8348;&#178; + &#963;&#8348;&#178; = 1):</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bzo3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bzo3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png 424w, https://substackcdn.com/image/fetch/$s_!bzo3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png 848w, https://substackcdn.com/image/fetch/$s_!bzo3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png 1272w, https://substackcdn.com/image/fetch/$s_!bzo3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bzo3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png" width="549" height="178.425" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:390,&quot;width&quot;:1200,&quot;resizeWidth&quot;:549,&quot;bytes&quot;:26489,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!bzo3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png 424w, https://substackcdn.com/image/fetch/$s_!bzo3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png 848w, https://substackcdn.com/image/fetch/$s_!bzo3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png 1272w, https://substackcdn.com/image/fetch/$s_!bzo3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2614d385-6a6e-49a4-9af4-d1ce504bfb78_1200x390.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>The ratio between them is:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\frac{w_v(t)}{w_\\epsilon(t)} = \\frac{1}{\\alpha_t^2}&quot;,&quot;id&quot;:&quot;GUSDKPXINP&quot;}" data-component-name="LatexBlockToDOM"></div><p>Here w_&#949;(t) and w&#7525;(t) are the effective per-timestep weights after rewriting each loss in terms of clean-sample estimation error. Since &#945;&#8348; &#8804; 1 and decays toward 0 at high noise, this ratio diverges. Velocity-prediction experts receive relatively stronger gradients at high-noise timesteps (global structure), while &#949;-prediction experts are relatively upweighted at low noise (fine details). In the paper, we derive this under a variance-preserving schedule and then note that linear interpolation recovers the same 1 / &#945;&#8348;&#178; structure. So the complementary weighting pattern holds both for the VP analysis and for the linear FM path used 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_!8898!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8898!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png 424w, https://substackcdn.com/image/fetch/$s_!8898!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png 848w, https://substackcdn.com/image/fetch/$s_!8898!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png 1272w, https://substackcdn.com/image/fetch/$s_!8898!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8898!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png" width="1456" height="836" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/33d7f880-730f-485d-964b-f176b13a2297_1467x842.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:836,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:167980,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8898!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png 424w, https://substackcdn.com/image/fetch/$s_!8898!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png 848w, https://substackcdn.com/image/fetch/$s_!8898!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png 1272w, https://substackcdn.com/image/fetch/$s_!8898!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33d7f880-730f-485d-964b-f176b13a2297_1467x842.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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;"><em>DDPM concentrates learning signal near clean images. Flow Matching emphasizes high-noise timesteps. Their blind spots are complementary.</em></p><p>The implication is that each objective has a &#8220;blind spot&#8221; region where its effective weight is relatively low, and these blind spots are complementary. Where DDPM under-trains (high noise), FM trains hardest. Where FM under-trains (low noise), DDPM concentrates its signal. Mixing both in an ensemble lets each objective cover the other&#8217;s blind spots, providing more uniform coverage across the full denoising trajectory.</p><h2>Inference-Time Unification</h2><p>The central technical challenge is that DDPM experts output noise predictions &#949;_&#952;(x&#8348;, t) while FM experts output velocity predictions v_&#952;(x&#8348;, t). These live in different spaces. You cannot average them directly.</p><p>We unify all expert predictions into a common velocity space through a deterministic, schedule-aware conversion. The derivation proceeds in three steps.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LVjP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LVjP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png 424w, https://substackcdn.com/image/fetch/$s_!LVjP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png 848w, https://substackcdn.com/image/fetch/$s_!LVjP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png 1272w, https://substackcdn.com/image/fetch/$s_!LVjP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LVjP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png" width="728" height="398" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eff86531-af1a-4098-bd69-4991dca738df_3056x1671.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:796,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:365730,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LVjP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png 424w, https://substackcdn.com/image/fetch/$s_!LVjP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png 848w, https://substackcdn.com/image/fetch/$s_!LVjP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png 1272w, https://substackcdn.com/image/fetch/$s_!LVjP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feff86531-af1a-4098-bd69-4991dca738df_3056x1671.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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;"><em>The conversion pipeline: DDPM noise predictions are converted to velocity through deterministic algebra. FM predictions pass through unchanged.</em></p><h3>Step 1: Recover the clean-image estimate</h3><p>From the DDPM forward process x&#8348; = &#945;&#8348; x&#8320; + &#963;&#8348; &#949;, invert the linear map using the model&#8217;s noise prediction:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\hat{x}_0 = \\frac{x_t - \\sigma_t \\epsilon_\\theta(x_t, t)}{\\alpha_t}&quot;,&quot;id&quot;:&quot;YAGNGYWTDA&quot;}" data-component-name="LatexBlockToDOM"></div><h3>Step 2: Derive the velocity</h3><p>Treating x&#770;&#8320; and &#949;_&#952; as fixed at their current-timestep values defines a deterministic path x&#771;&#8348; = &#945;&#8348; x&#770;&#8320; + &#963;&#8348; &#949;_&#952;. Differentiating with respect to t:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;v(x_t, t) = \\frac{d\\alpha_t}{dt}\\hat{x}_0 + \\frac{d\\sigma_t}{dt}\\epsilon_\\theta(x_t, t)&quot;,&quot;id&quot;:&quot;BEKSJBMRWD&quot;}" data-component-name="LatexBlockToDOM"></div><p>Under linear interpolation (&#945;&#8348; = 1-t, &#963;&#8348; = t), the schedule derivatives are -1 and +1, so this simplifies to:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;v(x_t, t) = \\epsilon_\\theta(x_t, t) - \\hat{x}_0&quot;,&quot;id&quot;:&quot;UBBGAMYHCT&quot;}" data-component-name="LatexBlockToDOM"></div><p>This is exactly the FM velocity target v = &#949; - x&#8320;.</p><h3>Step 3: Combine</h3><p>FM experts already output velocity, so they pass through unchanged. All predictions are now in the same space. The router assigns per-expert weights, and we take a weighted combination to form the ensemble field u&#8348;, which drives a standard ODE integration step (x_{t&#8722;&#916;t} = x&#8348; &#8722; u&#8348; &#183; &#916;t).</p><h3>Numerical stability</h3><p>The conversion requires dividing by &#945;&#8348;, which approaches zero at high noise. We apply three safeguards: (1) clamp x&#770;&#8320; to [-20, 20] for VAE latents, (2) use &#945;_safe = max(&#945;&#8348;, 0.01) in the denominator, and (3) apply adaptive velocity scaling that dampens converted predictions at elevated noise levels where schedule derivatives become large. These are simple clamps with no learned parameters.</p><p>The entire conversion is closed-form algebra. No learned components, no fine-tuning, no additional training of any kind.</p><h2>Efficient Training</h2><p>Prior DDM work required 1176 A100-days on 158M images. We achieve competitive quality with 72 A100-days on 11M images, a 16&#215; reduction in compute and 14&#215; in data. Three techniques enable this.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GRcx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GRcx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png 424w, https://substackcdn.com/image/fetch/$s_!GRcx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png 848w, https://substackcdn.com/image/fetch/$s_!GRcx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png 1272w, https://substackcdn.com/image/fetch/$s_!GRcx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GRcx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png" width="676" height="637.9285714285714" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1374,&quot;width&quot;:1456,&quot;resizeWidth&quot;:676,&quot;bytes&quot;:247656,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GRcx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png 424w, https://substackcdn.com/image/fetch/$s_!GRcx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png 848w, https://substackcdn.com/image/fetch/$s_!GRcx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png 1272w, https://substackcdn.com/image/fetch/$s_!GRcx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d44a3fa-269a-4c03-ba01-291556ffbd91_1563x1475.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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;"><em>Resource comparison: our approach requires a fraction of the compute and data of prior DDM work.</em></p><h3>Pretrained checkpoint conversion</h3><p>We initialize experts from ImageNet-pretrained DiT checkpoints. Patch embeddings, positional embeddings, and all transformer blocks are fully transferred. Only the final projection layer (which differs between &#949;- and velocity-prediction targets) and the text projection (new modality) are reinitialized. Class-conditional embeddings from ImageNet pretraining are removed.</p><p>A key technical detail is timestep compatibility. DiT models expect discrete timesteps t &#8712; {0, 1, &#8230;, 999} while Flow Matching uses continuous t &#8712; [0, 1]. We handle this with runtime conversion (t_DiT = round(999t)) rather than modifying pretrained weights, preserving the learned timestep embedding structure.</p><p>Converted checkpoints reach validation loss parity 1.2&#215; faster than training from scratch.</p><h3>Efficient architecture</h3><p>Each expert uses DiT with <a href="https://arxiv.org/abs/2310.00426">PixArt-&#945;</a>&#8217;s AdaLN-Single conditioning. Rather than computing adaptive layer normalization parameters with per-block MLPs, a single global MLP produces all modulation signals:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\mathbf{c} = \\mathrm{MLP}_{\\mathrm{global}}(\\tau(t)) \\in \\mathbb{R}^{6Ld}&quot;,&quot;id&quot;:&quot;OGWIVUBNTC&quot;}" data-component-name="LatexBlockToDOM"></div><p>reshaped into per-block slices plus learned per-block embeddings E&#7526;. This reduces parameters by 30% (891M to 605M for DiT-XL/2) while maintaining generation quality.</p><h3>True isolation</h3><p>Each expert trains on its own semantic cluster on a single GPU requiring 20&#8211;48GB VRAM. No gradient synchronization, no activation passing, no pipeline coordination, no parameter servers. This is not data parallelism with relaxed communication. There is literally zero inter-expert communication during training.</p><h2>Experiments</h2><p>We train on 11M LAION-Aesthetics images. For a high-quality subset of 3.9M images, we use LLaVA to generate improved captions. We evaluate using FID-50K on a held-out 50K test set. We train at two scales: DiT-B/2 (129M parameters per expert) and DiT-XL/2 (605M parameters per expert).</p><p>Our standard configuration uses K=8 experts. Experts 0 and 3 train with DDPM objectives (assigned to clusters containing high-fidelity subjects where &#949;-prediction excels at detail preservation). The remaining six use Flow Matching.</p><h3>Monolithic versus decentralized</h3><p>We first validate that decentralized training works. Using DiT-B/2 experts trained from scratch on LAION-Art (3.9M images), all with Flow Matching:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gdwF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gdwF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png 424w, https://substackcdn.com/image/fetch/$s_!gdwF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png 848w, https://substackcdn.com/image/fetch/$s_!gdwF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png 1272w, https://substackcdn.com/image/fetch/$s_!gdwF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gdwF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png" width="488" height="252.87272727272727" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/db04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:570,&quot;width&quot;:1100,&quot;resizeWidth&quot;:488,&quot;bytes&quot;:36217,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!gdwF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png 424w, https://substackcdn.com/image/fetch/$s_!gdwF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png 848w, https://substackcdn.com/image/fetch/$s_!gdwF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png 1272w, https://substackcdn.com/image/fetch/$s_!gdwF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb04063b-225f-4132-94d8-e9c8eb0440ba_1100x570.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Top-2 achieves 22.60, outperforming the monolithic baseline by 23.7%. Full Ensemble underperforms dramatically (47.89), consistent with our prior finding that indiscriminate combination introduces prediction conflicts from out-of-distribution experts. Selective expert activation is essential.</p><h3>Homogeneous versus heterogeneous</h3><p>To isolate the effect of objective heterogeneity, we compare homogeneous and heterogeneous 8-expert DiT-XL/2 models under matched inference settings.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FuzF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FuzF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png 424w, https://substackcdn.com/image/fetch/$s_!FuzF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png 848w, https://substackcdn.com/image/fetch/$s_!FuzF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png 1272w, https://substackcdn.com/image/fetch/$s_!FuzF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FuzF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png" width="1456" height="506" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:506,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:63517,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FuzF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png 424w, https://substackcdn.com/image/fetch/$s_!FuzF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png 848w, https://substackcdn.com/image/fetch/$s_!FuzF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png 1272w, https://substackcdn.com/image/fetch/$s_!FuzF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62c6bf77-4986-44dd-8658-4428d81cb1e1_1639x570.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Under aligned settings (first and last rows), heterogeneous experts improve FID from 12.45 to 11.88. Scaling from 1 to 2 DDPM experts improves FID from 19.75 to 15.09 under the conversion setting, suggesting the optimal DDPM:FM ratio deserves careful tuning per domain.</p><p>For diversity, we measure intra-prompt LPIPS by generating 10 images per prompt for 100 held-out prompts. Heterogeneous experts achieve 0.631 (&#177; 0.078) vs. homogeneous 0.617 (&#177; 0.074). Objective heterogeneity produces more varied outputs for identical prompts.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!f5wf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!f5wf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png 424w, https://substackcdn.com/image/fetch/$s_!f5wf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png 848w, https://substackcdn.com/image/fetch/$s_!f5wf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png 1272w, https://substackcdn.com/image/fetch/$s_!f5wf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!f5wf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png" width="1440" height="370" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:370,&quot;width&quot;:1440,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:57681,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!f5wf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png 424w, https://substackcdn.com/image/fetch/$s_!f5wf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png 848w, https://substackcdn.com/image/fetch/$s_!f5wf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png 1272w, https://substackcdn.com/image/fetch/$s_!f5wf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fd51f34-7191-49b8-a51f-5f5c32c64eed_1440x370.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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;"><em>Heterogeneous ensembles improve both image quality (lower FID) and output diversity (higher LPIPS) over homogeneous baselines.</em></p><h3>Conversion quality</h3><p>We evaluate the DDPM &#8594; FM conversion in isolation, using experts trained on the same data cluster (to isolate objective effects from data distribution differences). Both DDPM and FM experts use DiT-XL/2 with identical hyperparameters.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Eseq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Eseq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png 424w, https://substackcdn.com/image/fetch/$s_!Eseq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png 848w, https://substackcdn.com/image/fetch/$s_!Eseq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png 1272w, https://substackcdn.com/image/fetch/$s_!Eseq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Eseq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png" width="1456" height="579" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:579,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:70525,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Eseq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png 424w, https://substackcdn.com/image/fetch/$s_!Eseq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png 848w, https://substackcdn.com/image/fetch/$s_!Eseq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png 1272w, https://substackcdn.com/image/fetch/$s_!Eseq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a6bce43-6ae0-49cb-91ed-35a5be543999_1660x660.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Three findings emerge. First, the conversion works. DDPM &#8594; FM improves over native DDPM (FID 25.61 vs. 27.04) while preserving semantic coherence (CLIP 0.319 vs. 0.316). The conversion is most valuable as a compatibility mechanism rather than a lossless objective replacement.</p><p>Second, combined experts achieve higher output diversity (LPIPS 0.782) than single FM (0.752), approaching native DDPM levels (0.787). Heterogeneous objectives create complementary generation patterns.</p><p>Third, using the same cosine schedule for both objectives yields marginally better FID than different schedules (32.67 vs. 33.29), suggesting schedule alignment facilitates smoother expert transitions. But both combinations show similar diversity gains, indicating that objective heterogeneity drives the primary benefit.</p><h3>Routing threshold analysis</h3><p>For combined DDPM+FM experts, a deterministic router switches between them at a threshold t: DDPM handles timesteps t&#8217; &#8804; t (low noise), FM handles t&#8217; &gt; t (high noise).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!P4al!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!P4al!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png 424w, https://substackcdn.com/image/fetch/$s_!P4al!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png 848w, https://substackcdn.com/image/fetch/$s_!P4al!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!P4al!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!P4al!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png" width="1456" height="700" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:700,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:223084,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!P4al!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png 424w, https://substackcdn.com/image/fetch/$s_!P4al!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png 848w, https://substackcdn.com/image/fetch/$s_!P4al!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png 1272w, https://substackcdn.com/image/fetch/$s_!P4al!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e60c5d7-9c8f-401e-bb77-8f524c4ea30f_2172x1044.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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;"><em>Impact of router threshold on generation quality. Different thresholds produce a clear quality-diversity trade-off.</em></p><p>Lower thresholds (0.2&#8211;0.3) favor quality (FM-dominated denoising, optimal FID). Mid-range thresholds (0.4&#8211;0.5) favor diversity (balanced workload, highest LPIPS). Extreme thresholds (0.7) degrade both metrics, confirming that both expert types contribute essential complementary capabilities.</p><h3>Effects of expert ordering and router thresholds</h3><p>Expert ordering also matters. In a 2-expert setup (1 converted DDPM + 1 FM), we vary the ordering &#8212; DDPM&#8594;FM versus FM&#8594;DDPM &#8212; and the switching threshold &#964; &#8712; {0.3, 0.5, 0.7}.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ghdn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ghdn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png 424w, https://substackcdn.com/image/fetch/$s_!ghdn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png 848w, https://substackcdn.com/image/fetch/$s_!ghdn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png 1272w, https://substackcdn.com/image/fetch/$s_!ghdn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ghdn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png" width="1024" height="809" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:809,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:112860,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/190198146?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ghdn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png 424w, https://substackcdn.com/image/fetch/$s_!ghdn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png 848w, https://substackcdn.com/image/fetch/$s_!ghdn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png 1272w, https://substackcdn.com/image/fetch/$s_!ghdn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa947e51c-b692-49a7-8458-0c27816b3b14_1024x809.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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;"><em>Expert ordering and router threshold effects. FM&#8594;DDPM ordering produces more stable, coherent results, while DDPM&#8594;FM shows higher sensitivity to threshold selection.</em></p><p>The results reveal a striking asymmetry. FM&#8594;DDPM (bottom row) produces consistently cleaner images across all thresholds. DDPM&#8594;FM (top row) degrades at higher thresholds, with blocky artifacts and oversaturation. The reason: when DDPM operates first at high noise (&#945;&#8348; &#8594; 0), the conversion x&#770;&#8320; = (x&#8348; - &#963;&#8348; &#949;_&#952;)/&#945;&#8348; is numerically unstable, and errors early in the trajectory get baked into the image structure. Letting FM handle high-noise timesteps first avoids this entirely &#8212; the converted DDPM expert then refines at low noise where conversion is stable.</p><p><strong>Takeaway:</strong> DDPM-to-velocity conversion should be restricted to low-noise regimes (t &lt; 0.5).</p><h2>Discussion</h2><h3>Resource efficiency in context</h3><p>Our results should be interpreted carefully relative to prior DDM work. The DDM FID range of 5.5&#8211;10.5 was achieved at substantially larger training scale (1176 A100-days, 158M images). Our numbers are not directly comparable in absolute FID terms. What they do show is that competitive generation quality is attainable at a fraction of the resources, and that heterogeneous objectives provide an additional quality gain at no extra training cost.</p><h3>Limitations</h3><p>We evaluate only a narrow set of DDPM-to-FM ratios (1:7 and 2:6). The ideal allocation likely depends on the data distribution and downstream requirements. The deterministic conversion relies on hand-tuned numerical safeguards; a more robust conversion mechanism that generalizes across arbitrary schedules would strengthen applicability. We consider only &#949;- and velocity-prediction; extending to x&#8320;-prediction or consistency objectives could further diversify expert specialization but would require generalizing the conversion and routing mechanisms.</p><h3>What this enables</h3><p>The practical upshot is that decentralized diffusion training no longer requires coordinated infrastructure or agreement on training objectives. A contributor with a single GPU can train a DDPM expert on portraits. Another can train an FM expert on landscapes using different hardware. These experts combine at inference time without either contributor needing to know what the other was doing.</p><div><hr></div><h3>Citation</h3><pre><code><code>@inproceedings{jiang2026heterogeneous,
  title     = {Heterogeneous Decentralized Diffusion Models},
  author    = {Jiang, Zhiying and Seraj, Raihan and Villagra, Marcos and Roy, Bidhan},
  journal = {arXiv preprint arXiv:2603.06741},
  year    = {2026}
}</code></code></pre>]]></content:encoded></item><item><title><![CDATA[Stability–Quality Paradox in Decentralized Diffusion Models]]></title><description><![CDATA[Why the most stable samplers in decentralized diffusion produce the worst generations]]></description><link>https://blog.bagel.com/p/stability-quality-paradox</link><guid isPermaLink="false">https://blog.bagel.com/p/stability-quality-paradox</guid><dc:creator><![CDATA[Marcos Villagra]]></dc:creator><pubDate>Fri, 06 Feb 2026 15:56:46 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!APQT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!APQT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!APQT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png 424w, https://substackcdn.com/image/fetch/$s_!APQT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png 848w, https://substackcdn.com/image/fetch/$s_!APQT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png 1272w, https://substackcdn.com/image/fetch/$s_!APQT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!APQT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png" width="1456" height="799" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1052c06f-0688-4198-a6ee-37135a203585_1676x920.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:799,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:10325535,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/187024071?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!APQT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png 424w, https://substackcdn.com/image/fetch/$s_!APQT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png 848w, https://substackcdn.com/image/fetch/$s_!APQT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png 1272w, https://substackcdn.com/image/fetch/$s_!APQT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1052c06f-0688-4198-a6ee-37135a203585_1676x920.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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 Decentralized Diffusion Models (DDMs), denoising is routed through independently trained experts at inference time. These experts can strongly disagree in their denoising predictions. What actually governs the quality of generations in such a system? We present the first ever systematic interpretability study of this question.</p><p>The natural expectation is that minimizing denoising trajectory sensitivity &#8212; minimizing how perturbations amplify during sampling &#8212; should govern generation quality. It doesn&#8217;t. Full ensemble routing, which combines all expert predictions at each step, achieves the most stable sampling dynamics and the best numerical convergence. It also produces the worst generation quality (FID 47.9 vs. 22.6 for sparse Top-2 routing). We call this the <em>stability&#8211;quality paradox</em>.</p><p>Instead, we identify expert-data alignment as the governing principle. Generation quality depends on routing inputs to experts whose training distribution covers the current denoising state, even when doing so makes the trajectory unstable. For DDM deployment, routing should prioritize expert-data alignment over the usually used numerical stability metrics.</p><div><hr></div><h2>Decentralized Diffusion Models</h2><p>DDMs aren&#8217;t <a href="https://arxiv.org/abs/1701.06538">Mixture-of-Experts</a> layers. They&#8217;re ensembles of independently trained models. In standard MoE architectures, experts are FFN layers within a shared backbone, trained jointly with load balancing losses, and routed at the token level. DDM experts are <em>complete diffusion models</em>, and routing occurs at the <em>input level</em> (entire noisy generations) rather than token level.</p><h4>Training</h4><p>Each expert trains in isolation on a disjoint data partition. The training data is partitioned into <em>K</em> clusters (e.g., using k-means on DINOv2 embeddings), and each expert sees only its assigned cluster. So one might train exclusively on landscapes, another on portraits. No shared parameters or gradient communication. Experts only collaborate at inference 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_!2dDl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2dDl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png 424w, https://substackcdn.com/image/fetch/$s_!2dDl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png 848w, https://substackcdn.com/image/fetch/$s_!2dDl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png 1272w, https://substackcdn.com/image/fetch/$s_!2dDl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2dDl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png" width="1456" height="497" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:497,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:984635,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/187024071?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!2dDl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png 424w, https://substackcdn.com/image/fetch/$s_!2dDl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png 848w, https://substackcdn.com/image/fetch/$s_!2dDl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png 1272w, https://substackcdn.com/image/fetch/$s_!2dDl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac4321e5-674e-4f16-9636-2809d158c5d8_6336x2163.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>MoE experts, therefore, operate within a shared representational framework that limits their differences. In contrast, DDM experts are unrestricted and can generate vastly different outputs from the same input.</p><h4>Routing</h4><p>At inference time, a lightweight router predicts weights</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;w_t^{(k)}(x_t) \\geq 0 \\quad\\text{with}\\quad \\sum_{k=1}^K w_t^{(k)}(x_t) = 1&quot;,&quot;id&quot;:&quot;HABTHRVFRU&quot;}" data-component-name="LatexBlockToDOM"></div><p>at each denoising step. The routed velocity field is:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;v_t(x_t) = \\sum_{k=1}^K w_t^{(k)}(x_t) \\cdot v_t^{(k)}(x_t).&quot;,&quot;id&quot;:&quot;BRXLLZDUYG&quot;}" data-component-name="LatexBlockToDOM"></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!T1dB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!T1dB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png 424w, https://substackcdn.com/image/fetch/$s_!T1dB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png 848w, https://substackcdn.com/image/fetch/$s_!T1dB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png 1272w, https://substackcdn.com/image/fetch/$s_!T1dB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!T1dB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png" width="1456" height="1025" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1025,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1590748,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/187024071?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!T1dB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png 424w, https://substackcdn.com/image/fetch/$s_!T1dB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png 848w, https://substackcdn.com/image/fetch/$s_!T1dB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png 1272w, https://substackcdn.com/image/fetch/$s_!T1dB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa18e038d-2c53-4148-b6e2-0a78afa23620_4431x3119.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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 critical design question is how many experts should contribute at each step. Three natural strategies emerge.</p><p><strong>Top-1</strong> commits fully to the single most relevant expert. Every prediction comes from one model. If the router picks poorly, there&#8217;s no fallback.</p><p><strong>Top-2</strong> blends the two most relevant experts after renormalizing their weights. This allows experts to cross-check each other while still filtering out the majority.</p><p><strong>Full Ensemble</strong> weights all experts by their router probability. Every expert contributes to every step, giving the mathematically complete combination.</p><p>Standard numerical analysis would suggest that including more experts should help. Averaging reduces variance, smooths the velocity field, and stabilizes the ODE integration. We tested whether this intuition holds.</p><div><hr></div><h2>The Stability Paradox</h2><p>Numerical stability has been the default lens for optimizing diffusion sampling. The foundational probability-flow ODE formulation frames <a href="https://arxiv.org/abs/2011.13456">Lipschitz constants and discretization error as determining solver accuracy</a>. Recent work develops <a href="https://arxiv.org/abs/2505.24210">stabilized Runge-Kutta methods</a> for stiff diffusion ODEs, studies <a href="https://openreview.net/forum?id=WNkW0cOwiz">Lipschitz singularities</a> and their effects on sampling, and the entire solver design space from Euler to Heun to DPM++ is organized around stability-accuracy tradeoffs. These analyses target single-model diffusion, and DDM-specific stability analysis did not exist. We provide the first systematic test of whether this framework transfers to distributed training systems.</p><p>We evaluated on <a href="https://arxiv.org/abs/2510.03434">Paris</a>, the world&#8217;s first publicly released DDM, comprising 8 experts trained on <a href="https://arxiv.org/abs/2210.08402">LAION-Aesthetics</a>. We tracked trajectory sensitivity, measuring how strongly the velocity field responds to input perturbations, and step-refinement disagreement, the difference between images generated with <em>N</em> and <em>2N</em> steps. The results reveal a stability&#8211;quality paradox.</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\begin{array}{lccc}\n\\hline\n\\text{Routing Strategy} &amp; \\text{FID }\\downarrow &amp; \\hat{L}_{eff}^{(h)}\\downarrow &amp; \\Delta_{refine}\\downarrow \\\\\n\\hline\n\\text{Top-2 (Sparse)} &amp; \\mathbf{22.60} &amp; 17.48 &amp; 0.051 \\\\\n\\text{Full Ensemble} &amp; 47.89 &amp; \\mathbf{17.07} &amp; \\mathbf{0.020} \\\\\n\\hline\n\\end{array}&quot;,&quot;id&quot;:&quot;CTTGOCGVNJ&quot;}" data-component-name="LatexBlockToDOM"></div><p>Full Ensemble achieves the lowest trajectory sensitivity. It converges the most cleanly. And it produces the worst images, with FID nearly double that of Top-2.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!EY9s!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EY9s!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png 424w, https://substackcdn.com/image/fetch/$s_!EY9s!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png 848w, https://substackcdn.com/image/fetch/$s_!EY9s!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png 1272w, https://substackcdn.com/image/fetch/$s_!EY9s!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EY9s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png" width="1456" height="985" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:985,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:4891295,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/187024071?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!EY9s!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png 424w, https://substackcdn.com/image/fetch/$s_!EY9s!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png 848w, https://substackcdn.com/image/fetch/$s_!EY9s!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png 1272w, https://substackcdn.com/image/fetch/$s_!EY9s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa1317a7b-718f-4931-8783-8eaa701ebb5d_3905x2641.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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 cumulative IQR measures variability across denoising trajectories. Full Ensemble shows the lowest variability, indicating consistent, well-behaved numerical integration. Top-2 shows higher variability, yet produces superior images. For full experimental details, see the <a href="https://arxiv.org/abs/2602.02685">full paper</a>.</p><p>Why does averaging more experts &#8212; which stabilizes the denoising trajectory  degrade image quality? </p><div><hr></div><h2>Expert-Data Alignment Is The Governing Principle</h2><p>The answer is not in how smooth the path is, but where it leads. Full ensemble averaging reduces Jacobian spectral norms by cancelling variance across expert predictions, which is exactly why it wins on stability metrics. But each expert is trained on a disjoint data cluster. When all experts contribute to every input, most of them are producing velocity predictions for inputs that lie far outside their training distribution. The resulting velocity field is smooth because the out-of-distribution errors partially cancel, but it points toward a weighted average of all cluster centers rather than the data manifold.</p><p>In single-model diffusion, a smoother velocity field means cleaner integration means better samples. DDMs break this. The smoothing that lowers trajectory sensitivity is not coming from a better-conditioned ODE. It is coming from averaging contradictory predictions, which suppresses variance at the cost of introducing systematic bias away from any individual data cluster&#8217;s learned distribution. Sparse routing avoids this by selecting only the experts whose training data clusters are close to the current input in embedding space, keeping each active expert within its training distribution. The velocity field is noisier but points in the right direction.</p><p>We call this governing principle <em>expert-data alignment</em>. Generation quality depends on routing inputs to experts whose training clusters cover the current denoising state, even when doing so reduces the trajectory stability.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eB-K!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eB-K!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png 424w, https://substackcdn.com/image/fetch/$s_!eB-K!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png 848w, https://substackcdn.com/image/fetch/$s_!eB-K!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png 1272w, https://substackcdn.com/image/fetch/$s_!eB-K!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eB-K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png" width="1456" height="1060" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1060,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:419997,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/187024071?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!eB-K!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png 424w, https://substackcdn.com/image/fetch/$s_!eB-K!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png 848w, https://substackcdn.com/image/fetch/$s_!eB-K!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png 1272w, https://substackcdn.com/image/fetch/$s_!eB-K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37ba4b5f-d124-4e75-8d24-bbbd9e9a2c22_2658x1935.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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 expert-data alignment governs quality, 3 predictions should hold. Sparse routing should achieve higher alignment (selected experts have lower data-cluster distance). Selected experts should produce superior velocity predictions. And expert disagreement should correlate with quality degradation. We tested all three.</p><div><hr></div><h2>Experimental Validation</h2><h4>Cluster Distance Analysis</h4><p>Does sparse routing actually select experts whose training distribution match the input?</p><p>Using the Paris DDM (<em>K=8</em> experts, DiT-XL/2 architecture with ~606M parameters each), we extracted DINOv2-ViT-L/14 embeddings at timesteps <em>t</em> in <em>{0.3, 0.5, 0.7}</em> during sampling for 500 samples. For each state, we computed the Euclidean distance from the embedding to each of the 8 cluster centroids used during expert training, then ranked the experts by this distance.</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\begin{array}{lcc}\n\\hline\n\\text{Routing} &amp; \\text{Mean Cluster Rank }\\downarrow &amp; \\text{Top-2 Match Rate }\\uparrow \\\\\n\\hline\n\\text{Top-1} &amp; 1.54 \\pm 0.28 &amp; 90.2\\% \\\\\n\\text{Top-2} &amp; 1.96 \\pm 0.26 &amp; 83.9\\% \\\\\n\\text{Full Ensemble} &amp; 4.50\\ \\text{(uniform)} &amp; 25.0\\%\\ \\text{(random)} \\\\\n\\hline\n\\end{array}&quot;,&quot;id&quot;:&quot;KNIDJQNGOX&quot;}" data-component-name="LatexBlockToDOM"></div><p>The router consistently selects experts whose training distribution are closest to the current denoising state. Top-1 achieves a mean rank of 1.54 (near-optimal selection), while Top-2 maintains strong alignment at 1.96. Full Ensemble, by construction, averages across all experts regardless of relevance.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lBMt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lBMt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png 424w, https://substackcdn.com/image/fetch/$s_!lBMt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png 848w, https://substackcdn.com/image/fetch/$s_!lBMt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png 1272w, https://substackcdn.com/image/fetch/$s_!lBMt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lBMt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png" width="1456" height="988" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:988,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:558741,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/187024071?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lBMt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png 424w, https://substackcdn.com/image/fetch/$s_!lBMt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png 848w, https://substackcdn.com/image/fetch/$s_!lBMt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png 1272w, https://substackcdn.com/image/fetch/$s_!lBMt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba5de61-ee76-4e5a-b092-54565c6527d5_3755x2548.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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 router is picky, and that&#8217;s the point. Sparse routing filters out experts that are statistically likely to produce poor predictions because they&#8217;ve never seen similar data.</p><h4>Per-Expert Prediction Quality</h4><p>Do selected experts actually produce better predictions?</p><p>For each step in Top-2 generation, we computed velocity vectors from all experts and measured angular deviation from the final blended velocity (which successfully guides the image to completion).</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\begin{array}{lccc}\n\\hline\n\\text{System} &amp; \\text{Selected Experts} &amp; \\text{Non-Selected Experts} &amp; \\text{Gap} \\\\\n\\hline\n\\text{Paris (8 experts)} &amp; 3.6^\\circ &amp; 5.1^\\circ &amp; 29\\% \\\\\n\\text{MNIST (10 experts)} &amp; 6.4^\\circ &amp; 11.3^\\circ &amp; 43\\% \\\\\n\\hline\n\\end{array}&quot;,&quot;id&quot;:&quot;UNUQMZXQCG&quot;}" data-component-name="LatexBlockToDOM"></div><p>Selected experts consistently produce predictions that align more closely with the successful trajectory. The gap widens with specialization: the MNIST system (each expert trained on a single digit) shows a 43% difference versus 29% for Paris. When experts are highly specialized, the cost of including an inappropriate expert increases. A landscape expert might still contribute useful texture when generating a portrait. A &#8220;zero&#8221; expert offers actively harmful gradients when drawing a &#8220;seven.&#8221;</p><h4>Expert Disagreement Analysis</h4><p>Does expert disagreement predict quality degradation?</p><p>We computed trajectory-integrated disagreement: the average pairwise Euclidean distance between expert velocity predictions, summed over the denoising trajectory. We sorted generated images into quartiles by disagreement and measured <a href="https://arxiv.org/abs/1801.03924">LPIPS</a> (perceptual distance to reference).</p><p>Images in the high-disagreement quartile (Q4) exhibit worse LPIPS scores than those in the low-disagreement quartile (Q1). The relationship is monotonic.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jcVq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jcVq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png 424w, https://substackcdn.com/image/fetch/$s_!jcVq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png 848w, https://substackcdn.com/image/fetch/$s_!jcVq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png 1272w, https://substackcdn.com/image/fetch/$s_!jcVq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jcVq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png" width="1456" height="765" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:765,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:500223,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/187024071?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jcVq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png 424w, https://substackcdn.com/image/fetch/$s_!jcVq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png 848w, https://substackcdn.com/image/fetch/$s_!jcVq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png 1272w, https://substackcdn.com/image/fetch/$s_!jcVq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8dd5e1ae-b4bf-4337-ad2e-5c11a390d836_4098x2153.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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 Full Ensemble failure mode. When experts agree, the average produces reasonable results. When experts disagree (which happens frequently because most experts are out-of-distribution), the average becomes an incoherent compromise. It&#8217;s like asking a portrait painter and a landscape painter to collaborate on a cityscape. Sparse routing avoids this by silencing experts that are likely to disagree.</p><div><hr></div><h2>Is Stability Still Useful?</h2><p>If numerical stability doesn&#8217;t govern quality, is it still useful? Yes, but it just measures the wrong thing for generation quality.</p><h4>Stability Measures Convergence, Not Correctness</h4><p>Step-refinement disagreement measures whether the solver converges consistently. Full ensemble achieves excellent convergence with step-refinement disagreement approximately 0.020 - doubling the number of sampling steps barely changes the output. Top-2 exhibits more numerical noise with step-refinement disagreement approximately approximately 0.051.</p><p>But it&#8217;s possible to converge perfectly to a blurry, incoherent average. Stability metrics indicate how easily the solver finds a solution, not whether that solution is good.</p><h4>Within-Strategy Diagnostics</h4><p>Trajectory sensitivity may still work as a within-strategy diagnostic. If practitioners are using Top-2 routing, a sudden spike in sensitivity for a specific input might flag a &#8220;hard&#8221; sample that needs more inference steps, even though sensitivity doesn&#8217;t predict quality across routing strategies.</p><div><hr></div><h2>Discussion</h2><h4>Limitations</h4><p>We validate our hypothesis on two DDM systems (Paris with 8 experts, MNIST with 10 experts). The pattern is consistent across both, but additional systems would strengthen the conclusions - in progress at Bagel Labs. The relationship between cluster distance and prediction quality could be confounded by other factors, such as experts trained on larger clusters being more robust. We control for this by using the same embedding space (DINOv2) that was used during expert training.</p><h4>Implications</h4><p>For practitioners building DDM systems:</p><p>1. <strong>Routing should prioritize alignment over stability.</strong> Standard numerical stability metrics don&#8217;t indicate system health in DDMs. A &#8220;smooth&#8221; sampler may simply be averaging away useful signal.</p><p>2. <strong>Sparse routing is preferable.</strong> Top-2 routing achieves a favorable tradeoff: it maintains expert-data alignment while allowing experts to cross-reference each other. Top-1 may be too aggressive; Full Ensemble destroys alignment.</p><p>3. <strong>Monitor expert-data alignment directly.</strong> Track data-cluster distance ranks and expert disagreement during development, not just final FID scores.</p><div><hr></div><h2>Conclusion</h2><p>Numerical stability doesn&#8217;t govern generation quality in Decentralized Diffusion Models. Expert-data alignment does. It means routing inputs to experts trained on similar data.</p><p>DDM systems should be evaluated and optimized for alignment rather than stability. Sparse routing succeeds not because it produces stable trajectories, but because it ensures each active expert operates within its domain of competence.</p><div><hr></div><p><em>This post presents findings from our research. For full experimental details, methodology, and additional analyses, see:</em></p><p><a href="https://arxiv.org/abs/2602.02685">Expert-Data Alignment Governs Generation Quality in Decentralized Diffusion Models</a></p><pre><code>@misc{villagra_expertdataalignment_2026,
  author       = {Marcos Villagra and Bidhan Roy and Raihan Seraj and Zhiying Jiang},
  title        = {{Expert-Data Alignment Governs Generation Quality in Decentralized Diffusion Models}},
  howpublished = {\url{https://arxiv.org/abs/2602.02685}},
  note         = {arXiv:2602.02685 &#8226; accessed DD&#8239;Mon&#8239;YYYY},
  year         = {2026}
}</code></pre>]]></content:encoded></item><item><title><![CDATA[Introducing Paris]]></title><description><![CDATA[World's First Decentralized Trained Open-Weight Diffusion Model]]></description><link>https://blog.bagel.com/p/paris</link><guid isPermaLink="false">https://blog.bagel.com/p/paris</guid><dc:creator><![CDATA[Gin Jiang]]></dc:creator><pubDate>Tue, 07 Oct 2025 16:11:16 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/da19c44c-070a-4398-a65d-f5e95fc86e5d_2134x1866.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>We&#8217;re releasing <strong>Paris</strong> - the world&#8217;s first decentralized trained open-weight diffusion model. The model is <strong>open for research and commercial use</strong> under the MIT license.&#65279;</p><p>We named it Paris after the city that has always been a refuge for those creating without permission. Two remarkable facts that makes Paris first of it&#8217;s kind,</p><ol><li><p>It&#8217;s a combination of smaller expert diffusion models pre-trained from scratch across different continents in complete isolation. The experts required<strong> zero gradient, parameter, or intermediate activation synchronization</strong> among each other during training.</p></li><li><p>This zero communication protocol achieves comparable quality to SOTA distributed approaches using <strong>14&#215; less data and 16&#215; less compute</strong>.</p></li></ol><p>How? Full technical report and model weights below.</p><p>Full Technical Report : <strong><a href="https://github.com/bageldotcom/paris/blob/main/paper.pdf">https://github.com/bageldotcom/paris/blob/main/paper.pdf</a></strong><br>Model Weights : <strong><a href="https://huggingface.co/bageldotcom/paris">https://huggingface.co/bageldotcom/paris</a></strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://arxiv.org/abs/2510.03434" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ePm1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png 424w, https://substackcdn.com/image/fetch/$s_!ePm1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png 848w, https://substackcdn.com/image/fetch/$s_!ePm1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png 1272w, https://substackcdn.com/image/fetch/$s_!ePm1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ePm1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png" width="1080" height="1518" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1518,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:993073,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://arxiv.org/abs/2510.03434&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.bagel.com/i/175281324?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ePm1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png 424w, https://substackcdn.com/image/fetch/$s_!ePm1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png 848w, https://substackcdn.com/image/fetch/$s_!ePm1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png 1272w, https://substackcdn.com/image/fetch/$s_!ePm1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17139304-fef9-4924-96a1-9e7245fe7ab9_1080x1518.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>We believe we can scale this approach to global state-of-the-art results. But that requires solving some more really, really hard problems. If you&#8217;re an ML researcher or engineer interested in helping us achieve this while doing the best open-source work of your career, come work with us: <strong><a href="http://jobs.bagel.com">jobs.bagel.com</a></strong>.&#65279;</p>]]></content:encoded></item><item><title><![CDATA[Tiny Tool Use]]></title><description><![CDATA[Open source library for teaching LLMs tool-use]]></description><link>https://blog.bagel.com/p/tiny-tool-use</link><guid isPermaLink="false">https://blog.bagel.com/p/tiny-tool-use</guid><dc:creator><![CDATA[Raihan Seraj]]></dc:creator><pubDate>Tue, 01 Jul 2025 14:03:17 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!VSzl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote><p>Bagel Labs launching <strong><a href="https://github.com/bagel-org/bagel-RL">Tiny Tool Use</a></strong>, an intentionally tiny but production grade open-source library designed to simplify the process of training open-source LLMs for tool use.</p><p>Tool-aware LLMs turn text into real-world actions. Which unlocks autonomous decision making for robotics and general infrastructure use.</p><p><strong>Tiny Tool Use</strong> distills the latest advances in tool-use RL, SFT and evaluation into easy to use templates. Letting teams train and evaluate tool-calling models without extra scaffolding.</p></blockquote><p>It is fully open source : <strong><a href="https://github.com/bagel-org/bagel-RL">https://github.com/bagel-org/bagel-RL</a></strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VSzl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VSzl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png 424w, https://substackcdn.com/image/fetch/$s_!VSzl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png 848w, https://substackcdn.com/image/fetch/$s_!VSzl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png 1272w, https://substackcdn.com/image/fetch/$s_!VSzl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VSzl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png" width="1456" height="816" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:816,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2536529,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.bagel.net/i/167189773?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!VSzl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png 424w, https://substackcdn.com/image/fetch/$s_!VSzl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png 848w, https://substackcdn.com/image/fetch/$s_!VSzl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png 1272w, https://substackcdn.com/image/fetch/$s_!VSzl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffee5beca-30ff-4fd4-8451-32da1c938b2c_1456x816.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Tiny Tool Use</strong> ships with:</p><ul><li><p><strong>Interchangeable Training Algorithms</strong> &#8211; swap SFT, Direct Preference Optimization (DPO), synthetic teacher signals and more with a single config change.</p></li><li><p><strong>Configuration&#8209;only workflows</strong> &#8211; every experiment, tool schema, and hyper&#8209;parameter lives in a JSON file as a result performing training with different configuration is easy.</p></li><li><p><strong>First&#8209;class evaluation support</strong> &#8211; TensorBoard dashboards for training visualization and integration with <a href="https://gorilla.cs.berkeley.edu/leaderboard.html">Berkeley Function Calling Leaderboard</a> scripts.</p></li><li><p><strong>Dataset flexibility</strong> &#8211; plug in real data, generate synthetic traces, or compose both without touching core code.</p></li></ul><div><hr></div><h2><strong>Training Example Using Qwen3 Models</strong></h2><blockquote><p>We now provide an example of using the library to train Qwen3 models. We use Low Rank Adaptation (LoRA) to customize Qwen3 models on <a href="https://github.com/OpenBMB/ToolBench">ToolBench</a> dataset. The library ships with the example configuration provided in <em><strong>configs/sft_toolbench_config.json</strong></em><code> </code> which downloads the data, extracts it and uses the processed data for training.</p></blockquote><p>To run the training code with <code>Qwen3&#8212;0.6B</code> model, use the following command</p><pre><code>python train.py --config configs/sft_toolbench_config.json --output-dir lora_sft_qwen3/</code></pre><p>The script will start downloading the ToolBench dataset and unzipping, which will several minutes considering the size of ToolBench.</p><p>The above code starts the training procedure, using lora adapters. The configuration file can be edited for full training instead of lora adapters. Furthermore, the configuration of the adapters can also be changed accordingly.</p><h2><strong>Evaluation and Benchmarking</strong></h2><blockquote><p>Beyond its capabilities, the tiny tool use library offers a robust framework for evaluating the general tool-use capabilities of an adapted model. This includes the ability to compare evaluation results directly with established benchmarks, such as the <a href="https://gorilla.cs.berkeley.edu/leaderboard.html">Berkeley Function Calling Leaderboard</a>.</p></blockquote><p>The training statistics can be visualized by running tensorboard with the following command</p><pre><code>tensorboard --logdir lora_sft_qwen3/ </code></pre><div class="pullquote"><p>The performance of the adapted model on ToolBench data as training progresses. The  evaluation data is displayed in the TensorBoard dashboard for the <code>Qwen3-0.6B</code> model, demonstrating that the Tiny Tool Use library offers clear and interpretable training and evaluation metrics along with improved model capability for function calling.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RDnT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RDnT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png 424w, https://substackcdn.com/image/fetch/$s_!RDnT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png 848w, https://substackcdn.com/image/fetch/$s_!RDnT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png 1272w, https://substackcdn.com/image/fetch/$s_!RDnT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RDnT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png" width="728" height="411.5" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:823,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:258471,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.net/i/167189773?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!RDnT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png 424w, https://substackcdn.com/image/fetch/$s_!RDnT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png 848w, https://substackcdn.com/image/fetch/$s_!RDnT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png 1272w, https://substackcdn.com/image/fetch/$s_!RDnT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0036d5d3-f065-4678-ac5b-b4f5b1174f54_2202x1244.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p></div><p>When the training is complete, the adapters can be merged and saved using the following command</p><pre><code>Python save_merge_model.py \
--base_model Qwen/Qwen3-0.6B \
--adapter_path\ lora_sft_qwen3/ \
--output_dir merged_model/ \ 
--trust_remote_code </code></pre><p>A model adapted with a subset of Toolbench data can be obtained from the following link: <a href="https://huggingface.co/BagelLabs/TinyToolUse-Qwen3-0.6B-toolbench/tree/main">Qwen3-0.6B-ToolBench</a></p><h3>BFCL Leaderboard</h3><p>The <a href="https://gorilla.cs.berkeley.edu/leaderboard.html">BFCL evaluation</a> on the model can be performed using the following commands, which will generate model response on different test cases.</p><pre><code>export BFCL_PROJECT_ROOT=/path/to/your/desired/project/directory

bfcl generate --model Qwen/Qwen3-0.6B --local-model-path merged_model/ \
--test-category simple,parallel,multiple,multi_turn</code></pre><p>Finally to obtain the score on the generated model response, the following code is executed, which will save the scores as a csv file.</p><pre><code>bfcl evaluate --model Qwen/Qwen3-0.6B \
--test-category simple,parallel,multiple,multi_turn</code></pre><div><hr></div><p>Bagel Labs team will continue to improve the library to adapt it for broader tool use, with an emphasis on distributed learning algorithms. We welcome contributions, feature requests, and issues on our fully open-source repository: <strong><a href="https://github.com/bagel-org/bagel-RL">https://github.com/bagel-org/bagel-RL</a></strong></p>]]></content:encoded></item><item><title><![CDATA[Return on Experience (RoE)]]></title><description><![CDATA[A single benchmark that predicts Reinforcement Learning's future.]]></description><link>https://blog.bagel.com/p/return-on-experience</link><guid isPermaLink="false">https://blog.bagel.com/p/return-on-experience</guid><dc:creator><![CDATA[Bidhan Roy]]></dc:creator><pubDate>Thu, 01 May 2025 13:31:07 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!lUPh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Reinforcement learning (RL) evolves at headline speed. Each month brings a new &#8220;state&#8209;of&#8209;the&#8209;art.&#8221; But we had to pause to ask one important question:</p><blockquote><p><em>Can a single number line up every milestone so far and hint at the next leap?</em></p></blockquote><p>We think <em>maybe</em>. We call that number <strong>Return on Experience (RoE)</strong>. It&#8217;s an early phase benchmark.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.bagel.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"></p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>What you read below is a lab notebook, handed down as working scripture. Feel free to share your peer review, or join the <strong><a href="https://jobs.bagel.net/">loop</a></strong> (what&#8217;s loop? more on that below).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lUPh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lUPh!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png 424w, https://substackcdn.com/image/fetch/$s_!lUPh!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png 848w, https://substackcdn.com/image/fetch/$s_!lUPh!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png 1272w, https://substackcdn.com/image/fetch/$s_!lUPh!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lUPh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png" width="1456" height="1456" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1456,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:6288136,&quot;alt&quot;:&quot;bagel, monetizable open-source AI&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://blog.bagel.net/i/162229256?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="bagel, monetizable open-source AI" title="bagel, monetizable open-source AI" srcset="https://substackcdn.com/image/fetch/$s_!lUPh!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png 424w, https://substackcdn.com/image/fetch/$s_!lUPh!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png 848w, https://substackcdn.com/image/fetch/$s_!lUPh!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png 1272w, https://substackcdn.com/image/fetch/$s_!lUPh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb57922e8-bbfd-4abb-8ad6-c16c4af1f43d_2048x2048.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h3><strong>New experience costs more than extra GPU time</strong></h3><p>When power is cheap, we can keep feeding a language model massive amounts of internet text at little extra cost.</p><p>But a surgical robot, a self-driving car, or an ICU-triage policy cannot just &#8220;scrape more experience&#8221;.</p><p>Every new trial burns tire, takes staff time, or waits for legal clearance.</p><p>In these settings the scarce resource is fresh experience - each environment step that has to happen in the real world.</p><p>Sample-efficiency is the art of squeezing the most learning from the fewest such experiences, and <strong>RoE</strong> is a meter for that exchange rate.</p><div><hr></div><h3><strong>Recent AI breakthroughs point in an interesting direction</strong></h3><p><strong>DeepSeek-R1-Zero</strong> improves reasoning capability through millions of GRPO self-play prompt-episodes. Meaning, the model practically &#8220;argue with itself&#8221; millions of times, turning each prompt-response into a tiny lesson, without requiring tons of human text.</p><p><strong>OpenAI o3 tool use </strong>agent was trained to ask whether the next tool call (browser, code runner, or image) will actually move the answer forward. Each tool use carries an explicit cost during training, so the model invokes a tool only when the expected reward of that <em>experience</em> outweighs the cost.</p><p><strong>DreamerV3</strong> learns a world-model first, then practices inside that imagined space, harvesting thousands of virtual trials for every real one.</p><p>Different domains, same theme. Progress comes from squeezing more value out of each new <em>experience</em>. The next question is, how much result do we get per unit of experience? That ratio is <strong>RoE</strong>.</p><p>RoE compresses sample-efficiency into a single number that rises roughly logarithmically with progress.</p><div><hr></div><h3><strong>The Formula</strong></h3><p>Let&#8217;s turn that idea into one formal equation.</p><p><strong>Return on Experience (RoE)</strong> tells us how much &#8220;win&#8221; an RL agent buys per interaction it pays for. In other words, <em>if you spend one unit of real world experience, how far does your performance score climb?</em></p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\n\\operatorname{RoE} \\;=\\; \\frac{\\text{headline_score}}{\\displaystyle\\sum_{t} weight_t\\,count_t}\\;\\times\\;10^{6}\n\n&quot;,&quot;id&quot;:&quot;ZQXWBJJPAG&quot;}" data-component-name="LatexBlockToDOM"></div><p>One step, one score, divided by weighted cost. Where,</p><p><strong>headline score</strong> - the score a paper or a model brags about - Atari score, math-test accuracy, etc.</p><p><strong>count</strong> - how many times the RL agent interacted with <em>something</em> while learning.</p><p><strong>weight</strong> - Not all interactions are equal. Weight adds a rough price tag for each kind of interaction because some are costly and some are cheap.</p><ul><li><p>real-world action = 1 (full price)</p></li><li><p>calling an external tool (e.g. OpenAI o3) &#8776; 0.01</p></li><li><p>self-play or a step inside a learned simulator (e.g. DeepSeek-R1-zero) &#8776; 0.001</p></li></ul><p>We think of the weights as discounts. Because some synthetic/simulated steps cost a thousandth of a real-world step, tool calls cost about two hundredth.</p><p>This way, RoE lets us put a language model, a robot arm, and a video-game agent on the same chart. High RoE means the agent climbs the leaderboard quickly <strong>and</strong> keeps the cost for fresh experience low. Low RoE means it wastes a lot of real-world practice for each bump in score.</p><div><hr></div><h3>A short history of RoE Loops</h3><p>Below we cast some historical milestones of Reinforcement Learning into the RoE benchmark, to show RoE could predict the performance of them.</p><p>We call each big RoE jump a <em><strong>loop</strong></em> - one full turn of experience &#8594; insight &#8594; back to model/agent. Like the <a href="https://en.wikipedia.org/wiki/Closed-loop_transfer_function">closed-loop theorem</a> (or a bagel ring).</p><p>But first, some info on the classic benchmarks used to calculate RoE,</p><ul><li><p><strong>Atari</strong> - 57 classic video games used as a standard obstacle course for RL.</p><ul><li><p><em>Human-normalised score</em> takes a human play-through on each game, sets that to <strong>1.0</strong>, then shows how far the agent climbs above it.</p></li><li><p><em>Median</em> is the middle game after ranking all 57 scores; a quick &#8220;overall&#8221; health check.</p></li><li><p><em>Atari-80k / Atari-100k mean</em> looks at the <strong>average</strong> score but limits the agent to only 80k or 100k game frames, so we can see who learns fastest, not just who learns best.</p></li></ul></li><li><p><strong>GSM8K</strong> - 8.5k grade-school word problems. For each problem an RL agent writes one answer. <em>Pass@1</em> is simply the percentage of problems it gets right on that very first try.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XLXw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XLXw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png 424w, https://substackcdn.com/image/fetch/$s_!XLXw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png 848w, https://substackcdn.com/image/fetch/$s_!XLXw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png 1272w, https://substackcdn.com/image/fetch/$s_!XLXw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XLXw!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png" width="1200" height="379.94505494505495" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:461,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:212974,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://blog.bagel.net/i/162229256?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XLXw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png 424w, https://substackcdn.com/image/fetch/$s_!XLXw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png 848w, https://substackcdn.com/image/fetch/$s_!XLXw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png 1272w, https://substackcdn.com/image/fetch/$s_!XLXw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd3dcaf7-6d44-43b3-b738-8340a52a1e9f_2180x690.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Here is a worked example of RoE calculation with OpenAI o3,</em></p><p>For o3, headline_score = 0.982, weight = 0.01, interaction<strong> </strong>count = 2M.</p><p>So, according to our RoE equation above,</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\mathrm{RoE}_{\\text{o3}}\n  = \\left( \\frac{0.982}{0.01 \\times 2\\,000\\,000} \\right)\\times 10^{6}\n  \\;\\approx\\; 49\n&quot;,&quot;id&quot;:&quot;ZUWCNQLUTG&quot;}" data-component-name="LatexBlockToDOM"></div><p>Observations,</p><ul><li><p>Rainbow quadrupled RoE over DQN by upgrading loss functions and replay, proving that better optimization alone can unlock large efficiency from same amount of experiences.</p></li><li><p>EfficientZero learned to plan inside a latent world model instead of in the real world. With most interactions being synthetic, RoE passed 10.</p></li><li><p>DreamerV3 pushed the same idea further. Over 90% of the experiences were simulated. Real-world performance climbed with very little new real-world <em>experience</em>.</p></li><li><p>DeepSeek-R1 brought model self play into the limelight. Model debates with itself on each problem, <a href="https://developer.nvidia.com/blog/nvidia-blackwell-delivers-world-record-deepseek-r1-inference-performance">boosting GSM8K accuracy</a> while keeping the new and cost heavy experience ledger small.</p></li><li><p>Cost-aware tool use has been another RL win of 2025. OpenAI o3 trained the RL agent to accrue a cost while calling a tool. That optimized RoE to ~50.</p></li></ul><div><hr></div><h3>Prediction for the next 5 years</h3><p>RoE has grown on a log curve - 0.023 for Rainbow (2018) up to about 50 for OpenAI o3 (2025). There&#8217;s no sign that the slope is flattening. World-model research, sample-efficient policy optimization and <strong>a coming surge in cheap compute</strong> all point the same way.</p><p>Below is a 5 year prediction on RoE numbers, and examples of what that could mean, inspired from peer-reviewed academic work,</p><p><em>(We count the past jumps - Rainbow through o3 - as Loops 1-5.)</em></p><p><strong>Loop 6 - Year 2026 - RoE &#8776; 150</strong></p><p>World-model research will slip from Atari into the operating room. Hospitals will train surgical robots almost fully in world-model simulators such as <a href="https://arxiv.org/abs/2310.04676">Surgical Gym</a> and <a href="https://autolab.berkeley.edu/assets/publications/media/2024-ICRA-ORBIT-Surgical.pdf?utm_source=bagel.net">ORBIT-Surgical</a>. A bot will practise thousands of virtual stitches for before doing a real one.</p><p><strong>Loop 7 - Year 2027 - RoE &#8776; 1000</strong></p><p>Scaling labs will run foundation world-models such as <a href="https://deepmind.google/discover/blog/genie-2-a-large-scale-foundation-world-model/?utm_source=bagel.net">Genie</a> on ~30x cheaper compute hardware. Agents will write and test entire NeurIPS papers inside those generated 3D sandboxes, requiring only high-level edits from humans. <em>RoE will move past the four-digit mark</em>.</p><p><strong>Loop 8 - Year 2028 - RoE &#8776; 3000</strong></p><p>Self-play on synthetic molecule sets will reduce wet-lab screening from tens of thousands of assays to a few hundred. Drug-discovery will be massively accelerated. <em>RoE will keep its log-pace and enter &#8220;several thousand&#8221; territory.</em></p><p><strong>Loop 9 - Year 2029 - RoE &#8776; 8000</strong></p><p>Regulators will approve the first cargo aircraft whose flight-control laws are proved largely in <a href="https://pure.tudelft.nl/ws/portalfiles/portal/172957377/ribeiro_et_al_2024_certification_of_reinforcement_learning_applications_for_air_transport_operations_based_on.pdf/?utm_source=bagel.net">simulation-based certification workflows</a>. One hour of real flight data will be enough to sign off.</p><p><strong>Loop 10 - Year 2030 - RoE &#8776; 12000</strong></p><p>Companies will field <strong>&#8220;digital graduates&#8221;</strong> - ~30B parameter reasoning models trained with <strong><a href="https://arxiv.org/abs/2503.20783/?utm_source=bagel.net">Dr. GRPO</a></strong> style length-penalised objectives. Each will master a new technical field from a few annotated pages, then draft patents, close mergers and rewrite tax law overnight. One human auditor will review the output of a thousand such agents.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.bagel.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading! Subscribe for free to receive new posts.</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[ZKLoRA]]></title><description><![CDATA[Zero-Knowledge Verification of LoRA training on SOTA Models in 1-2 Seconds]]></description><link>https://blog.bagel.com/p/zklora</link><guid isPermaLink="false">https://blog.bagel.com/p/zklora</guid><dc:creator><![CDATA[Bidhan Roy]]></dc:creator><pubDate>Tue, 21 Jan 2025 15:50:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!8ydi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In 2024, zero knowledge verifiability for machine learning seemed impossible. The latency overhead was too high. We did a research report on it <a href="https://blog.bagel.net/p/with-great-data-comes-great-responsibility">here</a>.</p><p>But, it is 2025. The year of AGI. And, we have made it possible.</p><p>Today, we&#8217;re open sourcing a frontier research, <strong>ZKLoRA</strong>. A zero knowledge protocol that allows verification of <a href="https://arxiv.org/abs/2106.09685">LoRA</a> fine-tuning of open source AI models, <strong>in 1-2 seconds</strong>.<strong><br><br></strong>And not only for toy models, but for current state of the art open source models like llama 3.3 etc. with tens or hundreds of billions of parameters.</p><p>Want to try it yourself? Here&#8217;s the code : <a href="https://github.com/bagel-org/ZKLoRA">https://github.com/bagel-org/ZKLoRA</a></p><p>Want to see the benchmarks and curious how it works? Read the full research paper here : <a href="https://github.com/bagel-org/ZKLoRA/blob/main/paper.pdf">https://github.com/bagel-org/ZKLoRA/blob/main/paper.pdf</a></p><div><hr></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8ydi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8ydi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png 424w, https://substackcdn.com/image/fetch/$s_!8ydi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png 848w, https://substackcdn.com/image/fetch/$s_!8ydi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png 1272w, https://substackcdn.com/image/fetch/$s_!8ydi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8ydi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png" width="1220" height="1232" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1232,&quot;width&quot;:1220,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:406377,&quot;alt&quot;:&quot;https://github.com/bagel-org/ZKLoRA/blob/main/paper.pdf&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="https://github.com/bagel-org/ZKLoRA/blob/main/paper.pdf" title="https://github.com/bagel-org/ZKLoRA/blob/main/paper.pdf" srcset="https://substackcdn.com/image/fetch/$s_!8ydi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png 424w, https://substackcdn.com/image/fetch/$s_!8ydi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png 848w, https://substackcdn.com/image/fetch/$s_!8ydi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png 1272w, https://substackcdn.com/image/fetch/$s_!8ydi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc9f136-cc75-4a6e-9c58-1e2883028237_1220x1232.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="file-embed-wrapper" data-component-name="FileToDOM"><div class="file-embed-container-reader"><div class="file-embed-container-top"><image class="file-embed-thumbnail-default" src="https://substackcdn.com/image/fetch/$s_!0Cy0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack.com%2Fimg%2Fattachment_icon.svg"></image><div class="file-embed-details"><div class="file-embed-details-h1">ZKLoRA Paper</div><div class="file-embed-details-h2">331KB &#8729; PDF file</div></div><a class="file-embed-button wide" href="https://blog.bagel.com/api/v1/file/b2729a4d-0178-4d35-b51f-0757e878b08c.pdf"><span class="file-embed-button-text">Download</span></a></div><a class="file-embed-button narrow" href="https://blog.bagel.com/api/v1/file/b2729a4d-0178-4d35-b51f-0757e878b08c.pdf"><span class="file-embed-button-text">Download</span></a></div></div><div><hr></div><p><br>We are Bagel Labs, a distributed machine learning research lab.</p><p>We believe ZKLoRA kickstarts a new era for verifiable model training across untrusted networks.</p>]]></content:encoded></item><item><title><![CDATA[Train Fast, But Think Slow]]></title><description><![CDATA[Inference Time Compute vs Training Time Compute for AI Reasoning]]></description><link>https://blog.bagel.com/p/train-fast-but-think-slow</link><guid isPermaLink="false">https://blog.bagel.com/p/train-fast-but-think-slow</guid><dc:creator><![CDATA[Bidhan Roy]]></dc:creator><pubDate>Wed, 06 Nov 2024 14:59:55 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!KofN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>AI is like fire.</p><p>We have had radical technological advancements in recent history. Social media, augmented reality, platform shifts like web, mobile. But AI is way more significant of a technology. It is as significant as the discovery of fire. It has the potential to change the trajectory of the evolution of our species.</p><p>One of the holy grails of unlocking this potential of AI is to build systems that can reason like humans. By improving AI's, Large Language Models in particular, ability to break down complex problems and apply logical steps.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KofN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KofN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png 424w, https://substackcdn.com/image/fetch/$s_!KofN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png 848w, https://substackcdn.com/image/fetch/$s_!KofN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png 1272w, https://substackcdn.com/image/fetch/$s_!KofN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KofN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png" width="1456" height="1029" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1029,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:4701335,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KofN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png 424w, https://substackcdn.com/image/fetch/$s_!KofN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png 848w, https://substackcdn.com/image/fetch/$s_!KofN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png 1272w, https://substackcdn.com/image/fetch/$s_!KofN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F43b0961c-abcd-48b8-b44c-8f66735d6c85_2245x1587.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Bagel's research team has been exploring this problem. Analyzing LLM building techniques, especially fine-tuning techniques, to allow Large Language Models to evolve from pattern-recognizing prediction agents to true cognitive agents. Our deep research spanned three major types of reasoning, aka intelligence: <strong>arithmetic</strong>, <strong>commonsense</strong>, and <strong>symbolic</strong>.</p><p>Today, we're sharing our findings. This research targets the core of what we believe to be the ultimate AI evolution, human-level reasoning. Or beyond (God level?).</p><p>We have explored techniques for the training and fine-tuning phases of model development. We have also ventured into the absolutely fascinating world of inference-time reasoning. This is where LLMs can be built or fine-tuned to generate novel solutions during inference, even if the solutions aren't part of their training dataset.</p><p><em>Dive in.<strong> And if you're in a rush, we have a TLDR at the end.</strong></em></p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.bagel.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"><em>Thanks for reading Bagel! Subscribe for free to join our <strong>30,000+</strong> readers.</em>&#65279;</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><div><hr></div><h2>Types of Reasoning</h2><p>Varied types of reasoning tasks stretch AI's abilities. First, let's understand how they're defined.</p><p><strong>Arithmetic reasoning</strong> pushes machine learning to test problem-solving in a clear way. It forces models to break down problems. Choose from many strategies. Connect steps to find solutions. This makes math different. It shows exactly how well models can grasp details. And use the right solution steps in order.</p><p><strong>Commonsense reasoning</strong> upends our expectations. Models must understand the strange logic of everyday life. The challenges emerge when systems face the quirks of human interactions. The implicit rules we take for granted. For example, a door opens before you walk through. Time flows forward not backward. Water makes things wet. These obvious truths become complex puzzles for artificial systems to unravel.</p><p><strong>Symbolic reasoning</strong> flips the script on traditional machine learning. While neural networks excel at fuzzy pattern matching, symbols demand precision. Models must follow strict rules. Manipulate abstract concepts. Chain logical steps. Like a careful mathematician rather than an intuitive artist. The symbols hold no inherent meaning. Yet through them, we build towers of logic that reach toward human-level reasoning.</p><p>Beyond these core types, reasoning takes many forms. <strong>Logical deduction</strong> draws rigid conclusions while induction makes creative leaps. <strong>Causal reasoning</strong> traces the hidden threads between actions and consequences. <strong>Multimodal reasoning</strong> juggles text, images, and data in a complex combination of understanding. Knowledge graphs map the relationship of facts and relationships. Yet all serve one goal - moving AI from pattern matching toward true comprehension. From memorized responses to novel insights. From prediction to understanding.</p><p>Below, we look into training time and inference time approaches to enhance these types of reasoning.&#65279;</p><div><hr></div><h2>1. Training Time Approaches</h2><h3>1.1. Fine-Tuning Approaches</h3><h4>Parameter Efficient Fine-Tuning (PEFT)</h4><p><strong>How it works:</strong> PEFT reverses traditional model adaptation <a href="https://arxiv.org/abs/2304.01933">(Hu et al. 2023)</a>. Four methods reveal new techniques.</p><p>Prompt-based learning embeds adjustable signals into frozen models. Prefix-tuning and P-tuning introduce small changes. These changes alter outputs without altering the main model.</p><p>Reparametrization methods like LoRA simplify complex weight matrices. They turn large updates into efficient low-rank forms. LoRA captures patterns from high-dimensional spaces with minimal adjustment.</p><p>Adapters create extra neural pathways. Series adapters stack, each layer adjusting outputs gradually. Parallel adapters develop side skills, keeping the base intact.</p><p>Adapter placement is key. Series adapters fit after MLP layers. Parallel adapters excel within them. LoRA touches both attention and MLP layers. Each method targets the right spot.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!AUS7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AUS7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png 424w, https://substackcdn.com/image/fetch/$s_!AUS7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png 848w, https://substackcdn.com/image/fetch/$s_!AUS7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png 1272w, https://substackcdn.com/image/fetch/$s_!AUS7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AUS7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png" width="1456" height="628" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:628,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2352673,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!AUS7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png 424w, https://substackcdn.com/image/fetch/$s_!AUS7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png 848w, https://substackcdn.com/image/fetch/$s_!AUS7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png 1272w, https://substackcdn.com/image/fetch/$s_!AUS7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b81123-bfda-4832-ab75-287da30364c8_12308x5306.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Why it's useful:</strong> PEFT reduces resource demands. Large models gain new abilities without major changes. PEFT preserves the base while adding specialized skills. Hardware that struggled with fine-tuning now handles complex updates.</p><p><strong>Tradeoffs:</strong> Not all tasks fit PEFT. Some models need deeper changes. Base model limitations still exist. Combining methods is tricky. PEFT may struggle with very complex tasks.</p><h4>WizardMath</h4><p><strong>How it works:</strong> WizardMath learns in three distinct steps <a href="https://arxiv.org/abs/2308.09583">(Luo et al., 2023)</a>.</p><p>First is supervised fine-tuning. Here, the model picks up raw mathematical patterns. It starts recognizing basic structures. Patterns get mapped to solutions. This step builds intuition for common operations. The foundation is set.</p><p>Next, instruction reward models refine the process. They judge both answers and methods. These models look for efficiency. They guide the model toward elegant solutions. The focus shifts from correctness to quality.</p><p>Finally, PPO-based reinforcement learning enhances problem-solving. The model tests ideas, adapts, and improves. Evol-Instruct feedback loops refine its logic with each run <a href="https://arxiv.org/abs/2304.12244">(Xu et al. 2023)</a>. It gets better at selecting strategies.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kBJn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kBJn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png 424w, https://substackcdn.com/image/fetch/$s_!kBJn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png 848w, https://substackcdn.com/image/fetch/$s_!kBJn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png 1272w, https://substackcdn.com/image/fetch/$s_!kBJn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kBJn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png" width="755" height="554" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:554,&quot;width&quot;:755,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:63146,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kBJn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png 424w, https://substackcdn.com/image/fetch/$s_!kBJn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png 848w, https://substackcdn.com/image/fetch/$s_!kBJn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png 1272w, https://substackcdn.com/image/fetch/$s_!kBJn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d966ce5-0428-4fa5-9e26-8b17f622ed77_755x554.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Source <a href="https://arxiv.org/abs/2308.09583">Luo et al. (2023)</a></figcaption></figure></div><p><strong>Why it's Useful:</strong> Most models just match patterns. WizardMath thinks in logical steps. It breaks down problems like a mathematician. It selects methods based on understanding, not memory. This leads to solutions that are both effective and precise.</p><p><strong>Tradeoffs:</strong> Training WizardMath takes heavy computational resources. Its deep math focus limits general use. Low-quality data can introduce errors. Practical solutions can sometimes lose to elegant ones.</p><h4>Divergent Chain of Thought (DCoT)</h4><p><strong>How it works:</strong> DCoT breaks the single-path approach <a href="https://arxiv.org/abs/2407.03181">(Puerto et al. 2024)</a>. Multiple paths form at once. Each one tackles the problem differently. Yet all conclude in a single inference.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!o_W9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!o_W9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png 424w, https://substackcdn.com/image/fetch/$s_!o_W9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png 848w, https://substackcdn.com/image/fetch/$s_!o_W9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png 1272w, https://substackcdn.com/image/fetch/$s_!o_W9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!o_W9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png" width="1456" height="427" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/59964608-2139-442f-a802-0e25055033e7_12254x3596.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:427,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2144820,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!o_W9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png 424w, https://substackcdn.com/image/fetch/$s_!o_W9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png 848w, https://substackcdn.com/image/fetch/$s_!o_W9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png 1272w, https://substackcdn.com/image/fetch/$s_!o_W9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59964608-2139-442f-a802-0e25055033e7_12254x3596.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Zero-shot generation creates diverse solutions. Every path seeks the truth. Each follows its own course. Some are direct. Others are more complex. All valid. The model acts like a group of experts. Each path offers a different view.</p><p>These paths then interact. Strong strategies merge. Weak points become clear. The model learns to assess its own reasoning. It compares methods. It blends insights. All this happens without extra training.</p><p><strong>Why it's Useful:</strong> Multiple paths offer built-in validation. When paths align, certainty rises. When they don&#8217;t, issues appear. Different views reveal hidden details. Diversity deepens understanding.</p><p><strong>Tradeoffs:</strong> More paths need more computation. Balancing variety and consistency is tricky. Conflicting paths need resolving. For simple tasks, it's overkill. A group isn't always better than one.</p><h3>1.2. Pre-training and Knowledge Transfer</h3><h4>Continued Pre-training</h4><p><strong>How it works:</strong> Models like Galactica <a href="https://arxiv.org/abs/2211.09085">(Taylor et al. 2022)</a> and MINERVA <a href="https://arxiv.org/abs/2206.14858">(Lewkowycz et al. 2022)</a> go beyond standard training. They learn from over 100 billion tokens of scientific data. This includes mathematical papers, scientific articles, and technical documentation. Raw data is converted into structured knowledge.</p><p>Galactica includes tokens for specific scientific terms. It treats citations as part of the vocabulary. Chemical formulas become meaningful. Mathematical symbols are treated like tools. It learns the language of science.</p><p>MINERVA focuses on quantitative reasoning. It answers natural language questions in physics, chemistry, and economics. Converts questions into math formulas. Uses LaTeX to present detailed solutions. It performs the calculations on its own.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!acNj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!acNj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png 424w, https://substackcdn.com/image/fetch/$s_!acNj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png 848w, https://substackcdn.com/image/fetch/$s_!acNj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png 1272w, https://substackcdn.com/image/fetch/$s_!acNj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!acNj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png" width="1456" height="1158" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1158,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3258014,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!acNj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png 424w, https://substackcdn.com/image/fetch/$s_!acNj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png 848w, https://substackcdn.com/image/fetch/$s_!acNj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png 1272w, https://substackcdn.com/image/fetch/$s_!acNj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6135f6f7-5005-4de5-b0c9-46ffa98e7127_13179x10482.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Why it's useful:</strong> Smaller models can surpass larger ones in specific fields. They grasp complex math. Work with technical notation naturally. The gap between general models and experts shrinks.</p><p><strong>Tradeoffs:</strong> Training costs rise. Each field requires massive new data. As new knowledge grows, old knowledge fades. Balancing focus and breadth is hard. It might be great at physics but weak in other areas.</p><h4>Curriculum Learning</h4><p><strong>How it Works:</strong> Learning transforms from random sampling to structured progression <a href="https://aclanthology.org/2022.naacl-main.72/">(Adyasha &amp; Maharana 2022)</a>. Like evolution, but guided. Deliberate. Purposeful.</p><p>A teacher network ranks training samples. Easy concepts come first. Complex ideas build on simple ones. The pacing function controls the flow of knowledge. Sometimes fixed. Sometimes adaptive. Responds to the model's growing understanding.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!j1RA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!j1RA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png 424w, https://substackcdn.com/image/fetch/$s_!j1RA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png 848w, https://substackcdn.com/image/fetch/$s_!j1RA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png 1272w, https://substackcdn.com/image/fetch/$s_!j1RA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!j1RA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png" width="1456" height="289" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:289,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1388543,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!j1RA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png 424w, https://substackcdn.com/image/fetch/$s_!j1RA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png 848w, https://substackcdn.com/image/fetch/$s_!j1RA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png 1272w, https://substackcdn.com/image/fetch/$s_!j1RA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9c0f254-ebcf-4061-bc68-e02e84f22c5b_12469x2476.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Three methods measure sample difficulty. Question Answering Probability tracks how often the model succeeds. Model Variability watches for consistent responses. Energy-based scoring identifies outliers and edge cases. The curriculum adapts based on these signals.</p><p><strong>Why it's Useful:</strong> Models learn more efficiently. They build strong foundations before tackling complexity. Understanding grows naturally. Organically. Each concept reinforces the last. Difficult ideas become manageable when approached in sequence.</p><p><strong>Tradeoffs:</strong> Designing effective curricula challenges even experts. Learning time stretches longer. Some concepts resist ordered progression. The path from simple to complex isn't always clear. Sometimes chaos teaches better than order.</p><h4>CoT Knowledge Distillation</h4><p><strong>How it Works:</strong> Large models become teachers. Small models become students. Knowledge transfers through carefully curated examples <a href="https://arxiv.org/abs/2212.08410">(Magister et al. 2023)</a>.</p><p>The process splits into two phases. First, generate Chain of Thought data. Large models solve problems step by step. Show their work. Create a roadmap of reasoning. Only correct solutions make the cut. Quality matters more than quantity.</p><p>Then comes student fine-tuning. Small models learn from these examples. They see not just answers but thinking processes. The target answer guides early steps. This prevents small errors from derailing entire solutions. Teacher forcing ensures the student stays on track.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FQ4Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FQ4Q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png 424w, https://substackcdn.com/image/fetch/$s_!FQ4Q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png 848w, https://substackcdn.com/image/fetch/$s_!FQ4Q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png 1272w, https://substackcdn.com/image/fetch/$s_!FQ4Q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FQ4Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png" width="1456" height="357" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:357,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1408897,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FQ4Q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png 424w, https://substackcdn.com/image/fetch/$s_!FQ4Q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png 848w, https://substackcdn.com/image/fetch/$s_!FQ4Q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png 1272w, https://substackcdn.com/image/fetch/$s_!FQ4Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd01e171a-ef2a-4411-84d3-aef09635d3ca_12427x3046.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>Why it's Useful:</strong> Advanced reasoning becomes accessible to smaller models. Complex problem-solving skills transfer efficiently. Small models learn to think clearly with limited resources. They gain the wisdom of larger models without the computational burden.</p><p><strong>Tradeoffs:</strong> Some sophistication gets lost in translation. Students never quite match their teachers. The distillation process demands careful curation. Bad examples can teach bad habits. The balance between compression and comprehension remains delicate.</p><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://discord.gg/bagelnet&quot;,&quot;text&quot;:&quot;Join Bagel Community&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://discord.gg/bagelnet"><span>Join Bagel Community</span></a></p><div><hr></div><h2>2. Inference Time Approaches</h2><h3>2.1. Chain-Based Methods</h3><h4>Chain of Thought (CoT)</h4><p><strong>How it works:</strong> <a href="https://arxiv.org/abs/2201.11903">Wei et al.</a> redefined reasoning with their 2022 paper. They introduced language models to step-by-step problem-solving using just eight examples. These guided models unlock hidden potential.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Mvb6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mvb6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png 424w, https://substackcdn.com/image/fetch/$s_!Mvb6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png 848w, https://substackcdn.com/image/fetch/$s_!Mvb6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png 1272w, https://substackcdn.com/image/fetch/$s_!Mvb6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mvb6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png" width="1456" height="325" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:325,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1535340,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Mvb6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png 424w, https://substackcdn.com/image/fetch/$s_!Mvb6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png 848w, https://substackcdn.com/image/fetch/$s_!Mvb6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png 1272w, https://substackcdn.com/image/fetch/$s_!Mvb6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F057aae90-c73d-4a7a-96d0-a8896dcc27c3_12526x2795.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>With precise prompts, models show their internal reasoning. No need for new training or changes to the model. This latent capability is accessed by using strategic examples.</p><p>The models learn to break down problems into logical steps that mimic human thinking. Each step becomes clear. The internal thought process shifts from a black box to a visible sequence.</p><p>This approach scaled well. PaLM, with chain-of-thought prompting, hit 75.6% on StrategyQA. Even sports questions saw 95.4% accuracy, surpassing human experts. Complex math problems were solved with clear, step-by-step reasoning. In commonsense tasks, hidden assumptions surfaced in natural language. Symbolic problems became easy to follow.</p><p><strong>Why it's useful:</strong> Wei et al.'s work showed breakthroughs across fields. LaMDA 137B demonstrated this by generating 96% correct answers with sound reasoning. Problem-solving became transparent. Larger models produced more coherent explanations.</p><p><strong>Tradeoffs:</strong> Reasoning sometimes fails. Models can get confused. Wei&#8217;s research showed that 46% of wrong answers had minor mistakes, while 54% had major logical errors. Sequential reasoning can hit barriers. Complex tasks push models to their limits.</p><h4>Program of Thought (PoT)</h4><p><strong>How it works:</strong> <a href="https://arxiv.org/abs/2211.12588">Chen et al.'s 2022</a> work changed how models approach math. They turned natural language into executable programs that solve complex problems with machine-level precision.</p><p>The process is seamless. Word problems convert directly into Python code. Variables capture key details from the text. Functions embody solution strategies. Algorithms emerge from simple descriptions. The model coordinates external tools with precision.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QaY-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QaY-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png 424w, https://substackcdn.com/image/fetch/$s_!QaY-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png 848w, https://substackcdn.com/image/fetch/$s_!QaY-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png 1272w, https://substackcdn.com/image/fetch/$s_!QaY-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QaY-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png" width="1456" height="884" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:884,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2365539,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!QaY-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png 424w, https://substackcdn.com/image/fetch/$s_!QaY-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png 848w, https://substackcdn.com/image/fetch/$s_!QaY-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png 1272w, https://substackcdn.com/image/fetch/$s_!QaY-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8c4f518b-0f8c-4465-a9f8-429bffb43db1_12809x7778.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>PoT set new records, improving math benchmarks by 8% in few-shot settings. In zero-shot, the gains were 12%. The code tells a story with structured logic. Control flows mirror human thought. Programs serve as both solution and explanation.</p><p>PAL expanded on this. <a href="https://arxiv.org/abs/2211.10435">Gao et al. in 2023</a> showed how models could use Python interpreters for better reasoning. Complex calculations became sharper. Formal math operations translated into natural expression.</p><p><strong>Why it's useful:</strong> Precision dominates. Math problems flow into code. The model combines high-level reasoning with computational accuracy. It's like a mathematician working alongside a supercomputer.</p><p><strong>Tradeoffs:</strong> Some problems don't translate well into code. Executing programs raises security concerns. The model must handle both natural language and code, increasing the risk of errors.</p><h3>2.2. Consistency and Verification Methods</h3><h4>Self-Consistency (SC)</h4><p><strong>How it works:</strong> <a href="https://arxiv.org/abs/2203.11171">Wang et al.</a> introduced SC in 2022, shifting from greedy decoding to statistical sampling. This method changes inference entirely.</p><p>Instead of one solution, each step produces multiple paths. SC explores various reasoning attempts at once. The decoder samples different trajectories in the probability space. Errors are reduced by repeating steps, leading to validation through sampling.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lsDw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lsDw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png 424w, https://substackcdn.com/image/fetch/$s_!lsDw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png 848w, https://substackcdn.com/image/fetch/$s_!lsDw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png 1272w, https://substackcdn.com/image/fetch/$s_!lsDw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lsDw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png" width="1456" height="559" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:559,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2011625,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lsDw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png 424w, https://substackcdn.com/image/fetch/$s_!lsDw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png 848w, https://substackcdn.com/image/fetch/$s_!lsDw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png 1272w, https://substackcdn.com/image/fetch/$s_!lsDw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39d25474-2a9f-4519-a575-9d03e62eb82b_12427x4767.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>SC&#8217;s statistical foundation is strong. It marginalizes over samples to minimize errors in individual paths. Think of it like quantum mechanics: multiple paths exist, and truth emerges from the statistical patterns.</p><p>Their approach was groundbreaking. The decoder generates n unique reasoning chains, each following a different probability path. Final answers come from majority voting, but the process goes beyond simple counts.</p><p>Wang's team tested models from UL2-20B to PaLM-540B. Accuracy increased across the board. Smaller models showed the most improvement, indicating SC unlocks hidden potential in models of all sizes.</p><p><strong>Why it's useful:</strong> Numbers tell the story. Multiple paths automatically validate answers. Different paths catch edge cases. Robustness increases as more paths are explored. Quantity becomes quality.</p><p><strong>Tradeoffs:</strong> Computation grows costly. Each path demands resources. Memory use spikes. Contradictory paths sometimes arise. Resolving these conflicts adds complexity.</p><h4>Self-Endorsement (SE)</h4><p><strong>How it works:</strong> <a href="https://arxiv.org/abs/2402.15631">Wang et al.&#8217;s 2024</a> paper introduced SE, a new verification method. The system generates diverse responses and then analyzes them. Facts are extracted, labeled, and compared. Cross-response validation assigns endorsement scores to each fact.</p><p>SE uses advanced fact extraction algorithms. Neural retrieval identifies key claims, and automatic cross-referencing helps the model distinguish strong facts from weaker ones. This statistical validation process drives the system.</p><p>High-scoring facts shape future outputs, while low-scoring ones lead to re-evaluation. Each pass refines the model&#8217;s response through consistency.</p><p>The fact extraction pipeline is highly technical. Named entity recognition identifies key elements, and relation extraction maps connections. All of this occurs without human input.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v8Ww!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v8Ww!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png 424w, https://substackcdn.com/image/fetch/$s_!v8Ww!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png 848w, https://substackcdn.com/image/fetch/$s_!v8Ww!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png 1272w, https://substackcdn.com/image/fetch/$s_!v8Ww!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v8Ww!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png" width="1456" height="361" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2823c389-9945-4800-9310-61b705827cea_12395x3071.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:361,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1687409,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v8Ww!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png 424w, https://substackcdn.com/image/fetch/$s_!v8Ww!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png 848w, https://substackcdn.com/image/fetch/$s_!v8Ww!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png 1272w, https://substackcdn.com/image/fetch/$s_!v8Ww!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2823c389-9945-4800-9310-61b705827cea_12395x3071.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>Why it's useful:</strong> Accuracy improves. Hallucinations drop. The system validates its own facts. Confidence scores make responses more reliable.</p><p><strong>Tradeoffs:</strong> Processing takes longer. Fact extraction sometimes fails. Complex statements resist simple validation. Some valid facts get rejected if they don&#8217;t fit the statistical pattern.</p><h4>Least-to-Most Prompting (LM)</h4><p><strong>How it works:</strong> <a href="https://arxiv.org/abs/2205.10625">Zhou et al.</a> introduced LM in 2022, a system that breaks tasks into smaller parts and solves them step by step.</p><p>The process follows phases. First, the model analyzes the input. Next, it identifies sub-tasks. Then, it solves each part. Finally, it combines the results. Each phase builds on the previous 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_!fwnz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fwnz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png 424w, https://substackcdn.com/image/fetch/$s_!fwnz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png 848w, https://substackcdn.com/image/fetch/$s_!fwnz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png 1272w, https://substackcdn.com/image/fetch/$s_!fwnz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fwnz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png" width="1456" height="480" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:480,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1796200,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fwnz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png 424w, https://substackcdn.com/image/fetch/$s_!fwnz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png 848w, https://substackcdn.com/image/fetch/$s_!fwnz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png 1272w, https://substackcdn.com/image/fetch/$s_!fwnz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F263c73f4-2993-4b73-b86e-41e28442ba37_12354x4072.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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 example, in the last-letter task with "cat dog bird," the model processes each word separately. It finds &#8216;t&#8217; from "cat," &#8216;g&#8217; from "dog," and &#8216;d&#8217; from "bird." Then, it combines them into "tgd." The model achieved 94% accuracy with four words and 74% even with twelve.</p><p>Errors are predictable. Sometimes letters drop during connection. Sometimes extras appear. But it rarely confuses the final letter of each word.</p><p><strong>Why it's useful:</strong> LM is highly efficient. It only needs two examples to work well. It uses less tokens than traditional methods, achieving equal or better results.</p><p>Scaling is impressive. The model handles sequences four times longer than its training examples without losing accuracy. Standard methods fail on long sequences, scoring 31.8% on twelve-word tests. LM hits 74%, with a growing advantage on harder tasks.</p><p><strong>Tradeoffs:</strong> Some tasks don't split easily. Certain problems need a different approach. The method requires more steps, which adds processing time.</p><p>Technical limits arise. The model must track partial solutions, and memory usage grows with longer sequences. Some tasks need several attempts to find the best split.</p><p>Careful planning is essential. The order of sub-tasks affects accuracy, and managing information efficiently becomes critical. The system must adapt its splitting strategy for different problems.</p><div><hr></div><h3>How to Test for Reasoning</h3><p>Cognitive sciences have studied human reasoning since experimental psychology emerged in the late 19th century. This field has been crucial for technological development, education improvement, cognitive disorder treatment, and better decision-making. Scientists use various tools to study reasoning, including problem-solving tasks, computational models, brain imaging (fMRI and EEG), and behavioral measurements like eye-tracking. These combined methods help researchers understand how humans reason.</p><p>Analogously, AI researchers have invented reasoning tasks to test the reasoning capabilities of LLMs in the form of special datasets. Being AI more of an engineering field and computer science field, these datasets provide a rigorous benchmark to test AI systems. This allows researchers to measure a model&#8217;s accuracy and identify areas where it may be falling short.</p><p>Datasets for testing AI reasoning on one type of reasoning should be diverse around that type of reasoning in order to test various complexities and nuances in tasks. For example, to evaluate language models' common sense capabilities, a dataset like <a href="https://paperswithcode.com/dataset/arc">ARC</a><strong> </strong>is used. The figure below we shows a ranking of the best LLMs for the ARC-challenge dataset taken from different sources.</p><p>Inference-time techniques appear in green, training-time techniques appear in orange, and standard base models appear in blue.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eSlj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eSlj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png 424w, https://substackcdn.com/image/fetch/$s_!eSlj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png 848w, https://substackcdn.com/image/fetch/$s_!eSlj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png 1272w, https://substackcdn.com/image/fetch/$s_!eSlj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eSlj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png" width="1456" height="872" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:872,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2439854,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!eSlj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png 424w, https://substackcdn.com/image/fetch/$s_!eSlj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png 848w, https://substackcdn.com/image/fetch/$s_!eSlj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png 1272w, https://substackcdn.com/image/fetch/$s_!eSlj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e6d20db-e85a-4d66-a12d-7e129f9e25c5_11925x7145.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" 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 image above,<strong> the best performing techniques correspond to inference-time approaches</strong>, in particular, SC has a clear advantage over standard CoT. The fine-tuning approaches cannot match the inference-time approaches where they show a clear advantage.</p><div><hr></div><h2>TLDR</h2><p>Our research focuses on strengthening reasoning in Large Language Models (LLMs) in three ways. First, <strong>arithmetic reasoning</strong> - approaching math problems logically. Next, <strong>commonsense reasoning</strong> - grasping everyday situations and drawing conclusions. Finally, <strong>symbolic reasoning</strong> - handling abstract symbols by strict logic.</p><p>We explore two strategies to push these areas forward. First are <strong>training-time methods</strong>. These adjust AI&#8217;s learning process, adjusting it for specific tasks but needing time and computing power. For example, <strong>WizardMath</strong> teaches detailed problem-solving for math, while <strong>PEFT</strong> (Parameter Efficient Fine-Tuning) builds skills without huge resources. <strong>DCoT</strong> (Divergent Chain of Thought) allows AI to consider multiple solutions simultaneously.</p><p>The second approach is <strong>Inference-time methods</strong>. These enhance existing models without retraining, bringing quick improvements, though sometimes with less depth. <strong>Chain of Thought (CoT)</strong> prompts AI to explain each step it takes. <strong>Program of Thought (PoT)</strong> has AI write and run code to boost accuracy. <strong>Self-Consistency (SC)</strong> checks multiple paths to ensure reliable answers.</p><p>The below table is a summary of our findings.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8GDl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8GDl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png 424w, https://substackcdn.com/image/fetch/$s_!8GDl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png 848w, https://substackcdn.com/image/fetch/$s_!8GDl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png 1272w, https://substackcdn.com/image/fetch/$s_!8GDl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8GDl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png&quot;,&quot;srcNoWatermark&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2f55577f-283e-4d55-be1f-3c3b22df7eda_2176x1632.png&quot;,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:101374,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8GDl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png 424w, https://substackcdn.com/image/fetch/$s_!8GDl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png 848w, https://substackcdn.com/image/fetch/$s_!8GDl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png 1272w, https://substackcdn.com/image/fetch/$s_!8GDl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59cb85b7-3fdf-47bb-b01a-a11abdc09143_2176x1632.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Techniques for Enhancing AI Reasoning&#65279;</figcaption></figure></div><p>By open-sourcing our research on AI reasoning, our team at Bagel aims to collaborate with the Open Source AI community to forge humanity's next chapter.</p>]]></content:encoded></item></channel></rss>