arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.22234cs.LGcs.AI
收藏

DiRL:一种高效的扩散语言模型后训练框架

DiRL: An Efficient Post-Training Framework for Diffusion Language Models

Fudan University(复旦大学);Shanghai Innovation Institute(上海创新研究院);OpenMoss Team(OpenMoss团队)

Ying Zhu, Jiaxin Wan, Xiaoran Liu, Siyang He, Qiqi Wang, Xu Guo, Tianyi Liang, Zengfeng Huang, Ziwei He, Xipeng Qiu

AI总结:

DiRL是一种高效的扩散语言模型后训练框架,通过整合FlexAttention加速的分块训练与LMDeploy优化的推理,实现了高效的两阶段后训练,提升了在复杂推理任务如数学中的性能。

摘要:

扩散语言模型(dLLMs)已逐渐成为自回归(AR)模型的有前途的替代品。尽管最近的努力已经验证了其预训练潜力并加快了推理速度,但dLLMs的后训练领域仍不成熟。现有方法在计算效率和训练与推理之间的目标匹配上存在不足,严重限制了在复杂推理任务如数学中的性能。为了解决这个问题,我们引入了DiRL,一种高效的后训练框架,该框架紧密集成了FlexAttention加速的分块训练与LMDeploy优化的推理。这种架构使在线模型更新循环更加流畅,从而实现高效的两阶段后训练(监督微调后接强化学习)。基于此框架,我们提出了DiPO,这是首个针对dLLMs定制的无偏组相对策略优化(GRPO)实现。我们通过在高质量数学数据上训练DiRL-8B-Instruct来验证我们的方法。我们的模型在dLLMs中实现了最先进的数学性能,并在多个基准测试中超过了Qwen2.5系列的相应模型。

英文摘要:

Diffusion Language Models (dLLMs) have emerged as promising alternatives to Auto-Regressive (AR) models. While recent efforts have validated their pre-training potential and accelerated inference speeds, the post-training landscape for dLLMs remains underdeveloped. Existing methods suffer from computational inefficiency and objective mismatches between training and inference, severely limiting performance on complex reasoning tasks such as mathematics. To address this, we introduce DiRL, an efficient post-training framework that tightly integrates FlexAttention-accelerated blockwise training with LMDeploy-optimized inference. This architecture enables a streamlined online model update loop, facilitating efficient two-stage post-training (Supervised Fine-Tuning followed by Reinforcement Learning). Building on this framework, we propose DiPO, the first unbiased Group Relative Policy Optimization (GRPO) implementation tailored for dLLMs. We validate our approach by training DiRL-8B-Instruct on high-quality math data. Our model achieves state-of-the-art math performance among dLLMs and surpasses comparable models in the Qwen2.5 series on several benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑