[KongchangAI]
· 2 min read· 1,351 words

OPSD Doesn't Need Verified Privileged Information: Even Wrong Trajectories Can Teach Good Students

OPSD Doesn't Need Verified Privileged Information: Even Wrong Trajectories Can Teach Good Students

In OPSD, privileged trajectories can effectively train students even with wrong answers, in stark contrast to SFT.

This study reveals a counterintuitive finding: in on-policy self-distillation (OPSD), even if the privileged reasoning trajectories provided by the teacher model end in wrong answers, the student model still achieves gains similar to those from correct trajectories; whereas in supervised fine-tuning (SFT), erroneous trajectories significantly weaken student performance. By analyzing teacher training signals, researchers found that correct and incorrect contexts produce nearly identical per-token update directions, with main differences concentrated in the small proportion of final answer tokens.

Introduction: When "Wrong Answers" Become Effective Teaching Material

In the training of large language models (LLMs), we usually assume: if we want to use expert trajectories to guide a model, those trajectories must be correct. But a new study from rss presents a counterintuitive finding—in On-Policy Self-Distillation (OPSD), the correctness of privileged information turns out not to matter. Even if the reasoning trajectories produced by a teacher model end in wrong answers, the student model can still benefit from them.

OPSD Research Overview

This focused contribution, through experiments on text and vision-language mathematical reasoning, reveals a striking asymmetry between OPSD and supervised fine-tuning (SFT) when facing erroneous trajectories, and further explains it from the perspective of teacher training signals.

What Is On-Policy Self-Distillation (OPSD)?

OPSD is a training paradigm: the model learns on its own outputs (rollouts), while the targets are generated by the same model (as teacher) conditioned on privileged information. This privileged information is typically a verified reference solution or reasoning trajectory. The conventional view holds that the correctness of these trajectories is crucial, because wrong answers may mislead the student.

However, this study challenges that assumption: must privileged trajectories end with correct answers? Experiments show that in OPSD, trajectories from larger expert models, even when wrong, mostly do not affect the final results. The student seems to value the "sophistication" of the expert's reasoning process more than the correctness of the final answer.

On-Policy is a core concept in reinforcement learning, referring to keeping the data distribution used for training consistent with the model's current policy distribution. In the context of LLM training, on-policy means the student model learns on its own generated outputs, rather than on a fixed external dataset as in traditional supervised fine-tuning. The advantage of this setup is that the training data distribution always matches the model's current capability, avoiding the "distribution shift" problem—when the model encounters situations outside the training set, its behavior may degrade sharply. Correspondingly, "off-policy" uses a data distribution different from the current policy for training. OPSD combines on-policy sampling with self-distillation: the student model first generates trajectories on its own, then the same model, conditioned on privileged information, acts as teacher to re-score these trajectories or provide token-level targets, thereby enabling efficient learning within the state space reachable by the model itself.

Experimental Findings: OPSD and SFT Are Drastically Different

The research team conducted comparative experiments on pure text and vision-language mathematical reasoning tasks, and the results showed a stark contrast:

  • OPSD: The correctness of privileged trajectories (i.e., whether they end with the correct answer) has almost no effect on student performance. Even with wrong teacher trajectories, the student still achieves gains similar to those from correct trajectories.
  • SFT: The situation is completely different. Supervised fine-tuning on wrong expert trajectories yields a student model significantly weaker than one trained on correct trajectories.

This asymmetry suggests that OPSD's learning mechanism is fundamentally different from SFT. SFT directly imitates target tokens, so wrong answers directly contaminate the student; OPSD may focus more on the consistency and direction of the reasoning process rather than exact matching of the final answer.

Supervised Fine-Tuning (SFT) is the most basic method in the LLM alignment and post-training stage: given input-output pairs (such as a question and an expert solution), it maximizes the conditional probability of each token in the target sequence through standard cross-entropy loss. Its essence is behavior cloning—the student model is trained to imitate the teacher's output token by token. Because SFT directly applies supervision to each target token, the erroneous tokens in a wrong answer are reinforced as "positive examples," thereby directly contaminating the student model. In contrast, although OPSD also uses a cross-entropy-style loss, its target distribution is dynamically generated by the teacher's output conditioned on privileged information rather than fixed external annotations, and the training data comes from the student's own sampling distribution. This difference determines that the two paradigms have fundamentally different robustness to data noise: SFT's quality upper bound is directly determined by data quality, while OPSD's learning signal relies more on the structural differences in distribution between teacher and student.

Why Is OPSD Insensitive to Wrong Answers?

To explain this asymmetry, the researchers probed the teacher's training signals and discovered a key phenomenon: correct and incorrect contexts produce nearly identical per-token update directions, with the main differences concentrated in the final answer tokens, which account for a very small proportion of the loss.

In other words, regardless of whether the teacher trajectory's final answer is correct, the update directions for most tokens in its reasoning process are consistent. The student learns the expert model's reasoning patterns from these intermediate steps, and the deviation in the final answer has negligible impact on the overall learning signal. This explains why OPSD is insensitive to the correctness of privileged trajectories—because the loss mainly comes from the reasoning process, not the answer itself.

Per-token update direction refers to the direction in parameter space of the gradient produced by the loss function with respect to model parameters during backpropagation. By comparing the gradients produced at each token position under correct versus incorrect trajectories, the researchers found that the gradient directions are highly consistent (high cosine similarity) across the vast majority of intermediate reasoning steps, with significant divergence appearing only near the final answer token. The cause of this phenomenon lies in the fact that: the loss of an autoregressive language model is the sum of cross-entropies at each token position, and each step in the reasoning process is driven by a KL-divergence-like difference between the teacher distribution and the student distribution; the deviation in the final answer only affects the gradients of a few tokens at the end of the sequence, while the gradients of intermediate steps account for the vast majority of the update norm. Therefore, even if the answer is wrong, the intermediate reasoning patterns are still effectively transmitted. This finding also explains from the gradient level why OPSD is more robust than SFT: in SFT, every token is a hard target, and contamination from wrong answers cannot be diluted; in OPSD, the soft target distribution causes the influence of wrong answers to be overwhelmed by a large number of consistent intermediate-step signals.

Implications and Limitations

This finding has potential significance for LLM training practice: under the OPSD framework, we may be able to relax the requirements for verifying privileged information, thereby reducing data annotation costs. However, it should be noted that this conclusion is currently limited to mathematical reasoning tasks, and the experimental scale is limited. Whether it holds for other domains (such as code generation or open-domain question answering) still requires further verification. In addition, SFT's sensitivity to erroneous trajectories reminds us that different training paradigms have fundamentally different requirements for data quality, and cannot be generalized.

Conclusion

OPSD does not require verified privileged information—this counterintuitive conclusion challenges our ingrained belief that "expert trajectories must be correct." It reveals the distributional characteristics of learning signals in the self-distillation process and opens up new directions for future research: how to efficiently train models using imperfect expert data may be more practically meaningful than pursuing perfect data.

One-line Summary

In OPSD, privileged trajectories can effectively train students even with wrong answers, in stark contrast to SFT.

Paragraph Summary

This study reveals a counterintuitive finding: in on-policy self-distillation (OPSD), even if the privileged reasoning trajectories provided by the teacher model end in wrong answers, the student model still achieves gains similar to those from correct trajectories; whereas in supervised fine-tuning (SFT), erroneous trajectories significantly weaken student performance. By analyzing teacher training signals, the researchers found that correct and incorrect contexts produce nearly identical per-token update directions, with the main differences concentrated in the final answer tokens that account for a very small proportion, so OPSD's loss mainly comes from the reasoning process rather than the answer itself. This asymmetry indicates that the two training paradigms have fundamentally different requirements for data quality, and OPSD may reduce dependence on privileged information verification, though the conclusion is currently limited to mathematical reasoning tasks.

#OPSD#on-policy self-distillation#supervised fine-tuning#privileged information#LLM training#teacher-student distillation
Share:

Related articles