arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.04019cs.LGcs.AIcs.CL
收藏

为扩散语言模型进行推理的简单策略梯度

Simple Policy Gradients for Reasoning with Diffusion Language Models

Stanford University(斯坦福大学)

Anthony Zhan

AI总结:

本文提出 AGRPO 算法,通过优化 dLLM 的去噪步骤提升推理性能,实现多个任务上的显著增益。

摘要:

扩散大语言模型(dLLMs)作为一种有前途的替代传统自回归语言模型的方案,最近在预训练中表现出了强劲的结果。然而,由于它们缺乏可 tractable 的序列级似然,它们尚未从现代 LLM 后训练技术如强化学习(RL)中受益,限制了它们在现实中的应用。现有的 dLLM 后训练尝试依赖于启发式近似或真实似然的下界。在本工作中,我们提出了 Amortized Group Relative Policy Optimization(AGRPO),一种策略梯度算法,利用了 dLLM 生成的多步马尔可夫性质,优化单个去噪步骤而不是整个序列。我们展示了 AGRPO 在不同的数学和推理任务上的有效性,实现了在 GSM8K 上绝对增益 +9.9%,在 MATH-500 上 +4.6%,在 Countdown 上 +59.4%,在 Sudoku 上 +69.7% 的改进,优于 comparable dLLM RL 方法如 diffu-GRPO。此外,我们分析了后训练增益在不同推理配置下的持续性,揭示了使用 AGRPO 训练的模型可以在采样速度上达到 4 倍的提升,同时牺牲最小的性能。

英文摘要:

Diffusion large language models (dLLMs) represent a promising alternative to autoregressive LLMs; however, the lack of effective post-training techniques, including reinforcement learning (RL), remains a key challenge for dLLMs, especially for downstream applications. Existing approaches often rely on a sequence-level view that requires biased likelihood approximations. In this work, we propose Amortized Group Relative Policy Optimization (AGRPO), a policy gradient algorithm that leverages the Markovian nature of dLLMs, optimizing individual denoising steps rather than full sequences. Our approach improves alignment between the trained policy and the inference process and also admits efficient, unbiased gradient updates via a novel timestep estimation scheme. We demonstrate AGRPO's effectiveness on different math and reasoning tasks, achieving absolute accuracy gains of +59.4\% and +69.7\% on Countdown and Sudoku over the base LLaDA model, exceeding comparable methods such as diffu-GRPO. Code is available at https://github.com/probablyabot/agrpo.

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

↑