TL;DR
This paper introduces A2-OPD (Any-to-Any On-Policy Distillation), a unified framework that transfers the relative difference between two models (a proxy expert and a proxy reference) to a target student. The authors discover that task-specific training (RL/SFT) provides far better supervision than model scale alone, and that choosing the right reference model can "rescue" distillation between incompatible model families.
What Problem Does This Paper Address?
On-policy distillation (OPD) is a staple in post-training Large Language Models (LLMs). Traditionally, a student model tries to mimic the absolute output distribution of a much stronger teacher. However, this approach hits a wall when the teacher and student are of similar capability; the training signal becomes uninformative, and the student may even lose existing skills.
Recent research has pivoted toward transferring relative policy updates—essentially teaching the student how a teacher improved (e.g., the delta between a base model and its RL-tuned version) rather than just what the teacher says. While promising, we haven't really understood the "rules of the road" for this: Which differences are actually useful? Does model scale matter more than training method? And why does transfer work for some student models but fail for others?
Methods
The authors develop a unified policy optimization view called Any-to-Any Policy Transfer (A2-OPD).
- Implicit Reward Formulation: They derive a transfer objective where the log-probability ratio between a proxy expert ($\pi^+_\phi$) and a proxy reference ($\pi_\phi$) acts as an implicit reward.
- Decoupling Roles: The framework separates the models into three distinct roles:
- Proxy Pair: Defines the "direction" of improvement.
- Target Reference: The starting point for the student.
- Target Policy: The model being trained.
- The Objective: The student is optimized to move toward the proxy expert's behavior relative to the proxy reference, while staying anchored to its own initial state via a KL-divergence regularizer.
This "any-to-any" setup allows researchers to mix and match models from different families, scales, and training stages to see what sticks.
Datasets
The study focuses on domains with verifiable rewards:
- Math: Training on DeepMath-103K and evaluating on a suite of eight benchmarks including AIME24/25/26, SMT25, and HMMT.
- Code: Training on Eurus-RL-Code and evaluating on HumanEval+, MBPP+, and LiveCodeBench.
- Models: The authors primarily use the Qwen3 and Qwen2.5 families, ranging from 1.7B to 14B parameters.
Key Insights and Ideas
- Task-Directed Training > Model Scale: A "stronger" model isn't always a better teacher. Policy differences created by RL or SFT transfer consistently well. In contrast, differences arising solely from model scale (e.g., using a 14B base model to supervise an 8B base model) transfer weakly or not at all.
- The Reference as a Filter: The proxy reference isn't just a baseline; it acts as a filter that removes "shared knowledge" between the expert and reference, isolating the specific delta (the "residual") that needs to be transferred.
- The "Family Split" Barrier: Transfer often fails between different model families (e.g., Qwen3 proxy to Qwen2.5 target). The authors found this isn't because the target is "dumb," but because it can't generalize from the provided update.
- Rescuing Failed Transfer: Crucially, they show that using a reference model from the target's family can bridge this gap, enabling successful cross-generation transfer.
Key Results
The authors found a near-perfect correlation (Pearson $r = +0.96$) between the capability gain of the proxy pair and the eventual gain of the target model, provided the update was task-directed.
- Math Gains: Using a Qwen3-4B-RL/4B-Base proxy pair to train a Qwen3-8B target resulted in a +26.84 point improvement.
- Scale Failures: Using a Qwen3-8B/4B scale gap as a proxy for the same 8B target actually resulted in a slight performance drop (-1.03).
- Mechanism: Figure 2 illustrates that for task-trained pairs, the target model's overlap with the expert increases steadily during training, whereas for scale-only pairs, the target actually drifts away.
Limitations and Future Work
- Verifiable Domains: The study is limited to math and code where rewards are clear. It remains to be seen if these "relative differences" transfer as cleanly in subjective domains like creative writing or general chat.
- Tokenizer Alignment: The authors used text as an intermediate representation to handle different tokenizers, which is functional but potentially lossy.
- Compute Efficiency: While OPD is more sample-efficient than offline distillation, the "any-to-any" framework still requires running multiple models during training, which can be memory-intensive.
Future work could explore whether these insights hold for multi-modal models or if "negative" policy differences (what not to do) can be transferred just as effectively.
Summary updated