Simple Policy Gradients for Reasoning with Diffusion Language Models

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Natural Language Processing · Depth: Expert, extended

Summary

Amortized Group Relative Policy Optimization (AGRPO) is a new, principled on-policy reinforcement learning algorithm specifically designed for diffusion large language models (dLLMs). Traditional RL techniques for autoregressive LLMs are incompatible with dLLMs due to their iterative unmasking generation process and parallel token prediction. AGRPO addresses this by employing Monte Carlo sampling to compute an unbiased policy gradient estimate, making it the first tractable and theoretically sound adaptation of policy gradient methods for dLLMs. Experiments demonstrate AGRPO's effectiveness on reasoning tasks, achieving up to a +7.6% absolute gain on GSM8K and 3.8x performance on the Countdown task over the LLaDA-8B-Instruct baseline. It also outperforms comparable RL methods like diffu-GRPO by 1.3x and improves inference compute/quality tradeoffs.

Key takeaway

For AI Scientists and Machine Learning Engineers aiming to enhance diffusion LLM reasoning and optimize inference, AGRPO presents a theoretically sound and effective post-training solution. You can achieve significant performance gains on tasks like GSM8K and Countdown, while also improving the compute-quality frontier by maintaining accuracy with fewer sampling steps. Be mindful of AGRPO's compute-intensive nature and the potential for entropy collapse, which may require careful hyperparameter tuning.

Key insights

AGRPO provides a principled, tractable reinforcement learning method for diffusion LLMs using unbiased policy gradients.

Principles

Method

AGRPO reinterprets the GRPO objective's inner sum as an expectation over timesteps, then estimates this via Monte Carlo sampling, computing exact token probabilities at sampled timesteps. Low-discrepancy sampling reduces variance.

In practice

Topics

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.