RLVR Teaches Steps, Then Brute Force: A Generalization Gap
RLVR can teach a reasoning procedure inside one distribution, yet the same model abandons derivation for brute force when the problems get harder, so an audit has to measure strategy share, not just accuracy.
On this page
The acceptance sheet says 91% accuracy, but you should not sign it. You have a model that just came back from extra training, and the vendor sent a stack of clean traces. Your default read is that nine in ten correct on the training distribution means the model learned this family, so a harder batch should cost a few points at most; this paper shows the opposite, because on the hardest shift inside that family the same model drops to 6 percent, its traces stop reading like algebra and start reading like a loop over every possible digit string, and nothing about the prompt, the grader, or the answer format changed to explain the collapse.
A Better Score Does Not Mean It Learned the Family
Most people vet a reasoning model on three things: training accuracy, tidy traces, and a fresh batch. None of those checks is wrong.
All three assume difficulty is a matter of degree. The paper supplies a counterexample.[1]
In-distribution the model sits near 90 percent, its steps are clean, its case splits land exactly where the function needs them, and the six evaluation functions never appear during training, so the paper treats that slice as the check that inversion was learned rather than memorized; on Length Change, where input and output differ by one digit, accuracy stays above 80 percent on the mildest shift and falls to 6 percent on the hardest, with no change to the interface.
Two familiar explanations fail here, and neither survives contact with the numbers.
A weak base model would not reach 91% to 92% in-distribution after RL. That is the argument in one line: the model can invert, it just cannot carry the method to a harder batch.
Reward hacking would not survive a grader that executes the reference function and de-duplicates.
That leaves one explanation: it learned this batch, not this family.
How the Paper Made Reasoning Countable
Real math and code make poor diagnostic material, because one problem mixes several moves. The paper builds its own family.
Each item gives a function f, a target y, and asks for k distinct digit strings x whose output is y.
The decisive choice is that f is non-bijective.
Bijective means one output maps back to exactly one input, so the inverse is unique, while non-bijective means many inputs collapse onto the same output, so a single y has many legal preimages, and that difference is what makes the search visible: a model can try digit strings one at a time, or read the function's structure and work backwards, and an LLM judge can label each trace as derivation or enumeration, matching 100 hand-labelled traces 96% of the time, which is what turns a story about a lucky sample into a measurement you can repeat.
Derivation inverts f and computes every digit; enumeration guesses all digits and checks.
Twenty-four functions, 18 trained and 6 held out, 50,000 training items, 1,024 per evaluation set.
In-distribution, y runs 4 to 6 digits and each prompt wants 2 solutions.
Four shifts run from mild to brutal: more solutions, longer outputs, both at once, and the length change.
Training is 200 steps of GRPO on Qwen2.5-7B with 8 H100s for about a day.
The 7B size is deliberate: Llama-3.1-8B reaches only 27.1% in-distribution, while Qwen3-4B hits 97.8% after 20 steps.
Three Signals You Can Check: Gap, Strategy, Repetition
The first signal is the gap, not the fall. Mono's derivation share drops from 85% to below 50% on the harder sets.
Accuracy falls with the shift: above 80% on More Answers, 6% on Length Change.
The second signal is what fell, and traces answer it where scores cannot, because most Mono failures enumerate until they hit the token limit, which is not a wrong calculation but an absence of calculation, and extra sampling cannot repair a search that never used the function's structure, so the trace separates a model that ran out of budget from one that ran out of method; a trace that never writes a constraint has told you the answer before you read the score. That distinction decides the remedy, because more tokens help the first model and more structure helps the second, and a team that misreads which one it has will buy the wrong fix.
The third signal is whether a new seed reproduces it.
| What to check | How to measure | Number in the paper |
|---|---|---|
| In-distribution accuracy | Trained distribution, equal lengths, 2 solutions | 91% to 92% |
| Derivation share, in-distribution to hardest | LLM judge labels each trace derive or enumerate | 85% to 48% |
| Hardest-shift accuracy | Length Change, 1,024 items | 6.0% / 25.2% |
| Spread over three runs | New seeds and newly sampled training data | 5.3 ± 1.0 / 21.7 ± 3.5 |
| Over-mixing | bijective : non-bijective = 3 : 1 | execution errors 32.8% vs 24.2% at 1 : 1 |
Copy the last two rows into your acceptance sheet. Report derivation share beside accuracy, not instead of it.
The Fix Is to Add Problems That Look Less Like the Test
The fix is counterintuitive: co-train on bijective items at a 1:1 ratio. They ask for one solution, further from a test that demands 3 to 6.
The paper compares optimal inversion programs, where a bijective case costs O(n) modular operations and a non-bijective one branches exponentially at every ambiguous digit, so the added tasks are neither closer to the test format nor uniformly tougher than training, and the gain survives controls for difficulty, task diversity, and a special evaluation set, which is why the result is surprising: problems that look less like the test make the model better at the test.
What they do is close the guessing route, because only one of 10 to the n inputs is correct. The point is not that bijections are easier; it is that they leave no room for a shortcut, so the reward has to travel through the derivation.
On Length Change, derivation goes from 48% to 91%, accuracy from 6.0% to 25.2%. Across three runs the means are 5.3% and 21.7%.
- Check that in-distribution is neither a fresh skill nor a saturated one: 27.1% and 97.8% are the two failure modes.
- Add a harder same-family slice and report it separately, never folded into an average.
- Hand-label 100 traces, then let a model label the rest, and check agreement first; here it is 96%.
- Find auxiliary tasks that are narrower rather than harder: one solution, a deterministic check, a step-by-step constraint.
- Do not max out the mix: 1:1 is the most accurate, while 3:1 raises execution errors to 32.8%, hits 57.7% on Longer Outputs, and leaves 11.7% short.
More derivation is not more accuracy.
Bijective items need one answer, so heavy exposure makes several distinct solutions harder; the paper files that under execution.
Probing layer 21 of 28, Mono's strategy is decodable at the first token, before it reads the function.
Mixed commits only after the function analysis.
Where This Stops Being True
A caveat comes first: the whole result rests on a synthetic family.
The items are string functions with enumerable solution spaces and an executable verifier, while real math is not layered that cleanly and code is worse, because one problem can mix decomposition, case analysis, local enumeration, self-checking, and tool use, and the paper concedes that its two-label taxonomy flattens traces that are really mixtures, so a strategy share measured here is a lower bound. The synthetic setting buys a clean split and pays for it with a narrow claim, and the narrowness is the honest part of the design.
The second boundary is transfer. Zero-shot on math, Mono and Mixed average 35.9 and 39.8 against a 35.1 base.
On MATH500, Mono is ahead, 77.2 against 75.8. A preference for structure transfers; general skill does not.
On AIME25 the numbers are 3.3, 0.0, and 10.0, so read the direction, not the size.
The third boundary is the base model: the main runs use one 7B model, so change it and rerun.
The method only holds for inverting a deterministic function.
Whether it helps without a unique verifier is untested here.
Reasoning shows up not in the batch a model passes, but in what is left when the batch changes.
