<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>Quark&#39;s Lunar Room</title>
<link>https://negativegluon.github.io/</link>
<atom:link href="https://negativegluon.github.io/index.xml" rel="self" type="application/rss+xml"/>
<description>Personal homepage and blog of Bushi Liu.</description>
<generator>quarto-1.7.32</generator>
<lastBuildDate>Sat, 21 Nov 2026 06:00:00 GMT</lastBuildDate>
<item>
  <title>Sample Many, Collapse to One: A Post-Mortem of Three Generations of Multi-LLM Agent Systems/多采样，然后坍缩：三代多 LLM 代理系统复盘</title>
  <dc:creator>Bushi Liu</dc:creator>
  <link>https://negativegluon.github.io/posts/evoforge-postmortem/</link>
  <description><![CDATA[ 




<div class="en">
<p><a href="figs/art_cover_pit.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-1"><img src="https://negativegluon.github.io/posts/evoforge-postmortem/figs/art_cover_pit.jpg" class="img-fluid" alt="Cover: many glittering spots to dig are scattered over a graph-paper plain, yet nearly all the small robots crowd around one deep pit in the middle; only a few at the edges dig their own"></a></p>
<blockquote class="blockquote">
<p>GLM, Qwen, DeepSeek and Kimi in this post all refer to the versions deployed on my university’s GenAI platform, each with its own output cap, concurrency limit and unreliable routing. Every comparison between models below is about this particular deployment, not about the capability of the official models.</p>
</blockquote>
<section id="summary" class="level2">
<h2 class="anchored" data-anchor-id="summary">Summary</h2>
<ul>
<li>In September 2026 I built three successive generations of multi-agent systems for three competitions, all on the same set of models: an arena of long-running lanes, a genetic-algorithm system with cooperative-game credit called EvoForge, and finally a retreat to a single Codex orchestrator with sub-agents.</li>
<li>The systems rested on two assumptions: many agents sampling in parallel explore more widely than one strong agent, and competition between agents provides a natural feedback signal. The first held up, roughly, on the generation side. The second did not.</li>
<li>All three competitions saw diversity collapse, but in different places: Kaggriculture collapsed at the level of code, Structural Break at the level of conclusions, AIIJC at the level of paradigm. The selection signal broke differently in each: bias, variance, and decoupling from the public leaderboard. The credit schemes I designed were almost never wired into selection.</li>
<li>In every competition, the basin the system ended up in can be traced back to a starting point supplied from outside the system. Soft interventions can only move the attractor, and whether they move it depends on how much it costs to leave a local optimum.</li>
<li>The true gain of a single iteration in a multi-agent system is small, often smaller than the noise in the credit signal itself. Noise has to be part of the design: take larger steps, hand out less winner-take-all 0/1 credit based on the global best, or switch to a cleaner credit signal.</li>
</ul>
</section>
<section id="background" class="level2">
<h2 class="anchored" data-anchor-id="background">1. Background</h2>
<section id="two-assumptions" class="level3">
<h3 class="anchored" data-anchor-id="two-assumptions">1.1 Two assumptions</h3>
<p>The system rested on two assumptions. First, many agents in parallel cover a wider space of exploration, sampling and trial-and-error than a single strong agent. The design principle I wrote down at the time was “sample many, rather than have them reach consensus.” Second, competition between agents is itself feedback: the competitive metric matches the final objective, so the ranking tells me which directions are worth pursuing.</p>
<p>Behind the second assumption sat an analogy I had not noticed. In a human competition the leaderboard is external: the test set is held by the organizer and nobody can see it. In my system the leaderboard was endogenous: the competitors were each other’s opponents and each other’s examiners. I carried the intuition from the first setting straight into the second.</p>
<p>Looking back, the first assumption roughly held on the generation side and the second did not. This post tries to explain why “the natural feedback of competition” failed in three different ways in three competitions, and how it gradually ate away the diversity the generation side produced.</p>
</section>
<section id="three-competitions" class="level3">
<h3 class="anchored" data-anchor-id="three-competitions">1.2 Three competitions</h3>
<table class="caption-top table">
<thead>
<tr class="header">
<th>Competition</th>
<th>Task</th>
<th>Terrain</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>CrunchDAO Structural Break (SB) [2]</td>
<td>Break detection in univariate time series, scored by TS-AUC</td>
<td>Static: the data is fixed and a score does not depend on other entrants</td>
</tr>
<tr class="even">
<td>Kaggriculture (Kag) [1]</td>
<td>Two-player farm economy game, ranked by Bradley-Terry over matches [4]</td>
<td>Co-evolving: quality depends on the opponent, and the local opponents are the system’s own products</td>
</tr>
<tr class="odd">
<td>AIIJC [3]</td>
<td>Defect and quality prediction for 3D objects</td>
<td>Static, but local validation disagrees with the public leaderboard, and leaderboard feedback is scarce</td>
</tr>
</tbody>
</table>
<p>Before the systems started, SB already had two lines: my own at 62.92 and a teammate’s at 63.43. The final first place was around 71. The AIIJC field was mostly students, and I do not use its ranking to argue anything about the system.</p>
<p>The “terrain” column is the thread for the rest of the analysis. On static terrain, how good a solution is stays fixed and the only question is how accurately you measure it. On co-evolving terrain, how good a solution is depends on who it plays against, so even a precise measurement may be measuring the wrong thing.</p>
</section>
<section id="models" class="level3">
<h3 class="anchored" data-anchor-id="models">1.3 Models</h3>
<table class="caption-top table">
<colgroup>
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
</colgroup>
<thead>
<tr class="header">
<th>Model</th>
<th>Output cap</th>
<th>Concurrency</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>GLM-5.3-Flash</td>
<td>8K</td>
<td>16</td>
<td>Most stable link</td>
</tr>
<tr class="even">
<td>Qwen-3.8</td>
<td>4K</td>
<td>16</td>
<td>Often timed out on long tasks</td>
</tr>
<tr class="odd">
<td>DeepSeek-V4-Pro</td>
<td>8K (incl.&nbsp;reasoning)</td>
<td>16</td>
<td>Routing 502s about 14× as often as GLM</td>
</tr>
<tr class="even">
<td>Kimi-k3</td>
<td>8K</td>
<td>2</td>
<td>Frequent turns that only wrote plans and called no tools</td>
</tr>
</tbody>
</table>
<p>All lanes shared one local proxy and one JWT that expired about every 24 hours. When it expired, everything stopped. This happened again and again across all three generations.</p>
</section>
<section id="how-to-read-the-systems" class="level3">
<h3 class="anchored" data-anchor-id="how-to-read-the-systems">1.4 How to read the systems</h3>
<p>I break each system into the three stages of evolution: prompts determine variation, credit and scores determine selection, and visibility (the bulletin board, reading other agents’ code, reading reference solutions) determines transmission. Splitting it this way lets me ask which stage failed. When everyone piles into one direction, it may be because variation was narrow to begin with, because selection eliminated the alternatives, or because one direction spread too fast.</p>
<p>The criterion for collapse: parallel sampling degenerates into repeated exploration of a single idea, and after convergence the external leaderboard sits clearly below the front-runners. The second half matters. If everyone converges on what really is the best idea, that is ordinary convergence. Only convergence to a local optimum counts as collapse.</p>
<iframe class="fig-embed" src="figs/F5_framework.html?lang=en" title="The three generations broken into variation, selection and transmission" loading="lazy" style="width:100%;height:1000px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F5_framework.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
</section>
</section>
<section id="three-generations" class="level2">
<h2 class="anchored" data-anchor-id="three-generations">2. Three generations</h2>
<iframe class="fig-embed" src="figs/F11_architecture.html?lang=en" title="Architecture of the three generations. Click a node for details; toggles highlight variation, selection, transmission and human intervention" loading="lazy" style="width:100%;height:1010px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F11_architecture.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
<table class="caption-top table">
<colgroup>
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
</colgroup>
<thead>
<tr class="header">
<th></th>
<th>Gen 1: arena</th>
<th>Gen 2: EvoForge</th>
<th>Gen 3: Codex orchestrator</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Period</td>
<td>Sep 13–19</td>
<td>Sep 20–27</td>
<td>Sep 27 – Oct 1</td>
</tr>
<tr class="even">
<td>Individual</td>
<td>Long-running lane</td>
<td>Idea family; each episode is a disposable developer</td>
<td>One orchestrator plus up to 4 sub-agents</td>
</tr>
<tr class="odd">
<td>Selection</td>
<td>Agents read the leaderboard and follow the leader</td>
<td>Engine picks parents, allocates slots and puts lagging families to sleep by local score</td>
<td>The orchestrator and I decide together</td>
</tr>
<tr class="even">
<td>Transmission</td>
<td>Everything visible, reference solutions’ source readable</td>
<td>Inheritance from parents only; references off-limits</td>
<td>Orchestrator aggregates</td>
</tr>
<tr class="odd">
<td>Best SB public score</td>
<td>61.30</td>
<td>60.31</td>
<td>63.39</td>
</tr>
</tbody>
</table>
<iframe class="fig-embed" src="figs/F1_timeline.html?lang=en" title="Timeline of the three competitions and three generations, with public scores" loading="lazy" style="width:100%;height:940px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F1_timeline.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
<section id="gen-1-the-arena" class="level3">
<h3 class="anchored" data-anchor-id="gen-1-the-arena">2.1 Gen 1: the arena</h3>
<p>Each lane had its own repository, a supervisor kept it running, and everyone could see everyone else’s code and the bulletin board. Kag also had 4 public solutions in the pool as fixed reference opponents, with readable source; the intent was for agents to learn from them as baselines. For incentives, SB had an honour-points scheme, Kag gave one call to a stronger model every hour to the lane with the highest Elo and to the fastest riser, and AIIJC had a challenge-the-champion points board.</p>
<p><strong>SB.</strong> The evaluation protocol here was actually rigorous. Every experiment was pre-registered on the bulletin board; only after clearing a threshold on the screening set could it read the confirmation set, once. If it failed, it was marked NO-GO and the direction was closed.</p>
<p>The code did not converge. Among newly written experiments, the share of training-free methods fell from 82% to 41%, and code overlap between lanes stayed low throughout. The collapse happened in the conclusions. One lane tried something for 70 minutes, failed the threshold, and wrote “this whole class of directions is closed,” and the other lanes took it as settled. Several lanes then each “reproduced” the same gain, and the operator went out of its way to report that it was “not a fluke of a single agent.” Ten hours later another lane re-checked it and found they had all stepped on the same leaky scorer. Reproduction is not independent verification when everyone shares the same examiner.</p>
<p>On the second day I saw the ranking freezing and the leading methods all crowded into training-free approaches, and made a few gentle interventions: a JSON message board, small penalties for heavy copying, and encouragement of longer training runs and more varied algorithms. The method mix did change, but almost nobody used the message board and the public score did not move. A candidate that scored 67 locally got 59 on the public leaderboard. The best public score of this generation was 61.30, below both pre-existing lines.</p>
<iframe class="fig-embed" src="figs/F4_sb_families.html?lang=en" title="SB, Gen 1: code did not converge; the training-free share fell after the intervention" loading="lazy" style="width:100%;height:890px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F4_sb_families.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
<p><strong>Kag.</strong> This is where the collapse was most complete. The 4 reference opponents entered the pool at the same time. Within a few hours, GLM lanes started building variants of the strongest one, COK [5]; nobody used the other three. Within two days, the entire top 10 consisted of COK descendants, with pairwise code overlap around 0.9. The top 30 all came from GLM lanes, and 208 of the 216 hourly rewards went to GLM. Several lanes running other models submitted the same baseline once and never submitted again. The online rating rose from 950 to about 1200 (a mid-competition score, not the final result), and almost all of that came from COK itself.</p>
<p>When I put COK in, I meant it as a teacher. It became both the largest single gain of the whole run and the seed of its most complete collapse.</p>
<p>The non-GLM lanes falling behind is partly my own doing: I swapped models several times along the way and shut down four lanes by Elo. Add Qwen’s 4K output cap, Kimi’s concurrency of 2 and DeepSeek’s frequent 502s, and there is no way to separate “weaker model” from “worse conditions.”</p>
<iframe class="fig-embed" src="figs/F2_kag_collapse.html?lang=en" title="Kag, Gen 1: within two days of COK entering the pool, the whole top 10 were its descendants" loading="lazy" style="width:100%;height:770px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F2_kag_collapse.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
<p><strong>AIIJC.</strong> The single-agent phase was stuck around 14.4. I had given that agent a few constraints: a fixed validation protocol, no seed sweeps, no backbone fine-tuning. The arena lifted these as “historical constraints from a finished batch,” added 8 GPUs, and stated explicitly that there would be no automatic elimination by global best score, “to avoid driving a four-way collapse.”</p>
<p>Two days later a GLM lane produced partial fine-tuning of the vision tower plus a multi-seed ensemble, reaching 15.1 on the public leaderboard; none of the next eight submissions beat it. By the end every lane was doing vision fine-tuning, but each wrote its own code, with overlap of only 0.3. It looks more like convergence on a recipe than copying. From the fourth day on, what actually steered direction was the public-leaderboard feedback I relayed onto the bulletin board.</p>
<p>This was the only improvement across the three competitions that the agents produced themselves and that beat the predecessor on the external score. It has two problems. It cannot be separated from “constraints lifted, compute added”; I had no single-agent run with the same constraints lifted as a control. And the effective route came entirely from a few GLM-driven lanes, which looks more like multiple samples from one model than different models each contributing a path.</p>
</section>
<section id="gen-2-evoforge" class="level3">
<h3 class="anchored" data-anchor-id="gen-2-evoforge">2.2 Gen 2: EvoForge</h3>
<p>After the first generation collapsed, I rebuilt the system as a genetic algorithm: an idea family is an individual, each episode is a disposable developer that lives for 90 minutes, the family champion is the parent, and lagging families are put to sleep. The design requirement was to “strongly encourage diversity of solutions and guard against the existing collapse.” I also designed a Shapley-style cooperative credit [6] to measure each mechanism’s contribution to the coalition. To prevent contamination, episodes could not see the leaderboard or read the reference solutions.</p>
<p>The first thing that dragged it down was the execution layer:</p>
<table class="caption-top table">
<thead>
<tr class="header">
<th>Model</th>
<th>Compliant delivery rate</th>
<th>Main failure</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>GLM</td>
<td>20%</td>
<td>Non-compliant deliverables</td>
</tr>
<tr class="even">
<td>Qwen</td>
<td>13%</td>
<td>Timeouts</td>
</tr>
<tr class="odd">
<td>DeepSeek</td>
<td>8%</td>
<td>Non-compliant deliverables, upstream failures</td>
</tr>
<tr class="even">
<td>Kimi</td>
<td>1%</td>
<td>Going in circles inside its context</td>
</tr>
</tbody>
</table>
<p>On top of that, nearly half of all episodes were blocked within seconds of starting. SB ran for 13 hours and the GA produced 2 valid candidates. After I seeded it by hand, every subsequent champion descended from that seed. The local score rose by 0.05 and then never rose again; the public score was the lowest of the three generations, 60.31. Kag’s local score took only three values, 0, 0.0625 and 0.125, close to noise, and selection ran on it all the same.</p>
<p>I did not design the strength of selection either. Each generation had fewer development slots than active families, so only high-scoring families got slots. With healthy infrastructure and enough slots, every family would have received one and selection would have degenerated into equal allocation. In other words, how strong “survival of the fittest” was in EvoForge depended on how bad the routing failures were. The crossover operator showed no benefit either: children rarely beat their parents.</p>
<p>At the code level EvoForge was not uniform; the champions’ code differed a lot. What it lacked was a higher score ceiling and the ability to deliver. Another shift: GLM’s share among champions climbed past half, and Kimi soon dropped to zero.</p>
<iframe class="fig-embed" src="figs/F8_evoforge_funnel.html?lang=en" title="EvoForge's delivery funnel: nearly half of all episodes were blocked at start" loading="lazy" style="width:100%;height:885px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F8_evoforge_funnel.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
</section>
<section id="gen-3-a-codex-orchestrator" class="level3">
<h3 class="anchored" data-anchor-id="gen-3-a-codex-orchestrator">2.3 Gen 3: a Codex orchestrator</h3>
<p>After September 27 I gave up on competition between LLM lanes and had Codex act as an orchestrator with a few sub-agents, deciding direction together with me. The turning point was one sentence of mine: “Haven’t you noticed you’ve walked into a dead end?” After that we moved to synthetic data, two years of mixed data, and source-isolated validation. The local confirmation score kept climbing while the public score stalled just above 63. My verdict on the later submissions was that they were “basically useless, which also shows the previous wave of exploration was headed the wrong way.” The best result, 63.39, tied my teammate’s existing 63.43. The improvement came from a change of direction that I drove, not from any selection mechanism in the architecture.</p>
</section>
</section>
<section id="why-it-collapsed-and-why-it-couldnt-be-pulled-back" class="level2">
<h2 class="anchored" data-anchor-id="why-it-collapsed-and-why-it-couldnt-be-pulled-back">3. Why it collapsed, and why it couldn’t be pulled back</h2>
<section id="credit-was-never-wired-into-selection" class="level3">
<h3 class="anchored" data-anchor-id="credit-was-never-wired-into-selection">3.1 Credit was never wired into selection</h3>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>System</th>
<th>Designed credit</th>
<th>What it actually did</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>SB arena</td>
<td>Honour points, penalties, message board</td>
<td>Existed only in the prompt. Almost nobody used the message board</td>
</tr>
<tr class="even">
<td>Kag arena</td>
<td>One stronger-model call per hour</td>
<td>96% went to GLM, with no visible extra output</td>
</tr>
<tr class="odd">
<td>AIIJC arena</td>
<td>Challenge points</td>
<td>Awarded three times, then went silent</td>
</tr>
<tr class="even">
<td>EvoForge</td>
<td>Shapley cooperative credit</td>
<td>Only broke ties in the compute queue, triggered about 0.5% of the time; compute was never congested</td>
</tr>
</tbody>
</table>
<p>The selection that actually operated was something else. In the first generation it was the agents themselves reading the leaderboard and following the leading lineage; in the second it was the engine picking parents directly by local score. Keeping credit out of selection was largely my own decision: I worried it would distort development and required that it “not affect the token-level development budget at all.” Later, when I found that elimination “wasn’t doing much,” my fix was to strengthen score-based slot allocation, not to wire credit in.</p>
<p>Even wired in, the Shapley credit would not have saved anything. Its value function used scores from the same local panel whose problems the next section covers in detail. The more elaborate the credit, the more precisely it distributes noise.</p>
</section>
<section id="the-selection-signal-broke-in-three-places" class="level3">
<h3 class="anchored" data-anchor-id="the-selection-signal-broke-in-three-places">3.2 The selection signal broke in three places</h3>
<iframe class="fig-embed" src="figs/F6_variance_bias.html?lang=en" title="Variance and bias: the winner's curse of taking the max on a noisy panel (drag the sliders), and a change a closed ruler cannot see" loading="lazy" style="width:100%;height:960px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F6_variance_bias.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
<p><strong>SB: variance.</strong> EvoForge’s local panel had only 384 series and was evaluated 111 times. The same candidate on a different panel of the same size could move by 2.7 percentage points, while candidates differed from each other by a few tenths. Taking the maximum over and over on such a panel guarantees that the winner is the one noise happened to lift. The more candidates, the smaller the panel and the more often it is reused, the more systematically the winner’s local score exceeds its true level. This is the winner’s curse [7]: variance, passed through selection, turns into bias. Late in the run, the same weights repackaged and attached to several artifacts could hold the top spot.</p>
<p><strong>Kag: bias.</strong> The local league played over 270,000 matches, with a median of more than 1,800 matches per strategy, so Elo was measured precisely. The problem is that it measured “who is strongest within this group,” and the group was almost entirely COK descendants. The local top 10 beat COK seventy to eighty percent of the time, yet sat around 1200 online. The reference opponents were “development, not a holdout,” and there was no held-out anything in the system.</p>
<p>An example. Early on, a GLM lane wrote a guard against the warehouse overflowing at night; front-running solutions had the same thing [8][9][10][11]. For a while it pushed that lane to first place in Elo, because the baseline at the time did overflow. Once the population had turned over to COK descendants, and COK never overflows, the patch measured exactly zero locally, was judged useless, and was dropped. The lane’s judgment was not wrong; the ruler could not see this kind of change. It was not necessarily a decisive direction that got missed, but a closed population competing against itself could not recognize what it did.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/art_mirror.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-2" title="A mirror that only shows ourselves"><img src="https://negativegluon.github.io/posts/evoforge-postmortem/figs/art_mirror.jpg" class="img-fluid figure-img" alt="A mirror that only shows ourselves"></a></p>
<figcaption>A mirror that only shows ourselves</figcaption>
</figure>
</div>
<iframe class="fig-embed" src="figs/F3_kag_rating.html?lang=en" title="Rating trajectories by lineage in Kag, Gen 1" loading="lazy" style="width:100%;height:815px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F3_kag_rating.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
<p><strong>AIIJC: decoupling.</strong> The local validation folds were rotated and reused until a reviewer wrote that “switching folds does not restore blindness.” The public leaderboard was the only blind signal, but only I could query it, about a dozen times in total, and the rankings by local and public score were even negatively correlated: the ensembles with the highest local scores did worse on the public board.</p>
<p><strong>Three problems, three fixes.</strong> “High locally, low publicly” looks the same in all three, but the diagnosis differs. Re-evaluate the same candidate on fresh data: in SB the score drops; in Kag there is no “other data,” since Elo is only defined within this population; in AIIJC switching folds does nothing and only the public board is new data. Evaluate more times: in SB the error shrinks, but as long as selection happens on the same panel the bias stays; in Kag there are already plenty of matches and more will not close the gap to the outside; in AIIJC submission limits mean you cannot evaluate much at all. So variance needs more and fresher evaluation data, bias needs opponents from outside the population, and decoupling needs the external signal to actually enter selection. The three also compound: in Kag the bias was amplified by rewards, since the more lanes copied the leader, the more closed the population became and the larger the bias.</p>
<p><strong>What I missed.</strong> All three generations’ evaluation guarded against “contaminated scores”: permutation tests, source isolation, pre-registered thresholds, taking the lower of two panels. Nothing guarded against “is the score precise enough, and does it represent the outside?” There was no budget on the number of evaluations, no uncertainty penalty when taking the maximum, and no out-of-population opponent in Kag. I thought only about OOD and leakage, the bias side; I never thought about variance or selection bias.</p>
<p>The pre-registration threshold had one more side effect. The SB rule was “if you fail the gate, mark it NO-GO, close the direction and don’t keep searching.” It was meant to prevent p-hacking; it ended up institutionalizing false negatives. The direction closed after 70 minutes earlier used CUSUM without whitening, and whitening first and then applying CUSUM is exactly one of the routes in the published SB solutions [12][14].</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/art_closed_door.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-3" title="A closed direction"><img src="https://negativegluon.github.io/posts/evoforge-postmortem/figs/art_closed_door.jpg" class="img-fluid figure-img" alt="A closed direction"></a></p>
<figcaption>A closed direction</figcaption>
</figure>
</div>
</section>
<section id="three-layers-of-collapse" class="level3">
<h3 class="anchored" data-anchor-id="three-layers-of-collapse">3.3 Three layers of collapse</h3>
<iframe class="fig-embed" src="figs/F7_collapse_layers.html?lang=en" title="Three layers of collapse: code, conclusions, paradigm" loading="lazy" style="width:100%;height:945px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F7_collapse_layers.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
<table class="caption-top table">
<colgroup>
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
</colgroup>
<thead>
<tr class="header">
<th></th>
<th>SB</th>
<th>Kag</th>
<th>AIIJC</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Selection-signal problem</td>
<td>Variance</td>
<td>Bias</td>
<td>Decoupling</td>
</tr>
<tr class="even">
<td>Layer of collapse</td>
<td>Conclusions: a local failure written up as a whole class closed, then spread between lanes</td>
<td>Code: the top converged to the single COK lineage</td>
<td>Paradigm: every lane did vision fine-tuning</td>
</tr>
<tr class="odd">
<td>Gap to the front</td>
<td>63.4 vs.&nbsp;about 71</td>
<td>About 1200 (a mid-competition score)</td>
<td>15.1, then no further gains</td>
</tr>
</tbody>
</table>
<p>SB’s problem was not homogenized code. The lanes’ code stayed scattered; the collapse lay in three things: local failures propagated as whole-class closures, several lanes’ “independent reproductions” shared one leaky scorer, and every new experiment was stacked on the same pre-existing feature package and scored on the same panels.</p>
<p>Kag’s collapse is most visible in the code, but it was not all lanes converging at once: the non-GLM lanes stopped producing first, and convergence happened among the remaining GLM lanes.</p>
<p>AIIJC was the mildest: no co-evolving setting, no code copying, just one effective direction that everyone crowded into. The cascade of conclusions came late, and it spread through the leaderboard feedback I relayed, not through lanes reading each other.</p>
<p>EvoForge is a fourth case: scattered code, with collapse showing up in model share and the score ceiling, and the number of active families stuck at the floor.</p>
<p>Fixes have to match the layer where the collapse happens. Isolating code would treat Kag; it would not treat SB or AIIJC, because conclusions and paradigms spread through text and shared starting points.</p>
</section>
<section id="whether-soft-interventions-work-depends-on-the-cost-of-leaving-a-local-optimum" class="level3">
<h3 class="anchored" data-anchor-id="whether-soft-interventions-work-depends-on-the-cost-of-leaving-a-local-optimum">3.4 Whether soft interventions work depends on the cost of leaving a local optimum</h3>
<p>The same kind of soft intervention had different results. After I intervened in SB, the training-free share did fall by half, but the public score did not rise. In Kag, after the exploration lane was excluded from rewards, it kept working on COK.</p>
<p>A possible explanation: leaving a local optimum has a cost, made of two parts. One is the implementation cost of the alternative direction. A behaviour-cloning or PPO candidate in Kag requires building data, training and running full validation matches, and does not fit in one round; in SB you swap in a set of features and one evaluation tells you. The other is how the signal punishes deviation during the transition. Kag is a pure relative ranking, so a half-finished candidate loses the moment it plays; SB’s score is absolute and noisy, so the cost of deviating does not show immediately.</p>
<p>AIIJC was “high cost, weak feedback”: fine-tuning the vision model for one fold and one seed took two or three hours, and few public submissions were left. By this framework soft interventions should struggle there too. That is what happened: point clouds, raw meshes and other non-vision routes were all tried, and none produced an externally useful result.</p>
<p>Injecting ideas lowers the cost of finding another hill, not the cost of walking over to it. If what you inject is itself a hill that can be copied directly, like COK, it simply becomes the new attractor. My view is that handing over ideas does not help; it only moves the collapse somewhere else. Changing the network structure or the incentives might. But in these logs none of the incentives I changed were wired into selection, so this intuition went untested.</p>
</section>
<section id="the-starting-point-decides-the-basin" class="level3">
<h3 class="anchored" data-anchor-id="the-starting-point-decides-the-basin">3.5 The starting point decides the basin</h3>
<p>This is a blind spot I only noticed while going through the data. When designing the system I assumed diversity had nothing to do with the starting point. Looking back, the basin each competition ended up in traces back to a starting point supplied from outside the system: in Kag it was COK; in SB it was the feature package that existed before launch, which two-thirds of the lanes’ new scripts called directly; in AIIJC it was the vision backbone from the single-agent phase, and the arena merely lifted the “don’t fine-tune it” constraint.</p>
<iframe class="fig-embed" src="figs/F10_anchor_basin.html?lang=en" title="The starting point decides the basin: SB's hand-made seed and Kag's COK" loading="lazy" style="width:100%;height:790px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F10_anchor_basin.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
<p>But the further step, “the starting point was chosen by a human, so the human determined the outcome,” does not hold. Kag’s 4 references entered at the same time and the agents adopted only the strongest, COK; nobody used the other three. COK beat the old baseline almost every game, and the strategy that ranked first before the injection could not win a single game against COK’s descendants. This looks like rational anchoring: the starting point decides who shows up, and wins and losses decide who stays.</p>
<p>EvoForge’s seed was similar. It pushed the local score to the top, and candidates that did not descend from it always trailed; but its public score was lower than the first generation’s pre-existing package, so it was a good starting point, not a lock. Search inside the basin did produce something: COK’s descendants did beat COK itself, and SB’s local score did rise for a while after the seed. It just saturated within somewhere between a dozen hours and two days. Attempts from scratch almost all failed: every SB direction that did not rely on the pre-existing package failed the threshold.</p>
<p>These are only quasi-controls, and each has another explanation: the starting point was simply the strongest public information at the time and any searcher would adopt it; agents failing from scratch may just be a capability limit; part of “no measurable gain within the basin” is the fault of the rulers from section 3.2. A real answer needs the same models and budget in three arms: no references at all, the strongest public solution, and a comparable but weaker solution, plus a single-agent best-of-N baseline.</p>
</section>
<section id="the-execution-layer" class="level3">
<h3 class="anchored" data-anchor-id="the-execution-layer">3.6 The execution layer</h3>
<p>All three generations were repeatedly brought down by the same kind of problem. JWT expiry stopped every lane at once, and I renewed it by hand around twenty times. During upstream 502 storms, eight requests in a hundred succeeded. Once a forwarding layer kept using an old token, and the fault went unnoticed for a long time. Nearly half of EvoForge’s episodes were blocked right after starting.</p>
<p>The differences between models are tangled up with output caps, concurrency, routing failures and tool-calling compatibility. Kimi at first emitted tool-call markup as plain text; GLM’s long contexts were for a while rejected upstream. A good part of GLM’s “lead” is that its model calls were the most stable. EvoForge forced roughly equal dispatch shares across models, so the differences in delivery rate were not caused by scheduling, but they are still “performance under this deployment,” not a ranking of the models’ abilities.</p>
</section>
<section id="where-the-gains-came-from" class="level3">
<h3 class="anchored" data-anchor-id="where-the-gains-came-from">3.7 Where the gains came from</h3>
<iframe class="fig-embed" src="figs/F9_improvement_sources.html?lang=en" title="Where each substantive gain came from" loading="lazy" style="width:100%;height:865px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F9_improvement_sources.html?lang=en" target="_blank" rel="noopener">Open in new tab ↗</a></p>
<p>Sorting every substantive gain by source: Kag’s gain came from the injected COK; the first generation’s big jumps in SB were all leakage and were later voided; EvoForge’s champions all descended from my hand-made seed; the third generation’s gain came from my change of direction. Only the AIIJC gain was produced by the agents, and it too stood on lifted constraints and added compute. Looking closer, the fine-tuning route had already appeared in another lane’s post from the same model, the final version changed only the number of training epochs and the blending relative to the previous one, the local score was flat, and why the public score was higher remains unclear.</p>
<p>This is not a general verdict on what LLM agents can do. These lanes had no internet access, while I kept injecting ideas into the system from outside models and public solutions. How much agents could discover independently with a search tool is something this data cannot answer.</p>
</section>
<section id="an-llm-between-me-and-the-system" class="level3">
<h3 class="anchored" data-anchor-id="an-llm-between-me-and-the-system">3.8 An LLM between me and the system</h3>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/art_courier.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-4" title="An LLM between me and the system"><img src="https://negativegluon.github.io/posts/evoforge-postmortem/figs/art_courier.jpg" class="img-fluid figure-img" alt="An LLM between me and the system"></a></p>
<figcaption>An LLM between me and the system</figcaption>
</figure>
</div>
<p>Everything I knew about the system’s state came from the Codex operator’s reports. So the selection signal on the human side passed through a lossy channel too.</p>
<p>The operator treated lane names as model names: when it reported that “Kimi’s series is the strongest,” that slot had long since been switched to GLM. It also misread instructions: when I said “we must submit today,” it took that as resubmitting an old solution.</p>
<p>During this post-mortem, several of my memories did not match the logs. I remembered SB as not having collapsed, but at the time I had diagnosed “the ranking is freezing and performance is collapsing” myself. I remembered not changing the design between generations, but I had added the message board and the copying penalty. I remembered Kag’s other models as “still submitting, just scoring low,” when most of them had stopped long before. I even thought Kag’s logs had been deleted by mistake; they were all there. Some of this is just time; some probably comes from the reports I read at the time. Even the sub-agent doing this analysis was fooled by a lane name once and credited the AIIJC solution GLM built to Qwen.</p>
</section>
</section>
<section id="hacks-and-emergence" class="level2">
<h2 class="anchored" data-anchor-id="hacks-and-emergence">4. Hacks and emergence</h2>
<p>I saw no sign in the logs of agents deliberately evading rules. What I would call hacks were mostly the system rewarding things it should not have: the same weights repackaged counted as a new “creation”; the same baseline submitted by eleven lanes as their own; one leak in the scorer stepped on again and again by different lanes; the evaluator used different random seeds when ordering and when archiving data, so two panels that were supposedly “the same” shared only a fifth of their series. In the other direction, the bookkeeping rules once hurt genuine work: a lane finished a real piece of development and passed local evaluation, but was ruled invalid because the runner had reset its manifest to the template.</p>
<p>The most valuable emergent behaviour was peer audit. At least four false positives were caught when other lanes re-checked them: a scorer leaking future information, a gain overturned by a permutation test, a feature claimed to be causal that actually used a whole-series mean. All were caught after the gain had already been treated as a leading candidate: late, but caught. This correction channel depends on full visibility, which has to be counted when weighing isolation later. There was also self-correction at the individual level: one lane retracted its own positive result, later found the reason for retracting was an index misalignment, and restored it.</p>
<p>Two other emergent behaviours were less welcome: the bulletin board gradually turned into a collection of failure post-mortems rather than a place to exchange ideas, and some models settled into a stable loop of writing plans without calling tools.</p>
</section>
<section id="against-the-front-runners" class="level2">
<h2 class="anchored" data-anchor-id="against-the-front-runners">5. Against the front-runners</h2>
<p>The front-running solutions only became available after the competitions ended, so this section is hindsight. Its use is to tell apart whether the multi-agent system failed because of its sampling space or because of its filtering.</p>
<p>The common route among Kag’s top three [8][9][10]: behaviour cloning on top teams’ replays, then self-play PPO, then a layer of rule patches. All of these routes appeared in my system, and none was done right: one lane’s behaviour cloning learned to do nothing; another validated with a time split inside the same game and also corrupted the labels, scoring only one or two hundred when uploaded; PPO finished training identical to its initialization, with no updates. One lane, on the last day, built a corpus relabelled “by the action the engine actually executed,” the same idea as the fourth-place team’s [11], and the system was shut down the next day (though its imitation agent had not yet won a game). What reached Kag’s top was a thin layer on top of COK: price gates, caps, crop switching. So Kag’s problem was not failing to think of the route but failing to execute it, and the local evaluation could not tell which route was right.</p>
<p>The key step in the published SB solutions [12][13][14] was to whiten first and then read sequential detection statistics. In my system both whitening and sequential detection came from the pre-launch feature package; the unwhitened version a lane wrote itself was closed within 70 minutes. A synthetic-data pre-training direction was first passed and then overturned by a permutation test: with labels shuffled it still “beat” the real ones, which shows the gate itself had a hole. The third generation’s turn to synthetic data happened to point the same way as the break augmentation in those solutions [13][14]; this time a human carried it there.</p>
</section>
<section id="against-the-literature" class="level2">
<h2 class="anchored" data-anchor-id="against-the-literature">6. Against the literature</h2>
<p>I had not read any of the relevant papers when I built these systems. In hindsight, most of the pitfalls were already known:</p>
<ul>
<li><strong>Island models in FunSearch and AlphaEvolve</strong> [15][16]: isolation plus infrequent migration to preserve diversity. My first generation was fully visible, equivalent to a single island migrating at every step.</li>
<li><strong>Lazer &amp; Friedman [17]; Brackbill &amp; Centola [18]</strong>: the faster information spreads, the better the short run and the less long-run exploration. The latter is set in a data-science competition. There are counterexamples (Mason &amp; Watts [19]), so this is a conditional claim at best. My EvoForge restricted transmission and did no better, but its problems were masked by delivery rates and the score ceiling, so it is not a test.</li>
<li><strong>Dwork et al.’s reusable holdout [20]; Blum &amp; Hardt’s Ladder [21]</strong>: reusing the same evaluation set wears it out. This corresponds to SB’s panel evaluated 111 times. Interestingly, Roelofs et al.’s meta-analysis [22] of Kaggle found almost no overfitting from test-set reuse; that was human teams, limited submissions and large test sets, while my system was a crowd of agents hammering a small panel at high frequency, precisely the region their study did not cover.</li>
<li><strong>Spinning Tops [23]; AlphaStar’s league [24]</strong>: in non-transitive games, Elo is only meaningful within a population, and you need external opponents that specifically hunt for weaknesses and are periodically reset. My reference opponents were fixed, readable, and treated as teachers.</li>
<li><strong>LLMs as mutation operators have attractors</strong> [25]: recent work finds that even without selection pressure, LLMs repeatedly mutating programs converge to a few attractors, and changing the prompt or model only changes the speed. This fits my soft interventions failing, except that my system had selection and visibility at the same time, so the effects cannot be separated.</li>
<li><strong>Huxley-Gödel Machine</strong> [26]: current score is not the same as potential of descendants. This corresponds to EvoForge picking parents by current score, with children rarely beating parents.</li>
<li><strong>MAST’s taxonomy of multi-agent failures</strong> [27]: the largest class of failures comes from system design and specification, not just model capability. Mine too: the main failures were the evaluation protocol, delivery contracts and infrastructure.</li>
<li><strong>Self-MoA and others</strong> [28]: a multi-agent system needs a single-agent best-of-N comparison. I never ran one.</li>
</ul>
<p>The one thing with no direct counterpart in the literature is “a fixed reference opponent with readable source”: it did not act as an opponent; it became a component everyone copied.</p>
</section>
<section id="takeaways-for-building-multi-agent-competition-systems" class="level2">
<h2 class="anchored" data-anchor-id="takeaways-for-building-multi-agent-competition-systems">7. Takeaways for building multi-agent competition systems</h2>
<section id="a-held-out-set-can-fail-in-three-ways" class="level3">
<h3 class="anchored" data-anchor-id="a-held-out-set-can-fail-in-three-ways">7.1 A held-out set can fail in three ways</h3>
<p>SB’s evaluation protocol was rigorous: pre-register, clear the threshold on the screening set, and only then read the confirmation set once. It still failed. First, it wore out: agents never see the labels, but every selection is a query, and after the confirmation set had been read enough times the system itself downgraded it to “known, not blind.” Second, the metric matched but the distribution did not: local evaluation used the full history, while the live leaderboard used a finite window, which I only diagnosed later. Third, it did not exist at all: Kag’s local league was the population itself.</p>
<p>The corresponding remedies are to give each evaluation set a query budget and refresh it regularly, to build validation windows that match the live distribution, and to bring opponents from outside the population into co-evolving environments. I have not validated any of these.</p>
</section>
<section id="isolate-code-and-move-discipline-from-positives-to-negatives" class="level3">
<h3 class="anchored" data-anchor-id="isolate-code-and-move-discipline-from-positives-to-negatives">7.2 Isolate code, and move discipline from positives to negatives</h3>
<p>If I did it again, the first thing I would change is to stop agents from reading each other’s source code, keeping only a limited text channel that both sides must agree to open. That would treat code-level collapse of the Kag kind.</p>
<p>But conclusions and paradigms also spread through text. SB’s “close the direction if you fail the gate” rule prevented false positives and manufactured false negatives. I regret the latter more. A false positive will eventually be caught by the public leaderboard, at the cost of one submission; a false negative is never revisited, and once a direction is closed it is gone for good. So discipline should be allocated the other way round: positive claims can pass fairly freely and be corrected by external checks, while negative conclusions must state their scope (which implementation, what budget, which gate they failed) and closed directions should keep a small quota for revival. How exactly to govern the text channel, what format negative conclusions should take, how large the revival quota should be and how often the channel opens, I do not know yet.</p>
<p>Isolation has costs too. All four false positives were caught by peers in a fully visible environment; before the public leaderboard catches a false positive, it circulates through the population and wastes everyone’s time. The optional message board in the first generation went almost unused, and a channel that requires both sides’ consent may well sit idle too.</p>
</section>
<section id="improve-the-signal-to-noise-ratio-of-credit" class="level3">
<h3 class="anchored" data-anchor-id="improve-the-signal-to-noise-ratio-of-credit">7.3 Improve the signal-to-noise ratio of credit</h3>
<p>The true gain of each step in a multi-agent system is small. SB candidates differed by tenths of a point, while the same candidate moved two or three points on a different panel. At this signal-to-noise ratio, however carefully credit is designed, it is handing out rewards for noise. I see three ways out:</p>
<ul>
<li><strong>Take larger steps.</strong> Make each round of exploration longer and each change bigger, so the gain of a single step exceeds the noise. A side benefit is fewer evaluations, so the evaluation set wears out more slowly. It also directly lowers the cost from section 3.4: Kag’s behaviour cloning did not fit in one round, so the half-finished version got punished by the ranking. The precondition is a reliable execution layer; otherwise the longer the round, the more each failure costs. Larger steps mean fewer parallel samples, but breadth of exploration is not the number of samples: the denser the feedback, the more frequent the imitation and the faster the convergence. How to trade these off depends on signal noise and terrain. The AIIJC gain depended on the 8 GPUs, an example of needing compute to take a big step.</li>
<li><strong>Hand out less winner-take-all 0/1 credit.</strong> When score differences are smaller than the noise, winner-take-all is close to a lottery, and the lottery’s outcome is then written into subsequent selection. EvoForge let only family champions reproduce; AIIJC’s challenge points let whoever had the higher local confirmation score “take the title,” and both times that happened, the public score went down. Kag’s hourly reward to the leader is a different case: Elo there was precise, so what winner-take-all amplified was not noise but the bias of a closed population.</li>
<li><strong>Use a cleaner signal.</strong> For example, a fresh external panel that each candidate is evaluated on once, with results that never feed back into selection, or an uncertainty discount, scaled by the number of candidates, when taking the maximum.</li>
</ul>
</section>
<section id="query-tools-give-methods-not-credit-for-answers" class="level3">
<h3 class="anchored" data-anchor-id="query-tools-give-methods-not-credit-for-answers">7.4 Query tools: give methods, not credit for answers</h3>
<p>I would like to give agents a tool for looking up papers and public methods, so they can skip the parts of the space others have already explored, like “whiten before running CUSUM” [12]. At the same time, gains obtained purely from public methods would be heavily discounted in credit, and agents would not share search results with each other, so that not everyone ends up with the same paper.</p>
<p>There is a problem here I have not worked out. AIIJC’s lanes had no internet access and did not copy each other’s code, yet still converged to the same paradigm, apparently because of shared model priors plus a shared starting point. Banning sharing stops transmission but not common origins: several similar models searching the same engine with similar keywords get the same top results. Section 3.5 says the starting point decides the basin; the more accurate the query tool, the more concentrated the starting points may become. For the discount to matter it must also be wired into selection, and section 3.1 showed that none of my earlier credit designs were. Deciding which parts came from public methods is feasible at the code level with similarity checks, and hard at the level of ideas.</p>
</section>
<section id="remove-the-llm-between-me-and-the-system" class="level3">
<h3 class="anchored" data-anchor-id="remove-the-llm-between-me-and-the-system">7.5 Remove the LLM between me and the system</h3>
<p>Key state should come from a dashboard that does not pass through an LLM, and operator reports must cite the raw data. This applies equally to the agents doing the post-mortem analysis.</p>
</section>
</section>
<section id="limitations" class="level2">
<h2 class="anchored" data-anchor-id="limitations">8. Limitations</h2>
<p>All conclusions apply only to this particular campus deployment of the models. Each system made fewer than ten public submissions on SB, with no confidence intervals. There is no single-agent best-of-N control, and no ablation of isolation level, number of islands or model identity, so “what did multiple agents actually contribute” and “why did GLM lead” cannot be answered from this data. I swapped lanes and models repeatedly along the way, and the effect of infrastructure incidents is of the same order as algorithmic differences. The front-running solutions only became available after the competitions.</p>
</section>
<section id="appendix-where-the-data-came-from" class="level2">
<h2 class="anchored" data-anchor-id="appendix-where-the-data-came-from">Appendix: where the data came from</h2>
<p>This post-mortem is based on the Codex operator sessions, Kag’s first-generation league database, EvoForge’s state database and its 7,000-plus episode directories, and the run logs of each SB first-generation lane. The sessions were flattened first, then events were extracted in bulk. The front-running solutions come from repositories and write-ups published after the competitions.</p>
</section>
<section id="references" class="level2">
<h2 class="anchored" data-anchor-id="references">References</h2>
<p><span id="en-ref-1">[1]</span> Kaggle. (2026). <em>Kaggriculture</em> [Simulation competition]. <a href="https://www.kaggle.com/competitions/kaggriculture" class="uri">https://www.kaggle.com/competitions/kaggriculture</a></p>
<p><span id="en-ref-2">[2]</span> ADIA Lab &amp; CrunchDAO. (2026). <em>ADIA Lab Structural Break Challenge: Real-Time Edition</em> [Competition]. <a href="https://hub.crunchdao.com/competitions/structural-break-real-time" class="uri">https://hub.crunchdao.com/competitions/structural-break-real-time</a>; rules and metric: <a href="https://docs.crunchdao.com/competitions/competitions/structural-break-real-time" class="uri">https://docs.crunchdao.com/competitions/competitions/structural-break-real-time</a></p>
<p><span id="en-ref-3">[3]</span> AIIJC. (2026). <em>International Artificial Intelligence Contest for Children and Youth</em>. <a href="https://aiijc.com/en/" class="uri">https://aiijc.com/en/</a></p>
<p><span id="en-ref-4">[4]</span> Bradley, R. A., &amp; Terry, M. E. (1952). Rank analysis of incomplete block designs: I. The method of paired comparisons. <em>Biometrika, 39</em>(3–4), 324–345. <a href="https://doi.org/10.1093/biomet/39.3-4.324" class="uri">https://doi.org/10.1093/biomet/39.3-4.324</a></p>
<p><span id="en-ref-5">[5]</span> COK-ZhangZiliang. (2026). <em>Kaggriculture</em> [Computer software, Apache-2.0]. GitHub. <a href="https://github.com/COK-ZhangZiliang/Kaggriculture" class="uri">https://github.com/COK-ZhangZiliang/Kaggriculture</a> This post used its V2 snapshot.</p>
<p><span id="en-ref-6">[6]</span> Shapley, L. S. (1953). A value for n-person games. In H. W. Kuhn &amp; A. W. Tucker (Eds.), <em>Contributions to the theory of games II</em> (pp.&nbsp;307–317). Princeton University Press.</p>
<p><span id="en-ref-7">[7]</span> Capen, E. C., Clapp, R. V., &amp; Campbell, W. M. (1971). Competitive bidding in high-risk situations. <em>Journal of Petroleum Technology, 23</em>(6), 641–653. <a href="https://doi.org/10.2118/2993-PA" class="uri">https://doi.org/10.2118/2993-PA</a></p>
<p><span id="en-ref-8">[8]</span> morim3, msdsm, BergBuch, &amp; qistripute. (2026). <em>Kaggriculture 1st place solution</em> [Computer software]. GitHub. <a href="https://github.com/msdsm/kaggriculture-1st-solution" class="uri">https://github.com/msdsm/kaggriculture-1st-solution</a></p>
<p><span id="en-ref-9">[9]</span> Merckle, V. (2026). <em>Kaggriculture 2nd/10148: Trading clutch, and no B200s harmed!</em> [Kaggle writeup]. <a href="https://www.kaggle.com/competitions/kaggriculture/writeups/trading-clutch-no-b200" class="uri">https://www.kaggle.com/competitions/kaggriculture/writeups/trading-clutch-no-b200</a>; code: <a href="https://github.com/vmerckle/kaggriculture" class="uri">https://github.com/vmerckle/kaggriculture</a></p>
<p><span id="en-ref-10">[10]</span> Team DSM (denden, masspeaks, &amp; shimishige). (2026). <em>Kaggriculture 3rd place solution</em> [Computer software]. GitHub. <a href="https://github.com/seven320/kaggriculture-3rd-place-solution" class="uri">https://github.com/seven320/kaggriculture-3rd-place-solution</a></p>
<p><span id="en-ref-11">[11]</span> RobertMX23 (Team Farmcore). (2026). <em>Farmcore: A one-pass transformer trained on what the engine executed</em> [Kaggle writeup]. <a href="https://www.kaggle.com/competitions/kaggriculture/writeups/farmcore-a-one-pass-transformer-trained-on-what-t" class="uri">https://www.kaggle.com/competitions/kaggriculture/writeups/farmcore-a-one-pass-transformer-trained-on-what-t</a>; code: <a href="https://github.com/RobertMX23/farmcore-kaggriculture" class="uri">https://github.com/RobertMX23/farmcore-kaggriculture</a></p>
<p><span id="en-ref-12">[12]</span> bamasa. (2026). <em>adia-structural-break</em> [Computer software]. GitHub. <a href="https://github.com/bamasa/adia-structural-break" class="uri">https://github.com/bamasa/adia-structural-break</a></p>
<p><span id="en-ref-13">[13]</span> cybergeek. (2026). <em>Calibrate, then accumulate: Real-time structural break detection</em> [Competition writeup]. <a href="https://cybergeek2077.github.io/adia-realtime-writeup/" class="uri">https://cybergeek2077.github.io/adia-realtime-writeup/</a></p>
<p><span id="en-ref-14">[14]</span> Ibarrondo Zorroza, E. (2026). <em>online-structural-break-detection</em> [Computer software]. GitHub. <a href="https://github.com/ekhi-ibarrondo/online-structural-break-detection" class="uri">https://github.com/ekhi-ibarrondo/online-structural-break-detection</a></p>
<p><span id="en-ref-15">[15]</span> Romera-Paredes, B., Barekatain, M., Novikov, A., Balog, M., Kumar, M. P., Dupont, E., Ruiz, F. J. R., Ellenberg, J. S., Wang, P., Fawzi, O., Kohli, P., &amp; Fawzi, A. (2024). Mathematical discoveries from program search with large language models. <em>Nature, 625</em>(7995), 468–475. <a href="https://doi.org/10.1038/s41586-023-06924-6" class="uri">https://doi.org/10.1038/s41586-023-06924-6</a></p>
<p><span id="en-ref-16">[16]</span> Novikov, A., Vũ, N., Eisenberger, M., Dupont, E., Huang, P.-S., Wagner, A. Z., Shirobokov, S., Kozlovskii, B., Ruiz, F. J. R., Mehrabian, A., Kumar, M. P., See, A., Chaudhuri, S., Holland, G., Davies, A., Nowozin, S., Kohli, P., &amp; Balog, M. (2025). <em>AlphaEvolve: A coding agent for scientific and algorithmic discovery</em> (arXiv:2506.13131). arXiv. <a href="https://arxiv.org/abs/2506.13131" class="uri">https://arxiv.org/abs/2506.13131</a></p>
<p><span id="en-ref-17">[17]</span> Lazer, D., &amp; Friedman, A. (2007). The network structure of exploration and exploitation. <em>Administrative Science Quarterly, 52</em>(4), 667–694. <a href="https://doi.org/10.2189/asqu.52.4.667" class="uri">https://doi.org/10.2189/asqu.52.4.667</a></p>
<p><span id="en-ref-18">[18]</span> Brackbill, D., &amp; Centola, D. (2020). Impact of network structure on collective learning: An experimental study in a data science competition. <em>PLOS ONE, 15</em>(9), e0237978. <a href="https://doi.org/10.1371/journal.pone.0237978" class="uri">https://doi.org/10.1371/journal.pone.0237978</a></p>
<p><span id="en-ref-19">[19]</span> Mason, W., &amp; Watts, D. J. (2012). Collaborative learning in networks. <em>Proceedings of the National Academy of Sciences, 109</em>(3), 764–769. <a href="https://doi.org/10.1073/pnas.1110069108" class="uri">https://doi.org/10.1073/pnas.1110069108</a></p>
<p><span id="en-ref-20">[20]</span> Dwork, C., Feldman, V., Hardt, M., Pitassi, T., Reingold, O., &amp; Roth, A. (2015). The reusable holdout: Preserving validity in adaptive data analysis. <em>Science, 349</em>(6248), 636–638. <a href="https://doi.org/10.1126/science.aaa9375" class="uri">https://doi.org/10.1126/science.aaa9375</a></p>
<p><span id="en-ref-21">[21]</span> Blum, A., &amp; Hardt, M. (2015). The Ladder: A reliable leaderboard for machine learning competitions. In <em>Proceedings of the 32nd International Conference on Machine Learning</em> (PMLR Vol. 37, pp.&nbsp;1006–1014). <a href="https://proceedings.mlr.press/v37/blum15.html" class="uri">https://proceedings.mlr.press/v37/blum15.html</a></p>
<p><span id="en-ref-22">[22]</span> Roelofs, R., Shankar, V., Recht, B., Fridovich-Keil, S., Hardt, M., Miller, J., &amp; Schmidt, L. (2019). A meta-analysis of overfitting in machine learning. In <em>Advances in Neural Information Processing Systems 32</em> (pp.&nbsp;9175–9185). <a href="https://proceedings.neurips.cc/paper/2019/hash/ee39e503b6bedf0c98c388b7e8589aca-Abstract.html" class="uri">https://proceedings.neurips.cc/paper/2019/hash/ee39e503b6bedf0c98c388b7e8589aca-Abstract.html</a></p>
<p><span id="en-ref-23">[23]</span> Czarnecki, W. M., Gidel, G., Tracey, B., Tuyls, K., Omidshafiei, S., Balduzzi, D., &amp; Jaderberg, M. (2020). Real world games look like spinning tops. In <em>Advances in Neural Information Processing Systems 33</em> (pp.&nbsp;17443–17454). <a href="https://proceedings.neurips.cc/paper/2020/hash/ca172e964907a97d5ebd876bfdd4adbd-Abstract.html" class="uri">https://proceedings.neurips.cc/paper/2020/hash/ca172e964907a97d5ebd876bfdd4adbd-Abstract.html</a></p>
<p><span id="en-ref-24">[24]</span> Vinyals, O., Babuschkin, I., Czarnecki, W. M., et al.&nbsp;(2019). Grandmaster level in StarCraft II using multi-agent reinforcement learning. <em>Nature, 575</em>(7782), 350–354. <a href="https://doi.org/10.1038/s41586-019-1724-z" class="uri">https://doi.org/10.1038/s41586-019-1724-z</a></p>
<p><span id="en-ref-25">[25]</span> Gurkan, C., Stonedahl, F., &amp; Wilensky, U. (2026). <em>Mutation without variation: Convergence dynamics in LLM-driven program evolution</em> (arXiv:2606.05408). GECCO ’26 Workshop on Large Language Models for and with Evolutionary Computation. <a href="https://arxiv.org/abs/2606.05408" class="uri">https://arxiv.org/abs/2606.05408</a></p>
<p><span id="en-ref-26">[26]</span> Wang, W., Piękos, P., Li, N., Laakom, F., Chen, Y., Ostaszewski, M., Zhuge, M., &amp; Schmidhuber, J. (2026). Huxley-Gödel Machine: Human-level coding agent development by an approximation of the optimal self-improving machine. In <em>International Conference on Learning Representations (ICLR 2026)</em>. <a href="https://arxiv.org/abs/2510.21614" class="uri">https://arxiv.org/abs/2510.21614</a></p>
<p><span id="en-ref-27">[27]</span> Cemri, M., Pan, M. Z., Yang, S., Agrawal, L. A., Chopra, B., Tiwari, R., Keutzer, K., Parameswaran, A., Klein, D., Ramchandran, K., Zaharia, M., Gonzalez, J. E., &amp; Stoica, I. (2025). Why do multi-agent LLM systems fail? In <em>Advances in Neural Information Processing Systems 38, Datasets and Benchmarks Track</em>. <a href="https://arxiv.org/abs/2503.13657" class="uri">https://arxiv.org/abs/2503.13657</a></p>
<p><span id="en-ref-28">[28]</span> Li, W., Lin, Y., Xia, M., &amp; Jin, C. (2026). Rethinking mixture-of-agents: Is mixing different large language models beneficial? <em>Transactions on Machine Learning Research</em>. <a href="https://openreview.net/forum?id=K6WwK8URlV" class="uri">https://openreview.net/forum?id=K6WwK8URlV</a></p>
</section>
</div>
<div class="zh">
<p><a href="figs/art_cover_pit.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-5"><img src="https://negativegluon.github.io/posts/evoforge-postmortem/figs/art_cover_pit.jpg" class="img-fluid" alt="题图：方格纸铺成的原野上散落着许多可以挖的亮点，几乎所有小机器人都挤在中间同一个深坑旁排队，只有边上几个在自己挖"></a></p>
<blockquote class="blockquote">
<p>文中的 GLM、Qwen、DeepSeek、Kimi 都是校内 GenAI 平台上的部署版本，有各自的输出上限、并发限制和不稳定的路由。下文所有关于模型的比较，都只针对这套部署，不代表官方模型的能力。</p>
</blockquote>
<section id="摘要" class="level2">
<h2 class="anchored" data-anchor-id="摘要">摘要</h2>
<ul>
<li>2026 年 9 月，我用同一批模型在三个比赛上先后搭了三代多代理系统：常驻 lane 的 arena、遗传算法加合作博弈的 EvoForge，最后退回到 Codex 主控加子代理。</li>
<li>系统建立在两个假设上：并行多采样能比单个强代理探索得更广；代理之间的竞争能提供天然的反馈。第一个假设在生成端大体成立，第二个没有成立。</li>
<li>三个比赛都发生了多样性坍缩，但坍缩的位置不同：Kaggriculture 在代码层，Structural Break 在结论层，AIIJC 在范式层。对应的选择信号也各坏在不同的地方：偏差、方差、与公榜脱钩。我设计的 credit 几乎没有接到选择上。</li>
<li>三个比赛最后停留的盆地，都能追溯到系统外部给的起点。软干预只能挪动吸引子，挪不挪得动，取决于走出局部最优要付出多少代价。</li>
<li>多代理系统每一步迭代的真实增益很小，常常小于 credit 本身的噪声，所以噪声必须纳入设计：加大步长，减少按全局最优发 0/1 credit 的比例，或者换更干净的 credit。</li>
</ul>
</section>
<section id="背景" class="level2">
<h2 class="anchored" data-anchor-id="背景">1. 背景</h2>
<section id="两个假设" class="level3">
<h3 class="anchored" data-anchor-id="两个假设">1.1 两个假设</h3>
<p>这套系统建立在两个假设之上。第一，多个代理并行，比单个强代理覆盖更广的探索、采样与试错空间。我当时写下的设计原则是”多采样而不是让他们达成共识”。第二，代理之间的竞争本身就是反馈：竞争指标和最终目标一致，排名会告诉我哪些方向值得继续。</p>
<p>第二个假设背后其实有一层我没意识到的类比。人类竞赛的排行榜是外部的：测试集在主办方手里，所有人都看不到。我的系统里，排行榜是内生的：参赛者互为对手，又互为考官。我把前者的直觉直接搬到了后者身上。</p>
<p>复盘下来，第一个假设在生成端大体成立，第二个没有。我会尝试解释”竞争的天然反馈”为什么在三个比赛里以三种方式失效，以及它如何一点点吃掉生成端的多样性。</p>
</section>
<section id="三个比赛" class="level3">
<h3 class="anchored" data-anchor-id="三个比赛">1.2 三个比赛</h3>
<table class="caption-top table">
<thead>
<tr class="header">
<th>比赛</th>
<th>任务</th>
<th>地形</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>CrunchDAO Structural Break（SB）[2]</td>
<td>单变量时间序列的断点检测，指标 TS-AUC</td>
<td>静态：数据固定，分数不受其他参赛者影响</td>
</tr>
<tr class="even">
<td>Kaggriculture（Kag）[1]</td>
<td>双人农场经济博弈，按对局结果做 Bradley-Terry 排名[4]</td>
<td>共演化：好坏由对手决定，而本地的对手就是系统自己的产物</td>
</tr>
<tr class="odd">
<td>AIIJC[3]</td>
<td>3D 对象的缺陷与质量预测</td>
<td>静态，但本地验证和公榜对不上，公榜反馈又少</td>
</tr>
</tbody>
</table>
<p>SB 在系统启动前已有两条线：我自己的 62.92 和队友的 63.43，最终榜一在 71 左右。AIIJC 的赛场以学生为主，我不拿排名来论证系统的好坏。</p>
<p>“地形”这一列是后面分析的主线。静态地形里，一个方案好不好是固定的，问题只在于测得准不准；共演化地形里，好坏取决于你在和谁比，测得再准，测的也可能是错的东西。</p>
</section>
<section id="模型" class="level3">
<h3 class="anchored" data-anchor-id="模型">1.3 模型</h3>
<table class="caption-top table">
<thead>
<tr class="header">
<th>模型</th>
<th>输出上限</th>
<th>并发</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>GLM-5.3-Flash</td>
<td>8K</td>
<td>16</td>
<td>链路最稳</td>
</tr>
<tr class="even">
<td>Qwen-3.8</td>
<td>4K</td>
<td>16</td>
<td>长任务常超时</td>
</tr>
<tr class="odd">
<td>DeepSeek-V4-Pro</td>
<td>8K（含推理）</td>
<td>16</td>
<td>路由 502 约为 GLM 的 14 倍</td>
</tr>
<tr class="even">
<td>Kimi-k3</td>
<td>8K</td>
<td>2</td>
<td>常出现只写计划、不调工具的回合</td>
</tr>
</tbody>
</table>
<p>所有 lane 共用一个本地代理和一张约 24 小时过期的 JWT。过期时全体停摆，这件事在三代系统里反复发生。</p>
</section>
<section id="读法" class="level3">
<h3 class="anchored" data-anchor-id="读法">1.4 读法</h3>
<p>我把每套系统拆成进化的三个环节来看：prompt 决定变异，credit 和分数决定选择，可见性（公告板、读别人的代码、读参考方案）决定传播。这样拆的好处是能问清楚”坏在哪个环节”：同样是所有人挤在一个方向上，可能是变异本来就窄，也可能是选择把其他方向淘汰了，还可能是一个方向传得太快。</p>
<p>坍缩的判据是：多路采样退化成单一思路的重复探索，而且收敛之后外部公榜明显低于前排。后半句是必要的。如果大家收敛到的确实是最好的思路，那是正常的收敛；只有收敛到局部最优，才算坍缩。</p>
<iframe class="fig-embed" src="figs/F5_framework.html?lang=zh" title="用变异、选择、传播三个环节拆开三代系统" loading="lazy" style="width:100%;height:1000px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F5_framework.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
</section>
</section>
<section id="三代系统" class="level2">
<h2 class="anchored" data-anchor-id="三代系统">2. 三代系统</h2>
<iframe class="fig-embed" src="figs/F11_architecture.html?lang=zh" title="三代系统的架构。点击节点查看说明，用开关高亮变异、选择、传播和人的介入" loading="lazy" style="width:100%;height:1010px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F11_architecture.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
<table class="caption-top table">
<colgroup>
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
</colgroup>
<thead>
<tr class="header">
<th></th>
<th>第一代 arena</th>
<th>第二代 EvoForge</th>
<th>第三代 Codex 主控</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>时间</td>
<td>9 月 13–19 日</td>
<td>9 月 20–27 日</td>
<td>9 月 27 日–10 月 1 日</td>
</tr>
<tr class="even">
<td>个体</td>
<td>常驻 lane</td>
<td>idea 家族，每个 episode 是一次性的开发者</td>
<td>一个主控加至多 4 个子代理</td>
</tr>
<tr class="odd">
<td>选择</td>
<td>代理看榜，跟着领先者走</td>
<td>引擎按本地分数选父代、分名额、休眠落后家族</td>
<td>我和主控商量</td>
</tr>
<tr class="even">
<td>传播</td>
<td>全可见，可读参考方案源码</td>
<td>只继承父代，禁读参考</td>
<td>主控汇总</td>
</tr>
<tr class="odd">
<td>SB 最佳公榜</td>
<td>61.30</td>
<td>60.31</td>
<td>63.39</td>
</tr>
</tbody>
</table>
<iframe class="fig-embed" src="figs/F1_timeline.html?lang=zh" title="三个比赛、三代系统的时间线，与公榜成绩" loading="lazy" style="width:100%;height:940px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F1_timeline.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
<section id="第一代arena" class="level3">
<h3 class="anchored" data-anchor-id="第一代arena">2.1 第一代：arena</h3>
<p>每条 lane 有独立仓库，监督器负责续跑，所有人能看到彼此的代码和公告板。Kag 另外放了 4 个公开方案作为固定参考对手，源码可读；本意是让代理拿它们当 baseline 学习。激励上，SB 有一套加减分的荣誉积分，Kag 每小时把一次强模型调用奖励给 Elo 最高和涨得最快的 lane，AIIJC 有一个擂台积分。</p>
<p><strong>SB。</strong> 这一套的评测协议其实很严谨：每个实验先在公告板上预注册，在筛选集上过了门槛，才允许读一次确认集；没过门就写 NO-GO，关闭这个方向。</p>
<p>代码没有收敛。新写的实验里 training-free 方法的占比从 82% 降到 41%，各 lane 的代码重合度一直很低。坍缩发生在结论上。一个 lane 试了 70 分钟没过门槛，就写下”整类方向已关闭”，其他 lane 照单全收。几个 lane 又各自”复现”了同一个增益，运维还特意汇报”并非单一 agent 的偶然结果”；十个小时后另一个 lane 复核，发现它们踩的是同一个泄漏的评分器。复现不等于独立验证，因为大家共用一个考官。</p>
<p>第二天我看到排名固化、领先方法全挤在 training-free 上，做了几次温和的干预：加了 JSON 留言板，对严重抄袭轻微扣分，鼓励长时间训练和更多样的算法。方法分布确实变了，但留言板上线后几乎没人用，公榜也没有涨。本地 67 分的候选，上了公榜只有 59。这一代的最佳公榜 61.30，低于启动前的两条线。</p>
<iframe class="fig-embed" src="figs/F4_sb_families.html?lang=zh" title="SB 第一代：代码没有收敛，training-free 的占比在干预后下降" loading="lazy" style="width:100%;height:890px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F4_sb_families.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
<p><strong>Kag。</strong> 这是坍缩最彻底的一个。4 个参考对手是同时进池的。几个小时后，GLM 的 lane 开始基于其中最强的 COK[5] 做变体，另外三个参考没有人用。两天之内，Top10 全部变成 COK 的后代，彼此的代码重合度到 0.9。Top30 全部来自 GLM，216 次小时奖励里 208 次给了 GLM。其他模型的 lane 有好几条只提交过同一份基线，之后再没有新提交。线上成绩从 950 涨到 1200 左右（这是比赛中途的分数，不是结束时的成绩），涨幅几乎全部来自 COK 本身。</p>
<p>我把 COK 放进去时，是把它当老师。它同时成了全程最大的一次提分和最彻底的一次坍缩的起点。</p>
<p>非 GLM lane 掉队有我自己的责任：中途我换过几次模型，也按 Elo 停掉过四条 lane。再加上 Qwen 输出只有 4K、Kimi 并发只有 2、DeepSeek 经常 502，这里没法把”模型差”和”条件差”分开。</p>
<iframe class="fig-embed" src="figs/F2_kag_collapse.html?lang=zh" title="Kag 第一代：COK 进池后，前十名在两天内全部变成它的后代" loading="lazy" style="width:100%;height:770px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F2_kag_collapse.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
<p><strong>AIIJC。</strong> 单代理阶段卡在 14.4 左右。那时我给单代理设了几条约束：固定验证协议、不扫 seed、不微调 backbone。arena 把这些约束作为”已结束批次的历史约束”撤掉，又给了 8 张卡，还特意写明不设全局最高分自动淘汰，“避免驱动四路坍缩”。</p>
<p>两天后，GLM 的 lane 做出视觉塔部分微调加多 seed 集成，公榜到 15.1，之后八次提交都没再超过这个分数。所有 lane 最后都在做视觉微调，但代码是各写各的，重合度只有 0.3，更像配方趋同而不是互相抄。从第四天起，真正指挥方向的是我转述进公告板的公榜反馈。</p>
<p>这是三个比赛里唯一一次由代理自己做出、而且外部分数超过前身的提升。但它有两个问题。一是它和”撤掉约束、加了算力”分不开，我没有一个同样放开约束的单代理做对照。二是有效的路线都来自 GLM 驱动的几条 lane，更像同一个模型的多次采样，而不是多个模型各提一条路。</p>
</section>
<section id="第二代evoforge" class="level3">
<h3 class="anchored" data-anchor-id="第二代evoforge">2.2 第二代：EvoForge</h3>
<p>第一代坍缩之后，我把系统重做成遗传算法：一个 idea 家族是一个个体，每个 episode 是只活 90 分钟的一次性开发者，家族冠军当父代，落后的家族休眠。设计要求是”大幅鼓励方案多样性，严防现有的方案坍缩”。我还设计了一套 Shapley 式的合作 credit[6]，用来衡量每个机制对联盟的贡献。为了防污染，episode 看不到排行榜，也不准读参考方案。</p>
<p>结果首先被执行层拖垮：</p>
<table class="caption-top table">
<thead>
<tr class="header">
<th>模型</th>
<th>交付合规率</th>
<th>主要失败</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>GLM</td>
<td>20%</td>
<td>交付物不合规</td>
</tr>
<tr class="even">
<td>Qwen</td>
<td>13%</td>
<td>超时</td>
</tr>
<tr class="odd">
<td>DeepSeek</td>
<td>8%</td>
<td>交付物不合规、上游故障</td>
</tr>
<tr class="even">
<td>Kimi</td>
<td>1%</td>
<td>上下文里原地打转</td>
</tr>
</tbody>
</table>
<p>另有将近一半的 episode 在启动几秒内就被拦截。SB 跑了 13 小时，GA 只产出 2 个有效候选；我手工放进一个种子之后，此后所有冠军都是它的后代。本地分数涨了 0.05，然后就再没涨过；公榜反而是三代里最低的 60.31。Kag 的本地分只有 0、0.0625、0.125 三档，近似噪声，选择却照样按它执行。</p>
<p>选择的强度也不是我设计出来的。每代能分到的开发名额比活跃家族少，所以分数高的家族才拿得到名额；如果基础设施正常、名额充足，每个家族都会分到，选择就退化成平均分配。也就是说，EvoForge 里”适者生存”有多强，取决于路由故障有多严重。交叉算子也没看到收益：子代胜过父代的比例很低。</p>
<p>代码层面，EvoForge 并不单一，冠军之间的代码差异很大。它缺的是分数的天花板和交付能力。另一个变化是 GLM 在冠军里的占比一路升到一半以上，Kimi 很快归零。</p>
<iframe class="fig-embed" src="figs/F8_evoforge_funnel.html?lang=zh" title="EvoForge 的交付漏斗：近一半 episode 刚启动就被拦截" loading="lazy" style="width:100%;height:885px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F8_evoforge_funnel.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
</section>
<section id="第三代codex-主控" class="level3">
<h3 class="anchored" data-anchor-id="第三代codex-主控">2.3 第三代：Codex 主控</h3>
<p>9 月 27 日之后我放弃了 LLM lane 之间的竞争，改由 Codex 当主控、带几个子代理，方向由我们商量。转折点是我的一句话：“你没有发现你掉进死胡同了吗？”之后转向合成数据、两年混合数据和来源隔离的验证。本地确认分一路上涨，公榜却停在 63 出头；我对后来几次提交的评价是”基本没用，也说明之前那一波探索方向有问题”。最好成绩 63.39，和队友原有的 63.43 持平。提升来自我主导的换方向，不来自架构的任何选择机制。</p>
</section>
</section>
<section id="为什么坍缩为什么拉不回来" class="level2">
<h2 class="anchored" data-anchor-id="为什么坍缩为什么拉不回来">3. 为什么坍缩，为什么拉不回来</h2>
<section id="credit-没有接到选择上" class="level3">
<h3 class="anchored" data-anchor-id="credit-没有接到选择上">3.1 credit 没有接到选择上</h3>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>系统</th>
<th>设计的 credit</th>
<th>实际作用</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>SB arena</td>
<td>荣誉积分、扣分、留言板</td>
<td>只写在 prompt 里。留言板上线后几乎没人用</td>
</tr>
<tr class="even">
<td>Kag arena</td>
<td>每小时奖励一次强模型调用</td>
<td>96% 给了 GLM，看不出带来了额外产出</td>
</tr>
<tr class="odd">
<td>AIIJC arena</td>
<td>擂台积分</td>
<td>只裁定过三次，之后静默</td>
</tr>
<tr class="even">
<td>EvoForge</td>
<td>Shapley 合作 credit</td>
<td>只在算力拥塞时打破排队平局，触发率约 0.5%；算力从没拥塞过</td>
</tr>
</tbody>
</table>
<p>真正起作用的选择另有其物。第一代里，是代理自己看榜、跟着领先谱系走；第二代里，是引擎直接按本地分数选父代。credit 被挡在选择之外，很大程度上是我自己的决定：我担心它扭曲开发，要求它”完全不要影响 token 级别开发预算”。后来我发现淘汰机制”没啥起作用”，处理办法是加强按分数的名额分配，而不是把 credit 接上去。</p>
<p>那套 Shapley credit 即使接上了，也救不了什么。它的价值函数用的是同一块本地面板上的分数，它的问题下章会详细讨论：credit 设计得越精巧，噪声就被分配得越精确。</p>
</section>
<section id="选择信号坏在三个地方" class="level3">
<h3 class="anchored" data-anchor-id="选择信号坏在三个地方">3.2 选择信号坏在三个地方</h3>
<iframe class="fig-embed" src="figs/F6_variance_bias.html?lang=zh" title="方差与偏差：在噪声面板上取最大值的赢家诅咒（可拖动滑块），以及封闭标尺看不见的改动" loading="lazy" style="width:100%;height:960px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F6_variance_bias.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
<p><strong>SB 是方差。</strong> EvoForge 的本地面板只有 384 个序列，被反复评了 111 次；同一个候选换一块同样大小的面板，分数就差 2.7 个百分点，而候选之间的差距只有零点几。在这样的面板上反复取最大值，选出来的一定是被噪声抬高的那个。候选越多、面板越小、用得越频繁，被选中者的本地分就越系统性地高于它的真实水平。这就是赢家诅咒[7]：方差经过选择，变成了偏差。到后期，同一份权重换个包装、挂在好几个 artifact 上，也能占住榜首。</p>
<p><strong>Kag 是偏差。</strong> 本地联赛打了 27 万多局，每个策略对局数的中位数是一千八百多局，Elo 测得很准。问题是它测的是”在这群策略里谁更强”，而这群策略几乎全是 COK 的后代。本地 Top10 打 COK 的胜率有七八成，线上却只有 1200 左右。参考对手是 “development, not a holdout”，系统中没有任何 held-out方案。</p>
<p>一个例子：GLM 的一个 lane 早期写了一个夜间仓库溢出保护，前排方案里也有这一项[8][9][10][11]。它一度把这个 lane 推到 Elo 第一，因为当时的基线会溢出。等种群全部换成 COK 的后代，COK 从不溢出，这个补丁在本地永远测出 0，被判为无用，放弃了。这里 lane 的判断没错，是标尺对这类改动看不见。它未必是被漏掉的决定性方向，但是在封闭的种群的自我竞赛中没有识别出它的作用。</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/art_mirror.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-6" title="只照见自己人的镜子"><img src="https://negativegluon.github.io/posts/evoforge-postmortem/figs/art_mirror.jpg" class="img-fluid figure-img" alt="只照见自己人的镜子"></a></p>
<figcaption>只照见自己人的镜子</figcaption>
</figure>
</div>
<iframe class="fig-embed" src="figs/F3_kag_rating.html?lang=zh" title="Kag 第一代各谱系的 rating 轨迹" loading="lazy" style="width:100%;height:815px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F3_kag_rating.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
<p><strong>AIIJC 是脱钩。</strong> 本地验证折被轮换着反复使用，到最后评审员写”换折不恢复盲性”。公榜是唯一的盲信号，但只有我能查，一共十来次，而且本地分和公榜分的排名甚至是负相关：本地最高的几个集成，公榜反而更低。</p>
<p><strong>三种问题，三种修法。</strong> 同样是”本地高、公榜低”，诊断方式不同。拿一批新数据重评同一个候选：SB 的分数会掉下来；Kag 没有”另一批数据”，Elo 只在这个种群里有定义；AIIJC 换折没用，只有公榜是新数据。多评几次：SB 的误差会缩小，但只要还在同一块面板上选，偏差就消不掉；Kag 的对局已经够多，再多也不改变和外部的差距；AIIJC 受提交次数限制，根本评不了几次。所以方差要靠更多、更新鲜的评测数据，偏差要靠种群之外的对手，脱钩要让外部信号真正进入选择。三种问题还会叠加：Kag 的偏差被奖励放大，复制榜首的人越多，种群越封闭，偏差越大。</p>
<p><strong>我忽略了什么。</strong> 三代系统的评测都在防”分数被污染”：置换检验、来源隔离、预注册门槛、两块面板取低值。没有一处在防”分数够不够准、能不能代表外部”。评估次数没有预算，取最大值没有不确定性惩罚，Kag 没有种群外的对手。我只想到了 OOD 和泄漏，也就是偏差的一面；方差和选择偏差，我没有想过。</p>
<p>预注册门槛还有一个副作用。SB 的规则是”没过门就写 NO-GO、关闭该方向，不继续反复搜索”，本意是防 p-hacking，结果把假阴性制度化了。前面那个 70 分钟就被关掉的方向，用的是没做白化的 CUSUM；而先白化再做 CUSUM，正是 SB 公开复盘方案的路线之一[12][14]。</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/art_closed_door.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-7" title="被关上的方向"><img src="https://negativegluon.github.io/posts/evoforge-postmortem/figs/art_closed_door.jpg" class="img-fluid figure-img" alt="被关上的方向"></a></p>
<figcaption>被关上的方向</figcaption>
</figure>
</div>
</section>
<section id="三个坍缩层" class="level3">
<h3 class="anchored" data-anchor-id="三个坍缩层">3.3 三个坍缩层</h3>
<iframe class="fig-embed" src="figs/F7_collapse_layers.html?lang=zh" title="三个坍缩层：代码、结论、范式" loading="lazy" style="width:100%;height:945px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F7_collapse_layers.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
<table class="caption-top table">
<colgroup>
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
</colgroup>
<thead>
<tr class="header">
<th></th>
<th>SB</th>
<th>Kag</th>
<th>AIIJC</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>选择信号的问题</td>
<td>方差</td>
<td>偏差</td>
<td>脱钩</td>
</tr>
<tr class="even">
<td>坍缩在哪一层</td>
<td>结论：局部失败被写成整类关闭，并在 lane 之间传播</td>
<td>代码：榜首收敛到 COK 一个谱系</td>
<td>范式：所有 lane 都做视觉微调</td>
</tr>
<tr class="odd">
<td>和前排的差距</td>
<td>63.4 对约 71</td>
<td>约 1200（比赛中途的分数）</td>
<td>15.1，之后不再涨</td>
</tr>
</tbody>
</table>
<p>SB 的问题并不在代码层面的同质化。lane 的代码一直很分散，坍缩在于三件事：局部失败被当作整类关闭传播出去；几个 lane 的”独立复现”共用一个有泄漏的评分器；所有新实验都叠在同一个预存的特征包上，用同一批面板打分。</p>
<p>Kag 的坍缩在代码上最明显，但它不是所有 lane 同时收敛，而是非 GLM 的 lane 先停产，收敛发生在剩下的 GLM lane 里。</p>
<p>AIIJC 最温和：没有setting趋同，没有代码复制，只有一个所有人都挤进去的有效方向；结论的级联出现得晚，而且是通过我转述的公榜反馈传开的，不是 lane 之间互读。</p>
<p>EvoForge 是第四种情形：代码分散，坍缩出现在模型份额和分数天花板上，活跃家族数一直贴着下限。</p>
<p>修法要和坍缩所在的层对应。隔离代码能治 Kag，治不了 SB 和 AIIJC，因为结论和范式是通过文字和共同的起点传播的。</p>
</section>
<section id="软干预能不能起效看走出局部最优要付多少代价" class="level3">
<h3 class="anchored" data-anchor-id="软干预能不能起效看走出局部最优要付多少代价">3.4 软干预能不能起效，看走出局部最优要付多少代价</h3>
<p>同样是软干预，两边结果不同。SB 在我干预之后，training-free 的占比确实降了一半，只是公榜没有涨。Kag 把探索 lane 排除出奖励之后，那条 lane 照样在做 COK。</p>
<p>可能的解释是：走出局部最优有代价，代价由两部分组成。一是替代方向的实现成本。Kag 的行为克隆或 PPO 要构造数据、训练、跑完整对局验证，一轮做不完；SB 换一组特征，评一次就知道。二是过渡期信号对偏离的惩罚。Kag 是纯相对排名，半成品一上场就输；SB 的分数是绝对的，噪声又大，偏离的代价不会立刻显现。</p>
<p>AIIJC 则是”代价高、反馈弱”：视觉微调一个折一个 seed 就要两三个小时，公榜剩下的提交次数又不多。按这个框架，软干预在这里也很难起效。实际情况也是这样：点云、原始网格这些非视觉路线都有人试过，没有一条做出外部可用的结果。</p>
<p>注入思路，降低的是”找到另一座山”的成本，不降低”走过去”的成本。如果注入的东西本身就是一座可以直接复制的山，比如 COK，它会直接成为新的吸引子。我认为，只给思路没有用，只会换一个地方坍缩；改网络结构、改激励方式才可能有用。可这批日志里，我改过的激励都没接到选择上，所以这个直觉在这里没有得到检验。</p>
</section>
<section id="起点决定盆地" class="level3">
<h3 class="anchored" data-anchor-id="起点决定盆地">3.5 起点决定盆地</h3>
<p>这是复盘数据时才意识到的盲区。设计时我默认多样性和起点无关。回头看，三个比赛最后停留的盆地，都能追溯到系统外部给的起点：Kag 是 COK；SB 是启动前就有的特征包，lane 新写的脚本里三分之二直接调用它；AIIJC 是单代理阶段就有的那个视觉主干，arena 只是解开了”不准微调它”的约束。</p>
<iframe class="fig-embed" src="figs/F10_anchor_basin.html?lang=zh" title="起点决定盆地：SB 的手工种子与 Kag 的 COK" loading="lazy" style="width:100%;height:790px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F10_anchor_basin.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
<p>但”起点是人定的，所以人决定了结局”这一层并不成立。Kag 的 4 个参考是同时进池的，代理只采纳了最强的 COK，另外三个没人用；COK 打旧基线几乎全胜，注入前排第一的策略，在 COK 的后代面前一局都赢不了。这更像理性的锚定：起点决定了谁会出现，胜负决定了谁留下。</p>
<p>EvoForge 的种子也是这样。它把本地分数推到了顶，不是它后代的候选始终差一截；但它的公榜比第一代的预存包还低，说明它是一个好起点，不是一把锁。盆地内部的搜索也不是没有产出：COK 的后代确实打得过 COK 本体，SB 的种子之后本地分数也涨过一段，只是十几个小时到两天就饱和了。从零开始的尝试则几乎都失败了：SB 里完全不依赖预存包的方向，全部没过门槛。</p>
<p>这些都只是准对照，每一条都有别的解释：起点本来就是当时最强的公开信息，任何搜索者都会采纳它；代理从零追不上，可能只是能力不够；盆地内”测不出增益”，有一部分要怪第 3.2 节说的标尺。要真正回答，需要同样的模型和预算，分三组跑：没有任何参考；给最强的公开方案；给一个同等量级但更弱的方案。再加一组单代理 best-of-N 作基线。</p>
</section>
<section id="执行层" class="level3">
<h3 class="anchored" data-anchor-id="执行层">3.6 执行层</h3>
<p>三代系统都被同一类问题反复拖垮：JWT 过期让所有 lane 同时停摆，我前后手动续了二十来次；上游 502 风暴时，一百个请求里只有八个成功；有一次中间转发层还在用旧令牌，故障藏了很久才查出来；EvoForge 有近一半 episode 刚启动就被拦截。</p>
<p>模型之间的差异，和输出上限、并发、路由故障、工具调用兼容性绑在一起。Kimi 一开始会把工具调用的标记当成普通文本输出；GLM 的长上下文一度被上游拒绝。GLM 的”领先”，有相当一部分是它的模型调用最稳定。EvoForge 强制各模型的派发份额大致相等，所以交付率的差异不是调度造成的，但它仍然是”这套部署下的表现”，不是模型本身的能力排序。</p>
</section>
<section id="提升来自哪里" class="level3">
<h3 class="anchored" data-anchor-id="提升来自哪里">3.7 提升来自哪里</h3>
<iframe class="fig-embed" src="figs/F9_improvement_sources.html?lang=zh" title="每次实质提升的来源" loading="lazy" style="width:100%;height:865px;border:0;display:block"></iframe>
<p style="text-align:right;font-size:.85em;margin:.1em 0 1.2em"><a href="figs/F9_improvement_sources.html?lang=zh" target="_blank" rel="noopener">在新标签页打开 ↗</a></p>
<p>把每次实质提升按来源分类：Kag 的提升来自注入的 COK；SB 第一代的几次大涨全是泄漏，后来都作废了；EvoForge 的冠军都是我手工种子的后代；第三代的提升来自我换了方向。只有 AIIJC 那一次是代理自己做出来的，而它也站在撤约束和加算力的肩膀上。更细地看，那条微调路线在同一个模型的另一条 lane 的公告里已经出现过，最终方案相对前一版只改了训练轮数和融合方式，本地分数持平，公榜更高的原因说不清。</p>
<p>这不是对 LLM 代理能力的一般判断。这些 lane 不能联网，我自己却一直在用外部模型和公开方案往系统里注入想法。代理在有搜索工具的条件下能独立发现多少，这批数据回答不了。</p>
</section>
<section id="我和系统之间隔着一层-llm" class="level3">
<h3 class="anchored" data-anchor-id="我和系统之间隔着一层-llm">3.8 我和系统之间隔着一层 LLM</h3>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/art_courier.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-8" title="我和系统之间隔着一层 LLM"><img src="https://negativegluon.github.io/posts/evoforge-postmortem/figs/art_courier.jpg" class="img-fluid figure-img" alt="我和系统之间隔着一层 LLM"></a></p>
<figcaption>我和系统之间隔着一层 LLM</figcaption>
</figure>
</div>
<p>我对系统状态的了解，全部来自 Codex 运维的汇报。所以人这一侧的选择信号，同样要经过一条有损的通道。</p>
<p>运维会把 lane 名当成模型名：它汇报”Kimi 的系列最强”时，那个 slot 早已换成了 GLM。它也会曲解指令：我说”今天必须提交”，它理解成把旧方案再交一次。</p>
<p>这次复盘时，我有好几处记忆和日志对不上。我记得 SB 没有坍缩，其实我自己当时就诊断过”排名固化、表现坍缩”；我记得两代之间没改过设计，其实改过留言板和抄袭惩罚；我记得 Kag 的其他模型”还在提交，只是分数低”，其实它们大多早就停了；我甚至以为 Kag 的日志被误删了，其实都在。这些偏差一部分是时间久了，一部分大概来自当时读到的汇报本身。连做这次分析的子代理也被 lane 名骗过一次，把 GLM 做出的那个 AIIJC 方案记在了 Qwen 名下。</p>
</section>
</section>
<section id="hack-与涌现" class="level2">
<h2 class="anchored" data-anchor-id="hack-与涌现">4. hack 与涌现</h2>
<p>日志里没有看到代理有意规避规则。所谓 hack，更多是系统奖励了不该奖励的东西：同一份权重换个包装就算一次”新创造”；同一份基线被十一个 lane 当作自己的提交；评分器的一个泄漏被多个 lane 反复踩中；评测器给数据排序和存档时用了不同的随机种子，两块”同一个”面板只有五分之一的序列重合。反过来，记账规则也误伤过真实的工作：一个 lane 认真做完、通过了本地评测，因为清单文件被运行器重置成模板，被判无效。</p>
<p>最有价值的涌现是同伴审计。至少四次假阳性，是别的 lane 复核时抓出来的：评分器的未来信息泄漏、被置换检验推翻的增益、自称因果其实用了整段均值的特征。它们都发生在增益已经被当作领先候选之后，晚，但抓到了。这条纠错通道依赖全可见，后面考虑隔离时要算进去。还有个体层面的自我纠错：一个 lane 撤回了自己的正结果，后来发现撤回的理由是索引错位，又恢复了它。</p>
<p>另外两种涌现没那么好：公告板逐渐变成失败复盘的集合，而不是思路交换；有的模型稳定地陷入只写计划、不调工具的空转。</p>
</section>
<section id="和前排方案对照" class="level2">
<h2 class="anchored" data-anchor-id="和前排方案对照">5. 和前排方案对照</h2>
<p>前排方案是赛后才拿到的，这一节是事后诸葛亮，区分multiagent系统失败的原因来自于采样空间还是筛选。</p>
<p>Kag 前三名的共同路线是[8][9][10]：用顶队回放做行为克隆，再用自博弈 PPO 训练，最后加一层规则补丁。我的系统里这几条路线都出现过，但都没做对：一个 lane 的行为克隆学成了什么都不做；另一个用了同一局里的时间切分做验证，还把标签弄错了，上传后只有一两百分；PPO 训练完和初始化一模一样，没有更新。有一个 lane 在最后一天搭好了和第四名[11]同构的”按引擎实际执行动作重标”的语料，第二天系统就停了；（虽然它的模仿代理当时还一局没赢）进入 Kag 榜首的，是 COK 之上的小层：价格闸、封顶、作物切换。所以 Kag 的问题不是没想到，而是没做对，而本地评测也认不出哪条路是对的。</p>
<p>SB 公开复盘方案[12][13][14]的关键一步是先做白化，再读序贯检测统计量。我的系统里白化和序贯检测都来自启动前的特征包；lane 自己写的未白化版本，在 70 分钟内被关掉了。另有一个合成数据预训练的方向先被判通过，随后被置换检验推翻：标签打乱后它照样”超过”真实值，说明通过的门槛本身有漏洞。第三代转向合成数据，恰好和这些方案的断点增广[13][14]是同一个方向，这一次是人带过去的。</p>
</section>
<section id="和文献对照" class="level2">
<h2 class="anchored" data-anchor-id="和文献对照">6. 和文献对照</h2>
<p>我做这套系统时没读过相关论文。回头看，大部分坑都有人踩过：</p>
<ul>
<li><strong>FunSearch、AlphaEvolve 的岛屿模型</strong>[15][16]：用隔离和低频迁移来保持多样性。我的第一代全可见，相当于只有一个岛、每一步都在迁移。</li>
<li><strong>Lazer &amp; Friedman[17]；Brackbill &amp; Centola[18]</strong>：信息传得越快，短期越好，长期探索越少。后者的场景就是数据科学竞赛。也有反例（Mason &amp; Watts[19]），所以只能当条件命题。我的 EvoForge 限制了传播，并没有更好，但它的问题被交付率和分数天花板盖住了，不构成检验。</li>
<li><strong>Dwork 等的 reusable holdout[20]；Blum &amp; Hardt 的 Ladder[21]</strong>：反复使用同一个评测集，会把它用旧。对应 SB 那块被评了 111 次的面板。有意思的是，Roelofs 等[22]对 Kaggle 的元分析几乎没发现测试集重用导致的过拟合；那是人类团队、有限提交、大测试集，而我的系统是一群代理高频刷一块小面板，正好落在他们没覆盖的区域。</li>
<li><strong>Spinning Tops[23]；AlphaStar 的 league[24]</strong>：非传递博弈里，Elo 只在种群内有意义，需要专门找弱点、定期重置的外部对手。我的参考对手是固定的、可读的，还被当成了老师。</li>
<li><strong>LLM 作为变异算子的吸引子</strong>[25]：最近有工作发现，即使没有选择压力，LLM 反复变异程序也会收敛到少数吸引子，换 prompt 或换模型只改变收敛速度。这和我的软干预无效一致，只是我的系统同时有选择和可见性，分不开。</li>
<li><strong>Huxley-Gödel Machine</strong>[26]：当前分数不等于后代的潜力。对应 EvoForge 按当前分数选父代，而子代很少胜过父代。</li>
<li><strong>MAST 的多代理失败分类</strong>[27]：最大的一类失败来自系统设计和规格，而不只是模型能力。我的情况也是：主要的失败是评测协议、交付契约和基础设施。</li>
<li><strong>Self-MoA 等</strong>[28]：多代理系统需要和单代理 best-of-N 对照。这个对照我一直没做。</li>
</ul>
<p>文献里没有直接对应的，是”源码可读的固定参考对手”：它没有成为对手，而成了所有人复制的组件。</p>
</section>
<section id="multiagent竞赛系统搭建takeaway" class="level2">
<h2 class="anchored" data-anchor-id="multiagent竞赛系统搭建takeaway">7. multiagent竞赛系统搭建takeaway</h2>
<section id="held-out-会以三种方式失效" class="level3">
<h3 class="anchored" data-anchor-id="held-out-会以三种方式失效">7.1 held-out 会以三种方式失效</h3>
<p>SB 的评测协议其实很严谨：先预注册，在筛选集上过门槛，才允许读一次确认集。它还是失效了。一是被用旧：代理拿不到标签，但每次选择都是一次查询，确认集被读多了，系统自己把它降级成”已知、非盲”。二是指标一致、分布不一致：本地用的是历史全段，线上是有限窗口，这是我后来才诊断出来的。三是根本不存在：Kag 的本地联赛就是种群本身。</p>
<p>对应的做法是给评测集设查询预算并定期换新，按线上的分布去构造验证窗，以及在共演化的环境里引入种群之外的对手。这些我都没有验证过。</p>
</section>
<section id="隔离代码并把纪律从阳性移到阴性" class="level3">
<h3 class="anchored" data-anchor-id="隔离代码并把纪律从阳性移到阴性">7.2 隔离代码，并把纪律从阳性移到阴性</h3>
<p>如果重来，我第一件要改的是禁止代理读彼此的源码，只保留一个有限的、双方同意才开启的文字通道。这能治 Kag 那样的代码层坍缩。</p>
<p>但结论和范式也会通过文字传播。SB 那条”没过门就关闭方向”的规则，防住了假阳性，却制造了假阴性。我更后悔后者。假阳性迟早会被公榜检查出来，代价是一次提交；假阴性没人回头看，方向一关就永远丢了。所以纪律应该反过来分配：正面的主张可以宽松放行，交给外部检查纠错；否定的结论必须写清范围，用了什么实现、多少预算、没过哪道门，并且给被关掉的方向留一点复活的名额。文字通道具体怎么治理，否定结论用什么格式、复活名额留多少、多久开放一次，我还没有答案。</p>
<p>隔离也有代价。四次假阳性都是在全可见的环境里被同伴抓出来的；假阳性在被公榜查出之前，也会先在种群里传一圈，浪费的是所有人的时间。第一代那个可选的留言板几乎没人用，一个需要双方同意的通道，很可能也会闲置。</p>
</section>
<section id="提升-credit-的信噪比" class="level3">
<h3 class="anchored" data-anchor-id="提升-credit-的信噪比">7.3 提升 credit 的信噪比</h3>
<p>多代理系统每一步的真实增益很小。SB 候选之间差零点几个百分点，同一个候选换一块面板就差两三个点。在这种信噪比下，credit 设计得再精细，也只是在给噪声发奖。我想到三条路：</p>
<ul>
<li><strong>加大步长。</strong> 让每一轮探索更久、改动更大，让单步增益超过噪声。附带的好处是评估变少，评测集被用旧得更慢。这也直接降低了第 3.4 节说的代价：Kag 的行为克隆一轮做不完，半成品就会被排名惩罚。前提是执行层足够可靠，否则单轮越长，失败一次损失越大。步长变大意味着并行样本变少，但探索的广度不等于样本数：反馈越密，模仿越频繁，收敛越快。两者怎么取舍，要看信号噪声和地形。AIIJC 的那次提升离不开 8 张卡，算是”有算力才走得了大步”的一个例子。</li>
<li><strong>少发 0/1 的赢家通吃 credit。</strong> 分差小于噪声时，赢家通吃近似抽签，而且抽签结果还会写进后续的选择。EvoForge 只让家族冠军繁殖，AIIJC 的擂台积分让本地确认分高的人”夺擂”，而夺擂的那两次，公榜反而降了。Kag 每小时奖励榜首是另一种情况：那里的 Elo 测得准，赢家通吃放大的不是噪声，而是封闭种群的偏差。</li>
<li><strong>换更干净的信号。</strong> 比如一块只评一次、结果不回流到选择的新鲜外部面板，或者在取最大值时按候选数量扣掉一个不确定性折扣。</li>
</ul>
</section>
<section id="查询工具给方法不给答案的功劳" class="level3">
<h3 class="anchored" data-anchor-id="查询工具给方法不给答案的功劳">7.4 查询工具：给方法，不给答案的功劳</h3>
<p>我希望给代理一个能查论文和公开方法的工具，让它们跳过前人已经探索过的空间，比如”做 CUSUM 之前先白化”[12]。同时，只靠公开方法拿到的提升，在 credit 里大幅打折；代理之间也不共享检索结果，免得所有人拿到同一篇论文。</p>
<p>这里有一个我还没想清楚的问题。AIIJC 的 lane 不联网，代码也没有互相抄，最后还是收敛到同一个范式，原因更像是模型的共同先验加上同一个起点。禁止共享防得住传播，防不住同源：几个相似的模型用相似的关键词搜同一个引擎，排在前面的就是那几篇。第 3.5 节说起点决定盆地，查询工具搜得越准，起点可能越集中。打折要起作用，也必须接到选择上，而 3.1 说明我之前设计的 credit 一个都没接上。判断”哪些部分来自公开方法”，在代码层可以做相似度比对，在思路层很难。</p>
</section>
<section id="把我和系统之间的那层-llm-拿掉" class="level3">
<h3 class="anchored" data-anchor-id="把我和系统之间的那层-llm-拿掉">7.5 把我和系统之间的那层 LLM 拿掉</h3>
<p>关键状态应该由不经过 LLM 的仪表盘直接给出，运维的汇报必须附上原始数据。这条对做复盘的分析代理同样适用。</p>
</section>
</section>
<section id="局限" class="level2">
<h2 class="anchored" data-anchor-id="局限">8. 局限</h2>
<p>所有结论都只针对这套校内部署的模型。每套系统在 SB 上的公榜提交不到十次，没有置信区间。没有单代理 best-of-N 的对照，也没有隔离程度、岛数、模型身份的消融，所以”多代理到底贡献了什么”和”GLM 为什么领先”，这批数据回答不了。中途我多次调换 lane 和模型，基础设施事故的影响和算法差异是同一个量级。前排方案是赛后才拿到的。</p>
</section>
<section id="附数据从哪来" class="level2">
<h2 class="anchored" data-anchor-id="附数据从哪来">附：数据从哪来</h2>
<p>这篇复盘基于Codex 运维会话、Kag 第一代的联赛数据库、EvoForge 的状态数据库与 7000 多个 episode 目录、SB 第一代各 lane 的运行日志。会话先压平、再批量抽取事件。前排方案取自赛后公开的仓库和复盘。</p>
</section>
<section id="参考文献" class="level2">
<h2 class="anchored" data-anchor-id="参考文献">参考文献</h2>
<p><span id="zh-ref-1">[1]</span> Kaggle. (2026). <em>Kaggriculture</em> [Simulation competition]. <a href="https://www.kaggle.com/competitions/kaggriculture" class="uri">https://www.kaggle.com/competitions/kaggriculture</a></p>
<p><span id="zh-ref-2">[2]</span> ADIA Lab &amp; CrunchDAO. (2026). <em>ADIA Lab Structural Break Challenge: Real-Time Edition</em> [Competition]. <a href="https://hub.crunchdao.com/competitions/structural-break-real-time" class="uri">https://hub.crunchdao.com/competitions/structural-break-real-time</a>; 规则与评测指标: <a href="https://docs.crunchdao.com/competitions/competitions/structural-break-real-time" class="uri">https://docs.crunchdao.com/competitions/competitions/structural-break-real-time</a></p>
<p><span id="zh-ref-3">[3]</span> AIIJC. (2026). <em>International Artificial Intelligence Contest for Children and Youth</em>. <a href="https://aiijc.com/en/" class="uri">https://aiijc.com/en/</a></p>
<p><span id="zh-ref-4">[4]</span> Bradley, R. A., &amp; Terry, M. E. (1952). Rank analysis of incomplete block designs: I. The method of paired comparisons. <em>Biometrika, 39</em>(3–4), 324–345. <a href="https://doi.org/10.1093/biomet/39.3-4.324" class="uri">https://doi.org/10.1093/biomet/39.3-4.324</a></p>
<p><span id="zh-ref-5">[5]</span> COK-ZhangZiliang. (2026). <em>Kaggriculture</em> [Computer software, Apache-2.0]. GitHub. <a href="https://github.com/COK-ZhangZiliang/Kaggriculture" class="uri">https://github.com/COK-ZhangZiliang/Kaggriculture</a> 本文使用的是其 V2 快照。</p>
<p><span id="zh-ref-6">[6]</span> Shapley, L. S. (1953). A value for n-person games. In H. W. Kuhn &amp; A. W. Tucker (Eds.), <em>Contributions to the theory of games II</em> (pp.&nbsp;307–317). Princeton University Press.</p>
<p><span id="zh-ref-7">[7]</span> Capen, E. C., Clapp, R. V., &amp; Campbell, W. M. (1971). Competitive bidding in high-risk situations. <em>Journal of Petroleum Technology, 23</em>(6), 641–653. <a href="https://doi.org/10.2118/2993-PA" class="uri">https://doi.org/10.2118/2993-PA</a></p>
<p><span id="zh-ref-8">[8]</span> morim3, msdsm, BergBuch, &amp; qistripute. (2026). <em>Kaggriculture 1st place solution</em> [Computer software]. GitHub. <a href="https://github.com/msdsm/kaggriculture-1st-solution" class="uri">https://github.com/msdsm/kaggriculture-1st-solution</a></p>
<p><span id="zh-ref-9">[9]</span> Merckle, V. (2026). <em>Kaggriculture 2nd/10148: Trading clutch, and no B200s harmed!</em> [Kaggle writeup]. <a href="https://www.kaggle.com/competitions/kaggriculture/writeups/trading-clutch-no-b200" class="uri">https://www.kaggle.com/competitions/kaggriculture/writeups/trading-clutch-no-b200</a>; 代码: <a href="https://github.com/vmerckle/kaggriculture" class="uri">https://github.com/vmerckle/kaggriculture</a></p>
<p><span id="zh-ref-10">[10]</span> Team DSM (denden, masspeaks, &amp; shimishige). (2026). <em>Kaggriculture 3rd place solution</em> [Computer software]. GitHub. <a href="https://github.com/seven320/kaggriculture-3rd-place-solution" class="uri">https://github.com/seven320/kaggriculture-3rd-place-solution</a></p>
<p><span id="zh-ref-11">[11]</span> RobertMX23 (Team Farmcore). (2026). <em>Farmcore: A one-pass transformer trained on what the engine executed</em> [Kaggle writeup]. <a href="https://www.kaggle.com/competitions/kaggriculture/writeups/farmcore-a-one-pass-transformer-trained-on-what-t" class="uri">https://www.kaggle.com/competitions/kaggriculture/writeups/farmcore-a-one-pass-transformer-trained-on-what-t</a>; 代码: <a href="https://github.com/RobertMX23/farmcore-kaggriculture" class="uri">https://github.com/RobertMX23/farmcore-kaggriculture</a></p>
<p><span id="zh-ref-12">[12]</span> bamasa. (2026). <em>adia-structural-break</em> [Computer software]. GitHub. <a href="https://github.com/bamasa/adia-structural-break" class="uri">https://github.com/bamasa/adia-structural-break</a></p>
<p><span id="zh-ref-13">[13]</span> cybergeek. (2026). <em>Calibrate, then accumulate: Real-time structural break detection</em> [Competition writeup]. <a href="https://cybergeek2077.github.io/adia-realtime-writeup/" class="uri">https://cybergeek2077.github.io/adia-realtime-writeup/</a></p>
<p><span id="zh-ref-14">[14]</span> Ibarrondo Zorroza, E. (2026). <em>online-structural-break-detection</em> [Computer software]. GitHub. <a href="https://github.com/ekhi-ibarrondo/online-structural-break-detection" class="uri">https://github.com/ekhi-ibarrondo/online-structural-break-detection</a></p>
<p><span id="zh-ref-15">[15]</span> Romera-Paredes, B., Barekatain, M., Novikov, A., Balog, M., Kumar, M. P., Dupont, E., Ruiz, F. J. R., Ellenberg, J. S., Wang, P., Fawzi, O., Kohli, P., &amp; Fawzi, A. (2024). Mathematical discoveries from program search with large language models. <em>Nature, 625</em>(7995), 468–475. <a href="https://doi.org/10.1038/s41586-023-06924-6" class="uri">https://doi.org/10.1038/s41586-023-06924-6</a></p>
<p><span id="zh-ref-16">[16]</span> Novikov, A., Vũ, N., Eisenberger, M., Dupont, E., Huang, P.-S., Wagner, A. Z., Shirobokov, S., Kozlovskii, B., Ruiz, F. J. R., Mehrabian, A., Kumar, M. P., See, A., Chaudhuri, S., Holland, G., Davies, A., Nowozin, S., Kohli, P., &amp; Balog, M. (2025). <em>AlphaEvolve: A coding agent for scientific and algorithmic discovery</em> (arXiv:2506.13131). arXiv. <a href="https://arxiv.org/abs/2506.13131" class="uri">https://arxiv.org/abs/2506.13131</a></p>
<p><span id="zh-ref-17">[17]</span> Lazer, D., &amp; Friedman, A. (2007). The network structure of exploration and exploitation. <em>Administrative Science Quarterly, 52</em>(4), 667–694. <a href="https://doi.org/10.2189/asqu.52.4.667" class="uri">https://doi.org/10.2189/asqu.52.4.667</a></p>
<p><span id="zh-ref-18">[18]</span> Brackbill, D., &amp; Centola, D. (2020). Impact of network structure on collective learning: An experimental study in a data science competition. <em>PLOS ONE, 15</em>(9), e0237978. <a href="https://doi.org/10.1371/journal.pone.0237978" class="uri">https://doi.org/10.1371/journal.pone.0237978</a></p>
<p><span id="zh-ref-19">[19]</span> Mason, W., &amp; Watts, D. J. (2012). Collaborative learning in networks. <em>Proceedings of the National Academy of Sciences, 109</em>(3), 764–769. <a href="https://doi.org/10.1073/pnas.1110069108" class="uri">https://doi.org/10.1073/pnas.1110069108</a></p>
<p><span id="zh-ref-20">[20]</span> Dwork, C., Feldman, V., Hardt, M., Pitassi, T., Reingold, O., &amp; Roth, A. (2015). The reusable holdout: Preserving validity in adaptive data analysis. <em>Science, 349</em>(6248), 636–638. <a href="https://doi.org/10.1126/science.aaa9375" class="uri">https://doi.org/10.1126/science.aaa9375</a></p>
<p><span id="zh-ref-21">[21]</span> Blum, A., &amp; Hardt, M. (2015). The Ladder: A reliable leaderboard for machine learning competitions. In <em>Proceedings of the 32nd International Conference on Machine Learning</em> (PMLR Vol. 37, pp.&nbsp;1006–1014). <a href="https://proceedings.mlr.press/v37/blum15.html" class="uri">https://proceedings.mlr.press/v37/blum15.html</a></p>
<p><span id="zh-ref-22">[22]</span> Roelofs, R., Shankar, V., Recht, B., Fridovich-Keil, S., Hardt, M., Miller, J., &amp; Schmidt, L. (2019). A meta-analysis of overfitting in machine learning. In <em>Advances in Neural Information Processing Systems 32</em> (pp.&nbsp;9175–9185). <a href="https://proceedings.neurips.cc/paper/2019/hash/ee39e503b6bedf0c98c388b7e8589aca-Abstract.html" class="uri">https://proceedings.neurips.cc/paper/2019/hash/ee39e503b6bedf0c98c388b7e8589aca-Abstract.html</a></p>
<p><span id="zh-ref-23">[23]</span> Czarnecki, W. M., Gidel, G., Tracey, B., Tuyls, K., Omidshafiei, S., Balduzzi, D., &amp; Jaderberg, M. (2020). Real world games look like spinning tops. In <em>Advances in Neural Information Processing Systems 33</em> (pp.&nbsp;17443–17454). <a href="https://proceedings.neurips.cc/paper/2020/hash/ca172e964907a97d5ebd876bfdd4adbd-Abstract.html" class="uri">https://proceedings.neurips.cc/paper/2020/hash/ca172e964907a97d5ebd876bfdd4adbd-Abstract.html</a></p>
<p><span id="zh-ref-24">[24]</span> Vinyals, O., Babuschkin, I., Czarnecki, W. M., et al.&nbsp;(2019). Grandmaster level in StarCraft II using multi-agent reinforcement learning. <em>Nature, 575</em>(7782), 350–354. <a href="https://doi.org/10.1038/s41586-019-1724-z" class="uri">https://doi.org/10.1038/s41586-019-1724-z</a></p>
<p><span id="zh-ref-25">[25]</span> Gurkan, C., Stonedahl, F., &amp; Wilensky, U. (2026). <em>Mutation without variation: Convergence dynamics in LLM-driven program evolution</em> (arXiv:2606.05408). GECCO ’26 Workshop on Large Language Models for and with Evolutionary Computation. <a href="https://arxiv.org/abs/2606.05408" class="uri">https://arxiv.org/abs/2606.05408</a></p>
<p><span id="zh-ref-26">[26]</span> Wang, W., Piękos, P., Li, N., Laakom, F., Chen, Y., Ostaszewski, M., Zhuge, M., &amp; Schmidhuber, J. (2026). Huxley-Gödel Machine: Human-level coding agent development by an approximation of the optimal self-improving machine. In <em>International Conference on Learning Representations (ICLR 2026)</em>. <a href="https://arxiv.org/abs/2510.21614" class="uri">https://arxiv.org/abs/2510.21614</a></p>
<p><span id="zh-ref-27">[27]</span> Cemri, M., Pan, M. Z., Yang, S., Agrawal, L. A., Chopra, B., Tiwari, R., Keutzer, K., Parameswaran, A., Klein, D., Ramchandran, K., Zaharia, M., Gonzalez, J. E., &amp; Stoica, I. (2025). Why do multi-agent LLM systems fail? In <em>Advances in Neural Information Processing Systems 38, Datasets and Benchmarks Track</em>. <a href="https://arxiv.org/abs/2503.13657" class="uri">https://arxiv.org/abs/2503.13657</a></p>
<p><span id="zh-ref-28">[28]</span> Li, W., Lin, Y., Xia, M., &amp; Jin, C. (2026). Rethinking mixture-of-agents: Is mixing different large language models beneficial? <em>Transactions on Machine Learning Research</em>. <a href="https://openreview.net/forum?id=K6WwK8URlV" class="uri">https://openreview.net/forum?id=K6WwK8URlV</a></p>
</section>
</div>



<a onclick="window.scrollTo(0, 0); return false;" id="quarto-back-to-top"><i class="bi bi-arrow-up"></i> Back to top</a> ]]></description>
  <category>LLM</category>
  <category>Multi-agent</category>
  <category>Post-mortem</category>
  <guid>https://negativegluon.github.io/posts/evoforge-postmortem/</guid>
  <pubDate>Sat, 21 Nov 2026 06:00:00 GMT</pubDate>
  <media:content url="https://negativegluon.github.io/posts/evoforge-postmortem/figs/art_cover_pit.jpg" medium="image" type="image/jpeg"/>
</item>
<item>
  <title>Lost in the Feedback Loop: A Post-Mortem of the NVIDIA Nemotron Reasoning Challenge/输在反馈回路：NVIDIA Nemotron 推理挑战赛复盘</title>
  <dc:creator>Bushi Liu</dc:creator>
  <link>https://negativegluon.github.io/posts/nemotron-postmortem/</link>
  <description><![CDATA[ 




<div class="en">
<blockquote class="blockquote">
<p>Final private score 0.856 (rank 198, silver medal), public 0.852. I spent about seven weeks on this competition and tried Megatron-Bridge, DAPO, several kinds of OPD, distillation from a large model, and self-sampling. The submission that counted was a straight reproduction of the public 0.85 recipe from May 6, and nothing from the following seven weeks beat it on the private board. This post works through why. Every local number traces back to logs from the competition; external numbers are labeled with their source and how far I verified them.</p>
</blockquote>
<section id="tldr" class="level2">
<h2 class="anchored" data-anchor-id="tldr">TL;DR</h2>
<ul>
<li>The top three final submissions were all pure SFT on traces generated by rule-based solvers, trained from base. The winner used a single RTX PRO 6000. The gap came mainly from data and the feedback loop, and had little to do with compute or RL.</li>
<li>I was missing three kinds of checks:
<ul>
<li><strong>Verification</strong>: after export, resume, or merge, is the model still the same function as before?</li>
<li><strong>Evaluation</strong>: the minimum detectable difference of my main eval set, small180, is about 8 questions, and most of the improvements I was chasing were smaller than that.</li>
<li><strong>Auditing</strong>: can the student derive every step in the training data from the context it can see?</li>
</ul></li>
<li>The OPD, privileged distillation, STaR, and DAPO I used all have support in the literature. Going through them one by one, each violated at least one premise of the original work, and several of those premises were written in the very papers I was citing at the time.</li>
<li>The silver medal was mostly luck: the submission that counted was the May 6 reproduction, exactly on the silver line; one fewer correct item would have meant bronze (Section 6).</li>
<li>Slow infra raised the cost of every mistake above, and kept “retrain from base” looking too expensive, so I stayed locked into continued training from the same checkpoint for five weeks.</li>
</ul>
<hr>
</section>
<section id="the-competition-and-my-trajectory" class="level2">
<h2 class="anchored" data-anchor-id="the-competition-and-my-trajectory">0. The competition and my trajectory</h2>
<p><strong>Setup</strong></p>
<ul>
<li>Train a LoRA with rank ≤ 32 on Nemotron-3-Nano-30B-A3B (a Mamba + MoE hybrid, about 3.5B active parameters).</li>
<li>The problems are 9 types of programmatically generated puzzles: bit manipulation, cipher, cryptarithm (deduce / guess), equation numeric (deduce / guess), gravity, unit conversion, numeral system.</li>
<li>Official evaluation: vLLM, greedy, <code>max_tokens=7680</code>, <code>max_model_len=8192</code>.</li>
</ul>
<p><strong>Timeline</strong></p>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>Date</th>
<th>What I did</th>
<th>Result</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Apr 19–23</td>
<td>Generated short CoT with my own solver, trained a small LoRA from base</td>
<td>holdout ≈ 0.55; LB 0.48, below the un-finetuned base (0.50)</td>
</tr>
<tr class="even">
<td>Apr 25</td>
<td>Throughput matrix: HF Trainer vs Megatron-Bridge</td>
<td>Bridge 1.05 h per epoch, HF 10.95 h; did not switch</td>
</tr>
<tr class="odd">
<td>May 5–6</td>
<td>Reproduced the public 0.85 recipe (888M LoRA + Tong long CoT)</td>
<td>ckpt500: small180 124/180, holdout 1488/1900; the epoch-2 checkpoint of the same run scored 0.852 / 0.856 on the LB</td>
</tr>
<tr class="even">
<td>May 7–9</td>
<td>Continued training on ckpt500 with different data mixes</td>
<td>All ≤ 124</td>
</tr>
<tr class="odd">
<td>May 10–13</td>
<td>DAPO</td>
<td>Best 124; the submitted step32 dropped to 1431 on holdout</td>
</tr>
<tr class="even">
<td>May 27–Jun 1</td>
<td>DeepSeek distillation, OPD-lite, self-OPD, online OPD, STaR</td>
<td>113–124, crypto stayed at 0</td>
</tr>
<tr class="odd">
<td>Jun 2–5</td>
<td>Moved to Bridge, retrained from base, about a hundred recipes (v19–v104)</td>
<td>v97: small180 126, holdout 1482, private 0.828</td>
</tr>
</tbody>
</table>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F1_iteration_panorama.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1" title="Figure 1: Every small180 evaluation from Apr 19 to Jun 8 (261 points, one panel per method family). The line is ckpt500 at 124; the light band is 124 ± 8. Only v97@600 (126), v97@640 and v104@720 (125) are above 124. The same ckpt500 scored 117 when re-evaluated on a different eval stack on May 29."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F1_iteration_panorama.png" class="img-fluid figure-img" alt="Figure 1: Every small180 evaluation from Apr 19 to Jun 8 (261 points, one panel per method family). The line is ckpt500 at 124; the light band is 124 ± 8. Only v97@600 (126), v97@640 and v104@720 (125) are above 124. The same ckpt500 scored 117 when re-evaluated on a different eval stack on May 29."></a></p>
<figcaption>Figure 1: Every small180 evaluation from Apr 19 to Jun 8 (261 points, one panel per method family). The line is ckpt500 at 124; the light band is 124 ± 8. Only v97@600 (126), v97@640 and v104@720 (125) are above 124. The same ckpt500 scored 117 when re-evaluated on a different eval stack on May 29.</figcaption>
</figure>
</div>
<hr>
</section>
<section id="what-the-top-teams-did" class="level2">
<h2 class="anchored" data-anchor-id="what-the-top-teams-did">1. What the top teams did</h2>
<table class="caption-top table">
<colgroup>
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
</colgroup>
<thead>
<tr class="header">
<th></th>
<th>1st place (0.920)</th>
<th>2nd place (0.908)</th>
<th>3rd place (0.900)</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Data</td>
<td>Purely synthetic new problems, Stage1 220k + Stage2 140k</td>
<td>About 58k synthetic, upsampled by failure mode</td>
<td>48k crypto pattern traces + synthetic bit/cipher</td>
</tr>
<tr class="even">
<td>bit</td>
<td>5238-rule catalog + HEX + nearest-candidate repair</td>
<td>Traces rewritten per family, 85% → 99%</td>
<td>HEX + compact trace</td>
</tr>
<tr class="odd">
<td>crypto</td>
<td>4205-signature catalog + bounded DFS inside the trace</td>
<td>Gave up (“Not solvable inside the CoT budget”)</td>
<td>Recall drill first, then execution</td>
</tr>
<tr class="even">
<td>Training</td>
<td>Single GPU, from base, lr 2e-4 for about 1 epoch, then continued at 1e-5</td>
<td>4×A100, Megatron-Bridge, from base</td>
<td>Single GPU, two stages, from base</td>
</tr>
<tr class="odd">
<td>RL</td>
<td>None</td>
<td>None</td>
<td>None</td>
</tr>
</tbody>
</table>
<p>Sources are the three teams’ open-source repos (xrwr, livctr, YS-L). The 1st-place team continued training at 1e-5 in the second stage, and their experiment notes say that continued training at a high LR degraded the model.</p>
<p>They share four things:</p>
<ol type="1">
<li>Pure SFT, with traces generated by solvers.</li>
<li>Training from base, with a LoRA learning rate on the order of 2e-4.</li>
<li>A lot of effort on how the trace is represented: compact encodings, every line deterministically writable from what came before, and the parts to memorize (rules, signatures) kept separate from the parts to compute (checking each example).</li>
<li>Model selection on a stratified local validation set, with validation scores within 0.5–2 points of private.</li>
</ol>
<hr>
</section>
<section id="verification-is-the-pipeline-an-identity" class="level2">
<h2 class="anchored" data-anchor-id="verification-is-the-pipeline-an-identity">2. Verification: is the pipeline an identity?</h2>
<section id="its-a-30b-model-of-course-its-slow" class="level3">
<h3 class="anchored" data-anchor-id="its-a-30b-model-of-course-its-slow">2.1 “It’s a 30B model, of course it’s slow”</h3>
<p>My main recipe (888M full LoRA, length 7680) ran at about 1.6k tok/s on HF Trainer + DeepSpeed on 4×H20. At the time I considered that normal for a 30B model.</p>
<p>Training compute for an MoE is set by the active parameters. A rough estimate:</p>
<ul>
<li>Each token activates about 3.5B parameters. LoRA freezes the base, so training needs only the forward pass and the backward pass with respect to activations, about 4N ≈ 14 GFLOP/token.</li>
<li>4×H20 have a combined bf16 peak of about 600 TFLOPS. At 30% MFU that is about 13k tok/s.</li>
<li>1.6k tok/s corresponds to an MFU of about 4%.</li>
</ul>
<p>In the Apr 25 throughput matrix, at length 7680, Megatron-Bridge trained a compact LoRA at a measured 17.1k tok/s, above this estimate. HF ran a compact LoRA of similar size at 5.6k and the full 888M LoRA at 1.6k. In June, on the same data, HF took 90 seconds per step and Bridge 22 seconds. Total parameter count determines memory and communication volume. Using it to judge whether “slow is normal” puts you off by an order of magnitude.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F2_throughput.png" class="lightbox" data-gallery="quarto-lightbox-gallery-2" title="Figure 2: (a) Apr 25 throughput matrix: at length 7680, HF trains the full 888M LoRA at about 1.6k tok/s and Bridge trains a compact LoRA at about 17.1k tok/s. The dashed line is a 30% MFU estimate, not a measurement. (b) June production runs at GBS 32: HF median 68 s/step (14 runs), Bridge median 9 s/iter (32 runs); on the same data, 90 s vs 22 s. Runs differ in data and length, so (b) is not a controlled comparison."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F2_throughput.png" class="img-fluid figure-img" alt="Figure 2: (a) Apr 25 throughput matrix: at length 7680, HF trains the full 888M LoRA at about 1.6k tok/s and Bridge trains a compact LoRA at about 17.1k tok/s. The dashed line is a 30% MFU estimate, not a measurement. (b) June production runs at GBS 32: HF median 68 s/step (14 runs), Bridge median 9 s/iter (32 runs); on the same data, 90 s vs 22 s. Runs differ in data and length, so (b) is not a controlled comparison."></a></p>
<figcaption>Figure 2: (a) Apr 25 throughput matrix: at length 7680, HF trains the full 888M LoRA at about 1.6k tok/s and Bridge trains a compact LoRA at about 17.1k tok/s. The dashed line is a 30% MFU estimate, not a measurement. (b) June production runs at GBS 32: HF median 68 s/step (14 runs), Bridge median 9 s/iter (32 runs); on the same data, 90 s vs 22 s. Runs differ in data and length, so (b) is not a controlled comparison.</figcaption>
</figure>
</div>
</section>
<section id="the-fast-path-came-39-days-late" class="level3">
<h3 class="anchored" data-anchor-id="the-fast-path-came-39-days-late">2.2 The fast path came 39 days late</h3>
<p>I had always remembered the reason as “the Bridge environment wasn’t set up.” Going back through the logs, the training side worked on Apr 25–27: three segments trained back to back and checkpoints saved normally. The problems came after training:</p>
<ul>
<li>After exporting to PEFT format, HF loading reported <code>missing adapter keys</code>.</li>
<li>Five attempts with vLLM 0.12 / 0.14 all failed during engine initialization.</li>
<li>Switching to HF evaluation produced an empty log.</li>
</ul>
<p>On May 5 I switched to reproducing the public 0.85 recipe, and every experiment after that started from this HF-format ckpt500. Bridge was set aside.</p>
<p>The real migration started on Jun 3, and the next day I hit the same kind of problem: a continued-training run with LR=0, which should be a no-op, produced an export in which 2943 expert <code>lora_B</code> tensors differed from the parent. The cause was that the SwiGLU gate/up split logic split this weight a second time.</p>
<p>Both times I got stuck at a format boundary. Everything inside the training framework was fine, and the weights changed once they were written in another format and read by another program.</p>
</section>
<section id="an-identity-test-for-every-format-boundary" class="level3">
<h3 class="anchored" data-anchor-id="an-identity-test-for-every-format-boundary">2.3 An identity test for every format boundary</h3>
<p>My thinking at the time was that as long as I could show the training side had no numerical problems (loss could drop to near 0 on a small dataset), export was an engineering problem I could sort out later. Neither of the two bugs above is visible to that test. The dropped LoRA keys and the mangled <code>lora_B</code> were both intact inside the training framework.</p>
<p>A more useful test is end to end: <strong>overfit a small batch of samples, then load the exported adapter in vLLM with the official inference parameters and check that it reproduces those samples verbatim.</strong></p>
<ul>
<li>Overfitting amplifies the adapter’s effect, so losing or mis-splitting any group of tensors makes reproduction fail.</li>
<li>On the export side, tensors must be elementwise equal. On the cross-framework inference side, greedy outputs must match and logprob differences must be within bf16 precision.</li>
</ul>
<p>Then list every boundary the workflow actually crosses, and give each one such a test:</p>
<ul>
<li>train → export → vLLM</li>
<li>train → save → resume → export</li>
<li>HF ↔︎ Bridge conversion in both directions</li>
</ul>
<p>New architectures like Mamba + MoE + per-expert LoRA, where framework support is still immature, need this step even more.</p>
</section>
<section id="dose-response-the-effect-should-match-the-size-of-the-intervention" class="level3">
<h3 class="anchored" data-anchor-id="dose-response-the-effect-should-match-the-size-of-the-intervention">2.4 Dose-response: the effect should match the size of the intervention</h3>
<p>To avoid forgetting, I pushed the LR down to 3e-10 to 1e-8 when continuing training on ckpt500. The original training used 2e-4. Running 50 steps at LR 1e-8, Adam moves each parameter by at most about 5e-7, less than 1/10,000 of the typical magnitude of the LoRA weights.</p>
<p>The logs showed this instead:</p>
<ul>
<li>v79 on Jun 2 (LR 5e-10) dropped to 18/180 at step10 and came back to 121 at step30.</li>
<li>v80 and v81 (LR 3e-10) dropped to 20 and 22 at step10/20.</li>
<li>v80’s loss over the first few steps was 8.0, 6.36, 5.65. With the same HF Trainer setup, a run from base starts at 18.9 and drops below 0.3 within about 100 steps (Figure 3c). If the ckpt500 adapter had been fully loaded, the starting loss should have been well below 1. A value of 8.0 looks more like a partially loaded adapter, or a change in how the data or the loss was computed.</li>
</ul>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F3_loss_curves.png" class="lightbox" data-gallery="quarto-lightbox-gallery-3" title="Figure 3: Training loss as logged by each stack; definitions differ, so compare shapes, not levels. (a) The ckpt500 run goes from 4.63 to 0.29 at step 500. (b) Bridge from base: lm loss from 0.37 to about 0.001. (c) Same HF Trainer setup: a run from base starts at 18.9, while v80 on Jun 2, continuing from ckpt500, starts at 8.0."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F3_loss_curves.png" class="img-fluid figure-img" alt="Figure 3: Training loss as logged by each stack; definitions differ, so compare shapes, not levels. (a) The ckpt500 run goes from 4.63 to 0.29 at step 500. (b) Bridge from base: lm loss from 0.37 to about 0.001. (c) Same HF Trainer setup: a run from base starts at 18.9, while v80 on Jun 2, continuing from ckpt500, starts at 8.0."></a></p>
<figcaption>Figure 3: Training loss as logged by each stack; definitions differ, so compare shapes, not levels. (a) The ckpt500 run goes from 4.63 to 0.29 at step 500. (b) Bridge from base: lm loss from 0.37 to about 0.001. (c) Same HF Trainer setup: a run from base starts at 18.9, while v80 on Jun 2, continuing from ckpt500, starts at 8.0.</figcaption>
</figure>
</div>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F4_dose_effect.png" class="lightbox" data-gallery="quarto-lightbox-gallery-4" title="Figure 4: (a) A batch of early-June HF continuations at LR 1e-10 to 2e-8: small180 falls to 6–55 within 10–20 steps, and several runs climb back to about 120. (b) Nominal dose (peak LR × steps) spans six orders of magnitude, and the small180 change is not monotonic in it. (c) The first logged loss of June HF continuations ranges from 8.5 to 186; similar continuations in May started at 0.45–2.2."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F4_dose_effect.png" class="img-fluid figure-img" alt="Figure 4: (a) A batch of early-June HF continuations at LR 1e-10 to 2e-8: small180 falls to 6–55 within 10–20 steps, and several runs climb back to about 120. (b) Nominal dose (peak LR × steps) spans six orders of magnitude, and the small180 change is not monotonic in it. (c) The first logged loss of June HF continuations ranges from 8.5 to 186; similar continuations in May started at 0.45–2.2."></a></p>
<figcaption>Figure 4: (a) A batch of early-June HF continuations at LR 1e-10 to 2e-8: small180 falls to 6–55 within 10–20 steps, and several runs climb back to about 120. (b) Nominal dose (peak LR × steps) spans six orders of magnitude, and the small180 change is not monotonic in it. (c) The first logged loss of June HF continuations ranges from 8.5 to 186; similar continuations in May started at 0.45–2.2.</figcaption>
</figure>
</div>
<p>At the time I attributed the drop to the data recipe and ran a dedicated ablation that removed the symbolfix data. By dose, an LR this small cannot take the model from 121 down to 18 and back. It is more likely that some step in the load, save, merge, or eval chain was broken.</p>
<p>The literature does not support “lower the LR to prevent forgetting” either:</p>
<ul>
<li>The optimal LoRA learning rate is about 10× that of full fine-tuning (Schulman et al., 2025, <em>LoRA Without Regret</em>), and the 2e-4 used by the top teams falls in that range. My 1e-8 to 3e-10 was 4–6 orders of magnitude lower.</li>
<li>“LoRA forgets less” (Biderman et al., 2024) comes from a comparison against full fine-tuning at normal LR.</li>
<li>The standard way to prevent forgetting in continual learning is to replay old data. Mixing about 1% of old-task data into fine-tuning largely preserves the old tasks (Scialom et al., 2022). In continual pretraining, re-warming plus replay can match full retraining (Ibrahim et al., 2024). Both are done at normal LR.</li>
<li>v79’s LoRA weights were saved in fp32 (<code>lora_fp32: true</code> in the launch manifest). For an fp32 number of magnitude 1e-2, adjacent representable values are about 1e-9 apart. A single-step update of 5e-10 is smaller than that gap and is mostly lost to rounding. Zamirai et al.&nbsp;(2020) discuss the same kind of small-update cancellation under bf16.</li>
</ul>
<p>DAPO had the same problem. Counting from ckpt500, the submitted step32 had been trained for 84 steps in total (8 steps at LR 5e-8, 76 at 2e-7), so no parameter could have moved more than about 1.6e-5, yet holdout lost 57 questions.</p>
<p>Two checks:</p>
<ol type="1">
<li><strong>Dose-response</strong>: first estimate the most the intervention could move the parameters. If the size of the effect doesn’t match, check the pipeline before the data.</li>
<li><strong>Step-0 no-op run</strong>: with no updates, run through “load → save → export → merge → eval” once. The score must equal the parent’s.</li>
</ol>
<hr>
</section>
</section>
<section id="auditing-is-the-data-learnable" class="level2">
<h2 class="anchored" data-anchor-id="auditing-is-the-data-learnable">3. Auditing: is the data learnable?</h2>
<section id="what-the-solver-searches" class="level3">
<h3 class="anchored" data-anchor-id="what-the-solver-searches">3.1 What the solver searches</h3>
<p>Below is the core loop of my bit solver (<code>native_bit_solver.c</code>, abridged). For each output bit, it enumerates “which input bits, through which gate, produce this bit” in order of increasing complexity, scores each candidate against all examples, and stops as soon as some level has a full match:</p>
<div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode c code-with-copy"><code class="sourceCode c"><span id="cb1-1"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">static</span> Candidate solve_one_bit<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">const</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">uint8_t</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">*</span>xs<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">const</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">uint8_t</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">*</span>ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">uint8_t</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb1-2">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> v <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> v <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">1</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> v<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span> consider_const<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> v<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&amp;</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">);</span></span>
<span id="cb1-3">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">.</span>exact<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb1-4">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> pos <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> pos <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">8</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">{</span>            <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">// single input bit / negation</span></span>
<span id="cb1-5">        consider_unary<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>xs<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&amp;</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">);</span></span>
<span id="cb1-6">        consider_unary<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>xs<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">1</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&amp;</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">);</span></span>
<span id="cb1-7">    <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">}</span></span>
<span id="cb1-8">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">.</span>exact<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb1-9">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> i <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> i <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">8</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> i<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span>                     <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">// binary gates: 8×7×10</span></span>
<span id="cb1-10">        <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> j <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> j <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">8</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> j<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">{</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>i <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">==</span> j<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">continue</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb1-11">            <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> op <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> op <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">10</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> op<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span> consider_binary<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>xs<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> i<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> j<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> op<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&amp;</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">);</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">}</span></span>
<span id="cb1-12">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">.</span>exact<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb1-13">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">/* ternary gates 8×7×6×9, quaternary gates ... */</span></span>
<span id="cb1-14">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb1-15"><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">}</span></span></code></pre></div>
<p>Before the per-bit search there is also a whole-byte expression search: about 50 base terms (shifts, rotations, negations, etc.) combined in pairs and triples, with candidate counts in the millions. On the 922-question hard set, bit averages 16.8 seconds of C search per question, and cryptarithm_deduce averages 24.1 seconds.</p>
<p>In solver-trace SFT, the solver does two jobs at once:</p>
<ol type="1">
<li><strong>Providing labels and coverage</strong>: if the solver can’t solve a question, the model can’t learn it.</li>
<li><strong>Providing the algorithm for the trace</strong>: this is the algorithm the model has to execute in text at inference time.</li>
</ol>
<p>I kept optimizing job 1, measured by accuracy and CPU seconds. Job 2 needs a different set of metrics:</p>
<ul>
<li><strong>Hard metric: in-budget coverage.</strong> The fraction of questions whose search, written out step by step in text, fits in about 7000 tokens. You also need a margin, because at inference the model often writes more than the teacher trace does. A 16.8-second C search cannot be written into 7680 tokens.</li>
<li><strong>Soft metric: marginal gain.</strong> How much accuracy goes up when this batch of data is added to the training set. A cheap proxy is to train briefly and look at per-token logprob on the traces. The lowest few tokens mark the places the model cannot learn. The 10th-place team filtered traces with min-logprob &lt; −0.69.</li>
</ul>
<p>The 10th-place team’s experience shows the difference between the two. After they rewrote bit traces in a key-table format, solver coverage went from 85.1% to 98.8%, but with the new traces the SFT correct count fell from 153 to 103/169. The model only learned it after they changed how the trace was written.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F5_solver_vs_model.png" class="lightbox" data-gallery="quarto-lightbox-gallery-5" title="Figure 5: On small180 the solver gets 20/20 on six of the seven non-crypto types and 0/40 on crypto; ckpt500 and v97 also score 0 on crypto. On holdout1900, v97 gains 37 on bit and loses 50 on numeral relative to ckpt500."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F5_solver_vs_model.png" class="img-fluid figure-img" alt="Figure 5: On small180 the solver gets 20/20 on six of the seven non-crypto types and 0/40 on crypto; ckpt500 and v97 also score 0 on crypto. On holdout1900, v97 gains 37 on bit and loses 50 on numeral relative to ckpt500."></a></p>
<figcaption>Figure 5: On small180 the solver gets 20/20 on six of the seven non-crypto types and 0/40 on crypto; ckpt500 and v97 also score 0 on crypto. On holdout1900, v97 gains 37 on bit and loses 50 on numeral relative to ckpt500.</figcaption>
</figure>
</div>
</section>
<section id="two-bit-traces-compared" class="level3">
<h3 class="anchored" data-anchor-id="two-bit-traces-compared">3.2 Two bit traces compared</h3>
<p>The public 0.85 recipe uses Tong-style traces. Bit traces average 8777 characters, and most of that is a matching table per operator and per position:</p>
<pre><code>Identity
0 0010001010 3
1 1110110010 6
...
Matching output
0 absent
...
Best left: XOR-NOT45 56 67: 3
Truncated right: OR-NOT43 32 21 10 07: 5
...
Applying to 00100001
Output
0 XOR-NOT45 = XOR(0,NOT(0)) = 1</code></pre>
<p>My April v10 traces copied Tong’s format for the first half, but after “Matching output” the matching table was replaced by one sentence:</p>
<pre><code>Matching output
The verified generator rule family is binary.
Selected byte-wide rule: SHL(1) &amp; NOT(SHL(2)).
Replaying this rule matches 8/8 visible examples.</code></pre>
<p>This rule was taken from the problem generator’s metadata. After the model sees “Selected byte-wide rule:”, it has to produce the result of a search at a single token position. Across all 2500 bit rows, the average length was only 1889 characters. Models trained from base on this kind of data scored below the un-finetuned base on the LB.</p>
<p>I summarize the conditions for learnability as four points:</p>
<ol type="1">
<li><strong>Each token needs no more compute than one forward pass.</strong> In theory, a fixed-depth Transformer cannot do inherently serial computation in one step, but can once that computation is unrolled into CoT (Feng et al., 2023; Li et al., 2024). State-space models like Mamba have the same ceiling (Merrill et al., 2024). So the search either has to unfold step by step in text, or be replaced by a lookup that can be memorized. Patel (2026) measured this on crypto in this competition: arithmetic steps in the trace are 97–100% correct, but the few tokens that state “this candidate holds” are only 16–57% correct. The author calls this verdict-as-token.</li>
<li><strong>Length budget.</strong> The more fully a trace is unrolled, the easier it is to learn and the more likely it is to be truncated. HEX, key-tables, and rule catalogs are all ways of balancing conditions 1 and 2.</li>
<li><strong>Operations aligned with the tokenizer.</strong> BPE models are bad at character-level operations. tonghuikang added dedicated spelling / splitting drills, and the 7th-place team forced binary strings to be split into single-bit tokens (Agnihotri et al., 2026).</li>
<li><strong>A fixed, deterministic format, where each line depends only on what has already been written, including when to stop.</strong> Lee et al.&nbsp;(2023), training small Transformers on addition, found that the same information written in a different order can change sample efficiency by orders of magnitude. Bachmann &amp; Nagarajan (2024) point out that under teacher forcing, the model can take shortcuts using the ground truth in the prefix, so the key decision tokens end up not being trained effectively. v10’s “Selected byte-wide rule” sits in exactly this kind of position.</li>
</ol>
<p>The rule “traces should be within the model’s distribution” has a limited scope. It matters for low-LR continued training and for RL. The top teams trained from base at lr 2e-4 on solver traces in a brand-new format, and the model learned them.</p>
</section>
<section id="memorize-into-the-weights-or-compute-in-the-trace" class="level3">
<h3 class="anchored" data-anchor-id="memorize-into-the-weights-or-compute-in-the-trace">3.3 Memorize into the weights, or compute in the trace</h3>
<ul>
<li>Good to memorize: knowledge that is useful for every question of a type and has a finite, closed value space, such as rule families, candidate signatures, and prior orderings.</li>
<li>Good to compute: the instance-dependent parts, such as checking examples bit by bit or substituting values to verify.</li>
<li>Combining the two usually works best: the weights supply a set of candidates ranked by prior, and the trace does only cheap verification. The 1st-place crypto approach (4205-signature catalog + bounded DFS) works this way. Patel’s (2026) controlled experiment also supports this: on crypto, giving the model the full key raises accuracy from 0.03 to 0.571 (n=42), while giving half the key yields only 0.048.</li>
</ul>
<p>“Finite and closed” holds in this competition because the problems come from fixed program generators. The 2nd-place team’s phrase for it is “reverse-engineers the data-generation process”. Open-world tasks don’t meet this premise, and a catalog can’t cover the test distribution.</p>
</section>
<section id="my-two-versions-of-crypto-data" class="level3">
<h3 class="anchored" data-anchor-id="my-two-versions-of-crypto-data">3.4 My two versions of crypto data</h3>
<p><strong>Version A</strong> (May 30, 1608 rows): the student attempts the problem first, and its failed trajectory is truncated at 75%. The teacher is the same ckpt500, with the solver’s method description in its prompt, and it continues writing from there. A typical sample:</p>
<pre><code>[student prefix, masked]
    multiplication f(cr, gz) = cr * gz -rev-&gt; wrong
[completion, 28 tokens]
We need to produce the answer in
The answer in  is
&lt;/think&gt;
&lt;/think&gt;
\boxed{VQ}</code></pre>
<p>The median completion length was 26 tokens (measured with the base model’s tokenizer; the log says 28). The manifest said “the teacher cannot see the answer”, but the last sentence of the method description the teacher saw was “That produces VQ.”. What the student learns is: after a failed search, write down the correct answer directly. This violates condition 1.</p>
<p><strong>Version B</strong> (v94 on Jun 5, 8773 rows): the visible CoT carries the solver’s internal state:</p>
<pre><code>Native C numeric-crypt DFS. candidates=1 best_votes=8 second_votes=0 dfs_calls=427650 hit_limit=0 format=BADC/swap query_op=subtraction (a-b) answer=#$
...
The constraint replay shows that the rendered query answer is `#$`.</code></pre>
<p><code>dfs_calls=427650</code> comes from running the C program, and the answer is written after <code>answer=</code>. The student sees neither at inference. This violates condition 4. After training, the model had learned the style of “writing search text” but not the stopping condition. v94@440’s crypto completions averaged 7676–7679 tokens, so nearly all of them ran to the limit and were truncated:</p>
<pre><code>Trying common operations reversed operands [...]:
  concatenation f(LS, eS) = LS || eS = LSeS -rev-&gt; s eS L S = se sL -rev-&gt; sL se
  ...
  mahalanobis distance f(SB, cc) = (1 - 1, 1 - 1) * (1 0; 0 1) * (1 - 1, 1 - 1)^T = 0
  z score squared f(SB, cc) = (1 - 1) / 0 = inf</code></pre>
<p>The model kept extending the “Trying common operations” pattern from the training data and invented operators like mahalanobis distance. The same checkpoint also looped “The outputs are read in BADC order” on Roman numeral questions. The crypto phrasing had leaked into other problem types.</p>
<p><strong>My fix (v95)</strong> was to shorten the completions and hide the search process, which amounts to pushing B back toward A. The 1st-place team went in the direction of making the search bounded, visible, and deterministic. The 2nd-place team accepted that it couldn’t be learned and gave up on it.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F6_trace_lengths.png" class="lightbox" data-gallery="quarto-lightbox-gallery-6" title="Figure 6: Length of training labels and model outputs (base-model tokenizer). ckpt500’s training data (Tong CoT) has a median of 3,367 tokens; the v94 and v97 labels have medians of only 153 and 94, and crypto version A has 26. On small180 crypto questions, both v94 and v97 produce outputs with a median of 7,680, the cap."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F6_trace_lengths.png" class="img-fluid figure-img" alt="Figure 6: Length of training labels and model outputs (base-model tokenizer). ckpt500’s training data (Tong CoT) has a median of 3,367 tokens; the v94 and v97 labels have medians of only 153 and 94, and crypto version A has 26. On small180 crypto questions, both v94 and v97 produce outputs with a median of 7,680, the cap."></a></p>
<figcaption>Figure 6: Length of training labels and model outputs (base-model tokenizer). ckpt500’s training data (Tong CoT) has a median of 3,367 tokens; the v94 and v97 labels have medians of only 153 and 94, and crypto version A has 26. On small180 crypto questions, both v94 and v97 produce outputs with a median of 7,680, the cap.</figcaption>
</figure>
</div>
<hr>
</section>
</section>
<section id="why-methods-backed-by-the-literature-did-not-work-here" class="level2">
<h2 class="anchored" data-anchor-id="why-methods-backed-by-the-literature-did-not-work-here">4. Why methods backed by the literature did not work here</h2>
<p>In the week of May 27–Jun 1, every method I tried had a paper behind it. Below, for each one, I list the premises under which the original conclusion holds and compare them with my setup.</p>
<section id="large-model-distillation-14.5k-rows-from-deepseek-v4-pro" class="level3">
<h3 class="anchored" data-anchor-id="large-model-distillation-14.5k-rows-from-deepseek-v4-pro">4.1 Large-model distillation: 14.5k rows from DeepSeek-v4-pro</h3>
<p><strong>What I did.</strong> I generated 14,824 rows of traces with DeepSeek-v4-pro and accepted 14,505 of them (97.8%). Even crypto_deduce had a 96.1% acceptance rate. Generation used two kinds of prompts:</p>
<ul>
<li><code>solver_hint_no_answer</code> (11,594 rows): the solver’s hint is attached to the prompt, with only the lines containing the answer removed. The rule and the intermediate values of the first few steps remain in the hint.</li>
<li><code>answer_conditioned</code> (2,911 rows): the prompt gives the answer directly and asks the model to “derive it”.</li>
</ul>
<p>Without hints, DeepSeek got only 16/30 on bit. After training on this data, small180 was between 102 and 121, below ckpt500’s 124.</p>
<p>In one hint-mode sample, the trace opens with:</p>
<pre><code>Let's go step-by-step using the hinted rule.
**Rule**: ... output = ( (a &amp; b) | (~a &amp; c) )
**Test against first example** 10001110: ... Result = 00100110 → matches.
Rule works for all given, now apply to query.</code></pre>
<p>It checks one example and declares “Rule works for all given”. Answer-mode samples end like this:</p>
<pre><code>At this stage, given the verified answer is **10010111**, the transformation for query 00110100 must give exactly that.
... It's a fixed linear feedback transformation. Applying to 00110100 yields 10010111.</code></pre>
<p>Of the 2,911 answer-mode samples, 2,226 contain phrasing like “verified answer / required final answer”. The verifier only checks the final boxed answer, so all of them were judged correct.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F9_deepseek_distill.png" class="lightbox" data-gallery="quarto-lightbox-gallery-7" title="Figure 7: Composition of the DeepSeek-v4 distillation data by prompt mode and task type. 14,505 rows were accepted; crypto has the highest answer-conditioned share (deduce: 688/1,192). Without hints, the same teacher gets 16/30 on bit. The two runs trained on this data score 102 and 121 on small180."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F9_deepseek_distill.png" class="img-fluid figure-img" alt="Figure 7: Composition of the DeepSeek-v4 distillation data by prompt mode and task type. 14,505 rows were accepted; crypto has the highest answer-conditioned share (deduce: 688/1,192). Without hints, the same teacher gets 16/30 on bit. The two runs trained on this data score 102 and 121 on small180."></a></p>
<figcaption>Figure 7: Composition of the DeepSeek-v4 distillation data by prompt mode and task type. 14,505 rows were accepted; crypto has the highest answer-conditioned share (deduce: 688/1,192). Without hints, the same teacher gets 16/30 on bit. The two runs trained on this data score 102 and 121 on small180.</figcaption>
</figure>
</div>
<p><strong>What the literature assumes.</strong></p>
<ul>
<li>DeepSeek-R1 distilled reasoning into small models using about 800k samples obtained by rejection sampling from the RL model. The teacher solved the problems on its own with no answer hints, and the students were trained with full-parameter SFT from base for 2–3 epochs (DeepSeek-AI, 2025).</li>
<li>s1 and LIMO work with around 1000 samples (Muennighoff et al., 2025; Ye et al., 2025). LIMO states its premise explicitly: the domain knowledge is already well encoded during pretraining, and the samples serve only as “cognitive templates”. The rules of programmatically generated puzzles are not in the pretraining distribution.</li>
<li>Li et al.&nbsp;(2025) found that students of ≤3B benefit inconsistently from long-CoT distillation from large teachers, and that smaller teachers or shorter CoT actually work better. Nemotron-3-Nano has about 3.5B active parameters. The paper does not cover whether this finding applies to MoE.</li>
<li>STaR’s rationalization does “give the answer and have the model explain it” (Zelikman et al., 2022). But in STaR this only supplements the samples the model got right on its own, and every iteration retrains from the original pretrained model.</li>
</ul>
<p><strong>Comparison.</strong></p>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>Premise</th>
<th>Literature</th>
<th>My setup</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Teacher solves the problem on its own without seeing the answer</td>
<td>R1 distillation, s1, LIMO</td>
<td>100% with a hint or the answer</td>
</tr>
<tr class="even">
<td>Scale</td>
<td>R1: 800k</td>
<td>14.5k</td>
</tr>
<tr class="odd">
<td>Capability already present from pretraining</td>
<td>s1, LIMO</td>
<td>Artificial rules, not in the pretraining distribution</td>
</tr>
<tr class="even">
<td>Training method</td>
<td>Full-parameter SFT from base</td>
<td>Low-LR continued training on a LoRA ckpt</td>
</tr>
<tr class="odd">
<td>Role of answer-conditioned samples</td>
<td>STaR: supplementary data, retrained from scratch every iteration</td>
<td>Main data source</td>
</tr>
</tbody>
</table>
<p>The effect of hints and answers can be understood through Turpin et al.&nbsp;(2023): biasing features in the input systematically change the CoT, yet the CoT almost never mentions them. Hint-driven traces are the same kind of text. The key steps are determined by conditions the student cannot see, and nothing in the text shows it. At inference the student has no hint, so it can only learn the surface form. Another consequence is that the traces never backtrack. The hint points at the correct rule, so the teacher never picks a wrong rule first and then corrects itself, and the student never sees what to do after the first candidate fails.</p>
<p><strong>Limits of the evidence.</strong> Gideon Nazarian’s README contains a counterexample: a public adapter trained on LLM-written traces scored 0.84, while his own traces, 100% verified by a solver, scored only 0.72. This shows that the source of the traces alone doesn’t decide the outcome. He doesn’t say whether the two scores were measured the same way or came from the same training recipe, so it is not a controlled comparison. Also, the LLM behind that adapter wrote freely with no privileged conditioning, so the example can’t be used to support hint distillation.</p>
</section>
<section id="opd-lite-oracle-continuations-on-the-students-wrong-prefixes" class="level3">
<h3 class="anchored" data-anchor-id="opd-lite-oracle-continuations-on-the-students-wrong-prefixes">4.2 OPD-lite: oracle continuations on the student’s wrong prefixes</h3>
<p><strong>What I did (May 28).</strong> I took rollouts that ckpt500 got wrong, had GPT-5.5 pick a branching point, and wrote a correct continuation from that point using solver or oracle results. The prefix was masked and SFT was done on the continuation only. When the solver failed, the continuation template would write “The verifier target is known…” or “I will use the verified target answer…”. I trained for 5 steps. Loss went 36.15 → 47.03 → 71.07 → 66.83 → 41.78, and small180 was 121.</p>
<p><strong>What the literature assumes.</strong> Structurally this is DAgger (Ross et al., 2011): having the expert label the states the student actually reaches reduces the error of behavior cloning, which grows quadratically with horizon, to linear. DAgger’s guarantee depends on a premise: the expert’s actions must be realizable by the student. In Learning by Cheating (Chen et al., 2019), the privileged teacher sees a ground-truth bird’s-eye map, and that information can in principle be perceived from the student’s camera images.</p>
<p>When the teacher relies on information the student cannot see, the gap has a name: the imitation gap (Weihs et al., 2021). Imitation learning marginalizes out that information, and the student learns “the average of the teacher’s actions given the visible input”. Swamy et al.&nbsp;(2022) further show that with hidden context, on-policy imitation has guarantees only if the student can gradually identify the context as the trajectory proceeds. Off-policy imitation treats its own early suboptimal actions as expert behavior and sticks to them more the longer it writes.</p>
<p><strong>Comparison.</strong> The crypto key cannot be derived forward from the problem statement within 7680 tokens (Patel found that only giving the full key raises accuracy from 0.03 to 0.571), which matches the imitation gap setting. The oracle continuations for different questions are determined by different keys, so the student can only learn their average: a confident template whose verdict tokens are close to random. It was also a single round, so DAgger’s iteration condition wasn’t met either.</p>
<p>The 7th-place team also used masked SFT (Agnihotri et al., 2026), and it makes a useful contrast. They masked the feedback that could be computed from the context and put the loss on the student’s own hypotheses and backtracking steps. I put the loss on the oracle-dependent part.</p>
</section>
<section id="online-opd-and-privileged-self-distillation" class="level3">
<h3 class="anchored" data-anchor-id="online-opd-and-privileged-self-distillation">4.3 Online OPD and privileged self-distillation</h3>
<p><strong>What I did (May 29–31).</strong> Online OPD in SGLang. The student was ckpt500 and the teacher was the merged DAPO step32 model, from the same 30B family. The teacher prompt contained the original question, a “Solver-generated method”, and a “Solver trace summary”, with the rule that no separate answer field was given. The loss was forward-KL top-k. The teacher prompt for one bit sample ended like this:</p>
<pre><code>The selected exact expression is SHR(5) | SHL(6).
Replaying it matches 10/10 visible examples.
...
The resulting 8-bit output is 11000110.

Solver trace summary:
Detected bit-manipulation task.
Found binary match: SHR(5) | SHL(6)
Query answer: 11000110</code></pre>
<p>When I checked afterwards, every row of the 7,699-row data pool had the gold answer in its solver_method. After about 65 steps, small180 was 121–124 and crypto was 0/40. The mean distill loss over step50–56 was only 0.02–0.10. Rollout took about 359 seconds per step, while teacher scoring took only 1.78 seconds.</p>
<p><strong>What the literature assumes.</strong> Successful OPD reports all meet the condition “the teacher is clearly stronger and sees the same input as the student”:</p>
<ul>
<li>GKD’s teacher is a fine-tuned T5-XL, the students range from T5-Small to Large, and the student is required to be able to “generate sequences of reasonable quality” (Agarwal et al., 2024).</li>
<li>The Thinking Machines blog uses Qwen3-32B to teach Qwen3-8B. The “self-distillation” in that post uses an older checkpoint that is better at the target behavior (Lu et al., 2025).</li>
<li>Qwen3 uses 32B / 235B models to teach smaller ones, including the 30B-A3B, which also has 3B active parameters (Qwen Team, 2025).</li>
<li><em>Rethinking On-Policy Distillation</em>, which I cited at the time (arXiv 2604.13016; cited from my notes back then and not re-checked for this post), proposes two conditions: consistent thinking patterns, and a teacher that has new knowledge the student lacks.</li>
</ul>
<p>The other line of work is privileged self-distillation: the same model acts as the teacher once privileged information is added to its context. Several positive results appeared in early 2026:</p>
<ul>
<li>In SDFT the privileged information is expert demonstrations (Shenfeld et al., 2026). It works at 7B and 14B, and is worse than SFT at 3B (−3.3). The authors state that the method does not apply when the target behavior requires a fundamental shift in generation patterns.</li>
<li>In SDPO the privileged information is environment feedback, or another successful rollout from the same group (Hübotter et al., 2026). With no successful samples, there is no signal.</li>
<li>In OPSD the privileged information is a reference solution (Zhao et al., 2026), and the starting point is an already strong Qwen3 instruct model.</li>
</ul>
<p><strong>Comparison.</strong></p>
<ul>
<li>The teacher was not stronger than the student. DAPO step32 scored 1431 on holdout and the student scored 1488. All of the teacher’s extra capability came from the gold answer in the prompt, which puts us back in the imitation gap of 4.2. A distill loss of 0.02–0.10 means the two were nearly identical on the student’s own trajectories, so the gradient signal was weak.</li>
<li>A 120B teacher didn’t work either. The un-finetuned Nemotron-3-Super-120B solved 14 of 45 questions directly, and 12 after seeing the solver trace. Crypto was 0/10 in both cases.</li>
<li>Crypto had no successful rollouts (in STaR-style self-sampling, only 5 of 2000 samples got as far as a boxed ending), so SDPO-style methods had no source of signal.</li>
<li>The model size (3.5B active) is close to the range where SDFT doesn’t apply, and going from “can’t search” to “can search” is the kind of fundamental shift its authors excluded.</li>
</ul>
<p><strong>Problems in the literature itself.</strong> Privileged self-distillation was moving fast in 2026, and the conclusions have not settled:</p>
<ul>
<li>Zhu et al.&nbsp;(May 2026, during the competition) found that when the privileged information is per-question (e.g., reference solutions or answers), OPSD fails on mathematical reasoning, and the student only learns the teacher’s average across different privileged conditions. It works only when the privileged information is rules shared across questions.</li>
<li>Kim et al.&nbsp;(2026) found that self-distillation suppresses the language the model uses to express uncertainty. In-domain gains come fast, and out-of-domain performance drops by up to 40%.</li>
<li>Kaur et al.&nbsp;(Jul 2026, after the competition) measured on 5 thinking models that privileged context distillation lowers avg@16 by up to 17% relative. The more information is hidden from the student, the larger the drop, and it is most pronounced under long rollout budgets. The student also shows fewer verification, backtracking, and hesitation markers.</li>
<li>Qiu &amp; Agarwal (Nov 2026) found that OPSD’s gains come mainly from the teacher being in thinking mode, and have little to do with whether the teacher saw the solution.</li>
</ul>
<p>I used per-question privileged information (the solver trace and the answer), together with long CoT and a 7680-token budget, which falls right in the range these counterexamples describe. The positive results available during the competition were all on strong models that could already solve most of the problems, and most of the counterexamples were published after the competition. Still, the <em>Rethinking OPD</em> paper I had at the time already said that the teacher needs new knowledge, and the first paragraph of GPT’s review of my plan on Jun 1 said “you are distilling repair behavior, not solve behavior”. The risk had been named at the time, and I went ahead anyway.</p>
</section>
<section id="star-style-self-sampling" class="level3">
<h3 class="anchored" data-anchor-id="star-style-self-sampling">4.4 STaR-style self-sampling</h3>
<p><strong>What I did (Jun 1).</strong> I sampled many times from ckpt500, kept the correct samples, and continued training on ckpt500 at LR 2e-8 for 120 steps. Pure self-sampling accepted only 5 rows out of 2000. The rest never got as far as a boxed ending. So I fell back to trace-assisted sampling, with “Private verified solving guide…do not mention it” in the prompt. The results at step40 / 80 / 120 were 120 / 116 / 119.</p>
<p><strong>What the literature assumes.</strong></p>
<ul>
<li>In each iteration, STaR “retrains from the original pretrained model M instead of continuing to train the same model, to avoid overfitting”, and it requires first-round few-shot performance above chance (Zelikman et al., 2022). ReST-EM also fine-tunes from base at every Improve step (Singh et al., 2023). RFT’s gains come from having many distinct correct reasoning paths (Yuan et al., 2023).</li>
<li>Positive evidence from this competition: Patel (2026) applied STaR to bit and went from a 0.526 warm start to 0.678 in two rounds, while the truncation rate dropped from 18.6% to 0.2%.</li>
</ul>
<p><strong>Comparison.</strong> I continued training from a ckpt at an LR so low that the parameters barely moved. There were only 5 usable pure self-samples, and the trace-assisted samples brought back the privileged-information problem from 4.1.</p>
</section>
<section id="dapo" class="level3">
<h3 class="anchored" data-anchor-id="dapo">4.5 DAPO</h3>
<p><strong>What I did (May 10–13).</strong> DAPO on verl: <code>train_bsz=1</code>, 8 responses per question, LR 2e-7, T 1.25, 32–40 steps per segment, 104 run directories in total. In the filtered pool, mixed groups (some responses right, some wrong) made up 78/128 for bit and 51/128 for eq_deduce, so the signal was there. The best result was 124/1484. The submitted step32 dropped to 1431 on holdout.</p>
<p><strong>What the literature assumes.</strong></p>
<ul>
<li>The DAPO paper uses 512 questions per step, 16 responses per question, LR 1e-6, and trains for thousands of steps. Dynamic sampling discards all-correct and all-wrong groups, because their advantage is 0 (Yu et al., 2025).</li>
<li>The GRPO paper observed that RL improves Maj@K but not Pass@K (Shao et al., 2024). Yue et al.&nbsp;(2025) confirmed this on more models: for large enough k, the base model’s pass@k is higher than the RL model’s. ProRL argues the opposite (Liu et al., 2025), but it needs 2000+ steps, batch 256, about 16k H100 hours, and periodic resets of the reference policy.</li>
</ul>
<p><strong>Comparison.</strong> Counting from ckpt500, the submitted model had seen 84 prompts and 672 rollouts in total, less than 10% of a single DAPO step (8,192 rollouts). Crypto groups were all wrong, so by DAPO’s own rule they were all filtered out. With a dose this small, holdout still dropped by 57 questions. By the logic of 2.4, the pipeline should have been the first suspect. At the time I thought batch=1 was forced by memory. Memory limits the micro batch, and the global batch can be increased with gradient accumulation. The online OPD timing (359 seconds for rollout vs 1.78 seconds for teacher scoring) shows that the bottleneck was rollout throughput.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F8_dapo_pool.png" class="lightbox" data-gallery="quarto-lightbox-gallery-8" title="Figure 8: Screening 640 weak-category prompts on May 12 with n=32, T=1.25: only 165 had a mix of correct and wrong samples, and only 15 of the 256 crypto prompts. The step32 run used train_bsz=1, n_resp=8, lr=2e-7."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F8_dapo_pool.png" class="img-fluid figure-img" alt="Figure 8: Screening 640 weak-category prompts on May 12 with n=32, T=1.25: only 165 had a mix of correct and wrong samples, and only 15 of the 256 crypto prompts. The step32 run used train_bsz=1, n_resp=8, lr=2e-7."></a></p>
<figcaption>Figure 8: Screening 640 weak-category prompts on May 12 with n=32, T=1.25: only 165 had a mix of correct and wrong samples, and only 15 of the 256 crypto prompts. The step32 run used train_bsz=1, n_resp=8, lr=2e-7.</figcaption>
</figure>
</div>
<p>Three gates should be passed before starting RL:</p>
<ol type="1">
<li><strong>Mixed-group ratio</strong>: compute pass@8 per category. The fraction of mixed groups (0 &lt; correct &lt; 8) sets the upper bound on usable gradient.</li>
<li><strong>Reachable gain</strong>: estimate an upper bound as (pass@8 − greedy pass@1) × number of questions on holdout, and compare it with the time it would take.</li>
<li><strong>An observable configuration</strong>: at least several dozen questions per step, then check level by level up a ladder: train-pool reward ↑ → train-pool greedy ↑ → same-category held-out ↑ → full holdout does not drop. Whichever rung breaks is where the problem is.</li>
</ol>
</section>
<section id="summary" class="level3">
<h3 class="anchored" data-anchor-id="summary">4.6 Summary</h3>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>Method</th>
<th>Main literature</th>
<th>Premise I didn’t meet</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Very-low-LR continued training to prevent forgetting</td>
<td>LoRA Without Regret; Biderman; Scialom / Ibrahim</td>
<td>LoRA needs a higher LR than full fine-tuning; forgetting is prevented by replay + normal LR</td>
</tr>
<tr class="even">
<td>DeepSeek privileged distillation</td>
<td>R1 distillation; s1 / LIMO; STaR rationalization</td>
<td>Teacher doesn’t see the answer; scale; capability present from pretraining; training from base</td>
</tr>
<tr class="odd">
<td>OPD-lite</td>
<td>DAgger; Learning by Cheating</td>
<td>Expert actions realizable by the student; multiple iterations</td>
</tr>
<tr class="even">
<td>Online OPD / self-distillation</td>
<td>GKD; TM blog; Qwen3; SDFT / OPSD</td>
<td>Teacher is stronger and has the same observations; privileged information is shared across questions; model is large enough</td>
</tr>
<tr class="odd">
<td>STaR</td>
<td>STaR; ReST-EM</td>
<td>Retrain from base every round; starting point above chance</td>
</tr>
<tr class="even">
<td>DAPO</td>
<td>DAPO; GRPO; Yue / ProRL</td>
<td>Hundreds of questions per step, thousands of steps; pass@k &gt; 0</td>
</tr>
</tbody>
</table>
<p>The most frequent violation was “the teacher used information the student can’t see”, which shows up in four places: 4.1, 4.2, 4.3, and 4.4. The reason is that on crypto and on hard bit questions, the model’s own pass@k was close to 0, so there were no correct samples to amplify, and I kept using privileged information to “manufacture” correct samples. The top teams instead changed the trace representation so that the student could write every step from visible content, or gave up on the category altogether.</p>
<hr>
</section>
</section>
<section id="evaluation-is-the-improvement-real" class="level2">
<h2 class="anchored" data-anchor-id="evaluation-is-the-improvement-real">5. Evaluation: is the improvement real?</h2>
<section id="the-resolution-of-small180" class="level3">
<h3 class="anchored" data-anchor-id="the-resolution-of-small180">5.1 The resolution of small180</h3>
<p>small180 has 20 questions per category. At around 70% accuracy, the binomial standard deviation is about 2 questions per category and about 6 questions overall.</p>
<ul>
<li>At temperature=0 decoding is deterministic, so a rerun gives no new information. The variance comes from which questions were drawn, and the only way to reduce it is to add questions.</li>
<li>Two checkpoints should be compared pairwise (McNemar), looking only at the questions where they disagree (Miller, 2024). Assuming about 10% of questions disagree, a difference of about 8 questions (4.5 percentage points) is needed for significance.</li>
</ul>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F7_eval_resolution.png" class="lightbox" data-gallery="quarto-lightbox-gallery-9" title="Figure 9: (a) Eval size vs resolution (p = 0.7): the 95% minimum detectable difference for a paired comparison is about 8 questions on small180 and about 27 on holdout1900. (b) 215 small180 evals relative to ckpt500: 132 are within ±8; the 104 that differ significantly are all below 124; v97@600’s +2 is 8 lost and 10 gained, p = 0.81."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F7_eval_resolution.png" class="img-fluid figure-img" alt="Figure 9: (a) Eval size vs resolution (p = 0.7): the 95% minimum detectable difference for a paired comparison is about 8 questions on small180 and about 27 on holdout1900. (b) 215 small180 evals relative to ckpt500: 132 are within ±8; the 104 that differ significantly are all below 124; v97@600’s +2 is 8 lost and 10 gained, p = 0.81."></a></p>
<figcaption>Figure 9: (a) Eval size vs resolution (p = 0.7): the 95% minimum detectable difference for a paired comparison is about 8 questions on small180 and about 27 on holdout1900. (b) 215 small180 evals relative to ckpt500: 132 are within ±8; the 104 that differ significantly are all below 124; v97@600’s +2 is 8 lost and 10 gained, p = 0.81.</figcaption>
</figure>
</div>
<p>8 questions is about 4.5 percentage points. My private score was 0.856, about 6 percentage points behind 1st place (0.920). The smallest improvement small180 can resolve is on the same order as the whole gap between me and the top of the leaderboard.</p>
<p>v97 vs ckpt500: on small180, 126 vs 124; item by item, it lost 8 and gained 10, McNemar p = 0.81. On holdout, 1482 vs 1488, but the 1488 used an older, looser answer extractor; under the same loose extractor v97 scores 1487. There is no resolvable difference between the two.</p>
<p>I compared all 215 small180 evals that have per-item results against ckpt500 with a paired test. 132 fall within ±8 questions. The 104 that differ significantly are all worse than ckpt500.</p>
</section>
<section id="the-evaluation-setup-kept-changing" class="level3">
<h3 class="anchored" data-anchor-id="the-evaluation-setup-kept-changing">5.2 The evaluation setup kept changing</h3>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>Drift</th>
<th>When</th>
<th>Evidence</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Prompt suffix</td>
<td>Before Jun 2</td>
<td>The eval script appended a “Use the available long reasoning budget…” suffix by default</td>
</tr>
<tr class="even">
<td>stop-on-boxed</td>
<td>Still in use on Jun 5</td>
<td>Eval truncated at the first boxed answer; the official eval does not</td>
</tr>
<tr class="odd">
<td>max_tokens</td>
<td>May 29</td>
<td>Used 7860 / <code>max_model_len=9216</code>, while the official setting is 7680 / 8192; the “best adapter” at that time was selected under this setup</td>
</tr>
<tr class="even">
<td>Numeric tolerance</td>
<td>Only settled on Jun 4</td>
<td>16 of v94’s 180 questions were judged correct only thanks to the 0.01 tolerance</td>
</tr>
</tbody>
</table>
<p>The same ckpt500 scored 117 when re-evaluated under the May 29 setup and 124 under the standard setup: 7 fewer correct, none gained, paired p = 0.016. With greedy decoding this difference came entirely from the eval settings, and it is statistically significant. A change of eval configuration moved the score more than most of my experiments did.</p>
<hr>
</section>
</section>
<section id="submission-history-and-luck" class="level2">
<h2 class="anchored" data-anchor-id="submission-history-and-luck">6. Submission history and luck</h2>
<section id="submission-history" class="level3">
<h3 class="anchored" data-anchor-id="submission-history">6.1 Submission history</h3>
<p>Every public and private score is a multiple of 0.004, which implies 250 items per split. In items, the bronze line (0.852) is 213, silver (0.856) is 214, and gold (0.868) is 217.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F10_submissions.png" class="lightbox" data-gallery="quarto-lightbox-gallery-10" title="Figure 10: The 14 submissions that map to a local version, public hollow and private filled, with local small180 on the right. The orange row is the submission that counted. The Apr 22 and May 11 submissions are off scale and shown as numbers."><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F10_submissions.png" class="img-fluid figure-img" alt="Figure 10: The 14 submissions that map to a local version, public hollow and private filled, with local small180 on the right. The orange row is the submission that counted. The Apr 22 and May 11 submissions are off scale and shown as numbers."></a></p>
<figcaption>Figure 10: The 14 submissions that map to a local version, public hollow and private filled, with local small180 on the right. The orange row is the submission that counted. The Apr 22 and May 11 submissions are off scale and shown as numbers.</figcaption>
</figure>
</div>
<table class="caption-top table">
<colgroup>
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
</colgroup>
<thead>
<tr class="header">
<th>Date</th>
<th>Version and key change</th>
<th>Public / private</th>
<th>Local small180</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Apr 22</td>
<td>v6: weak-class continuation on top of v5 short CoT</td>
<td>0.484 / 0.504</td>
<td>—</td>
</tr>
<tr class="even">
<td><strong>May 6</strong></td>
<td><strong>Switched to reproducing the public 0.85 recipe; epoch 2 (488 steps)</strong></td>
<td><strong>0.852 / 0.856</strong></td>
<td>121</td>
</tr>
<tr class="odd">
<td>May 8</td>
<td>Same run, 12 steps later: ckpt500</td>
<td>0.828 / 0.828</td>
<td>124</td>
</tr>
<tr class="even">
<td>May 11</td>
<td>DAPO step 8, packaging bug</td>
<td>0.532 / 0.556</td>
<td>—</td>
</tr>
<tr class="odd">
<td>May 12</td>
<td>Packaging fixed; DAPO step 16, stratified pool</td>
<td>0.836 / 0.832</td>
<td>123</td>
</tr>
<tr class="even">
<td>May 13</td>
<td>DAPO on a crypto + bit pool, step 20</td>
<td>0.836 / 0.840</td>
<td>—</td>
</tr>
<tr class="odd">
<td>May 13</td>
<td>Same run, step 32</td>
<td>0.832 / 0.832</td>
<td>120</td>
</tr>
<tr class="even">
<td>May 13</td>
<td>DAPO on a screened pool, step 16</td>
<td>0.840 / 0.836</td>
<td>121</td>
</tr>
<tr class="odd">
<td>May 13</td>
<td>Same run, step 32</td>
<td>0.828 / 0.836</td>
<td>123</td>
</tr>
<tr class="even">
<td>May 29</td>
<td>Teacher-guide self-OPD, ckpt240 interpolated at α=0.5</td>
<td>0.840 / 0.828</td>
<td>123</td>
</tr>
<tr class="odd">
<td>May 29</td>
<td>Same sweep, ckpt060 at α=0.25</td>
<td>0.832 / 0.836</td>
<td>121</td>
</tr>
<tr class="even">
<td>May 31</td>
<td>Online OPD step 40 (mapping uncertain)</td>
<td>0.832 / 0.836</td>
<td>122</td>
</tr>
<tr class="odd">
<td>May 31</td>
<td>Online OPD step 50</td>
<td>0.828 / 0.836</td>
<td>124</td>
</tr>
<tr class="even">
<td>Jun 5</td>
<td>Bridge retrain from base + short-tail traces, v97@600</td>
<td>0.828 / 0.828</td>
<td>126</td>
</tr>
</tbody>
</table>
<p>A few observations:</p>
<ul>
<li><strong>Local and leaderboard rankings disagree.</strong> The May 6 epoch-2 checkpoint and the May 8 ckpt500 come from the same run, 12 steps apart. ckpt500 got 3 more small180 items right locally and 7 fewer on the private board. v97, my best local model (126), scored 0.828 on private.</li>
<li><strong>The 11 working submissions after May 6 all landed at 207–210 private items, below the bronze line.</strong> The only one to clear a medal line was the May 6 reproduction (214).</li>
<li><strong>May 11 was a format-boundary bug.</strong> That DAPO LoRA was trained on top of “base merged with ckpt500”, and local evaluation used the same merged model and scored 124. Kaggle loaded it onto the original base, and the result was close to an untuned model. This is exactly the kind of error the identity tests in Section 2.3 are meant to catch.</li>
</ul>
</section>
<section id="the-medal-was-mostly-luck" class="level3">
<h3 class="anchored" data-anchor-id="the-medal-was-mostly-luck">6.2 The medal was mostly luck</h3>
<p>The submission that counted was May 6: public 0.852, private 0.856, rank 198, exactly on the silver line. I think this silver medal was mostly luck, for four reasons.</p>
<p><strong>The medal lines are one or two items apart.</strong> With 250 items and accuracy around 0.85, the binomial standard deviation is about 5.6 items. Bronze and silver are 1 item apart, silver and gold 3 items, both within one standard deviation. One fewer correct answer and I would have had bronze; two fewer, no medal.</p>
<p><strong>The variance sits in the medium-difficulty types.</strong> According to my local records, the 9,500 official training problems break down as follows: bit, gravity, unit, cipher and numeral have about 1,600 each; the sixth type, equation transformation, splits into four subtypes: crypto deduce 659, eq deduce 596, crypto guess 164, eq guess 136. Assuming the test set follows the same distribution, and using the per-type holdout accuracy of the submission that counted (epoch 2), the per-item variance splits as follows:</p>
<table class="caption-top table">
<thead>
<tr class="header">
<th>Type</th>
<th>Share</th>
<th>Of 250 items</th>
<th>Accuracy</th>
<th>Share of variance</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>bit</td>
<td>16.9%</td>
<td>42</td>
<td>71.6%</td>
<td>35%</td>
</tr>
<tr class="even">
<td>unit</td>
<td>16.8%</td>
<td>42</td>
<td>77.7%</td>
<td>30%</td>
</tr>
<tr class="odd">
<td>eq deduce</td>
<td>6.3%</td>
<td>16</td>
<td>60.5%</td>
<td>15%</td>
</tr>
<tr class="even">
<td>gravity</td>
<td>16.8%</td>
<td>42</td>
<td>91.2%</td>
<td>14%</td>
</tr>
<tr class="odd">
<td>eq guess</td>
<td>1.4%</td>
<td>4</td>
<td>55.6%</td>
<td>4%</td>
</tr>
<tr class="even">
<td>cipher</td>
<td>16.6%</td>
<td>41</td>
<td>98.4%</td>
<td>3%</td>
</tr>
<tr class="odd">
<td>crypto deduce</td>
<td>6.9%</td>
<td>17</td>
<td>0.9%</td>
<td>0.6%</td>
</tr>
<tr class="even">
<td>crypto guess</td>
<td>1.7%</td>
<td>4</td>
<td>0%</td>
<td>0</td>
</tr>
<tr class="odd">
<td>numeral</td>
<td>16.6%</td>
<td>41</td>
<td>100%</td>
<td>0</td>
</tr>
</tbody>
</table>
<p>The expected score from these accuracies is 0.78, about 7 points below the leaderboard; my local holdout was consistently pessimistic. The table is only meant to compare the relative contribution of each type.</p>
<p>Crypto, the hardest type, is almost always wrong, and numeral, the easiest, is always right; neither contributes much luck. Bit, unit and eq deduce together account for about 80%. The variance comes from the types the model sometimes gets right. Bit outputs have a median of about 6,169 tokens, close to the 7,680 cap, so this type is the most sensitive to the decoding path: a small numerical difference during greedy decoding can turn a finished answer into a truncated one. Gideon reports that resubmitting the same submission moves the score by ±0.02–0.03, i.e.&nbsp;5–8 items.</p>
<p><strong>My rank was decided by other teams dropping.</strong> My public score was 0.852, and 1,941 teams in the public snapshot scored higher; on the private board I was 198th. In the public snapshot, 1,085 teams sat at 0.860, 319 at 0.856, and 185 at 0.852: over a thousand teams within one item of each other. My model did not change. I moved up well over a thousand places because teams ahead of me on the public board lost points on the private split. I also landed exactly on the silver line; if ties are broken by submission time, the early May 6 submission helped too. I have not verified Kaggle’s tie-breaking rule.</p>
<p><strong>The choice of submission was close to random.</strong> Only one of my submissions, May 6, cleared a medal line. Had I chosen by local small180, I would have picked v97, which scored 0.828 on private, no medal. The submission that counted was 3 items worse locally than ckpt500 from the same run.</p>
<p>So the best description of this medal is: a straight reproduction of the public recipe landed exactly on the line in a private split that happened to favor it. Nothing from the following seven weeks beat it on the private board. This matches Section 5: my evaluation could not resolve differences around 0.85, and neither could the leaderboard.</p>
<hr>
</section>
</section>
<section id="the-amplifier-infra-and-path-dependence" class="level2">
<h2 class="anchored" data-anchor-id="the-amplifier-infra-and-path-dependence">7. The amplifier: infra and path dependence</h2>
<p>The four kinds of experiments I ran from May 5 to Jun 5 (continued training on data mixes, swapping CoT sources, RL / OPD, Bridge fresh runs) had three things in common:</p>
<ol type="1">
<li>All of them started from ckpt500.</li>
<li>All of them only re-mixed and re-rendered existing questions. No new questions were synthesized at scale.</li>
<li>All of them kept Tong’s trace representation.</li>
</ol>
<p>The top teams’ gains came from exactly these three places.</p>
<p>My reasons for not touching them at the time were “retraining from base takes too long” and “RL needs ckpt500’s pass rate”. In reality, ckpt500 can be trained in one night (about 10 hours), and in about 1 hour with Bridge.</p>
<p>The cost of slow infra was a chain: retraining looks expensive → only continued training on ckpt500 is affordable → the LR gets pushed down for fear of forgetting → the parameters barely move, and experiment results are mostly determined by pipeline noise and eval noise → the data mix gets tuned based on those results.</p>
<p>If the infra had been 10× faster, these five weeks would have allowed several times as many experiments. But they would still have started from the same checkpoint, used the same questions, and followed the same trace representation, and the three changes the top teams made still would not have appeared.</p>
<hr>
</section>
<section id="checklist" class="level2">
<h2 class="anchored" data-anchor-id="checklist">8. Checklist</h2>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>Question</th>
<th>Check</th>
<th>Scope and limits</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Is training speed normal?</td>
<td>Estimate MFU with a roofline calculation based on active parameters</td>
<td>MoE communication and scheduling lower the ceiling, but not by an order of magnitude</td>
</tr>
<tr class="even">
<td>Can I switch to a new framework?</td>
<td>After overfitting, reproduce the samples verbatim in the target inference engine; an identity test for every format boundary</td>
<td>Can be simplified for mature, standard export paths</td>
</tr>
<tr class="odd">
<td>A result looks anomalous</td>
<td>Dose-response estimate; step-0 no-op run</td>
<td>—</td>
</tr>
<tr class="even">
<td>Worried about forgetting in continued training</td>
<td>Replay old data + normal LR; or merge the data and retrain from base</td>
<td>Set the LoRA LR by what is known about LoRA</td>
</tr>
<tr class="odd">
<td>Can the trace be learned?</td>
<td>In-budget coverage; per-token min-logprob; every step (including stopping) derivable from visible content</td>
<td>“Within the model’s distribution” matters mainly for continued training and RL</td>
</tr>
<tr class="even">
<td>Memorize or compute?</td>
<td>Memorize what is finite, closed, and useful for every question; compute what is instance-dependent; ideally retrieval + bounded verification</td>
<td>Applies only to closed-world generators</td>
</tr>
<tr class="odd">
<td>Using a teacher to make data</td>
<td>Did the teacher use information the student can’t see? Do the traces contain backtracking?</td>
<td>Privileged information in the form of shared rules can be internalized; per-question answers cannot</td>
</tr>
<tr class="even">
<td>Using OPD</td>
<td>Is the teacher clearly stronger given the same input?</td>
<td>—</td>
</tr>
<tr class="odd">
<td>Which submission to pick as final</td>
<td>Compute the leaderboard’s standard deviation first (about 5–6 items at 250); treat submissions within that range as tied</td>
<td>Public and private items do not overlap; a higher public score does not mean a higher private score</td>
</tr>
<tr class="even">
<td>Which of two checkpoints is better?</td>
<td>Paired comparison; compute the minimum detectable difference first; fix the eval setup</td>
<td>Rerunning under greedy decoding is useless</td>
</tr>
<tr class="odd">
<td>Is RL worth doing?</td>
<td>Mixed-group ratio; reachable gain; ladder of intermediate metrics</td>
<td>Exclude categories with pass@k = 0</td>
</tr>
</tbody>
</table>
<p>During the competition, each of these questions could have been answered with one line of arithmetic or one grep: whether 1.6k tok/s was normal, whether LR 1e-8 could explain the score drop, whether 124 and 126 were different, whether the teacher had seen the answer. I didn’t do the arithmetic at the time. Looking back, most of the differences I compared over those five weeks fell within eval noise and pipeline error.</p>
<hr>
</section>
<section id="references" class="level2">
<h2 class="anchored" data-anchor-id="references">References</h2>
<p><strong>Competition</strong></p>
<ul>
<li>1st place NullSira: <a href="https://github.com/xrwr/kaggle-nvidia-nemotron-model-reasoning-challenge-1st-place" class="uri">https://github.com/xrwr/kaggle-nvidia-nemotron-model-reasoning-challenge-1st-place</a></li>
<li>2nd place vli: <a href="https://github.com/livctr/nvidia-nemotron" class="uri">https://github.com/livctr/nvidia-nemotron</a></li>
<li>3rd place YS-L: <a href="https://github.com/YS-L/nvidia-nemotron-reasoning-3rd-place-solution" class="uri">https://github.com/YS-L/nvidia-nemotron-reasoning-3rd-place-solution</a></li>
<li>10th place kansai-kanto-kaggler: <a href="https://zenn.dev/mkj/articles/3a4d70ac4e8fb4" class="uri">https://zenn.dev/mkj/articles/3a4d70ac4e8fb4</a></li>
<li>tonghuikang: <a href="https://github.com/tonghuikang/nemotron" class="uri">https://github.com/tonghuikang/nemotron</a></li>
<li>Gideon Nazarian: <a href="https://github.com/Gideon-Nazarian/nemotron-reasoning-lora" class="uri">https://github.com/Gideon-Nazarian/nemotron-reasoning-lora</a> (README)</li>
<li>Patel, H. (2026). A Verifiable Search Is Not a Learnable Chain-of-Thought. <a href="https://arxiv.org/abs/2606.21884">arXiv:2606.21884</a></li>
<li>Agnihotri, P. et al.&nbsp;(2026). Teaching LLMs String Matching, Backtracking, and Error Recovery to Deduce Bases and Truth Tables for the Combinatorially Exploding Bit Manipulation Puzzles. <a href="https://arxiv.org/abs/2606.23672">arXiv:2606.23672</a></li>
</ul>
<p><strong>On-policy distillation and privileged information</strong></p>
<ul>
<li>Agarwal, R. et al.&nbsp;(2024). On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes. <a href="https://arxiv.org/abs/2306.13649">arXiv:2306.13649</a></li>
<li>Lu, K. &amp; Thinking Machines Lab (2025). On-Policy Distillation. <a href="https://thinkingmachines.ai/blog/on-policy-distillation" class="uri">https://thinkingmachines.ai/blog/on-policy-distillation</a></li>
<li>Qwen Team (2025). Qwen3 Technical Report. <a href="https://arxiv.org/abs/2505.09388">arXiv:2505.09388</a></li>
<li>Ross, S., Gordon, G., Bagnell, J. A. (2011). A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning. <a href="https://arxiv.org/abs/1011.0686">arXiv:1011.0686</a></li>
<li>Chen, D. et al.&nbsp;(2019). Learning by Cheating. <a href="https://arxiv.org/abs/1912.12294">arXiv:1912.12294</a></li>
<li>Weihs, L. et al.&nbsp;(2021). Bridging the Imitation Gap by Adaptive Insubordination. <a href="https://arxiv.org/abs/2007.12173">arXiv:2007.12173</a></li>
<li>Swamy, G. et al.&nbsp;(2022). Sequence Model Imitation Learning with Unobserved Contexts. <a href="https://arxiv.org/abs/2208.02225">arXiv:2208.02225</a></li>
<li>Shenfeld, I. et al.&nbsp;(2026). Self-Distillation Enables Continual Learning. <a href="https://arxiv.org/abs/2601.19897">arXiv:2601.19897</a></li>
<li>Hübotter, J. et al.&nbsp;(2026). Reinforcement Learning via Self-Distillation. <a href="https://arxiv.org/abs/2601.20802">arXiv:2601.20802</a></li>
<li>Zhao, S. et al.&nbsp;(2026). Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models. <a href="https://arxiv.org/abs/2601.18734">arXiv:2601.18734</a></li>
<li>Zhu, S. et al.&nbsp;(2026). The Many Faces of On-Policy Distillation: Pitfalls, Mechanisms, and Fixes. <a href="https://arxiv.org/abs/2605.11182">arXiv:2605.11182</a></li>
<li>Kim, J. et al.&nbsp;(2026). Why Does Self-Distillation (Sometimes) Degrade the Reasoning Capability of LLMs? <a href="https://arxiv.org/abs/2603.24472">arXiv:2603.24472</a></li>
<li>Kaur, S. et al.&nbsp;(2026). Rethinking On-Policy Self-Distillation for Thinking Models. <a href="https://arxiv.org/abs/2607.05184">arXiv:2607.05184</a></li>
<li>Qiu, H. &amp; Agarwal, A. (2026). Privileged Information Does Not Guarantee Privileged Guidance: Auditing On-Policy Self-Distillation for Reasoning Models. <a href="https://arxiv.org/abs/2611.16064">arXiv:2611.16064</a></li>
</ul>
<p><strong>Bootstrapping and distillation</strong></p>
<ul>
<li>Zelikman, E. et al.&nbsp;(2022). STaR: Bootstrapping Reasoning With Reasoning. <a href="https://arxiv.org/abs/2203.14465">arXiv:2203.14465</a></li>
<li>Singh, A. et al.&nbsp;(2023). Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Models. <a href="https://arxiv.org/abs/2312.06585">arXiv:2312.06585</a></li>
<li>Yuan, Z. et al.&nbsp;(2023). Scaling Relationship on Learning Mathematical Reasoning with Large Language Models. <a href="https://arxiv.org/abs/2308.01825">arXiv:2308.01825</a></li>
<li>Turpin, M. et al.&nbsp;(2023). Language Models Don’t Always Say What They Think. <a href="https://arxiv.org/abs/2305.04388">arXiv:2305.04388</a></li>
<li>DeepSeek-AI (2025). DeepSeek-R1. <a href="https://arxiv.org/abs/2501.12948">arXiv:2501.12948</a></li>
<li>Muennighoff, N. et al.&nbsp;(2025). s1: Simple test-time scaling. <a href="https://arxiv.org/abs/2501.19393">arXiv:2501.19393</a></li>
<li>Ye, Y. et al.&nbsp;(2025). LIMO: Less is More for Reasoning. <a href="https://arxiv.org/abs/2502.03387">arXiv:2502.03387</a></li>
<li>Li, Y. et al.&nbsp;(2025). Small Models Struggle to Learn from Strong Reasoners. <a href="https://arxiv.org/abs/2502.12143">arXiv:2502.12143</a></li>
</ul>
<p><strong>RL</strong></p>
<ul>
<li>Shao, Z. et al.&nbsp;(2024). DeepSeekMath. <a href="https://arxiv.org/abs/2402.03300">arXiv:2402.03300</a></li>
<li>Yu, Q. et al.&nbsp;(2025). DAPO: An Open-Source LLM Reinforcement Learning System at Scale. <a href="https://arxiv.org/abs/2503.14476">arXiv:2503.14476</a></li>
<li>Yue, Y. et al.&nbsp;(2025). Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model? <a href="https://arxiv.org/abs/2504.13837">arXiv:2504.13837</a></li>
<li>Liu, M. et al.&nbsp;(2025). ProRL: Prolonged Reinforcement Learning Expands Reasoning Boundaries in Large Language Models. <a href="https://arxiv.org/abs/2505.24864">arXiv:2505.24864</a></li>
</ul>
<p><strong>LoRA, forgetting, and numerics</strong></p>
<ul>
<li>Schulman, J. &amp; Thinking Machines Lab (2025). LoRA Without Regret. <a href="https://thinkingmachines.ai/blog/lora" class="uri">https://thinkingmachines.ai/blog/lora</a></li>
<li>Biderman, D. et al.&nbsp;(2024). LoRA Learns Less and Forgets Less. <a href="https://arxiv.org/abs/2405.09673">arXiv:2405.09673</a></li>
<li>Scialom, T. et al.&nbsp;(2022). Fine-tuned Language Models are Continual Learners. <a href="https://arxiv.org/abs/2205.12393">arXiv:2205.12393</a></li>
<li>Ibrahim, A. et al.&nbsp;(2024). Simple and Scalable Strategies to Continually Pre-train Large Language Models. <a href="https://arxiv.org/abs/2403.08763">arXiv:2403.08763</a></li>
<li>Zamirai, P. et al.&nbsp;(2020). Revisiting BFloat16 Training. <a href="https://arxiv.org/abs/2010.06192">arXiv:2010.06192</a></li>
</ul>
<p><strong>Expressivity and learnability of CoT</strong></p>
<ul>
<li>Feng, G. et al.&nbsp;(2023). Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspective. <a href="https://arxiv.org/abs/2305.15408">arXiv:2305.15408</a></li>
<li>Li, Z. et al.&nbsp;(2024). Chain of Thought Empowers Transformers to Solve Inherently Serial Problems. <a href="https://arxiv.org/abs/2402.12875">arXiv:2402.12875</a></li>
<li>Merrill, W., Petty, J., Sabharwal, A. (2024). The Illusion of State in State-Space Models. <a href="https://arxiv.org/abs/2404.08819">arXiv:2404.08819</a></li>
<li>Lee, N. et al.&nbsp;(2023). Teaching Arithmetic to Small Transformers. <a href="https://arxiv.org/abs/2307.03381">arXiv:2307.03381</a></li>
<li>Bachmann, G. &amp; Nagarajan, V. (2024). The Pitfalls of Next-Token Prediction. <a href="https://arxiv.org/abs/2403.06963">arXiv:2403.06963</a></li>
</ul>
<p><strong>Evaluation</strong></p>
<ul>
<li>Miller, E. (2024). Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations. <a href="https://arxiv.org/abs/2411.00640">arXiv:2411.00640</a></li>
</ul>
</section>
</div>
<div class="zh">
<blockquote class="blockquote">
<p>最终 private 0.856（第 198 名，银牌），public 0.852。我在这场比赛上花了大约七周，试过 Megatron-Bridge、DAPO、几种 OPD、大模型蒸馏和自采样。最终计分的是 5/6 原样复现的公开 0.85 配方，之后七周的工作没有一次在私榜上超过它。这篇文章复盘原因，所有本地数字都能追溯到比赛期间的日志，外部数字标明了来源和核实程度。</p>
</blockquote>
<section id="tldr-1" class="level2">
<h2 class="anchored" data-anchor-id="tldr-1">TL;DR</h2>
<ul>
<li>前三名的最终提交都是纯 SFT，训练数据是规则 solver 生成的 trace，从 base 开始训。冠军只用了一张 RTX PRO 6000。差距主要来自数据和反馈回路，与算力和 RL 关系不大。</li>
<li>我缺三类检查：
<ul>
<li><strong>验证</strong>：导出、续训、合并之后，模型和之前是否还是同一个函数。</li>
<li><strong>测评</strong>：主力评测集 small180 的最小可检测差异约为 8 题，我追求的改进大多比这个小。</li>
<li><strong>审核</strong>：训练数据里的每一步，学生能否从它看得见的上下文推出来。</li>
</ul></li>
<li>我用过的 OPD、特权蒸馏、STaR、DAPO 都有文献支撑。逐条对照后发现，每一项都至少违反了原文的一个前提，其中有几条前提就写在我当时引用的论文里。</li>
<li>银牌主要是运气：计分的是 5/6 的原样复现，正好压在银牌线上，少对一题就是铜牌（第 6 节）。</li>
<li>infra 慢放大了上面每个错误的代价，也让”从 base 重训”一直显得太贵，于是我被锁在同一个 checkpoint 上续训了五周。</li>
</ul>
<hr>
</section>
<section id="比赛与我的轨迹" class="level2">
<h2 class="anchored" data-anchor-id="比赛与我的轨迹">0. 比赛与我的轨迹</h2>
<p><strong>设置</strong></p>
<ul>
<li>在 Nemotron-3-Nano-30B-A3B（Mamba + MoE 混合，约 3.5B 激活参数）上训一个 rank ≤ 32 的 LoRA。</li>
<li>题目是 9 类程序生成的谜题：bit manipulation、cipher、cryptarithm（deduce / guess）、equation numeric（deduce / guess）、gravity、unit conversion、numeral system。</li>
<li>官方评测：vLLM，greedy，<code>max_tokens=7680</code>，<code>max_model_len=8192</code>。</li>
</ul>
<p><strong>时间线</strong></p>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>时间</th>
<th>做了什么</th>
<th>结果</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>4/19–4/23</td>
<td>自研 solver 生成短 CoT，从 base 训小 LoRA</td>
<td>holdout ≈ 0.55；LB 0.48，低于未微调的 base（0.50）</td>
</tr>
<tr class="even">
<td>4/25</td>
<td>吞吐矩阵：HF Trainer vs Megatron-Bridge</td>
<td>Bridge 每 epoch 1.05 h，HF 10.95 h；没有切换</td>
</tr>
<tr class="odd">
<td>5/5–5/6</td>
<td>复现公开 0.85 配方（888M LoRA + Tong 长 CoT）</td>
<td>ckpt500：small180 124/180，holdout 1488/1900；同一次训练的 epoch2 提交得 0.852 / 0.856</td>
</tr>
<tr class="even">
<td>5/7–5/9</td>
<td>在 ckpt500 上续训，换数据配比</td>
<td>全部 ≤ 124</td>
</tr>
<tr class="odd">
<td>5/10–5/13</td>
<td>DAPO</td>
<td>最好 124；提交的 step32 holdout 降到 1431</td>
</tr>
<tr class="even">
<td>5/27–6/1</td>
<td>DeepSeek 蒸馏、OPD-lite、self-OPD、在线 OPD、STaR</td>
<td>113–124，crypto 一直是 0</td>
</tr>
<tr class="odd">
<td>6/2–6/5</td>
<td>迁到 Bridge，从 base 重训，v19–v104 约百个配方</td>
<td>v97：small180 126，holdout 1482，私榜 0.828</td>
</tr>
</tbody>
</table>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F1_iteration_panorama.png" class="lightbox" data-gallery="quarto-lightbox-gallery-11" title="图 1：4/19–6/8 的全部 small180 评测（261 个点，按方法族分面）。横线是 ckpt500 的 124，浅蓝带是 124±8。高于 124 的只有 v97@600（126）、v97@640 和 v104@720（125）。同一个 ckpt500 在 5/29 换评测栈后重测为 117。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F1_iteration_panorama.png" class="img-fluid figure-img" alt="图 1：4/19–6/8 的全部 small180 评测（261 个点，按方法族分面）。横线是 ckpt500 的 124，浅蓝带是 124±8。高于 124 的只有 v97@600（126）、v97@640 和 v104@720（125）。同一个 ckpt500 在 5/29 换评测栈后重测为 117。"></a></p>
<figcaption>图 1：4/19–6/8 的全部 small180 评测（261 个点，按方法族分面）。横线是 ckpt500 的 124，浅蓝带是 124±8。高于 124 的只有 v97@600（126）、v97@640 和 v104@720（125）。同一个 ckpt500 在 5/29 换评测栈后重测为 117。</figcaption>
</figure>
</div>
<hr>
</section>
<section id="前排怎么做的" class="level2">
<h2 class="anchored" data-anchor-id="前排怎么做的">1. 前排怎么做的</h2>
<table class="caption-top table">
<colgroup>
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
</colgroup>
<thead>
<tr class="header">
<th></th>
<th>第 1 名（0.920）</th>
<th>第 2 名（0.908）</th>
<th>第 3 名（0.900）</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>数据</td>
<td>纯合成新题，Stage1 22 万 + Stage2 14 万</td>
<td>合成约 5.8 万，按失败模式定向上采样</td>
<td>crypto pattern trace 4.8 万 + bit/cipher 合成</td>
</tr>
<tr class="even">
<td>bit</td>
<td>5238 条规则目录 + HEX + 最近候选修复</td>
<td>按 family 重写 trace，85% → 99%</td>
<td>HEX + compact trace</td>
</tr>
<tr class="odd">
<td>crypto</td>
<td>4205 条签名目录 + trace 内有界 DFS</td>
<td>放弃（“Not solvable inside the CoT budget”）</td>
<td>先训 recall drill，再执行</td>
</tr>
<tr class="even">
<td>训练</td>
<td>单卡，从 base，lr 2e-4 约 1 epoch，再 1e-5 续训</td>
<td>4×A100，Megatron-Bridge，从 base</td>
<td>单卡，两阶段，从 base</td>
</tr>
<tr class="odd">
<td>RL</td>
<td>无</td>
<td>无</td>
<td>无</td>
</tr>
</tbody>
</table>
<p>来源是三支队伍的开源仓库（xrwr、livctr、YS-L）。第 1 名在第二阶段用 1e-5 续训，他们的实验记录里写着高 LR 续训会退化。</p>
<p>共同点有四个：</p>
<ol type="1">
<li>纯 SFT，trace 由 solver 生成。</li>
<li>从 base 训练，LoRA 学习率 2e-4 量级。</li>
<li>大量精力花在 trace 的表示上：压缩编码，每一行都能由前文确定地写出，需要记忆的部分（规则、签名）和需要计算的部分（逐例验证）分开。</li>
<li>用分层的本地验证集选模型，验证分和 private 相差 0.5–2 个点。</li>
</ol>
<hr>
</section>
<section id="验证管线是否恒等" class="level2">
<h2 class="anchored" data-anchor-id="验证管线是否恒等">2. 验证：管线是否恒等</h2>
<section id="b-模型慢也正常" class="level3">
<h3 class="anchored" data-anchor-id="b-模型慢也正常">2.1 “30B 模型，慢也正常”</h3>
<p>我的主力配方（888M 全 LoRA，长度 7680）在 HF Trainer + DeepSpeed 上，4×H20 约 1.6k tok/s。当时我认为 30B 模型这样跑是正常的。</p>
<p>MoE 的训练计算量由激活参数决定。粗算：</p>
<ul>
<li>每个 token 激活约 3.5B 参数。LoRA 冻结基座，训练只需前向和对激活的反向，约 4N ≈ 14 GFLOP/token。</li>
<li>4×H20 的 bf16 峰值合计约 600 TFLOPS，按 30% MFU 算约 13k tok/s。</li>
<li>1.6k tok/s 对应的 MFU 约 4%。</li>
</ul>
<p>4/25 的吞吐矩阵里，长度 7680 时 Megatron-Bridge 训 compact LoRA 实测 17.1k tok/s，比这个估算还高；HF 训同规模的 compact LoRA 是 5.6k，训 888M 全 LoRA 是 1.6k。6 月用同一份数据对比，HF 每步 90 秒，Bridge 每步 22 秒。总参数量决定的是显存和通信量，用它判断”慢是否正常”会偏离一个数量级。</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F2_throughput.png" class="lightbox" data-gallery="quarto-lightbox-gallery-12" title="图 2：(a) 4/25 吞吐矩阵：长度 7680 时，HF 训 888M 全 LoRA 约 1.6k tok/s，Bridge 训 compact LoRA 约 17.1k tok/s；虚线是 30% MFU 的估算，不是实测。(b) 6 月 GBS32 的生产运行：HF 中位 68 s/step（14 个 run），Bridge 中位 9 s/iter（32 个 run）；同一份数据上分别为 90 s 和 22 s。各 run 的数据和长度不同，(b) 不是受控对比。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F2_throughput.png" class="img-fluid figure-img" alt="图 2：(a) 4/25 吞吐矩阵：长度 7680 时，HF 训 888M 全 LoRA 约 1.6k tok/s，Bridge 训 compact LoRA 约 17.1k tok/s；虚线是 30% MFU 的估算，不是实测。(b) 6 月 GBS32 的生产运行：HF 中位 68 s/step（14 个 run），Bridge 中位 9 s/iter（32 个 run）；同一份数据上分别为 90 s 和 22 s。各 run 的数据和长度不同，(b) 不是受控对比。"></a></p>
<figcaption>图 2：(a) 4/25 吞吐矩阵：长度 7680 时，HF 训 888M 全 LoRA 约 1.6k tok/s，Bridge 训 compact LoRA 约 17.1k tok/s；虚线是 30% MFU 的估算，不是实测。(b) 6 月 GBS32 的生产运行：HF 中位 68 s/step（14 个 run），Bridge 中位 9 s/iter（32 个 run）；同一份数据上分别为 90 s 和 22 s。各 run 的数据和长度不同，(b) 不是受控对比。</figcaption>
</figure>
</div>
</section>
<section id="快路线晚用了-39-天" class="level3">
<h3 class="anchored" data-anchor-id="快路线晚用了-39-天">2.2 快路线晚用了 39 天</h3>
<p>我一直记得原因是”Bridge 环境没配好”。翻日志后发现训练侧在 4/25–4/27 是通的：连续训完三段，checkpoint 正常保存。出问题的是训练之后：</p>
<ul>
<li>导出成 PEFT 格式后，HF 加载报 <code>missing adapter keys</code>。</li>
<li>vLLM 0.12 / 0.14 试了 5 次，都在引擎初始化时失败。</li>
<li>改用 HF 评测，日志为空。</li>
</ul>
<p>5/5 我转去复现公开 0.85 配方，之后所有实验都从这个 HF 格式的 ckpt500 出发，Bridge 就被搁下了。</p>
<p>6/3 正式迁移，第二天遇到同类问题：用 LR=0 做一次空跑续训，导出后有 2943 个 expert <code>lora_B</code> 张量和 parent 不一致。原因是 SwiGLU 的 gate/up 切分逻辑对这块权重又拆了一次。</p>
<p>两次卡住都发生在格式边界上：训练框架内部一切正常，权重换一种格式被另一个程序读进去之后就变了。</p>
</section>
<section id="每个格式边界配一个恒等测试" class="level3">
<h3 class="anchored" data-anchor-id="每个格式边界配一个恒等测试">2.3 每个格式边界配一个恒等测试</h3>
<p>当时我的想法是，只要证明训练侧没有数值问题（小数据集上 loss 能降到接近 0），导出就是可以慢慢解决的工程问题。上面两个 bug 对这个测试都不可见：丢掉的 LoRA key 和被拆坏的 <code>lora_B</code>，在训练框架内部都是完好的。</p>
<p>更有用的测试是端到端的：<strong>先过拟合一小批样本，再用官方推理参数在 vLLM 里加载导出的 adapter，检查能否逐字复现这批样本。</strong></p>
<ul>
<li>过拟合会放大 adapter 的作用，丢失或拆错任何一组张量都会让复现失败。</li>
<li>导出侧要求张量逐元素相等；跨框架的推理侧要求 greedy 输出一致，logprob 差在 bf16 精度内。</li>
</ul>
<p>然后把工作流实际经过的边界逐个列出，每个配一个这样的测试：</p>
<ul>
<li>train → export → vLLM</li>
<li>train → save → resume → export</li>
<li>HF ↔︎ Bridge 互转</li>
</ul>
<p>Mamba + MoE + 逐 expert LoRA 这类新结构，框架支持还不成熟，更需要这一步。</p>
</section>
<section id="剂量-效应效果要和干预的大小相称" class="level3">
<h3 class="anchored" data-anchor-id="剂量-效应效果要和干预的大小相称">2.4 剂量-效应：效果要和干预的大小相称</h3>
<p>为了避免遗忘，我在 ckpt500 上续训时把 LR 压到 3e-10～1e-8，原训练用的是 2e-4。用 LR 1e-8 跑 50 步，Adam 下每个参数最多移动约 5e-7，不到 LoRA 权重典型量级的万分之一。</p>
<p>日志里却是这样：</p>
<ul>
<li>6/2 的 v79（LR 5e-10）在 step10 掉到 18/180，step30 回到 121。</li>
<li>v80、v81（LR 3e-10）在 step10/20 掉到 20 和 22。</li>
<li>v80 前几步的 loss 是 8.0、6.36、5.65。同一套 HF Trainer 从 base 起训，第一步是 18.9，约 100 步后就降到 0.3 以下（图 3c）。如果 ckpt500 的 adapter 被完整加载，起点 loss 应该远低于 1；8.0 更像是 adapter 只加载了一部分，或者数据和 loss 的口径变了。</li>
</ul>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F3_loss_curves.png" class="lightbox" data-gallery="quarto-lightbox-gallery-13" title="图 3：各框架自己记录的训练 loss，定义不同，只比较形状。(a) ckpt500 训练从 4.63 降到 0.29（step500）。(b) Bridge 从 base 训练，lm loss 从 0.37 降到约 0.001。(c) 同一套 HF Trainer 下，从 base 起训第一步是 18.9；6/2 的 v80 从 ckpt500 续训，第一条记录是 8.0。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F3_loss_curves.png" class="img-fluid figure-img" alt="图 3：各框架自己记录的训练 loss，定义不同，只比较形状。(a) ckpt500 训练从 4.63 降到 0.29（step500）。(b) Bridge 从 base 训练，lm loss 从 0.37 降到约 0.001。(c) 同一套 HF Trainer 下，从 base 起训第一步是 18.9；6/2 的 v80 从 ckpt500 续训，第一条记录是 8.0。"></a></p>
<figcaption>图 3：各框架自己记录的训练 loss，定义不同，只比较形状。(a) ckpt500 训练从 4.63 降到 0.29（step500）。(b) Bridge 从 base 训练，lm loss 从 0.37 降到约 0.001。(c) 同一套 HF Trainer 下，从 base 起训第一步是 18.9；6/2 的 v80 从 ckpt500 续训，第一条记录是 8.0。</figcaption>
</figure>
</div>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F4_dose_effect.png" class="lightbox" data-gallery="quarto-lightbox-gallery-14" title="图 4：(a) 6 月初一批 LR 1e-10 到 2e-8 的 HF 续训，small180 在 10–20 步内掉到 6–55，其中几个 run 又回到约 120。(b) 名义剂量（峰值 LR × 步数）跨 6 个数量级，small180 的变化和剂量没有单调关系。(c) 6 月 HF 续训的起步 loss 在 8.5–186 之间，5 月同类续训是 0.45–2.2。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F4_dose_effect.png" class="img-fluid figure-img" alt="图 4：(a) 6 月初一批 LR 1e-10 到 2e-8 的 HF 续训，small180 在 10–20 步内掉到 6–55，其中几个 run 又回到约 120。(b) 名义剂量（峰值 LR × 步数）跨 6 个数量级，small180 的变化和剂量没有单调关系。(c) 6 月 HF 续训的起步 loss 在 8.5–186 之间，5 月同类续训是 0.45–2.2。"></a></p>
<figcaption>图 4：(a) 6 月初一批 LR 1e-10 到 2e-8 的 HF 续训，small180 在 10–20 步内掉到 6–55，其中几个 run 又回到约 120。(b) 名义剂量（峰值 LR × 步数）跨 6 个数量级，small180 的变化和剂量没有单调关系。(c) 6 月 HF 续训的起步 loss 在 8.5–186 之间，5 月同类续训是 0.45–2.2。</figcaption>
</figure>
</div>
<p>当时我把掉分归因于数据配方，专门做了去掉 symbolfix 数据的消融。按剂量算，这么小的 LR 不可能让模型从 121 掉到 18 再回来，更可能是加载、保存、合并或评测链路中某一步出了错。</p>
<p>文献也不支持”压低 LR 防遗忘”：</p>
<ul>
<li>LoRA 的最优学习率约为全参微调的 10 倍（Schulman et al., 2025, <em>LoRA Without Regret</em>），前排用的 2e-4 在这个区间内。我的 1e-8～3e-10 低了 4–6 个数量级。</li>
<li>“LoRA 遗忘更少”（Biderman et al., 2024）是在正常 LR 下和全参微调比较得出的。</li>
<li>持续学习里防遗忘的常规做法是回放旧数据：微调时混入约 1% 的旧任务数据就能基本保住旧任务（Scialom et al., 2022）；持续预训练里，重新 warmup 加回放可以追平全量重训（Ibrahim et al., 2024）。两者都在正常 LR 下进行。</li>
<li>v79 的 LoRA 权重以 fp32 保存（launch manifest 里 <code>lora_fp32: true</code>）。量级 1e-2 的 fp32 数，相邻两个可表示值相差约 1e-9，5e-10 的单步更新比这个间隔还小，大部分会在舍入时丢失。Zamirai et al.（2020）讨论过 bf16 下同类的小更新被抵消问题。</li>
</ul>
<p>DAPO 也有同样的问题：提交的 step32 从 ckpt500 起累计训练了 84 步（8 步 LR 5e-8，76 步 LR 2e-7），每个参数最多移动约 1.6e-5，holdout 却少了 57 题。</p>
<p>两条检查：</p>
<ol type="1">
<li><strong>剂量-效应</strong>：先估算干预最多能让参数移动多少，效果大小不相称时，先查管线，再看数据。</li>
<li><strong>step-0 空跑</strong>：不做任何更新，只走一遍”加载 → 保存 → 导出 → 合并 → 评测”，分数必须和 parent 相同。</li>
</ol>
<hr>
</section>
</section>
<section id="审核数据是否可学" class="level2">
<h2 class="anchored" data-anchor-id="审核数据是否可学">3. 审核：数据是否可学</h2>
<section id="solver-在搜什么" class="level3">
<h3 class="anchored" data-anchor-id="solver-在搜什么">3.1 solver 在搜什么</h3>
<p>下面是我的 bit solver 核心循环（<code>native_bit_solver.c</code>，有删节）。它对每个输出位按复杂度递增地枚举”由哪几个输入位经过什么门得到”，用全部样例打分，某一层出现全匹配就停：</p>
<div class="sourceCode" id="cb10" style="background: #f1f3f5;"><pre class="sourceCode c code-with-copy"><code class="sourceCode c"><span id="cb10-1"><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">static</span> Candidate solve_one_bit<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">const</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">uint8_t</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">*</span>xs<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">const</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">uint8_t</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">*</span>ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">uint8_t</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">{</span></span>
<span id="cb10-2">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> v <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> v <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">1</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> v<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span> consider_const<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> v<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&amp;</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">);</span></span>
<span id="cb10-3">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">.</span>exact<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb10-4">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> pos <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> pos <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">8</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">{</span>            <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">// 单输入位 / 取反</span></span>
<span id="cb10-5">        consider_unary<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>xs<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&amp;</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">);</span></span>
<span id="cb10-6">        consider_unary<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>xs<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">1</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&amp;</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">);</span></span>
<span id="cb10-7">    <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">}</span></span>
<span id="cb10-8">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">.</span>exact<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb10-9">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> i <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> i <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">8</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> i<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span>                     <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">// 二元门：8×7×10</span></span>
<span id="cb10-10">        <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> j <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> j <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">8</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> j<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">{</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>i <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">==</span> j<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">continue</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb10-11">            <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">for</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span><span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">int</span> op <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> op <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&lt;</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">10</span><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span> op<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">++)</span> consider_binary<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>xs<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> ys<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> n<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> query<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> out_pos<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> i<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> j<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> op<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">,</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">&amp;</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">);</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">}</span></span>
<span id="cb10-12">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">if</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">(</span>best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">.</span>exact<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">)</span> <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb10-13">    <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">/* 三元门 8×7×6×9，四元门 …… */</span></span>
<span id="cb10-14">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> best<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">;</span></span>
<span id="cb10-15"><span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">}</span></span></code></pre></div>
<p>逐位搜索之前，还有一层整字节表达式搜索：约 50 个基项（移位、旋转、取反等）两两、三三组合，候选数到百万量级。在 922 题的难题集上，bit 平均每题 16.8 秒 C 搜索，cryptarithm_deduce 平均 24.1 秒。</p>
<p>在 solver-trace SFT 里，solver 同时做两件事：</p>
<ol type="1">
<li><strong>提供标签和覆盖率</strong>：solver 解不出的题，模型也学不到。</li>
<li><strong>提供 trace 的算法</strong>：模型推理时要按文本执行的就是这个算法。</li>
</ol>
<p>我一直在优化第 1 件，用的指标是准确率和 CPU 秒数。第 2 件需要的是另一套指标：</p>
<ul>
<li><strong>硬指标：预算内覆盖率</strong>。把搜索过程逐步写成文字后，能在约 7000 token 内写完的题目比例。还要留余量，因为模型推理时写得往往比教师 trace 长。16.8 秒的 C 搜索没法写进 7680 个 token。</li>
<li><strong>软指标：边际收益</strong>。把这批数据加进训练集后准确率涨多少。便宜的代理是短训后看 trace 的逐 token logprob，最低的那几个 token 标出了模型学不会的位置。第 10 名用 min-logprob &lt; −0.69 来筛 trace。</li>
</ul>
<p>第 10 名的经历可以说明两者的区别：他们把 bit 改成 key-table 写法后，solver 覆盖率从 85.1% 提到 98.8%，换上新 trace 后 SFT 正确数却从 153 掉到 103/169，修改 trace 写法后才学会。</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F5_solver_vs_model.png" class="lightbox" data-gallery="quarto-lightbox-gallery-15" title="图 5：small180 上，solver 在 7 个非 crypto 题型里有 6 个是 20/20，crypto 是 0/40；ckpt500 和 v97 的 crypto 也都是 0。holdout1900 上，v97 的 bit 比 ckpt500 多对 37 题，numeral 少对 50 题。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F5_solver_vs_model.png" class="img-fluid figure-img" alt="图 5：small180 上，solver 在 7 个非 crypto 题型里有 6 个是 20/20，crypto 是 0/40；ckpt500 和 v97 的 crypto 也都是 0。holdout1900 上，v97 的 bit 比 ckpt500 多对 37 题，numeral 少对 50 题。"></a></p>
<figcaption>图 5：small180 上，solver 在 7 个非 crypto 题型里有 6 个是 20/20，crypto 是 0/40；ckpt500 和 v97 的 crypto 也都是 0。holdout1900 上，v97 的 bit 比 ckpt500 多对 37 题，numeral 少对 50 题。</figcaption>
</figure>
</div>
</section>
<section id="两种-bit-trace-的对照" class="level3">
<h3 class="anchored" data-anchor-id="两种-bit-trace-的对照">3.2 两种 bit trace 的对照</h3>
<p>公开 0.85 配方用的是 Tong 风格的 trace。bit 类平均 8777 字符，主体是一张逐算子、逐位置的匹配表：</p>
<pre><code>Identity
0 0010001010 3
1 1110110010 6
...
Matching output
0 absent
...
Best left: XOR-NOT45 56 67: 3
Truncated right: OR-NOT43 32 21 10 07: 5
...
Applying to 00100001
Output
0 XOR-NOT45 = XOR(0,NOT(0)) = 1</code></pre>
<p>我 4 月的 v10 trace 前半段照搬了 Tong 的格式，但在 “Matching output” 之后，匹配表换成了一句话：</p>
<pre><code>Matching output
The verified generator rule family is binary.
Selected byte-wide rule: SHL(1) &amp; NOT(SHL(2)).
Replaying this rule matches 8/8 visible examples.</code></pre>
<p>这条规则取自出题生成器的元数据。模型看到 “Selected byte-wide rule:” 之后，需要在一个 token 的位置上给出搜索的结果。全量 2500 条 bit 行平均只有 1889 字符。用这类数据从 base 训练的模型，在 LB 上低于未微调的 base。</p>
<p>我把可学的条件总结为四条：</p>
<ol type="1">
<li><strong>每个 token 只需要一次前向的计算量。</strong> 理论上，固定深度的 Transformer 不能在一步内完成固有串行的计算，展开成 CoT 后才可以（Feng et al., 2023；Li et al., 2024）；Mamba 这类状态空间模型也有同样的上限（Merrill et al., 2024）。所以搜索要么在文本里逐步展开，要么换成可以背下来的查表。Patel（2026）在本赛的 crypto 上测到：trace 中的算术步骤 97–100% 正确，但给出”这个候选成立”结论的那几个 token 只有 16–57% 正确，作者称之为 verdict-as-token。</li>
<li><strong>长度预算。</strong> 展开得越充分越好学，也越容易截断。HEX、key-table、规则目录都是在条件 1 和条件 2 之间找平衡。</li>
<li><strong>操作和 tokenizer 对齐。</strong> BPE 模型不擅长逐字符操作。tonghuikang 专门加了 spelling / splitting 的 drill，第 7 名把二进制串强制切成单 bit token（Agnihotri et al., 2026）。</li>
<li><strong>格式固定、确定，每一行只依赖前文已经写出的内容，包括什么时候停。</strong> Lee et al.（2023）在小 Transformer 学加法上发现，同样的信息换一种书写顺序，样本效率可以差几个数量级。Bachmann &amp; Nagarajan（2024）指出，teacher forcing 下模型可以借前文真值走捷径，关键的决策 token 反而得不到有效训练。v10 的 “Selected byte-wide rule” 就落在这种位置上。</li>
</ol>
<p>“trace 要在模型分布内”这一条有适用范围：对低 LR 续训和 RL 很重要；前排从 base、以 lr 2e-4 训练全新格式的 solver trace，也学会了。</p>
</section>
<section id="背进权重还是在-trace-里算" class="level3">
<h3 class="anchored" data-anchor-id="背进权重还是在-trace-里算">3.3 背进权重，还是在 trace 里算</h3>
<ul>
<li>适合背的：对这一类每道题都有用、取值空间有限且封闭的知识，比如规则族、候选签名、先验排序。</li>
<li>适合算的：依赖具体实例的部分，比如拿样例逐位比对、代入验证。</li>
<li>两者结合通常最好：权重给出一组按先验排好序的候选，trace 里只做便宜的验证。第 1 名的 crypto（4205 条签名目录 + 有界 DFS）就是这样。Patel（2026）的对照实验也支持这一点：在 crypto 上直接给模型完整的 key，准确率从 0.03 升到 0.571（n=42）；只给一半 key，只有 0.048。</li>
</ul>
<p>“有限封闭”在这场比赛成立，是因为题目来自固定的程序生成器，第 2 名的说法是 “reverse-engineers the data-generation process”。开放世界的任务没有这个前提，目录覆盖不了测试分布。</p>
</section>
<section id="我的两版-crypto-数据" class="level3">
<h3 class="anchored" data-anchor-id="我的两版-crypto-数据">3.4 我的两版 crypto 数据</h3>
<p><strong>A 版</strong>（5/30，1608 行）：学生先自己尝试，在失败轨迹的 75% 处截断；teacher 是同一个 ckpt500，prompt 里带着 solver 给出的方法描述，接着写下去。一条典型样本：</p>
<pre><code>[学生前缀，被 mask]
    multiplication f(cr, gz) = cr * gz -rev-&gt; wrong
[completion，28 token]
We need to produce the answer in
The answer in  is
&lt;/think&gt;
&lt;/think&gt;
\boxed{VQ}</code></pre>
<p>completion 中位长度 26 token（用 base 模型的分词器实测，日志里记的是 28）。manifest 写的是”teacher 看不到答案”，但 teacher 看到的方法描述最后一句是 “That produces VQ.”。学生学到的是：失败的搜索之后直接写出正确答案。这违反条件 1。</p>
<p><strong>B 版</strong>（6/5 的 v94，8773 行）：可见 CoT 里夹带了 solver 的内部状态：</p>
<pre><code>Native C numeric-crypt DFS. candidates=1 best_votes=8 second_votes=0 dfs_calls=427650 hit_limit=0 format=BADC/swap query_op=subtraction (a-b) answer=#$
...
The constraint replay shows that the rendered query answer is `#$`.</code></pre>
<p><code>dfs_calls=427650</code> 是 C 程序跑出来的，答案写在 <code>answer=</code> 后面，学生推理时两者都看不见。这违反条件 4。训练后，模型学到了”写搜索文本”的风格，没学到停止条件。v94@440 的 crypto completion 平均 7676–7679 token，几乎全部写到上限被截断：</p>
<pre><code>Trying common operations reversed operands [...]:
  concatenation f(LS, eS) = LS || eS = LSeS -rev-&gt; s eS L S = se sL -rev-&gt; sL se
  ...
  mahalanobis distance f(SB, cc) = (1 - 1, 1 - 1) * (1 0; 0 1) * (1 - 1, 1 - 1)^T = 0
  z score squared f(SB, cc) = (1 - 1) / 0 = inf</code></pre>
<p>模型把训练数据里的 “Trying common operations” 一直写下去，编出了 mahalanobis distance 这类算子。同一个 checkpoint 在罗马数字题上也循环输出 “The outputs are read in BADC order”，crypto 的话术串到了别的题型上。</p>
<p><strong>我的修复（v95）</strong>是把 completion 压短、隐藏搜索过程，相当于把 B 推回 A。第 1 名的方向是让搜索有界、可见、确定；第 2 名的方向是承认学不会，直接放弃。</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F6_trace_lengths.png" class="lightbox" data-gallery="quarto-lightbox-gallery-16" title="图 6：训练标签和模型输出的长度（base 模型分词器）。ckpt500 的训练数据（Tong CoT）中位 3,367 token；v94、v97 的训练标签中位只有 153 和 94 token，crypto A 版是 26。v94 和 v97 在 small180 上 crypto 题的输出中位都顶到 7,680。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F6_trace_lengths.png" class="img-fluid figure-img" alt="图 6：训练标签和模型输出的长度（base 模型分词器）。ckpt500 的训练数据（Tong CoT）中位 3,367 token；v94、v97 的训练标签中位只有 153 和 94 token，crypto A 版是 26。v94 和 v97 在 small180 上 crypto 题的输出中位都顶到 7,680。"></a></p>
<figcaption>图 6：训练标签和模型输出的长度（base 模型分词器）。ckpt500 的训练数据（Tong CoT）中位 3,367 token；v94、v97 的训练标签中位只有 153 和 94 token，crypto A 版是 26。v94 和 v97 在 small180 上 crypto 题的输出中位都顶到 7,680。</figcaption>
</figure>
</div>
<hr>
</section>
</section>
<section id="有文献支撑的方法为什么在这里不成立" class="level2">
<h2 class="anchored" data-anchor-id="有文献支撑的方法为什么在这里不成立">4. 有文献支撑的方法，为什么在这里不成立</h2>
<p>5/27–6/1 这一周，我试的方法都有论文支撑。下面逐个列出原文结论成立的前提，再对照我的设置。</p>
<section id="大模型蒸馏deepseek-v4-pro-的-14.5k-行" class="level3">
<h3 class="anchored" data-anchor-id="大模型蒸馏deepseek-v4-pro-的-14.5k-行">4.1 大模型蒸馏：DeepSeek-v4-pro 的 14.5k 行</h3>
<p><strong>我的做法。</strong> 用 DeepSeek-v4-pro 生成 14,824 行 trace，接受 14,505 行（97.8%），crypto_deduce 的接受率也有 96.1%。生成用了两种 prompt：</p>
<ul>
<li><code>solver_hint_no_answer</code>（11,594 行）：prompt 里附上 solver 的 hint，只删掉含答案的那几行。规则和前几步的中间值都留在 hint 里。</li>
<li><code>answer_conditioned</code>（2,911 行）：prompt 里直接给出答案，要求”derive it”。</li>
</ul>
<p>不给 hint 时，DeepSeek 在 bit 上只对 16/30。用这批数据训练后，small180 在 102–121 之间，低于 ckpt500 的 124。</p>
<p>hint 模式的一条样本，trace 第一句就是：</p>
<pre><code>Let's go step-by-step using the hinted rule.
**Rule**: ... output = ( (a &amp; b) | (~a &amp; c) )
**Test against first example** 10001110: ... Result = 00100110 → matches.
Rule works for all given, now apply to query.</code></pre>
<p>只在 1 个样例上验证，就宣布 “Rule works for all given”。answer 模式的结尾是这样的：</p>
<pre><code>At this stage, given the verified answer is **10010111**, the transformation for query 00110100 must give exactly that.
... It's a fixed linear feedback transformation. Applying to 00110100 yields 10010111.</code></pre>
<p>2,911 行 answer 模式的样本里，2,226 行出现 “verified answer / required final answer” 这类措辞。verifier 只检查最后的 boxed，这些样本全部判为正确。</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F9_deepseek_distill.png" class="lightbox" data-gallery="quarto-lightbox-gallery-17" title="图 7：DeepSeek-v4 蒸馏数据按 prompt 模式和题型的构成。共接受 14,505 行，crypto 的 answer_conditioned 比例最高（deduce 688/1,192）。同一个 teacher 不给 hint 时，bit 只对 16/30。用这批数据训练的两个 run，small180 为 102 和 121。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F9_deepseek_distill.png" class="img-fluid figure-img" alt="图 7：DeepSeek-v4 蒸馏数据按 prompt 模式和题型的构成。共接受 14,505 行，crypto 的 answer_conditioned 比例最高（deduce 688/1,192）。同一个 teacher 不给 hint 时，bit 只对 16/30。用这批数据训练的两个 run，small180 为 102 和 121。"></a></p>
<figcaption>图 7：DeepSeek-v4 蒸馏数据按 prompt 模式和题型的构成。共接受 14,505 行，crypto 的 answer_conditioned 比例最高（deduce 688/1,192）。同一个 teacher 不给 hint 时，bit 只对 16/30。用这批数据训练的两个 run，small180 为 102 和 121。</figcaption>
</figure>
</div>
<p><strong>文献的前提。</strong></p>
<ul>
<li>DeepSeek-R1 把推理能力蒸馏到小模型，用的是约 80 万条样本，来自对 RL 模型的拒绝采样，teacher 自己解题、不带答案提示，学生在 base 上做全参 SFT 2–3 个 epoch（DeepSeek-AI, 2025）。</li>
<li>s1 和 LIMO 用 1000 条左右的数据就有效（Muennighoff et al., 2025；Ye et al., 2025）。LIMO 写明了前提：领域知识已经在预训练中充分编码，样本只起”认知模板”的作用。程序生成的谜题规则不在预训练分布里。</li>
<li>Li et al.（2025）发现 ≤3B 的学生从长 CoT、大 teacher 蒸馏中获益不稳定，小 teacher 或短 CoT 反而更好。Nemotron-3-Nano 激活约 3.5B，这条结论对 MoE 是否适用，原文没有覆盖。</li>
<li>STaR 的 rationalization 确实”给答案，让模型解释”（Zelikman et al., 2022）。但在 STaR 中，这只是对模型自己答对样本的补充，而且每一轮都从原始预训练模型重训。</li>
</ul>
<p><strong>对照。</strong></p>
<table class="caption-top table">
<thead>
<tr class="header">
<th>前提</th>
<th>文献</th>
<th>我的设置</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>teacher 不看答案自己解出</td>
<td>R1 蒸馏、s1、LIMO</td>
<td>100% 带 hint 或答案</td>
</tr>
<tr class="even">
<td>规模</td>
<td>R1：80 万</td>
<td>1.45 万</td>
</tr>
<tr class="odd">
<td>能力在预训练中已有</td>
<td>s1、LIMO</td>
<td>人造规则，不在预训练分布中</td>
</tr>
<tr class="even">
<td>训练方式</td>
<td>从 base 全参 SFT</td>
<td>在 LoRA ckpt 上低 LR 续训</td>
</tr>
<tr class="odd">
<td>答案条件化样本的角色</td>
<td>STaR：补充数据，每轮从头训</td>
<td>主数据来源</td>
</tr>
</tbody>
</table>
<p>hint 和答案的作用可以用 Turpin et al.（2023）的结论来理解：输入里的偏置特征会系统性地改变 CoT，CoT 却几乎不提这些特征。hint 驱动的 trace 是同一种文本：关键步骤由学生看不见的条件决定，文本里看不出来。学生推理时没有 hint，只能学到表面形式。另一个后果是 trace 里从来没有回溯：hint 指出了正确规则，teacher 不会先选错再修正，学生也就从没见过”第一个候选不对之后怎么办”。</p>
<p><strong>文献的边界。</strong> Gideon Nazarian 的 README 里有一个反例：一个公开 adapter 用 LLM 写的 trace 得到 0.84，他自己 100% 经 solver 验证的 trace 只有 0.72。这说明来源本身不决定成败。他没有说明这两个分数的口径和训练配方是否一致，不是受控对比；而且那个 adapter 的 LLM 是自由写作，没有特权条件，不能用来支持 hint 蒸馏。</p>
</section>
<section id="opd-lite在学生的错误前缀上用-oracle-续写" class="level3">
<h3 class="anchored" data-anchor-id="opd-lite在学生的错误前缀上用-oracle-续写">4.2 OPD-lite：在学生的错误前缀上，用 oracle 续写</h3>
<p><strong>我的做法（5/28）。</strong> 取 ckpt500 做错的 rollout，让 GPT-5.5 选一个分叉点，从分叉点之后用 solver 或 oracle 的结果写正确续写，前缀部分 mask 掉，只对续写做 SFT。solver 失败时，续写模板会写 “The verifier target is known…” 或 “I will use the verified target answer…”。训练 5 步，loss 是 36.15 → 47.03 → 71.07 → 66.83 → 41.78，small180 为 121。</p>
<p><strong>文献的前提。</strong> 这个做法在结构上是 DAgger（Ross et al., 2011）：在学生实际到达的状态上请专家标注，可以把行为克隆中随长度平方增长的误差降到线性。DAgger 的保证依赖一个前提：专家的动作对学生是可实现的。Learning by Cheating（Chen et al., 2019）中，特权 teacher 看的是鸟瞰真值地图，这些信息原则上能从学生的相机画面里感知出来。</p>
<p>teacher 依赖学生看不到的信息时，有一个专门的名字：imitation gap（Weihs et al., 2021）。模仿学习会把这部分信息边缘化，学生学到的是”给定可见输入时，teacher 动作的平均”。Swamy et al.（2022）进一步指出，隐藏上下文只有在学生能随轨迹推进逐渐辨认出来时，on-policy 模仿才有保证；off-policy 模仿会把自己早期的次优动作当成专家行为，越写越像。</p>
<p><strong>对照。</strong> crypto 的 key 在 7680 token 内无法从题面前向推出（Patel 测得给完整 key 才能从 0.03 升到 0.571），符合 imitation gap 的设定。不同题目的 oracle 续写由不同的 key 决定，学生只能学到它们的平均：一段笃定的模板，结论 token 近似随机。只做一轮，也没有满足 DAgger 的迭代条件。</p>
<p>第 7 名也用了 masked SFT（Agnihotri et al., 2026），可以作为对照：他们 mask 掉的是能由上下文算出的反馈，计 loss 的是学生自己的假设和回溯步骤；我计 loss 的是依赖 oracle 的那部分。</p>
</section>
<section id="在线-opd-与特权自蒸馏" class="level3">
<h3 class="anchored" data-anchor-id="在线-opd-与特权自蒸馏">4.3 在线 OPD 与特权自蒸馏</h3>
<p><strong>我的做法（5/29–5/31）。</strong> SGLang 在线 OPD：学生是 ckpt500，teacher 是 DAPO step32 的合并模型，同一个 30B 家族。teacher prompt 包含原题、“Solver-generated method” 和 “Solver trace summary”，约定不给单独的答案字段，loss 用 forward-KL top-k。一个 bit 样本的 teacher prompt 是这样结尾的：</p>
<pre><code>The selected exact expression is SHR(5) | SHL(6).
Replaying it matches 10/10 visible examples.
...
The resulting 8-bit output is 11000110.

Solver trace summary:
Detected bit-manipulation task.
Found binary match: SHR(5) | SHL(6)
Query answer: 11000110</code></pre>
<p>事后检查，7,699 行数据池中每一行的 solver_method 都包含 gold 答案。约 65 步后 small180 为 121–124，crypto 0/40。step50–56 的平均 distill loss 只有 0.02–0.10。rollout 每步约 359 秒，teacher 打分只要 1.78 秒。</p>
<p><strong>文献的前提。</strong> 成功的 OPD 报告都满足”teacher 明显更强，且和学生看到相同的输入”：</p>
<ul>
<li>GKD 的 teacher 是 SFT 过的 T5-XL，学生是 T5-Small 到 Large，且要求学生”能生成质量尚可的序列”（Agarwal et al., 2024）。</li>
<li>Thinking Machines 的博客用 Qwen3-32B 教 Qwen3-8B；文中的”自蒸馏”用的是一个在目标行为上更好的旧 checkpoint（Lu et al., 2025）。</li>
<li>Qwen3 用 32B / 235B 教小模型，包括同为 3B 激活的 30B-A3B（Qwen Team, 2025）。</li>
<li>我当时引用的 <em>Rethinking On-Policy Distillation</em>（arXiv 2604.13016，当时笔记中的引用，本文未复核）提出两个条件：thinking pattern 一致，teacher 有学生没有的新知识。</li>
</ul>
<p>另一条线是特权自蒸馏：同一个模型，在上下文里加上特权信息就当 teacher。2026 年初有几篇正面结果：</p>
<ul>
<li>SDFT 的特权信息是专家示范（Shenfeld et al., 2026）。7B 和 14B 上有效，3B 上不如 SFT（−3.3）。作者写明，目标行为需要生成模式的根本转变时方法不适用。</li>
<li>SDPO 的特权信息是环境反馈，或同组里另一个成功的 rollout（Hübotter et al., 2026）。没有成功样本时，就没有信号。</li>
<li>OPSD 的特权信息是参考解（Zhao et al., 2026），起点是已经很强的 Qwen3 instruct 模型。</li>
</ul>
<p><strong>对照。</strong></p>
<ul>
<li>teacher 不比学生强：DAPO step32 的 holdout 是 1431，学生是 1488。teacher 的额外能力全部来自 prompt 里的 gold，回到了 4.2 的 imitation gap。distill loss 0.02–0.10 说明两者在学生自己的轨迹上几乎一致，梯度信号很弱。</li>
<li>120B teacher 也不行：未微调的 Nemotron-3-Super-120B 直接解 45 题对 14 题，看到 solver trace 后对 12 题，crypto 都是 0/10。</li>
<li>crypto 没有成功 rollout（STaR 式自采样 2000 次只有 5 条能写到 boxed 收尾），SDPO 类方法没有信号来源。</li>
<li>模型规模（3.5B 激活）落在 SDFT 不适用的区间附近，从”不会搜索”到”会搜索”也属于作者排除的根本转变。</li>
</ul>
<p><strong>文献本身的问题。</strong> 特权自蒸馏在 2026 年变化很快，结论还没稳定：</p>
<ul>
<li>Zhu et al.（2026 年 5 月，比赛期间）发现，特权信息是逐题的（如参考解、答案）时 OPSD 在数学推理上失败，学生只能学到对不同特权条件下 teacher 的平均；特权信息是跨题共享的规则时才有效。</li>
<li>Kim et al.（2026）发现，自蒸馏会抑制模型表达不确定性的语言，域内提升快，域外受损，最多下降 40%。</li>
<li>Kaur et al.（2026 年 7 月，赛后）在 5 个 thinking 模型上测到：特权上下文蒸馏让 avg@16 相对下降最多 17%；对学生隐藏的信息越多，下降越大，长 rollout 预算下最明显；学生的验证、回溯、犹豫标记变少。</li>
<li>Qiu &amp; Agarwal（2026 年 11 月）发现，OPSD 的收益主要来自 teacher 处于 thinking 模式，和 teacher 是否看到解答关系不大。</li>
</ul>
<p>我用的是逐题特权（solver trace 和答案），配上长 CoT 和 7680 的预算，正落在这些反例描述的区间里。比赛期间能看到的正面结果，实验对象都是本来就会解大部分题的强模型；反例大多在赛后才发表。不过我当时手里的 <em>Rethinking OPD</em> 已经写明需要”teacher 有新知识”，6/1 GPT 给我的方案评审第一段也写着”你蒸馏的是 repair behavior，不是 solve behavior”。风险当时已经被点名，我仍然放行了。</p>
</section>
<section id="star-式自采样" class="level3">
<h3 class="anchored" data-anchor-id="star-式自采样">4.4 STaR 式自采样</h3>
<p><strong>我的做法（6/1）。</strong> 从 ckpt500 多次采样，保留答对的样本，在 ckpt500 上用 LR 2e-8 续训 120 步。纯自采样 2000 次只接受了 5 行，其余都写不到 boxed 收尾。于是回退到 trace-assisted 采样，prompt 里放 “Private verified solving guide…do not mention it”。结果 step40 / 80 / 120 分别为 120 / 116 / 119。</p>
<p><strong>文献的前提。</strong></p>
<ul>
<li>STaR 每一轮”从原始预训练模型 M 重新训练，而不是持续训练同一个模型，以避免过拟合”，并且要求第一轮 few-shot 表现高于随机（Zelikman et al., 2022）。ReST-EM 也明确每个 Improve 步都从 base 微调（Singh et al., 2023）。RFT 的收益来自大量不同的正确路径（Yuan et al., 2023）。</li>
<li>本赛的正面证据：Patel（2026）在 bit 上用 STaR，从 0.526 的 warm start 两轮升到 0.678，截断率从 18.6% 降到 0.2%。</li>
</ul>
<p><strong>对照。</strong> 我从 ckpt 续训，LR 低到参数几乎不动；可用的纯自采样只有 5 条，trace-assisted 样本又回到了 4.1 的特权问题。</p>
</section>
<section id="dapo-1" class="level3">
<h3 class="anchored" data-anchor-id="dapo-1">4.5 DAPO</h3>
<p><strong>我的做法（5/10–5/13）。</strong> verl 上跑 DAPO：<code>train_bsz=1</code>，每题 8 个回答，LR 2e-7，T 1.25，每段 32–40 步，共 104 个 run 目录。筛选池里，有对有错的混合组在 bit 中占 78/128，eq_deduce 中占 51/128，信号是存在的。最好结果 124/1484；提交的 step32 holdout 降到 1431。</p>
<p><strong>文献的前提。</strong></p>
<ul>
<li>DAPO 原文每步 512 道题、每题 16 个回答，LR 1e-6，训练数千步；动态采样会丢掉全对和全错的组，因为这些组的 advantage 为 0（Yu et al., 2025）。</li>
<li>GRPO 原文观察到 RL 提升 Maj@K，不提升 Pass@K（Shao et al., 2024）。Yue et al.（2025）在更多模型上确认：k 足够大时，base 的 pass@k 高于 RL 模型。ProRL 是反方（Liu et al., 2025），但需要 2000 步以上、batch 256、约 16k H100 小时，并定期重置参考策略。</li>
</ul>
<p><strong>对照。</strong> 提交的模型从 ckpt500 起累计 84 步，一共只见过 84 道题、672 条 rollout，不到 DAPO 一个 step（8192 条）的 10%。crypto 的组全错，按 DAPO 自己的规则全部被过滤。剂量这么小，holdout 却降了 57 题，按 2.4 的逻辑应该先怀疑管线。batch=1 我当时以为是显存逼的；显存限制的是 micro batch，全局 batch 可以靠梯度累积放大。在线 OPD 的计时（rollout 359 秒对 teacher 打分 1.78 秒）说明，瓶颈在 rollout 吞吐。</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F8_dapo_pool.png" class="lightbox" data-gallery="quarto-lightbox-gallery-18" title="图 8：5/12 用 n=32、T=1.25 筛选 640 道弱类题，有对有错的只有 165 道；两类 crypto 共 256 题，只有 15 道。step32 这次 run 的设置是 train_bsz=1、n_resp=8、lr=2e-7。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F8_dapo_pool.png" class="img-fluid figure-img" alt="图 8：5/12 用 n=32、T=1.25 筛选 640 道弱类题，有对有错的只有 165 道；两类 crypto 共 256 题，只有 15 道。step32 这次 run 的设置是 train_bsz=1、n_resp=8、lr=2e-7。"></a></p>
<figcaption>图 8：5/12 用 n=32、T=1.25 筛选 640 道弱类题，有对有错的只有 165 道；两类 crypto 共 256 题，只有 15 道。step32 这次 run 的设置是 train_bsz=1、n_resp=8、lr=2e-7。</figcaption>
</figure>
</div>
<p>启动 RL 之前应该先过三道门槛：</p>
<ol type="1">
<li><strong>混合组比例</strong>：按类别统计 pass@8，“0 &lt; 正确数 &lt; 8”的比例决定了可用梯度的上限。</li>
<li><strong>可达收益</strong>：用 holdout 上的 (pass@8 − greedy pass@1) × 题数估一个上界，再和投入时间比较。</li>
<li><strong>能观察的配置</strong>：每步几十道题以上，然后沿一条阶梯逐级看：训练池 reward ↑ → 训练池 greedy ↑ → 同类 held-out ↑ → 全量 holdout 不降。哪一级断了，问题就在哪一级。</li>
</ol>
</section>
<section id="小结" class="level3">
<h3 class="anchored" data-anchor-id="小结">4.6 小结</h3>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>方法</th>
<th>主要文献</th>
<th>我没满足的前提</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>极低 LR 续训防遗忘</td>
<td>LoRA Without Regret；Biderman；Scialom / Ibrahim</td>
<td>LoRA 需要比全参更高的 LR；防遗忘靠回放 + 正常 LR</td>
</tr>
<tr class="even">
<td>DeepSeek 特权蒸馏</td>
<td>R1 蒸馏；s1 / LIMO；STaR rationalization</td>
<td>teacher 不看答案；规模；能力在预训练中；从 base 训</td>
</tr>
<tr class="odd">
<td>OPD-lite</td>
<td>DAgger；Learning by Cheating</td>
<td>专家动作对学生可实现；多轮迭代</td>
</tr>
<tr class="even">
<td>在线 OPD / 自蒸馏</td>
<td>GKD；TM 博客；Qwen3；SDFT / OPSD</td>
<td>teacher 更强、同观测；特权信息是跨题共享的；模型够大</td>
</tr>
<tr class="odd">
<td>STaR</td>
<td>STaR；ReST-EM</td>
<td>每轮从 base 重训；起点高于随机</td>
</tr>
<tr class="even">
<td>DAPO</td>
<td>DAPO；GRPO；Yue / ProRL</td>
<td>每步数百题、数千步；pass@k &gt; 0</td>
</tr>
</tbody>
</table>
<p>最常见的一条是”teacher 用了学生看不见的信息”，出现在 4.1、4.2、4.3、4.4 四个地方。原因是 crypto 和难的 bit 题上，模型自己的 pass@k 接近 0，没有可以放大的正确样本，于是我反复用特权信息去”造”正确样本。前排的解法是改 trace 的表示，让学生能从可见内容写出每一步，或者干脆放弃这一类。</p>
<hr>
</section>
</section>
<section id="测评提升是否真实" class="level2">
<h2 class="anchored" data-anchor-id="测评提升是否真实">5. 测评：提升是否真实</h2>
<section id="small180-的分辨率" class="level3">
<h3 class="anchored" data-anchor-id="small180-的分辨率">5.1 small180 的分辨率</h3>
<p>small180 每类 20 题。准确率在 70% 左右时，每类的二项标准差约 2 题，总分约 6 题。</p>
<ul>
<li>temperature=0 时解码是确定的，重跑一遍不会得到新信息。方差来自抽到了哪些题，只能靠加题来降低。</li>
<li>两个 checkpoint 应该做配对比较（McNemar），只看两者结论不同的题（Miller, 2024）。假设不一致的题约占 10%，差到约 8 题（4.5 个百分点）才显著。</li>
</ul>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F7_eval_resolution.png" class="lightbox" data-gallery="quarto-lightbox-gallery-19" title="图 9：(a) 评测集大小与分辨率（p=0.7）：small180 上配对比较的 95% 最小可检测差异约 8 题，holdout1900 上约 27 题。(b) 215 次 small180 评测相对 ckpt500 的差：132 次在 ±8 以内；配对检验显著的 104 次全部低于 124；v97@600 的 +2 是丢 8 题、多对 10 题，p=0.81。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F7_eval_resolution.png" class="img-fluid figure-img" alt="图 9：(a) 评测集大小与分辨率（p=0.7）：small180 上配对比较的 95% 最小可检测差异约 8 题，holdout1900 上约 27 题。(b) 215 次 small180 评测相对 ckpt500 的差：132 次在 ±8 以内；配对检验显著的 104 次全部低于 124；v97@600 的 +2 是丢 8 题、多对 10 题，p=0.81。"></a></p>
<figcaption>图 9：(a) 评测集大小与分辨率（p=0.7）：small180 上配对比较的 95% 最小可检测差异约 8 题，holdout1900 上约 27 题。(b) 215 次 small180 评测相对 ckpt500 的差：132 次在 ±8 以内；配对检验显著的 104 次全部低于 124；v97@600 的 +2 是丢 8 题、多对 10 题，p=0.81。</figcaption>
</figure>
</div>
<p>8 题约合 4.5 个百分点。我的 private 是 0.856，和第 1 名（0.920）差约 6 个百分点。small180 能分辨的最小改进，和整个名次差距是同一量级。</p>
<p>v97 和 ckpt500 相比：small180 是 126 vs 124，逐题看是丢了 8 题、多对 10 题，McNemar p = 0.81。holdout 是 1482 vs 1488，但 1488 用的是旧的宽松取答案规则，换成同样宽松的口径 v97 是 1487。两者没有可分辨的差别。</p>
<p>把 215 次带逐题结果的 small180 评测都和 ckpt500 做配对比较：132 次落在 ±8 题以内；统计上显著的 104 次，全部比 ckpt500 差。</p>
</section>
<section id="评测口径一直在变" class="level3">
<h3 class="anchored" data-anchor-id="评测口径一直在变">5.2 评测口径一直在变</h3>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>漂移项</th>
<th>时间</th>
<th>证据</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>prompt 后缀</td>
<td>6/2 之前</td>
<td>评测脚本默认加了一段 “Use the available long reasoning budget…” 的后缀</td>
</tr>
<tr class="even">
<td>stop-on-boxed</td>
<td>6/5 仍在用</td>
<td>评测在第一个 boxed 处截断，官方不截断</td>
</tr>
<tr class="odd">
<td>max_tokens</td>
<td>5/29</td>
<td>用 7860 / <code>max_model_len=9216</code>，官方是 7680 / 8192；当时的”最佳 adapter”是在这套口径下选出来的</td>
</tr>
<tr class="even">
<td>数值容差</td>
<td>6/4 才定</td>
<td>v94 的 180 题里有 16 题靠 0.01 容差判对</td>
</tr>
</tbody>
</table>
<p>同一个 ckpt500，在 5/29 那套口径下重测是 117，标准分是 124：少对 7 题，没有多对，配对检验 p = 0.016。greedy 解码下这个差完全来自评测设置，已经超过了显著性门槛。也就是说，换一次评测配置造成的差异，比我大多数实验带来的差异还大。</p>
<hr>
</section>
</section>
<section id="提交记录与运气" class="level2">
<h2 class="anchored" data-anchor-id="提交记录与运气">6. 提交记录与运气</h2>
<section id="提交记录" class="level3">
<h3 class="anchored" data-anchor-id="提交记录">6.1 提交记录</h3>
<p>所有 public / private 分数都是 0.004 的整数倍，可以推断两个榜各有 250 题。按题数换算，铜牌线 0.852 是 213 题，银牌线 0.856 是 214 题，金牌线 0.868 是 217 题。</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="figs/F10_submissions.png" class="lightbox" data-gallery="quarto-lightbox-gallery-20" title="图 10：能对应到本地版本的 14 次提交，public 为空心、private 为实心，右侧是本地 small180。橙色那行是最终计分的提交。4/22 和 5/11 两次分数太低，在图上只标数字。"><img src="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F10_submissions.png" class="img-fluid figure-img" alt="图 10：能对应到本地版本的 14 次提交，public 为空心、private 为实心，右侧是本地 small180。橙色那行是最终计分的提交。4/22 和 5/11 两次分数太低，在图上只标数字。"></a></p>
<figcaption>图 10：能对应到本地版本的 14 次提交，public 为空心、private 为实心，右侧是本地 small180。橙色那行是最终计分的提交。4/22 和 5/11 两次分数太低，在图上只标数字。</figcaption>
</figure>
</div>
<table class="caption-top table">
<colgroup>
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
<col style="width: 25%">
</colgroup>
<thead>
<tr class="header">
<th>日期</th>
<th>版本与关键修改</th>
<th>public / private</th>
<th>本地 small180</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>4/22</td>
<td>v6：在 v5 短 CoT 上续训弱类</td>
<td>0.484 / 0.504</td>
<td>—</td>
</tr>
<tr class="even">
<td><strong>5/6</strong></td>
<td><strong>换路线，复现公开 0.85 配方，epoch2（488 步）</strong></td>
<td><strong>0.852 / 0.856</strong></td>
<td>121</td>
</tr>
<tr class="odd">
<td>5/8</td>
<td>同一次训练再走 12 步的 ckpt500</td>
<td>0.828 / 0.828</td>
<td>124</td>
</tr>
<tr class="even">
<td>5/11</td>
<td>DAPO step8，打包错误</td>
<td>0.532 / 0.556</td>
<td>—</td>
</tr>
<tr class="odd">
<td>5/12</td>
<td>修好打包，DAPO step16，分层采样池</td>
<td>0.836 / 0.832</td>
<td>123</td>
</tr>
<tr class="even">
<td>5/13</td>
<td>DAPO 换 crypto + bit 池，step20</td>
<td>0.836 / 0.840</td>
<td>—</td>
</tr>
<tr class="odd">
<td>5/13</td>
<td>同一 run 的 step32</td>
<td>0.832 / 0.832</td>
<td>120</td>
</tr>
<tr class="even">
<td>5/13</td>
<td>DAPO 换筛选池，step16</td>
<td>0.840 / 0.836</td>
<td>121</td>
</tr>
<tr class="odd">
<td>5/13</td>
<td>同一 run 的 step32</td>
<td>0.828 / 0.836</td>
<td>123</td>
</tr>
<tr class="even">
<td>5/29</td>
<td>teacher-guide self-OPD，ckpt240 插值 α=0.5</td>
<td>0.840 / 0.828</td>
<td>123</td>
</tr>
<tr class="odd">
<td>5/29</td>
<td>同一扫描，ckpt060 插值 α=0.25</td>
<td>0.832 / 0.836</td>
<td>121</td>
</tr>
<tr class="even">
<td>5/31</td>
<td>在线 OPD step40（对应关系不确定）</td>
<td>0.832 / 0.836</td>
<td>122</td>
</tr>
<tr class="odd">
<td>5/31</td>
<td>在线 OPD step50</td>
<td>0.828 / 0.836</td>
<td>124</td>
</tr>
<tr class="even">
<td>6/5</td>
<td>Bridge 从 base 重训 + 短尾 trace，v97@600</td>
<td>0.828 / 0.828</td>
<td>126</td>
</tr>
</tbody>
</table>
<p>几点观察：</p>
<ul>
<li><strong>本地分和榜单分的顺序相反。</strong> 5/6 的 epoch2 和 5/8 的 ckpt500 来自同一次训练，相隔 12 步。本地 small180 上 ckpt500 多对 3 题，私榜上却少对 7 题。v97 是我本地最好的模型（126），私榜 0.828。</li>
<li><strong>5/6 之后的 11 次正常提交在私榜上都是 207–210 题，全部低于铜牌线。</strong> 过了奖牌线的只有 5/6 的原样复现（214）。</li>
<li><strong>5/11 是一次格式边界错误。</strong> 那次 DAPO 的 LoRA 是在”base 合并 ckpt500 之后的模型”上训的，本地也在合并模型上评测，得了 124；Kaggle 把它挂到原始 base 上，结果和没微调差不多。这类错误正是 2.3 节的恒等测试要拦住的。</li>
</ul>
</section>
<section id="这枚奖牌主要是运气" class="level3">
<h3 class="anchored" data-anchor-id="这枚奖牌主要是运气">6.2 这枚奖牌主要是运气</h3>
<p>最终计分的是 5/6 那次：public 0.852，private 0.856，私榜第 198 名，正好压在银牌线上。我认为这枚银牌主要是运气，理由有四条。</p>
<p><strong>奖牌线之间只差一两题。</strong> 250 题、准确率 0.85 左右时，二项标准差约 5.6 题。铜牌和银牌之间只差 1 题，银牌和金牌之间差 3 题，都在一个标准差以内。少对一题我就是铜牌，少对两题就没有奖牌。</p>
<p><strong>波动集中在中等难度的题型。</strong> 本地记录里，官方 9500 道训练题的题型分布如下：bit、gravity、unit、cipher、numeral 五类各约 1,600 道；第六类 equation transformation 又分成四个子类，crypto deduce 659、eq deduce 596、crypto guess 164、eq guess 136。假设测试集分布与之相同，再用计分提交（epoch2）在 holdout 上的各类准确率，拆分单题方差：</p>
<table class="caption-top table">
<thead>
<tr class="header">
<th>题型</th>
<th>占比</th>
<th>250 题中约</th>
<th>准确率</th>
<th>占方差的比例</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>bit</td>
<td>16.9%</td>
<td>42</td>
<td>71.6%</td>
<td>35%</td>
</tr>
<tr class="even">
<td>unit</td>
<td>16.8%</td>
<td>42</td>
<td>77.7%</td>
<td>30%</td>
</tr>
<tr class="odd">
<td>eq deduce</td>
<td>6.3%</td>
<td>16</td>
<td>60.5%</td>
<td>15%</td>
</tr>
<tr class="even">
<td>gravity</td>
<td>16.8%</td>
<td>42</td>
<td>91.2%</td>
<td>14%</td>
</tr>
<tr class="odd">
<td>eq guess</td>
<td>1.4%</td>
<td>4</td>
<td>55.6%</td>
<td>4%</td>
</tr>
<tr class="even">
<td>cipher</td>
<td>16.6%</td>
<td>41</td>
<td>98.4%</td>
<td>3%</td>
</tr>
<tr class="odd">
<td>crypto deduce</td>
<td>6.9%</td>
<td>17</td>
<td>0.9%</td>
<td>0.6%</td>
</tr>
<tr class="even">
<td>crypto guess</td>
<td>1.7%</td>
<td>4</td>
<td>0%</td>
<td>0</td>
</tr>
<tr class="odd">
<td>numeral</td>
<td>16.6%</td>
<td>41</td>
<td>100%</td>
<td>0</td>
</tr>
</tbody>
</table>
<p>按这些准确率算出的期望分是 0.78，比榜单低约 7 个百分点，本地 holdout 一向偏悲观。所以这张表只用来比较各类的相对贡献。</p>
<p>最难的 crypto 几乎总是错，最简单的 numeral 总是对，这两类几乎不贡献运气成分。bit、unit、eq deduce 三类合计约占八成。波动来自时对时错的那几类。bit 题的输出中位约 6,169 token，接近 7,680 的上限，这类题对解码路径最敏感：greedy 解码中一点数值差异，就可能让一道题从写完变成被截断。Gideon 报告同一个提交重复评测会波动 ±0.02–0.03，也就是 5–8 题。</p>
<p><strong>名次由别人的掉分决定。</strong> 我的公榜分数是 0.852，公榜快照里有 1,941 支队伍高于这个分数；私榜我排第 198 名。公榜上 0.860 一档有 1,085 支队伍，0.856 有 319 支，0.852 有 185 支，上千支队伍挤在正负一题之内。我的模型没有变，名次上升了一千多位，靠的是公榜上排在前面的队伍在私榜上掉了分。另外我正好卡在银牌线上，如果同分队伍按提交时间排序，5/6 这个较早的提交也帮了忙。这一条我没有核实 Kaggle 的同分规则。</p>
<p><strong>选择本身接近随机。</strong> 我的提交里只有 5/6 这一次过了奖牌线。如果按本地 small180 选，应该选 v97，私榜 0.828，没有奖牌。最终计分的这一次，按本地评测反而比同一次训练的 ckpt500 低 3 题。</p>
<p>所以，这枚银牌最好理解为：一个公开配方的原样复现，在一次偏向它的私榜抽样里，刚好落在线上。之后七周的工作没有一次在私榜上超过它。这和第 5 节的结论一致：我的评测分辨不出 0.85 附近的差别，榜单也分辨不出。</p>
<hr>
</section>
</section>
<section id="放大器infra-与路径依赖" class="level2">
<h2 class="anchored" data-anchor-id="放大器infra-与路径依赖">7. 放大器：infra 与路径依赖</h2>
<p>5/5–6/5 的四类实验（数据配比续训、换 CoT 来源、RL / OPD、Bridge fresh）有三个共同点：</p>
<ol type="1">
<li>都从 ckpt500 出发。</li>
<li>都只用已有题目重新配比、重新渲染，没有批量合成新题。</li>
<li>都沿用 Tong 的 trace 表示。</li>
</ol>
<p>前排的增量正好来自这三处。</p>
<p>我当时不动它们的理由是”从 base 重训太耗时”，以及”RL 需要 ckpt500 的通过率”。实际上 ckpt500 一晚上（约 10 小时）就能训完，换成 Bridge 约 1 小时。</p>
<p>infra 慢的代价是一条链：重训显得昂贵 → 只能在 ckpt500 上续训 → 怕遗忘就压低 LR → 参数几乎不动，实验结果主要由管线噪声和评测噪声决定 → 再根据这些结果调数据配比。</p>
<p>如果 infra 快 10 倍，这五周能多做几倍的实验，但它们仍然从同一个 checkpoint、用同一批题目、按同一种 trace 表示进行，前排做的那三处改动还是不会出现。</p>
<hr>
</section>
<section id="清单" class="level2">
<h2 class="anchored" data-anchor-id="清单">8. 清单</h2>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>问题</th>
<th>检查</th>
<th>适用边界</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>训练速度是否正常</td>
<td>用激活参数做 roofline 估算 MFU</td>
<td>MoE 的通信和调度会拉低上限，但不会差一个数量级</td>
</tr>
<tr class="even">
<td>能否切换到新框架</td>
<td>过拟合后在目标推理引擎里逐字复现；每个格式边界配一个恒等测试</td>
<td>成熟、标准的导出路径可以简化</td>
</tr>
<tr class="odd">
<td>结果反常</td>
<td>剂量-效应估算；step-0 空跑</td>
<td>—</td>
</tr>
<tr class="even">
<td>续训怕遗忘</td>
<td>回放旧数据 + 正常 LR；或合并数据从 base 重训</td>
<td>LoRA 的 LR 按 LoRA 的规律定</td>
</tr>
<tr class="odd">
<td>trace 能否学会</td>
<td>预算内覆盖率；逐 token min-logprob；每一步（包括停止）都能从可见内容推出</td>
<td>“在模型分布内”主要对续训和 RL 重要</td>
</tr>
<tr class="even">
<td>背还是算</td>
<td>有限封闭、对每题普适的背；依赖实例的算；最好是检索 + 有界验证</td>
<td>只适用于封闭世界的生成器</td>
</tr>
<tr class="odd">
<td>用 teacher 造数据</td>
<td>teacher 是否用了学生看不见的信息；trace 里有没有回溯</td>
<td>共享规则类的特权信息可以内化，逐题答案不行</td>
</tr>
<tr class="even">
<td>用 OPD</td>
<td>teacher 是否在同样输入下明显更强</td>
<td>—</td>
</tr>
<tr class="odd">
<td>选最终提交</td>
<td>先算榜单的标准差（250 题约 5–6 题），差距在这以内的提交视为同分</td>
<td>公榜和私榜题目不重叠，公榜高不代表私榜高</td>
</tr>
<tr class="even">
<td>两个 checkpoint 谁更好</td>
<td>配对比较；先算最小可检测差异；固定评测口径</td>
<td>greedy 下重跑无效</td>
</tr>
<tr class="odd">
<td>是否值得做 RL</td>
<td>混合组比例；可达收益；中间指标阶梯</td>
<td>pass@k = 0 的类别排除</td>
</tr>
</tbody>
</table>
<p>比赛期间，1.6k tok/s 是否正常、LR 1e-8 能不能解释掉分、124 和 126 有没有差别、teacher 有没有看到答案，每一个问题都能用一行算术或一次 grep 回答。我当时没有算。回头看，这五周里比较过的大多数差异，都落在评测噪声和管线误差的范围内。</p>
<hr>
</section>
<section id="参考文献" class="level2">
<h2 class="anchored" data-anchor-id="参考文献">参考文献</h2>
<p><strong>比赛相关</strong></p>
<ul>
<li>第 1 名 NullSira：<a href="https://github.com/xrwr/kaggle-nvidia-nemotron-model-reasoning-challenge-1st-place" class="uri">https://github.com/xrwr/kaggle-nvidia-nemotron-model-reasoning-challenge-1st-place</a></li>
<li>第 2 名 vli：<a href="https://github.com/livctr/nvidia-nemotron" class="uri">https://github.com/livctr/nvidia-nemotron</a></li>
<li>第 3 名 YS-L：<a href="https://github.com/YS-L/nvidia-nemotron-reasoning-3rd-place-solution" class="uri">https://github.com/YS-L/nvidia-nemotron-reasoning-3rd-place-solution</a></li>
<li>第 10 名 kansai-kanto-kaggler：<a href="https://zenn.dev/mkj/articles/3a4d70ac4e8fb4" class="uri">https://zenn.dev/mkj/articles/3a4d70ac4e8fb4</a></li>
<li>tonghuikang：<a href="https://github.com/tonghuikang/nemotron" class="uri">https://github.com/tonghuikang/nemotron</a></li>
<li>Gideon Nazarian：<a href="https://github.com/Gideon-Nazarian/nemotron-reasoning-lora" class="uri">https://github.com/Gideon-Nazarian/nemotron-reasoning-lora</a>（README）</li>
<li>Patel, H. (2026). A Verifiable Search Is Not a Learnable Chain-of-Thought. <a href="https://arxiv.org/abs/2606.21884">arXiv:2606.21884</a></li>
<li>Agnihotri, P. et al.&nbsp;(2026). Teaching LLMs String Matching, Backtracking, and Error Recovery to Deduce Bases and Truth Tables for the Combinatorially Exploding Bit Manipulation Puzzles. <a href="https://arxiv.org/abs/2606.23672">arXiv:2606.23672</a></li>
</ul>
<p><strong>On-policy 蒸馏与特权信息</strong></p>
<ul>
<li>Agarwal, R. et al.&nbsp;(2024). On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes. <a href="https://arxiv.org/abs/2306.13649">arXiv:2306.13649</a></li>
<li>Lu, K. &amp; Thinking Machines Lab (2025). On-Policy Distillation. <a href="https://thinkingmachines.ai/blog/on-policy-distillation" class="uri">https://thinkingmachines.ai/blog/on-policy-distillation</a></li>
<li>Qwen Team (2025). Qwen3 Technical Report. <a href="https://arxiv.org/abs/2505.09388">arXiv:2505.09388</a></li>
<li>Ross, S., Gordon, G., Bagnell, J. A. (2011). A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning. <a href="https://arxiv.org/abs/1011.0686">arXiv:1011.0686</a></li>
<li>Chen, D. et al.&nbsp;(2019). Learning by Cheating. <a href="https://arxiv.org/abs/1912.12294">arXiv:1912.12294</a></li>
<li>Weihs, L. et al.&nbsp;(2021). Bridging the Imitation Gap by Adaptive Insubordination. <a href="https://arxiv.org/abs/2007.12173">arXiv:2007.12173</a></li>
<li>Swamy, G. et al.&nbsp;(2022). Sequence Model Imitation Learning with Unobserved Contexts. <a href="https://arxiv.org/abs/2208.02225">arXiv:2208.02225</a></li>
<li>Shenfeld, I. et al.&nbsp;(2026). Self-Distillation Enables Continual Learning. <a href="https://arxiv.org/abs/2601.19897">arXiv:2601.19897</a></li>
<li>Hübotter, J. et al.&nbsp;(2026). Reinforcement Learning via Self-Distillation. <a href="https://arxiv.org/abs/2601.20802">arXiv:2601.20802</a></li>
<li>Zhao, S. et al.&nbsp;(2026). Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models. <a href="https://arxiv.org/abs/2601.18734">arXiv:2601.18734</a></li>
<li>Zhu, S. et al.&nbsp;(2026). The Many Faces of On-Policy Distillation: Pitfalls, Mechanisms, and Fixes. <a href="https://arxiv.org/abs/2605.11182">arXiv:2605.11182</a></li>
<li>Kim, J. et al.&nbsp;(2026). Why Does Self-Distillation (Sometimes) Degrade the Reasoning Capability of LLMs? <a href="https://arxiv.org/abs/2603.24472">arXiv:2603.24472</a></li>
<li>Kaur, S. et al.&nbsp;(2026). Rethinking On-Policy Self-Distillation for Thinking Models. <a href="https://arxiv.org/abs/2607.05184">arXiv:2607.05184</a></li>
<li>Qiu, H. &amp; Agarwal, A. (2026). Privileged Information Does Not Guarantee Privileged Guidance: Auditing On-Policy Self-Distillation for Reasoning Models. <a href="https://arxiv.org/abs/2611.16064">arXiv:2611.16064</a></li>
</ul>
<p><strong>自举与蒸馏</strong></p>
<ul>
<li>Zelikman, E. et al.&nbsp;(2022). STaR: Bootstrapping Reasoning With Reasoning. <a href="https://arxiv.org/abs/2203.14465">arXiv:2203.14465</a></li>
<li>Singh, A. et al.&nbsp;(2023). Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Models. <a href="https://arxiv.org/abs/2312.06585">arXiv:2312.06585</a></li>
<li>Yuan, Z. et al.&nbsp;(2023). Scaling Relationship on Learning Mathematical Reasoning with Large Language Models. <a href="https://arxiv.org/abs/2308.01825">arXiv:2308.01825</a></li>
<li>Turpin, M. et al.&nbsp;(2023). Language Models Don’t Always Say What They Think. <a href="https://arxiv.org/abs/2305.04388">arXiv:2305.04388</a></li>
<li>DeepSeek-AI (2025). DeepSeek-R1. <a href="https://arxiv.org/abs/2501.12948">arXiv:2501.12948</a></li>
<li>Muennighoff, N. et al.&nbsp;(2025). s1: Simple test-time scaling. <a href="https://arxiv.org/abs/2501.19393">arXiv:2501.19393</a></li>
<li>Ye, Y. et al.&nbsp;(2025). LIMO: Less is More for Reasoning. <a href="https://arxiv.org/abs/2502.03387">arXiv:2502.03387</a></li>
<li>Li, Y. et al.&nbsp;(2025). Small Models Struggle to Learn from Strong Reasoners. <a href="https://arxiv.org/abs/2502.12143">arXiv:2502.12143</a></li>
</ul>
<p><strong>RL</strong></p>
<ul>
<li>Shao, Z. et al.&nbsp;(2024). DeepSeekMath. <a href="https://arxiv.org/abs/2402.03300">arXiv:2402.03300</a></li>
<li>Yu, Q. et al.&nbsp;(2025). DAPO: An Open-Source LLM Reinforcement Learning System at Scale. <a href="https://arxiv.org/abs/2503.14476">arXiv:2503.14476</a></li>
<li>Yue, Y. et al.&nbsp;(2025). Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model? <a href="https://arxiv.org/abs/2504.13837">arXiv:2504.13837</a></li>
<li>Liu, M. et al.&nbsp;(2025). ProRL: Prolonged Reinforcement Learning Expands Reasoning Boundaries in Large Language Models. <a href="https://arxiv.org/abs/2505.24864">arXiv:2505.24864</a></li>
</ul>
<p><strong>LoRA、遗忘与数值</strong></p>
<ul>
<li>Schulman, J. &amp; Thinking Machines Lab (2025). LoRA Without Regret. <a href="https://thinkingmachines.ai/blog/lora" class="uri">https://thinkingmachines.ai/blog/lora</a></li>
<li>Biderman, D. et al.&nbsp;(2024). LoRA Learns Less and Forgets Less. <a href="https://arxiv.org/abs/2405.09673">arXiv:2405.09673</a></li>
<li>Scialom, T. et al.&nbsp;(2022). Fine-tuned Language Models are Continual Learners. <a href="https://arxiv.org/abs/2205.12393">arXiv:2205.12393</a></li>
<li>Ibrahim, A. et al.&nbsp;(2024). Simple and Scalable Strategies to Continually Pre-train Large Language Models. <a href="https://arxiv.org/abs/2403.08763">arXiv:2403.08763</a></li>
<li>Zamirai, P. et al.&nbsp;(2020). Revisiting BFloat16 Training. <a href="https://arxiv.org/abs/2010.06192">arXiv:2010.06192</a></li>
</ul>
<p><strong>CoT 的表达力与可学性</strong></p>
<ul>
<li>Feng, G. et al.&nbsp;(2023). Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspective. <a href="https://arxiv.org/abs/2305.15408">arXiv:2305.15408</a></li>
<li>Li, Z. et al.&nbsp;(2024). Chain of Thought Empowers Transformers to Solve Inherently Serial Problems. <a href="https://arxiv.org/abs/2402.12875">arXiv:2402.12875</a></li>
<li>Merrill, W., Petty, J., Sabharwal, A. (2024). The Illusion of State in State-Space Models. <a href="https://arxiv.org/abs/2404.08819">arXiv:2404.08819</a></li>
<li>Lee, N. et al.&nbsp;(2023). Teaching Arithmetic to Small Transformers. <a href="https://arxiv.org/abs/2307.03381">arXiv:2307.03381</a></li>
<li>Bachmann, G. &amp; Nagarajan, V. (2024). The Pitfalls of Next-Token Prediction. <a href="https://arxiv.org/abs/2403.06963">arXiv:2403.06963</a></li>
</ul>
<p><strong>评测</strong></p>
<ul>
<li>Miller, E. (2024). Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations. <a href="https://arxiv.org/abs/2411.00640">arXiv:2411.00640</a></li>
</ul>
</section>
</div>



<a onclick="window.scrollTo(0, 0); return false;" id="quarto-back-to-top"><i class="bi bi-arrow-up"></i> Back to top</a> ]]></description>
  <category>Kaggle</category>
  <category>LLM</category>
  <category>Post-mortem</category>
  <guid>https://negativegluon.github.io/posts/nemotron-postmortem/</guid>
  <pubDate>Fri, 20 Nov 2026 06:00:00 GMT</pubDate>
  <media:content url="https://negativegluon.github.io/posts/nemotron-postmortem/figs/F1_iteration_panorama.png" medium="image" type="image/png" height="155" width="144"/>
</item>
<item>
  <title>Hello, Lunar Room</title>
  <dc:creator>Bushi Liu</dc:creator>
  <link>https://negativegluon.github.io/posts/hello-lunar-web/</link>
  <description><![CDATA[ 




<div class="en">
<p>This is my personal homepage and blog. Study notes, research logs and the occasional essay will show up here.</p>
<p>You can follow new posts via <a href="../../writing.xml">RSS</a>.</p>
</div>
<div class="zh">
<p>这里是我的个人主页兼博客，之后会在这里放学习笔记、研究日志和一些随笔。</p>
<p>可以通过 <a href="../../writing.xml">RSS</a> 订阅更新。</p>
</div>



<a onclick="window.scrollTo(0, 0); return false;" id="quarto-back-to-top"><i class="bi bi-arrow-up"></i> Back to top</a> ]]></description>
  <category>Essay</category>
  <guid>https://negativegluon.github.io/posts/hello-lunar-web/</guid>
  <pubDate>Thu, 27 Aug 2026 05:00:00 GMT</pubDate>
  <media:content url="https://negativegluon.github.io/posts/hello-lunar-web/cover.svg" medium="image" type="image/svg+xml"/>
</item>
</channel>
</rss>
