TL;DR
When we train reasoning models on a sequence of tasks using Reinforcement Learning (RL), we usually check if they forgot old skills by looking at final answer accuracy. This paper uncovers a hidden danger called reasoning drift: a model’s internal thought process can become bloated, disorganized, or weirdly formatted long before its final answers actually turn wrong—eventually leading to a sudden, catastrophic collapse. To fix this, the authors introduce TARP, a lightweight mathematical "anchor" built from the model's best reasoning steps that keeps its thought processes sharp as it learns new domains, without needing to replay old training data.
What Problem Does This Paper Address?
Imagine teaching a student calculus, and then spending a month teaching them legal logic. When you test them on calculus again, they still get the right answers, so you assume everything is fine. Beneath the surface, however, they’ve stopped doing clean algebra and are now writing three-page legalistic essays to brute-force simple derivatives.
In the LLM world, recent conventional wisdom says that post-training with RL is naturally much more resistant to "catastrophic forgetting" than Supervised Fine-Tuning (SFT). The authors point out that this conclusion relies on an incomplete lens: answer-only evaluation.
When models are updated sequentially across different reasoning tasks (a realistic setup when new data or reward verifiers arrive over time and old data can't be replayed), stable accuracy masks reasoning drift. The model's externalized Chain-of-Thought (its "trace") begins to bloat with filler, abandon structured step-by-step verification, and bleed formatting (like LaTeX) from newer tasks into older ones. In harder settings—like full-parameter updates on larger models—this silent drift is the canary in the coal mine: once the model drifts far enough from its original solution routes, its answer accuracy suddenly collapses to zero.
Methods
To stabilize how a model thinks without freezing its brain or replaying old datasets, the authors propose TARP (Trace-Anchored Regularization Prior). Think of TARP as a targeted version of Elastic Weight Consolidation (EWC—a classic continual learning method that puts "springs" on important neural network weights so they don't move too far). Instead of anchoring weights based on generic text, TARP anchors only the parameter directions responsible for reliable reasoning steps.
It works in two stages at the end of each training phase:
- Selection & Weighting (Mining the gold): Given a prompt, TARP samples multiple reasoning rollouts and keeps only the ones that get the right answer. It picks an "anchor" trace and breaks the
<think>block into line-by-line steps. To separate genuine logic from lucky guesses or repetitive boilerplate, it scores each line by cross-rollout consensus (measuring lexical and hidden-state similarity across other successful rollouts) and applies deterministic regex rules to up-weight actual math/logic steps while down-weighting conversational filler. - Estimation & Constraint (Building the subspace prior): Using those token weights, TARP calculates which parameter directions are most sensitive to breaking those core reasoning steps. Rather than storing massive gradient matrices or old data, it compresses these sensitive directions into a compact, low-rank subspace prior (via random projections and PCA-like factorization). During the next task's RL training (using GRPO), TARP penalizes updates that push weights along those specific trace-sensitive directions, leaving other directions free to adapt to the new task.
Datasets
The authors evaluate sequential full-parameter RL across three distinct reasoning domains (no new benchmarks are introduced, though existing ones are chained into sequential streams):
- CountDown (CD): Arithmetic puzzles requiring the model to combine given numbers with basic operations to hit a target value.
- KK-Logic (KK): Knights-and-Knaves deductive logic puzzles.
- Code-R1-12k (R1): Competitive coding problems evaluated via unit-test execution (Pass@1).
These are tested in sequential chains across Qwen2.5-3B-Instruct, Qwen2.5-7B-Instruct, and Llama-3.2-3B-Instruct.
Key Insights and Ideas
- Forgetting is a two-stage spectrum: RL doesn't magically prevent forgetting; it just delays the symptom. Trace complexity and strategy shifts happen quietly under the hood while KL-regularization and sparse rewards temporarily hold final answers together—until they don't.
- What you anchor matters more than fancy math: In controlled ablations comparing TARP against strength-matched EWC and randomized token selection, the authors found that consensus-guided span selection—simply isolating steps that appear consistently across successful rollouts—accounts for the lion's share of retention gains, while continuous token weighting adds a smaller, secondary boost.
- The retention–plasticity–verbosity triangle: Answer-only metrics hide a fundamental trade-off. Protecting earlier reasoning routes keeps traces more compact and prevents catastrophic drops, though strongly anchoring old pathways can slightly trade off peak plasticity on the newest task.
Key Results
- Preventing catastrophic collapse at 7B scale: When training Qwen2.5-7B sequentially on
Code-R1 → KK-Logic → CountDown, standard GRPO suffers total catastrophic forgetting on coding: Code-R1 Pass@1 drops from 32.60% down to 2.34%, and finally hits 0.00%. With TARP, Pass@1 stays at 24.18% after KK-Logic and retains 18.61% at the end of the chain, while achieving comparable accuracy on the final CountDown task (62.65% vs. 64.31%). - Cross-task and cross-backbone gains: On Qwen2.5-3B (
CD → KK → R1), TARP boosts retained KK-Logic accuracy after the final coding stage from 52.81% to 83.00%, while also improving final Code-R1 Pass@1 from 7.62% to 19.50%. On Llama-3.2-3B, TARP improves retained CountDown accuracy from 31.93% to 40.04%. - Cleaner reasoning traces: In a blinded human audit of 200 coding prompts, TARP lowered overall harmful drift from 64.0% to 55.0%, slashing strategy/route drift by 16.5 percentage points (40.5% down to 24.0%) and reasoning inefficiency by 8.5 points. An LLM-as-Judge panel echoed this, showing a 10.8 percentage point average reduction in route drift.
Limitations and Future Work
The authors are admirably transparent about what TARP cannot do:
- Symmetric penalties are blind to good change: Because TARP uses a quadratic penalty around the old checkpoint, it pulls back equally on any deviation along sensitive directions. It cannot inherently tell if a new update is degrading an old reasoning strategy or discovering a genuinely smarter, more concise shortcut.
- Hand-crafted line typing: Separating substantive steps from filler relies on dataset-specific regex rules rather than a general, learned semantic parser.
- Not a silver bullet for infinite horizons: While TARP substantially slows down trace bloat and prevents collapse across three-stage chains, it can still allow some verbosity increases and does not completely eliminate long-horizon forgetting. Future continual post-training setups will need to jointly monitor final answers, trace compactness, and qualitative strategy shifts rather than trusting reward curves alone.
Summary updated