Skip to content

MicroMouse: Masking Harmful Supervision in Long CoT via Relative Potential

THE ARGUMENT

Training on every token of a correct trajectory teaches the model its detours too; scoring each step against a matched foil and masking only the loss on erroneous exploration and redundant wandering beats full-CoT SFT.

On this page

You have 817 long reasoning traces that all end at the correct answer, but does every token in them deserve to be learned from? Most people assume the answer is yes: if the final result is right, the whole trajectory is right, so fine-tune on all of it and move on. That assumption is what this paper attacks [1]. A trace can reach the right answer while still containing detours, arithmetic that gets corrected three steps later, and paragraphs of second-guessing after the solution is already on the page. Train on all of it at equal weight and the student learns the second-guessing along with the reasoning.

Why a Correct Long CoT Still Contains Bad Supervision

Full-CoT supervised fine-tuning does one simple thing: it takes a reasoning trajectory and puts every token into the loss. A token is the smallest unit of text the model processes, roughly a word or a character. The paper argues this is the wrong treatment for long reasoning, because a trajectory that ends correctly can still carry supervision nobody should learn from [1].

The motivating analogy is a micromouse, the small robot that solves mazes in competition. During the search phase it does not know the route, so it hits walls, takes wrong turns and backtracks. During the dash phase it runs the shortest path it has already computed. A long chain of thought looks the same: trial steps, corrections, backtracking, then the answer. Learn from the search phase as if it were the dash phase and the student learns to make mistakes first and repair them, rather than to avoid them.

The paper groups the unwanted material into two categories: erroneous exploration, meaning several consecutive steps that move further from the answer, and redundant wandering, meaning steps that come after the reasoning state has already reached its closest point to the answer.

How REP Works: Gold Answer Versus a Matched Foil

The obvious way to ask how close a reasoning state is to the answer is the perplexity of the gold answer, meaning how much probability the model assigns to it. Lower perplexity suggests more confidence. The paper points out a failure mode: the gold answer can become more likely while some nearby wrong answer becomes even more likely, so the model is drifting toward error while perplexity reports progress.

Relative Potential fixes this by pairing the gold answer with a foil: same answer format, same token length, one minimal rule-based perturbation that makes it wrong, for example 19 to 18, A to B, or 4/5 to 3/5. REP is the difference between the two normalised log-likelihoods, equivalently the log ratio of their perplexities. Likelihood swings shared by the pair cancel in the subtraction, leaving how much the model prefers the gold answer over its near miss.

The scoring model is DeepSeek-R1-Distill-Qwen-1.5B. The input concatenates the original question, the first k reasoning steps and a fixed answer probe; scoring the gold and foil answers under that context, then repeating for every k, produces a REP curve along the trajectory.

Four Step Categories: Progress, Necessary Exploration, Erroneous Exploration, Redundant Wandering

Given the REP curve, the method looks at the step-to-step change and at the peak k_max = argmax of the curve. It also estimates a noise scale from the lag-1 autocovariance of the increments, so a single dip can be told apart from a genuine retreat. Four rules sort every step:

CategoryRuleTreatment
Correct Progressk ≤ k_max and Δφ ≥ −σkept
Necessary Explorationk ≤ k_max, Δφ < −σ, but both neighbours ≥ −σkept
Erroneous Explorationk ≤ k_max, Δφ < −σ, and a neighbour also < −σmasked
Redundant Wanderingk > k_maxmasked

Keeping Correct Progress and Necessary Exploration while masking the other two is deliberately conservative. A single isolated dip may be a legitimate detour, so the method refuses to call it harmful. Only consecutive declines, or anything past the peak, get masked.

The masking itself is the subtle part. Steps are not deleted from the trajectory; their tokens simply receive zero weight in the loss while remaining visible in the context. Deleting them outright would break the continuity of the reasoning and the dependencies that later steps rely on.

Experimental Setup: 817 Trajectories, Three Student Models, Seven Benchmarks

The supervision data is the LIMO training set: 817 curated mathematical problems paired with long reasoning traces. Student models are Qwen3-4B-Base, Qwen3-8B-Base and Qwen3-14B-Base, each trained for 9 epochs at a learning rate of 1e-5 on 8 H100 GPUs. Full-CoT SFT, MicroMouse and every baseline share exactly the same data and hyperparameters.

  • In-domain mathematics: MATH500, AMC23 and AIME24, plus the newer competition benchmark HMMT26 for generalisation to unseen problems
  • Out-of-domain: GPQA-Diamond for graduate-level science, Minerva for quantitative reasoning, and OlympiadBench for olympiad-level problems

Metrics are exact-match accuracy under greedy decoding and Pass@1 with Pass@6 under temperature sampling. Generation is capped at 32,768 tokens, greedy decoding uses temperature 0 and sampling uses 0.6. MATH500, GPQA-Diamond, Minerva and OlympiadBench get 6 samples per problem; the smaller AMC23, AIME24 and HMMT26 sets get 16 to stabilise the average.

Results: What 5.5%, 2.6%, 8.8% and 1.7 Seconds Actually Mean

Every headline figure is a relative gain over Full-CoT SFT, not an absolute score. Averaged across the three model scales, MicroMouse adds 5.5% in greedy accuracy, 2.6% in Pass@1 and 0.9% in Pass@6. On Qwen3-8B the effect is larger: 9.9% under greedy decoding and 4.2% in Pass@1.

The greedy-versus-sampling gap has a stated explanation. Greedy decoding exposes changes to the single highest-probability path, whereas stochastic sampling roams over a wider set of candidates and dilutes improvements concentrated on that dominant path. Gains persist under sampling, so the effect is not an artefact of one decoding mode.

On efficiency, average output length drops by 8.8%, and identifying the harmful supervision takes 1.7 seconds per long chain of thought on average, across trajectories that contain 22 reasoning steps each.

Where MicroMouse Fails: The Boundaries of the Method

The method fails when answers cannot be verified objectively. Everything rests on building a foil that keeps the format and length but is definitely wrong, which works for numeric answers and multiple-choice letters. It does not apply when the target is free-form prose, a code patch or a subjective rating, because no minimal guaranteed-wrong twin exists and the contrast collapses.

It also carries overhead. Beyond the original training run you need a separate scoring model and one forward pass per reasoning step. The 1.7 seconds and 22 steps are the paper's own measurements; longer trajectories scale that cost roughly linearly, which is my inference rather than a reported number.

Finally, the evidence is bounded: 817 training trajectories and student models up to 14B. Whether the same masking policy holds at much larger data scale, on larger students or outside mathematics is out of scope here. One more consequence worth flagging, and again this is my reading rather than a claim in the paper: because the full trajectory is still forwarded and only the loss is masked, training compute does not fall, so the 8.8% saving shows up at inference time.

References

  1. MicroMouse: Masking Harmful Supervision in Long CoT via Relative Potential

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…