TL;DR
In On-Policy Context Distillation (OPCD), providing a teacher model with the "gold" answer as privileged information often causes the student to overfit and fail on new datasets. This paper demonstrates that replacing instance-specific answers with short, general instructions targeting common student mistakes significantly improves out-of-distribution (OOD) performance by up to 17 points while maintaining strong in-domain results.
What Problem Does This Paper Address?
Context Distillation (CD) is a popular technique for transferring behaviors—like following instructions or internalizing factual knowledge—from a "privileged" teacher model to a student. In the on-policy version (OPCD), the student generates its own reasoning traces, and the teacher (who has access to extra "privileged" context) provides feedback to minimize the difference between their outputs.
Traditionally, this "privilege" is the gold answer or a perfect demonstration for every specific problem. However, recent research has shown a troubling trend: while gold answers help the student learn the training set, they often hurt the student's ability to generalize to new, out-of-distribution (OOD) data. The authors investigate whether short, reusable instructions—rather than specific answers—can serve as a better, more transferable form of privilege.
Methods
The authors focus on autoformalization, the task of translating natural language into First-Order Logic (FOL). This is an ideal testbed because errors are discrete and diagnosable (e.g., forgetting a parenthesis or mistranslating "exclusive-or").
They compare three setups for the teacher model in the OPCD pipeline:
- No Privilege: The teacher sees the same prompt as the student.
- Gold FOL Privilege: The teacher is given the exact correct FOL formula for each specific instance.
- Instruction Privilege: The teacher is given a generic, few-sentence instruction targeting a specific error type (e.g., "Do not drop the universal quantifier $\forall$") applied uniformly to every training sample.
The training objective is to minimize the Kullback-Leibler (KL) divergence between the privileged teacher and the student, evaluated on tokens the student actually generates.
Datasets
The study utilizes three standard logical reasoning benchmarks for autoformalization:
- ProverQA: A dataset that frequently suffers from "XOR" translation errors.
- ProofWriter: Characterized by frequent "$\forall$-drop" errors (forgetting universal quantifiers).
- ProntoQA: A "cleaner" dataset where semantic errors are more prevalent than formatting ones.
The authors tested these using the Qwen3-Thinking and Olmo3-Thinking model families, scaling from 1.7B to 32B parameters.
Key Insights and Ideas
- The "Crutch" Effect: Gold answers act as a powerful but narrow crutch. Because the teacher has the exact answer, it pushes the student to match that specific output, which often leads to overfitting on the specific quirks of the training distribution.
- Targeting Vulnerabilities: By analyzing student mistakes (see Figure 6), the authors found that most failures were due to consistent formatting errors. A general instruction that fixes a "class" of errors is more useful for learning a rule than seeing a thousand specific examples of that rule in action.
- Information Density: Surprisingly, "less is more." A single instruction applied to 1,200 samples contains far less total information than 1,200 unique gold FOL formulas, yet it produces a more robust student.
Key Results
The results show a clear advantage for instruction-based privileges, particularly for generalization:
- OOD Superiority: In 7 out of 8 experiments, matched instruction privileges outperformed gold answers in OOD settings by 4 to 17 points.
- Transferability: As shown in Figure 1, using gold privilege often resulted in negative transfer (the student performed worse on new datasets than the baseline), whereas instructions consistently supported positive transfer.
- In-Domain Stability: Instructions remained on par with gold privileges for in-domain tasks, proving they don't sacrifice local performance for global generalization.
Limitations and Future Work
- Domain Specificity: The study is heavily centered on autoformalization and logical reasoning. While the authors argue this is an ideal testbed, it remains to be seen how well "instruction privileges" translate to more ambiguous tasks like creative writing or open-ended coding.
- Instruction Discovery: Currently, the instructions are designed by humans based on error analysis. Future work could explore automated ways to identify student vulnerabilities and generate optimal instruction privileges.
- ProntoQA Exception: On the ProntoQA dataset, gold privilege still dominated in-domain. The authors attribute this to ProntoQA being "cleaner," meaning there were fewer formatting errors for instructions to fix, leaving only semantic errors that instructions struggled to address.
Summary updated