How to Fine-Tune a Reasoning Model? A Teacher-Student Cooperation Framework to Synthesize Student-Consistent SFT Data
The paper proposes TESSY, a teacher-student cooperation framework that synthesizes training data by interleaving teacher and student models to generate sequences with the teacher's advanced reasoning capabilities and the student's stylistic consistency, thereby overcoming performance degradation caused by stylistic divergence in standard synthetic data fine-tuning.
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 Problem: The "Master Chef" vs. The "Home Cook"
Imagine you have a Master Chef (the "Teacher" model, like GPT-OSS-120B) who is a genius at solving complex math problems and writing code. They can cook a perfect 5-star meal.
Now, imagine you have a Home Cook (the "Student" model, like Qwen3-8B) who is trying to learn how to cook these fancy dishes. The standard way to teach the Home Cook is to give them the Master Chef's exact recipe and say, "Copy this exactly."
The Paper's Discovery:
When the researchers tried this, the Home Cook didn't get better. In fact, they got worse. Why?
Because the Master Chef doesn't just write down the ingredients (the logic); they also talk in a very specific, fancy way while cooking. They use phrases like "Observe the molecular structure," or "Let us deduce the thermodynamic implications."
The Home Cook, however, usually talks like a normal person: "Okay, let's see," or "Hmm, maybe I should try this."
When the Home Cook tries to memorize the Master Chef's fancy talk, they get confused. They forget their own natural way of thinking and start sounding like a robot trying to sound smart. This confusion causes them to mess up the actual cooking (the code/math). This is called Catastrophic Forgetting.
The Solution: TESSY (The "Cooking Class" Framework)
The authors created a new method called TESSY (Teacher–Student Cooperation Data Synthesis). Instead of just copying the Master Chef, they created a Cooperative Cooking Class.
Here is how TESSY works, step-by-step:
1. The "Idea" vs. The "Chatter"
Every time the model solves a problem, there are two parts:
- The Logic (The "Idea"): The actual math, the code, the step-by-step solution. This needs to be perfect.
- The Style (The "Chatter"): The connecting words like "Okay," "Wait," "Let's think," or "But actually." This is just the personality of the model.
2. The Hand-Off
In the TESSY framework, the Master Chef and the Home Cook work together on the same problem, but they split the work:
- The Master Chef only writes the Logic. They provide the correct math and code.
- The Home Cook only writes the Chatter. They provide the connecting sentences ("Okay, let's see...") that sound natural to them.
3. The "Rollback" Trick
How do they know when to stop writing logic and start writing chatter?
Imagine the Master Chef starts writing a sentence. Suddenly, the system (a smart referee) says, "Stop! That next word is too fancy for the Home Cook. Cut it off."
The system cuts the sentence exactly where the "Logic" ends and the "Chatter" begins. Then, it hands the pen to the Home Cook to finish the sentence in their own voice.
They keep passing the pen back and forth:
- Home Cook: "Okay, let's look at the problem..." (Style)
- Master Chef: "The solution requires a dynamic programming approach..." (Logic)
- Home Cook: "Hmm, that makes sense. Let's try it." (Style)
- Master Chef: "Therefore, the answer is 42." (Logic)
The Result: A Better Student
By using this method, the Home Cook learns the Master Chef's genius logic without having to force themselves to speak like a Master Chef.
- Without TESSY: The Home Cook tries to sound fancy, gets confused, and forgets how to cook. (Performance drops).
- With TESSY: The Home Cook keeps their natural voice but learns the Master Chef's secret recipes. (Performance goes up significantly).
Why This Matters
The paper shows that for "Reasoning Models" (AI that thinks hard), style matters as much as substance.
If you try to teach a small, chatty AI to think like a giant, serious AI by just copying its text, you break the small AI. But if you let the small AI keep its "voice" while borrowing the "brain" of the big AI, you get the best of both worlds.
In short: Don't force a student to sound like a professor. Let them sound like themselves, but teach them the professor's answers. That's how you get a genius who sounds like a human.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.