Research Papers 论文研究 9h ago Updated 5h ago 更新于 5小时前 49

Trace-Based On-Policy Distillation for Masked Diffusion Language Models 基于轨迹的在线策略蒸馏用于掩码扩散语言模型

Introduces Trace-Based On-Policy Distillation (TOPD), a teacher-supervised framework for post-training diffusion large language models (dLLMs) that eliminates the need for reward estimation. Aligns training with the model's own denoising trajectories by supervising token decisions against teacher distributions using a Reverse-KL objective. SDAR-4B-Chat trained with TOPD matches the MATH500 accuracy of the RL-trained TraDo-4B-Instruct, achieving significant performance gains in both static (+5.7) 提出基于轨迹的在线策略蒸馏(TOPD),解决扩散语言模型(dLLMs)推理后训练难题,无需奖励估计即可转移教师模型的推理能力。 核心机制是监督目标模型自身的去噪轨迹,利用部分去噪状态下的教师token分布,通过Token级Reverse-KL目标进行更新,保持密集监督并对齐自身状态。 在数学推理基准上,SDAR-4B-Chat经TOPD训练后,MATH500准确率匹配RL训练的TraDo-4B-Instruct,静态评估提升+5.7,动态评估提升+4.5。 相比RL训练方法,TOPD仅需4倍更少的rollout轮次,实现约96.0倍的“准确率-模型计算量”加速比,显著降低训练成本。

65
Hot 热度
75
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • Introduces Trace-Based On-Policy Distillation (TOPD), a teacher-supervised framework for post-training diffusion large language models (dLLMs) that eliminates the need for reward estimation.
  • Aligns training with the model's own denoising trajectories by supervising token decisions against teacher distributions using a Reverse-KL objective.
  • SDAR-4B-Chat trained with TOPD matches the MATH500 accuracy of the RL-trained TraDo-4B-Instruct, achieving significant performance gains in both static (+5.7) and dynamic (+4.5) evaluations.
  • Demonstrates a 96.0x model-compute speedup compared to reinforcement learning counterparts, requiring 4x fewer rollout rounds to achieve equivalent results.

Why It Matters

This research addresses a critical bottleneck in the development of diffusion-based language models, specifically the difficulty of performing reasoning-oriented post-training without the computational overhead of reinforcement learning. By providing a dense, on-policy supervision signal that mimics the benefits of RL but operates through distillation, it offers a more efficient pathway for enhancing the reasoning capabilities of non-autoregressive models.

Technical Details

  • Methodology: TOPD samples on-policy diffusion trajectories from the target dLLM and retrieves teacher token distributions from a teacher model at corresponding partially denoised states.
  • Objective Function: Utilizes a token-level Reverse Kullback-Leibler (Reverse-KL) divergence to update the target model, ensuring alignment between the student's denoising path and the teacher's guidance.
  • Model Specifications: Evaluated on SDAR-4B-Chat, a 4-billion parameter diffusion LLM, comparing it against TraDo-4B-Instruct, an RL-trained counterpart.
  • Benchmark Results: Tested on mathematical reasoning tasks (MATH500), showing competitive accuracy with significantly reduced training costs.

Industry Insight

  • Efficiency Gains: Practitioners should consider TOPD as a cost-effective alternative to RLHF for dLLMs, particularly when compute resources are constrained or rapid iteration is required.
  • Training Stability: The use of on-policy trajectories helps mitigate the distribution shift issues common in standard supervised fine-tuning for diffusion models, leading to more stable convergence.
  • Future Architecture: As dLLMs gain traction for their parallel generation capabilities, this method establishes a standard for post-training protocols that balance performance with computational efficiency.

TL;DR

  • 提出基于轨迹的在线策略蒸馏(TOPD),解决扩散语言模型(dLLMs)推理后训练难题,无需奖励估计即可转移教师模型的推理能力。
  • 核心机制是监督目标模型自身的去噪轨迹,利用部分去噪状态下的教师token分布,通过Token级Reverse-KL目标进行更新,保持密集监督并对齐自身状态。
  • 在数学推理基准上,SDAR-4B-Chat经TOPD训练后,MATH500准确率匹配RL训练的TraDo-4B-Instruct,静态评估提升+5.7,动态评估提升+4.5。
  • 相比RL训练方法,TOPD仅需4倍更少的rollout轮次,实现约96.0倍的“准确率-模型计算量”加速比,显著降低训练成本。

为什么值得看

本文针对扩散语言模型在推理任务上的后训练瓶颈,提供了一种高效且无需复杂奖励建模的蒸馏方案,为替代自回归生成的dLLMs提供了实用的优化路径。其显著的算力效率提升证明了该框架在大规模模型训练中的巨大潜力,有助于推动非自回归大模型在复杂推理场景的落地。

技术解析

  • TOPD框架设计:采用教师监督范式,避免传统强化学习对稀疏奖励或价值函数的依赖。通过采样目标模型自身的在线策略扩散轨迹,获取对应部分去噪状态的教师token分布,实现知识迁移。
  • 损失函数与对齐:使用Token级Reverse Kullback-Leibler (Reverse-KL) 目标函数更新目标模型。这种设计既保留了教师提供的密集监督信号,又确保训练过程与模型自身的去噪状态严格对齐,解决了传统SFT中掩码状态偏离策略的问题。
  • 实验性能对比:在数学推理任务中,TOPD使4B参数量的SDAR-4B-Chat达到与RL训练模型TraDo-4B-Instruct相当的精度。特别是在减少4倍rollout轮次的情况下,实现了极高的计算效率增益,验证了该方法在资源受限场景下的优势。

行业启示

  • 扩散模型训练范式革新:TOPD证明了无需强化学习即可有效训练扩散语言模型的推理能力,降低了dLLMs后训练的复杂度和资源门槛,可能成为未来非自回归大模型的主流训练策略之一。
  • 算力效率优先:高达96倍的计算加速比表明,在追求模型性能的同时,优化训练流程的效率比单纯增加数据或轮次更具战略价值,企业应关注此类高ROI的训练算法以降低成本。
  • 教师-学生蒸馏的精细化:将蒸馏过程从静态数据转向在线轨迹对齐,强调了训练分布与推理分布一致性的重要性,这一思路可推广至其他生成式模型的微调过程中以提升泛化能力。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Fine-tuning 微调 Research 科学研究 Training 训练 Alignment 对齐