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

稳定扩散语言模型的强化学习

Stabilizing Reinforcement Learning for Diffusion Language Models

Huawei Foundation Model Department(华为基础模型部门);The Chinese University of Hong Kong(香港中文大学);The Hong Kong University of Science and Technology(香港科学与技术大学)

Jianyuan Zhong, Kaibo Wang, Ding Ding, Zijin Feng, Haoli Bai, Yang Xiang, Jiacheng Sun, Qiang Xu

AI总结:

本文提出StableDRL方法,针对扩散语言模型中的强化学习问题,通过无条件裁剪和自我归一化解决比率估计噪声导致的不稳定性,提升训练稳定性。

摘要:

组相对策略优化(GRPO)在训练后自回归(AR)语言模型中效果显著,但直接应用于扩散大语言模型(dLLMs)时往往会导致奖励崩溃。我们识别出两个不兼容的来源。首先,GRPO依赖于由序列概率定义的重要性比率,这些在dLLMs中是难以计算的,必须进行估计(例如通过基于ELBO或平均场似然的代理),导致固有噪声比率。其次,标准GRPO的公式并未为估计比率设计:其条件裁剪可能被模型无关的估计噪声异常绕过,产生梯度尖峰,而其固定组大小归一化在高方差比率估计下会放大梯度幅度波动。我们显示这些效应形成自我强化的不稳定性循环,推动策略漂移并进一步增加比率方差。为了打破这个循环,我们提出了StableDRL,一种针对dLLMs的GRPO重新公式化方法,其使用(i)无条件裁剪以抑制异常值引起的尖峰,(ii)自我归一化以约束更新在每样本梯度的凸包内。我们进一步将StableDRL扩展到块状扩散模型,通过阶梯注意力机制。

英文摘要:

Group Relative Policy Optimization (GRPO) is highly effective for post-training autoregressive (AR) language models, yet its direct application to diffusion large language models (dLLMs) often triggers reward collapse. We identify two sources of incompatibility. First, GRPO relies on importance ratios defined by sequence probabilities, which are intractable in dLLMs and must be estimated (e.g., via ELBO-based or mean-field likelihood proxies), yielding inherently noisy ratios. Second, standard GRPO's formulation is not designed for estimated ratios: its conditional clipping can be anomalously bypassed by model-agnostic estimation noise, producing gradient spikes, while its fixed group-size normalization amplifies gradient-magnitude fluctuations under high-variance ratio estimates. We show these effects form a self-reinforcing instability loop that drives policy drift and further increases ratio variance. To break this loop, we propose StableDRL, a reformulation of GRPO tailored for dLLMs that uses (i) unconditional clipping to suppress outlier-induced spikes and (ii) self-normalization to constrain updates within the convex hull of per-sample gradients. We further extend StableDRL to block-wise diffusion models via a staircase attention mechanism.

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

↑