SPG:用于遮蔽扩散语言模型的夹心策略梯度
SPG: Sandwiched Policy Gradient for Masked Diffusion Language Models
AI总结:
本文提出SPG策略梯度方法,通过同时利用真实对数似然的上下界,解决扩散大语言模型在强化学习中对齐人类偏好或任务奖励的难题,实验显示其在多个任务中表现优异。
摘要:
扩散大语言模型(dLLMs)因其能够并行解码多个标记的能力,正成为自回归模型的高效替代方案。然而,通过强化学习(RL)对齐dLLMs与人类偏好或任务特定奖励具有挑战性,因为其不可行的对数似然阻止了标准策略梯度方法的直接应用。尽管先前工作使用了证据下界(ELBO)等替代方案,但这些单侧近似可能会引入显著的策略梯度偏差。为了解决这个问题,我们提出了夹心策略梯度(SPG),它利用了真实对数似然的上下界。实验显示,SPG在基于ELBO或一步估计的基线方法上表现显著更好。具体而言,SPG在GSM8K上比最先进的RL方法提高了3.6%的准确性,在MATH500上提高了2.6%,在Countdown上提高了18.4%,在Sudoku上提高了27.0%。
英文摘要:
Diffusion large language models (dLLMs) are emerging as an efficient alternative to autoregressive models due to their ability to decode multiple tokens in parallel. However, aligning dLLMs with human preferences or task-specific rewards via reinforcement learning (RL) is challenging because their intractable log-likelihood precludes the direct application of standard policy gradient methods. While prior work uses surrogates like the evidence lower bound (ELBO), these one-sided approximations can introduce significant policy gradient bias. To address this, we propose the Sandwiched Policy Gradient (SPG) that leverages both an upper and a lower bound of the true log-likelihood. Experiments show that SPG significantly outperforms baselines based on ELBO or one-step estimation. Specifically, SPG improves the accuracy over state-of-the-art RL methods for dLLMs by 3.6% in GSM8K, 2.6% in MATH500, 18.4% in Countdown and 27.0% in Sudoku.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。