Where Did This Sentence Come From? Tracing Provenance in LLM Reasoning Distillation
This paper introduces a Reasoning Distillation Provenance Tracing framework to analyze the origins of a distilled model's actions by comparing predictive probabilities across teacher, student, and distilled models, demonstrating that teacher-originated actions correlate with performance and enabling a principled, teacher-guided data selection method to improve reasoning distillation.
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
Imagine you are a master chef (the Teacher) who can cook a perfect, complex dish. You have a young apprentice (the Student) who is talented but still learning the ropes.
In the world of Artificial Intelligence, "Reasoning Distillation" is like the chef writing down their secret recipe and the step-by-step thought process they used to make the dish, then giving it to the apprentice to study. The goal is for the apprentice to learn not just what the dish tastes like, but how to think like the chef to create it themselves.
However, there's a big mystery: When the apprentice goes into a brand-new kitchen with different ingredients (a new test question), do they actually cook like the master chef? Or do they just fall back on their old, clumsy habits?
This paper, titled "Where Did This Sentence Come From?", tries to solve that mystery. Here is the breakdown in simple terms:
1. The Problem: The "Imposter" Apprentice
For a long time, researchers just looked at the final result. If the apprentice got the right answer, they assumed the apprentice had successfully learned the chef's secret. But what if the apprentice got lucky? What if they used their own old tricks to get the right answer, even though they didn't really understand the chef's logic?
The authors were worried that when the AI student faces a new problem, it might stop listening to the teacher and just revert to its original, less-smart self.
2. The Solution: The "Provenance Detective"
To figure out what's really happening, the authors built a Detective Framework.
Imagine the apprentice is writing a story sentence by sentence. The detective stops after every single sentence and asks three questions:
- The Chef: "If you were given this exact situation, how likely would you be to write this next sentence?"
- The Apprentice (Before Training): "If you hadn't learned from the chef yet, how likely would you be to write this?"
- The Trained Apprentice: "What did you actually write?"
By comparing these answers, the detective can categorize every sentence the apprentice writes into one of four buckets:
- 👨🍳 The Chef's Voice (Teacher-Originated): The apprentice wrote something the chef would definitely say, but the untrained apprentice would never think of. This is the gold! It means the apprentice actually learned the new skill.
- 👶 The Kid's Old Habits (Student-Originated): The apprentice wrote something they would have said anyway, even without training. The teacher's help didn't change this part.
- 🔄 The Boosted Habit (Boosted): The apprentice knew this sentence, but the training made them say it with much more confidence.
- 🤝 The Common Ground (Shared): Both the chef and the apprentice would have said this anyway. It's just a basic fact.
3. What They Discovered
When they ran this detective work on real AI models, they found some fascinating things:
- The Chef's Voice is the Secret Sauce: When the apprentice gets the answer right, they are using a lot of "Chef's Voice" sentences, especially at the beginning of their reasoning. This proves that the training actually worked and transferred the teacher's logic.
- Not All "Boosts" are Good: Sometimes, the training makes the apprentice more confident in their old, bad habits (Boosted Sentences). If the apprentice gets the answer wrong, it's often because they are relying too much on these boosted old habits instead of the new teacher logic.
- The "Early Bird" Effect: The teacher's logic is most visible in the first few sentences of a response. This is where the apprentice is most likely to be thinking like the master.
4. The New Strategy: Picking the Right Recipes
Based on this discovery, the authors came up with a new way to train apprentices.
The Old Way: "Let's pick recipes that the apprentice already kind of likes or understands." (This is like giving a student homework they can already do easily).
The New Way (Teacher-Guided Selection): "Let's pick recipes where the Chef and the Apprentice disagree the most!"
- If the Chef says, "Do it this way," and the Apprentice says, "No, I'd do it that way," that is a perfect learning opportunity.
- The authors created a filter to find these specific "disagreement" moments in the training data. They only kept the examples where the teacher's logic was strongest and most different from the student's old habits.
5. The Result
When they used this new "Disagreement Filter" to train the AI students:
- The students got better at solving hard math and science problems.
- They were less likely to fall back on their old, bad habits.
- They actually started thinking more like the master chef.
The Big Picture
This paper is like giving us an X-ray machine for AI brains. Instead of just guessing if an AI learned something, we can now look inside and see exactly which parts of its thinking came from the teacher and which parts are just its own old habits.
By using this "X-ray" to pick the best training data, we can build smarter, more reliable AI assistants that truly inherit the wisdom of their teachers, rather than just pretending to be smart.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.