TARP: Trace-Anchored Regularization Prior for Retaining Stepwise Reasoning
Wei Li, Tao Feng, Hangjie Yuan, Aojun Lu, Yanan Sun
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Catastrophic Forgetting in Continual Learning · Type: new method · Keywords: reasoning drift, reinforcement learning, catastrophic forgetting, trace-anchored regularization, stepwise reasoning
Areas: LLM Reasoning › Reasoning Optimization › Policy Optimization for Language Models; RL for LLMs & Agents › Language Model Agents › Continual Adaptation
Summary
TARP introduces a trace-anchored regularization prior that extracts reliable reasoning spans from successful rollouts and builds a compact quadratic prior to constrain trace changes during RL adaptation, thereby reducing reasoning drift and preserving earlier tasks.
Explained to a 5-year-old
When we teach a big robot new tricks, it sometimes forgets how to do old ones. The robot writes down its steps as it thinks. We look at those steps and make a rule to keep them stable. This rule helps the robot remember old tricks while learning new ones. So the robot can keep its knowledge longer.
Explained to a 5-year-old, longer
When we teach a big computer program new things, it can forget what it already knows. To help it remember, we ask it to show its thinking step by step. We write down those steps, called reasoning traces, as it works. We look for the parts of the steps that are reliable and never change. Using those reliable parts, we create a simple rule that keeps the steps stable. This rule acts like a safety net during learning. When the program learns something new, the rule prevents its old thinking from drifting away. This way, the program keeps its old knowledge while gaining new skills. We test this idea on many different tasks and different kinds of programs. The method reduces the amount the thinking changes and improves memory of earlier tasks. It also shows that looking only at final answers can hide problems in the thinking process. Overall, the approach helps big models stay smarter for longer.
For a technical reader
The paper observes that when large models are fine-tuned with reinforcement learning for new reasoning tasks, internal reasoning traces can drift before answer metrics show degradation. This drift can later cause catastrophic forgetting of previously learned tasks, especially in full-parameter staged training. To mitigate this, the authors construct a trace-centric regularizer that extracts reliable reasoning spans from successful rollouts and builds a compact quadratic prior from them. This prior is applied during subsequent RL updates to constrain trace changes, thereby preserving earlier task performance. Experiments across multiple reasoning task sequences and model backbones confirm the reduction of drift signals and improved retention, while also highlighting a trade-off between retention and verbosity that answer-only evaluation misses.
Problem
When large models are adapted to new reasoning tasks via reinforcement learning, internal reasoning traces can change significantly before answer metrics degrade, leading to catastrophic forgetting of previously learned tasks.
Method
The approach extracts reliable reasoning spans from successful rollouts and constructs a compact quadratic prior derived from these traces, which is then used as a regularizer during subsequent RL updates to constrain trace changes.
Results
The approach reduces measured drift signals and improves preservation of earlier tasks across multiple settings, while also revealing a retention-verbosity trade-off hidden by answer-only evaluation.
Contributions
The paper identifies reasoning drift as a trace-first forgetting phenomenon, proposes a trace-centric regularizer that builds a quadratic prior from reliable reasoning spans, and demonstrates its effectiveness on various reasoning task sequences.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction