跳到正文
arXiv (AI + Vision + Imaging)· Siyan Zhao, Zhihui Xie, Mengchen Liu, Jing Huang, Guan Pang, Feiyu Chen, Aditya Grover·· 2 天前AI 评分48

OPSD:同一大模型分饰师生角色的在线自蒸馏推理方法

Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models

AI 导读

作者提出 On-Policy Self-Distillation(OPSD)学习算法,让同一个大模型分别以教师和学生两种上下文参与训练,教师侧可看到已验证的推理轨迹等特权信息,学生侧只看到问题,训练目标是最小化学生自身 rollout 上两种分布的逐 token 散度。

正文 · 原文

arXiv:2601.18734v4 Announce Type: replace Abstract: Knowledge distillation improves large language model (LLM) reasoning by compressing the knowledge of a teacher LLM to train smaller LLMs. On-policy distillation advances this approach by having the student sample its own trajectories while a teacher LLM provides dense token-level supervision, addressing the distribution mismatch between training and inference in off-policy distillation methods. However, on-policy distillation typically requires a separate, often larger, teacher LLM and does not explicitly leverage ground-truth solutions available in reasoning datasets. Inspired by the intuition that a sufficiently capable LLM can rationalize external privileged reasoning traces and teach its weaker self, we introduce On-Policy Self-Distillation (OPSD), a learning algorithm where a single LLM acts as both teacher and student with different contexts. The teacher policy conditions on privileged information (e.g., verified reasoning traces) while the student policy sees only the question; training minimizes the per-token divergence between these distributions over the student's own rollouts. We demonstrate the efficacy of our method on multiple mathematical reasoning benchmarks, achieving superior token efficiency compared to reinforcement learning methods and better performance over off-policy distillation methods. Code repo: https://github.com/siyan-zhao/OPSD.

来源:arXiv (AI + Vision + Imaging) · arxiv.org