Mechanistic origins of catastrophic forgetting: why RL preserves circuits better than SFT?
This paper introduces a head-level metric called differential circuit vulnerability to demonstrate that while supervised fine-tuning adapts models to new tasks faster, reinforcement learning better preserves internal computational circuits, thereby offering a mechanistic explanation for its superior resistance to catastrophic forgetting.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Question: Why Do AI Models "Forget"?
Imagine you have a brilliant student (the AI model) who already knows how to write poetry, solve math problems, and tell jokes. You want to teach them a new skill: Science.
You have two ways to teach them:
- SFT (Supervised Fine-Tuning): You give them a textbook and say, "Memorize these answers exactly."
- RL (Reinforcement Learning): You let them try to answer science questions, and you give them a "thumbs up" or "thumbs down" based on how good the answer is, letting them figure out the best way to learn.
The Problem: When you teach the student the new skill, they often start forgetting their old skills (like poetry or math). This is called Catastrophic Forgetting.
The Discovery: Recent studies showed that the "Thumbs Up/Down" method (RL) is better at keeping the old skills alive than the "Memorize the Textbook" method (SFT). But why? This paper digs inside the AI's brain to find the mechanical reason.
The Analogy: The Library of Thought Circuits
Think of the AI's brain not as a single block of memory, but as a massive library of tiny, specialized workers (called "circuits" or "attention heads").
- Some workers are great at math.
- Some are great at grammar.
- Some are great at telling jokes.
When the AI learns something new, it has to rearrange these workers. The question is: Does it fire everyone and hire new ones, or does it keep the old team and just give them new instructions?
The Experiment: What Happened?
The researchers took a specific AI (Qwen2.5-3B) and taught it to answer science questions using both methods. Then, they looked inside the "library" to see which workers were still working and how they were behaving.
1. The "Textbook" Method (SFT) = The Over-Optimizer
- What it does: It learns the new science task very fast. It gets high scores quickly.
- The Cost: To get those high scores, it aggressively fires the old workers and replaces them with a tiny, specialized team of "Science Experts."
- The Result: The library shrinks. It keeps only about 52% of the original workers. The old workers (poetry, math, jokes) are pushed out. The AI becomes a great scientist but a terrible poet.
- Analogy: It's like a general contractor who, to build a new kitchen, rips out the entire house's wiring and plumbing to make it fit the new design perfectly. The kitchen is perfect, but the lights in the bedroom don't work anymore.
2. The "Thumbs Up/Down" Method (RL) = The Careful Renovator
- What it does: It learns the new science task slower. It takes more time to get to the same high score.
- The Benefit: Instead of firing the old team, it gently guides them. It keeps almost all the original workers (about 72%) and just teaches them how to apply their existing skills to science.
- The Result: The library stays large and diverse. The AI learns science, but it also remembers how to tell jokes and do math.
- Analogy: It's like a contractor who builds the new kitchen by carefully rearranging the existing furniture and wiring. It takes longer to finish, but the lights in the bedroom still work, and the house feels the same.
The Key Findings (The "Mechanistic" Proof)
The paper introduced a new way to measure this called "Differential Circuit Vulnerability." Here is what they found:
- SFT is a "Compressor": It squeezes the AI's brain into a small, specialized shape. It creates a few "Super-Workers" who do everything for the new task, but in doing so, it breaks the delicate networks that handled the old tasks.
- RL is a "Distributed Adaptor": It spreads the new learning across the whole brain. No single worker is overwhelmed. The original "circuits" (the pathways the AI used for its old skills) stay intact and continue to function.
- The Trade-off:
- SFT: Fast learning, but you lose your old personality and skills.
- RL: Slower learning, but you keep your old personality and skills.
Why This Matters
The paper concludes that RL is more robust against forgetting because it preserves the internal "machinery" of the AI.
When we use SFT, we are essentially overwriting the AI's internal code to fit a new shape, which causes the old code to break. When we use RL, we are tweaking the existing code, allowing the AI to grow new skills without deleting the old ones.
In short: If you want an AI that learns fast but forgets everything else, use the "Textbook" method. If you want an AI that learns steadily and keeps its original personality and skills, use the "Thumbs Up/Down" method.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.