On-Policy Self-Distillation with Sampled Demonstrations Reduces Output Diversity
This paper reveals that while on-policy self-distillation with sampled demonstrations achieves strong pass@1 accuracy, it inadvertently reduces output diversity and flattens pass@k performance by amplifying existing model biases through compounding feedback, ultimately limiting the model's ability to generate diverse strategies for out-of-distribution tasks.
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 Idea: The "Echo Chamber" Effect
Imagine you are trying to learn how to solve a maze. You have a teacher who is actually just a slightly older version of yourself.
In a standard learning setup (called Reinforcement Learning or RL), if you find any correct path through the maze, the teacher says, "Great job!" and gives you a reward. It doesn't matter if you took the long, winding scenic route or the short, direct highway. As long as you reached the exit, you get the same high-five. This encourages you to try many different paths.
In the method this paper studies, called Self-Distillation with Sampled Demonstrations (SDSD), the teacher works differently. Before you start, the teacher picks one specific correct path that you (or someone else) found earlier and says, "Okay, I want you to try to solve the maze exactly like this specific path."
The paper argues that while this method helps you get the answer right very often (high accuracy), it secretly makes you lazy and repetitive. You stop exploring new paths because the teacher only praises you when you mimic the specific path they are holding up.
The Core Problem: "The Rich Get Richer"
The authors discovered a hidden cost to this method: Loss of Diversity.
Think of it like a popular song on the radio.
- Standard RL: If a new song is good, the DJ plays it. If another new song is also good, they play that too. You get a mix of hits.
- Self-Distillation (SDSD): The DJ picks the one song that is already playing the most. They tell the band, "Play it just like that song."
- If the band plays a song that sounds even slightly like the hit, the teacher loves it and reinforces it.
- If the band plays a completely different (but still correct) song, the teacher is confused or less enthusiastic because it doesn't match the "sampled demonstration" they are holding.
Over time, the band stops playing anything new. They only play variations of that one hit song. They become incredibly good at that one song, but if the radio station asks for a different genre, they fail.
What the Paper Found (The Evidence)
The researchers tested this on two main things:
1. The "Graph Maze" Game
They created a game where an AI had to find a path through a graph made of different concepts (like birds, fruits, or shapes).
- The Trap: Some paths were short and easy; others were long and hard.
- The Result: The SDSD models found the easy paths very quickly and got high scores. However, they completely ignored the long, hard paths.
- The Failure: When the researchers changed the rules (making all paths long), the SDSD models crashed. They had learned to rely on the "easy route" habit and couldn't adapt. The RL models, having practiced many different routes, handled the new rules easily.
2. Science Questions
They tested the models on science questions (Biology, Chemistry, Physics).
- The Metric: They looked at
pass@k. This asks: "If we ask the AI to generate 16 different answers, how many of them are correct?" - The Finding: SDSD models were great at getting the first answer right (
pass@1). But when asked to generate 16 answers, almost all 16 were the same answer, just written slightly differently. - The Contrast: RL models generated 16 different correct answers. If the first one was wrong, the 16th might be right. SDSD models offered no backup plans.
Why Does This Happen? (The "Tilted" Scale)
The paper uses some heavy math to explain why, but here is the simple version:
Imagine a scale balancing different solutions.
- Standard RL treats all correct solutions as equals. If Solution A and Solution B are both right, the scale stays balanced.
- Self-Distillation tilts the scale. It looks at the "demonstration" (the example path) and asks, "How much does Solution A look like the example?" If Solution A looks a bit like the example, the scale tips heavily in its favor. If Solution B looks different, the scale tips against it.
Because the AI is constantly seeing its own "popular" answers as the examples, it tips the scale further and further toward those popular answers. The "unpopular" but correct answers get crushed. This is called Mode Collapse—the AI collapses into a single way of thinking.
The "Entropy" Trap
The paper also points out a tricky measurement problem. Usually, scientists measure "diversity" by counting how many different words the AI uses (Token Entropy).
- The paper found that SDSD models can still use a wide variety of words (high word diversity) while still thinking in the exact same way (low semantic diversity).
- It's like two people writing essays. One writes about "cats," and the other writes about "dogs." They use different words, but if they both argue the exact same point in the exact same structure, they aren't actually diverse in their thinking. SDSD models do this: they shuffle the words but stick to the same rigid strategy.
The Takeaway
The paper concludes that Self-Distillation with Sampled Demonstrations is a double-edged sword.
- The Good: It makes models very accurate at getting the right answer on the first try for problems they have seen before.
- The Bad: It destroys the model's ability to think creatively or try different strategies. If the problem changes slightly, or if the first guess is wrong, the model has no backup plan.
The authors suggest that if we want AI to be robust and adaptable, we can't just look at how often it gets the answer right. We have to check if it's actually trying different approaches, or if it's just repeating the same trick over and over.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.