Skip to content

RLVR throws away most of its own training signal. Two papers try to recover it.

#rlvr #grpo #credit-assignment #scaffolding #post-training #math-reasoning

RLVR throws away most of its own training signal. Two papers try to recover it. ​

Where RLVR leaks its own signal ​

A model grinds through 800 tokens of algebra. The verifier checks the final answer and says yes. GRPO takes that yes, converts it to an advantage, and hands the same number to all 800 tokens, including the two or three places where the policy was genuinely torn between two continuations and happened to pick right.

That's the leak. The policy already computed a full next-token distribution at every step. It knows where it was confident and where it was guessing. The reward pipeline ignores all of it and keeps one scalar per rollout.

Two papers land on the same diagnosis from different directions. AutoScaffold says the wasted information is in the trajectory, so put a teacher in the loop to read the failures and write hints into the prompt. MCPO says the wasted information is in the logits, so reweight the advantage by token-level hesitation. Neither changes the verifier. Both beat their GRPO baselines without touching the reward function.

The interesting part is that they're compatible, and the cost profiles are nothing alike.

AutoScaffold turns a training run into a diagnosis ​

The setup is a student, a task distribution, and a frozen teacher that never trains. Every so often the teacher reads a batch of the student's attempts and answers one question: what is failing here?

The answer takes two shapes. If an entire class of tasks fails the same way, the teacher writes a strategy that gets prepended to every prompt in that class, something like "enumerate the receptacles before moving anything" for ALFWorld. If one specific task is a persistent wall, the teacher writes a hint for that task alone. As the student improves, the teacher trims support: early scaffolds are step-by-step workflows, later ones are targeted fixes for the two or three steps that still break.

The removal step is the whole point. At eval time the prompt is bare, so any gain has to come from the student internalizing the guidance rather than reading it off the prompt. This is the difference between scaffolding and prompt engineering that never leaves.

The results hold across four domains that don't share much. ALFWorld success climbs 7.2 points. Search-based QA gains 4.0 points of average exact match. On GPU kernel generation the fraction of tasks where the student produces a correct kernel faster than the PyTorch reference rises by up to 5.0 points. On competition math the student passes QuestA's reported accuracy using roughly a third of the student training steps, which is the cost claim that matters if you're paying per RL step.

Nothing here is domain-specific by construction. The teacher gets minimal task information and no human in the loop during training. The authors' analysis is the part I'd want to see replicated: the teacher finds a different dominant failure in each task class, and swapping in the revised scaffold beats both keeping the old one and training with none.

MCPO spends the advantage where the model hesitated ​

MCPO is the cheaper idea, and I suspect it will spread faster because of that.

Take the top-2 margin of the next-token distribution, M = p1 - p2. A large margin means the policy was sure. A small margin means two candidates were neck and neck. Map the margin through two fixed thresholds into a score, then spread each solution's advantage across its tokens using that score, holding the mean advantage unchanged.

The margin comes from a forward pass the trainer already runs. No critic model, no reward model, no second verifier, no batch-level statistics. Two constants and a reshaping rule. If you've ever tried to add a value head to an RLVR run and watched the memory budget evaporate, the appeal is obvious.

The experiments: MiniCPM5-2B-Base, LoRA, 200 steps, 2,048 DAPO-Math problems, evaluated on six competition-math benchmarks. That's a 2B model with an adapter on a few thousand problems. This is a single-GPU afternoon, not a cluster reservation, and the result is a method you can actually test on your own data before committing.

MCPO beats unmodified GRPO on all five data seeds, by 6.55 points of macro avg@32 on average, 95% CI [4.1, 9.0]. The lower bound is the number I'd quote in a design doc: 4.1 points on the worst plausible reading, with no seed going negative. A Qwen3-4B-Base replication improves on all three seeds, +4.75, which at least rules out "this only works for one model family."

Quick Take: both papers get their gains by extracting signal the GRPO pipeline currently discards, which means neither one asks you to build a better verifier.

The gain concentrates where you'd hope. It's largest on problems GRPO solves only some of the time, which is exactly the band where a marginal policy has room to be nudged. It also grows with k in pass@k, reaching 13.8 points at pass@32. Read that carefully: 13.8 at pass@32 means best-of-32 sampling pulls far ahead, while the single-sample macro average moves 6.55. If your deployment samples once, budget for the smaller number.

Side by side ​

AutoScaffoldMCPO
Extra signal sourcestudent rollouts, read by a frozen teachertop-2 margin from the existing forward pass
Extra model at train timeyes, a teachernone
Extra forward pass for the studentnonenone
What changes for the studentprompt gets a strategy or a hintadvantage redistributed across tokens
Removed at evaluationall scaffoldsnothing to remove
Domains testedALFWorld, search QA, math, GPU kernelscompetition math
Headline numbers+7.2 ALFWorld, +4.0 QA EM, +5.0 kernels+6.55 macro avg@32, 13.8 at pass@32
Ongoing costteacher inference plus a diagnosis looptwo threshold constants

One column is an infrastructure project. The other is a training-loop patch. That distinction matters more than the point estimates, because it decides which one you can try this week.

Reading the gains honestly ​

Key numbers

  • AutoScaffold, ALFWorld success: +7.2 points with scaffolds removed at eval
  • AutoScaffold, search QA exact match: +4.0 points
  • AutoScaffold, GPU kernels faster than PyTorch reference: up to +5.0 points
  • AutoScaffold, math: QuestA-level accuracy at roughly one third of the student steps
  • MCPO, macro avg@32 over 5 seeds: +6.55 points, 95% CI [4.1, 9.0]
  • MCPO, pass@32: +13.8 points
  • MCPO replication on Qwen3-4B-Base, 3 seeds: +4.75 points

Two caveats deserve space.

First, MCPO models write answers two to three times longer, and runs that write longer answers score higher. The authors state plainly that their experiments don't separate the two effects. I believe them, and I'd want the separation before I called the whole 6.55 attributable to credit assignment. Longer outputs cost you tokens at inference. On a 2B model serving a chat product, tripling output length is a real line item.

Second, the two threshold constants are doing quiet work. Margin scale depends on tokenizer, model family, and how peaked the distribution gets after supervised fine-tuning. A threshold pair tuned on MiniCPM5-2B may not transfer to a 32B model whose logits are sharper. The paper shows one 4B replication, which is reassuring but not a sweep.

What trips people up ​

The pass@k trap. The 13.8 point figure is a best-of-32 number. Teams quote it, ship a system that samples once, and wonder why the win looks like noise. If your product doesn't do rejection sampling, you're buying the 6.55.

Leaving the scaffold in. AutoScaffold's numbers come from evaluation with every scaffold stripped. Keep the hints in the prompt at eval and you'll see a higher score that means nothing, because the student never learned the behavior. The eval harness has to enforce bare prompts or the whole result collapses.

Porting thresholds without re-tuning. My first instinct on reading "two fixed thresholds" was that the values were the interesting part. They aren't; the margin distribution is. Plot your own model's top-2 margin histogram before you pick cutoffs, or you'll classify every token as either certain or confused and get a uniform advantage back.

Assuming a weak teacher still helps. The teacher is frozen and never trained, so it brings whatever it already knows. If it shares the student's blind spots, the scaffolds are confident noise injected into the prompt, and the student learns to route around them. Check that the teacher actually solves a sample of the tasks the student fails before you trust its diagnosis.

Attributing length to credit. Covered above, but it's the mistake most likely to survive into a production decision, because the metric moves in the right direction either way.

One thing to remember ​

The margin is already sitting in the forward pass you pay for. Anything that reshapes credit from quantities the trainer computes anyway is close to free, and anything that needs a second model to grade the first is a different budget class. That gap, not the benchmark gap, is what should decide which of these two you try first.

What this means ​

If you're already running GRPO and your GPU budget is thin, add the margin credit before anything else. Two thresholds, no critic, no extra forward pass, and a validated recipe on a 2B LoRA run that fits on one card. Worst case you lose an afternoon and learn what your margin distribution looks like.

If your tasks are multi-step and the failures are consistent within a task class, agents, tool use, kernel generation, scaffolding will move the needle further than credit reshaping. AutoScaffold's 7.2 ALFWorld points come from changing what the model is asked to do, not from weighting tokens better. That's a curriculum fix, and it costs teacher inference.

If your inference budget is tight, price the longer answers before you adopt MCPO. Two to three times the output tokens on every request is a bigger operational change than the training patch, and the paper doesn't yet isolate how much of the accuracy comes from the extra tokens.

Sources ​