负自蒸馏:通过避免缺陷来学习推理

·

研究论文 · 2026/09/11

在策略自蒸馏(OPSD)是一种流行的大语言模型自我改进范式,模型通过利用真实答案等特权信息充当自己的教师。然而,近期研究发现 OPSD 会严重降低大语言模型在复杂推理任务上的性能:通过迫使学生模仿基于特权信息、人为自信的推理轨迹,OPSD 无意中抑制了不确定性的表达,并惩罚了解决难题所需的探索性和自我纠错行为。为此,我们提出负自蒸馏(NSD),一种通过远离有缺陷的推理而非模仿特权解来优化大语言模型的新框架。NSD 不依赖真实答案或外部监督,而是使用模型自身生成针对问题的负条件(例如扮演“粗心的推理者”),并推动学生的分布远离这个自生成的负教师。朴素地应用遗忘目标来实现这种偏离是有问题的,因为有缺陷的推理 token 与基本语言 token 混杂在一起;不加区分地惩罚两者可能灾难性地降低模型的基础语言能力。我们通过设计动态门控机制来解决这一问题,该机制自动识别并隔离对推理关键的 token,确保梯度更新只针对行为缺陷,同时保留模型的语言先验。在实证上,NSD 持续优于 OPSD 以及其他无标签、自举式强化学习(RL)基线。

该研究揭示了流行的 OPSD 方法在复杂推理上的关键缺陷,并提出无需真实答案或外部监督的 NSD 框架,通过动态门控在避免基础语言能力退化的同时提升推理表现,为无标签自改进提供了新方向。

On-Policy Self-Distillation (OPSD) has emerged as a popular paradigm for large language model (LLM) self-improvement, allowing models to act as their own teachers by leveraging privileged information such as ground-truth solutions. However, recent findings indicate that OPSD can severely degrade the performance of LLMs on complex reasoning tasks: By forcing the student to imitate an artificially confident reasoning trace conditioned on privileged information, OPSD inadvertently suppresses expressions of uncertainty and penalizes the exploratory, self-corrective behaviors required to solve challenging problems. To address this, we introduce Negative Self-Distillation (NSD), a new framework that optimizes LLMs by diverging from flawed reasoning rather than imitating privileged solutions. Instead of relying on ground-truth answers or external supervision, NSD uses the model itself to generate a question-specific negative condition (eg, acting as a ``careless reasoner'') and pushes the student's distribution away from this self-generated negative teacher. Naively applying unlearning objectives to achieve this divergence is problematic, as flawed reasoning tokens are confounded with basic linguistic tokens; indiscriminately penalizing both risks catastrophically degrading the model's foundational language capabilities. We resolve this by designing a dynamic gating mechanism that automatically identifies and isolates reasoning-critical tokens, ensuring gradient updates target only behavioral flaws while preserving the model's linguistic priors. Empirically, NSD consistently outperforms OPSD and other label-free, self-bootstrapping reinforcement learning (RL) baselines.

阅读原文

参与讨论