Rotation-Preserving Supervised Fine-Tuning
This paper proposes Rotation-Preserving Supervised Fine-Tuning (RPSFT), an efficient method that penalizes changes in the projected top- singular-vector blocks of pretrained weights to improve out-of-domain generalization and preserve pretrained representations without the computational cost of Hessian or Fisher information.
Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.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 Problem: The "Over-Specialized" Student
Imagine a Large Language Model (LLM) as a brilliant student who has read almost every book in the library during their "pre-training" phase. They are great at general knowledge, safety, and reasoning about the world.
Now, you want to teach this student to be a math expert. You give them a stack of math problems to study (this is called Supervised Fine-Tuning or SFT).
- The Good News: The student gets really good at math.
- The Bad News: In the process of memorizing math formulas, the student starts to forget how to write a polite email, how to answer safety questions, or how to reason about general topics. They have become so specialized in math that they've lost their "generalist" edge.
In the paper, the authors call this "forgetting." They discovered that when the model learns math, the internal "compass" of its brain (specifically, the most important directions in its mathematical structure) starts to rotate wildly. It's like the student's brain physically twists to fit the new math, and in doing so, it breaks the old connections that held their general knowledge together.
The Solution: RPSFT (The "Anchored" Study Method)
The authors propose a new way to study called Rotation-Preserving Supervised Fine-Tuning (RPSFT).
Think of the model's brain as a giant, complex 3D sculpture made of thousands of interlocking gears.
- The "Dominant" Gears: Some of these gears are huge and do 90% of the heavy lifting for the model's general intelligence.
- The "Free" Gears: Other smaller gears handle specific details.
Standard Training (SFT): When you train the model normally, you let all the gears spin and shift however they need to solve the math problems. The big gears rotate so much that the whole sculpture loses its original shape.
RPSFT Training: The authors say, "Let's put a lock on the big, important gears."
- They identify the most important "gears" (the top singular vectors) that hold the model's general knowledge.
- They add a special rule to the training: "You can learn math and twist the small, free gears as much as you want, BUT you are not allowed to rotate the big, locked gears."
- If the training tries to twist those big gears, the system pushes back, like a spring trying to snap them back to their original position.
Why This Works (The "Fisher" Connection)
The paper explains that these "big gears" are actually the same parts of the brain that are most sensitive to forgetting. The authors found a clever shortcut: instead of doing expensive, complex calculations to find exactly which parts are sensitive (which would take too much computer power), they just looked at the biggest gears (the top singular vectors).
It turns out that protecting these biggest gears is a perfect, cheap proxy for protecting the model's memory. It's like saying, "If I protect the foundation of the house, I don't need to check every single brick to know the house won't fall down."
The Results: Best of Both Worlds
The authors tested this on different models (like Llama and Qwen) using math data. Here is what happened:
- Math Skills: The RPSFT models learned math just as well as the standard models.
- General Skills: Unlike the standard models, the RPSFT models didn't forget their general knowledge, safety, or reasoning skills. They stayed "balanced."
- Future Training: Because the RPSFT model kept its brain structure more stable, it was also a better starting point for the next step of training (Reinforcement Learning), leading to even better final results.
Summary Analogy
Imagine you are remodeling a house to add a new gym (the math task).
- Standard SFT: You knock down walls and move the foundation to make room for the gym. Now you have a great gym, but your kitchen and living room are ruined.
- RPSFT: You build the gym by rearranging the furniture and adding new rooms, but you anchor the foundation and load-bearing walls so they cannot move. You get a great gym, and your kitchen and living room stay exactly as they were.
The paper claims that by simply "anchoring" the most important parts of the model's brain during math training, we can teach it new skills without making it forget who it is.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.