Improving Reasoning for Diffusion Language Models via Group Diffusion Policy Optimization

Kevin Rojas, Jiahe Lin, Kashif Rasul, Anderson Schneider, Yuriy Nevmyvaka, Molei Tao, Wei Deng · DOI

Abstract

Diffusion Language Models (DLMs) offer a flexible, parallel alternative to standard autoregressive models, yet aligning them via Reinforcement Learning (RL) has been historically difficult due to the intractability of sequence-level likelihoods. We introduce Group Diffusion Policy Optimization (GDPO), a novel framework that utilizes a Semi-deterministic Monte Carlo (SDMC) scheme to estimate the Evidence Lower Bound (ELBO) of sequence likelihoods. By leveraging the discovery that DLM loss curves are smooth over time, GDPO employs numerical quadrature to achieve low-variance likelihood estimation. Our results demonstrate that GDPO achieves state-of-the-art performance across mathematical reasoning, logic, and coding benchmarks while remaining computationally efficient.

Introduction

Most modern Large Language Models (LLMs) are autoregressive, predicting tokens in a strict left-to-right sequence. While effective, this constraint prevents models from revising early mistakes during the generation process. Diffusion Language Models (DLMs) address this by generating text through iterative refinement, allowing for parallel processing and order-agnostic generation.

However, "aligning" DLMs using Reinforcement Learning (RL) is notoriously difficult. Standard RL algorithms require calculating the likelihood of a generated sequence to perform policy updates. In diffusion models, the exact likelihood is mathematically intractable. Previous attempts to bridge this gap relied on biased "one-step" approximations or computationally expensive, high-variance Evidence Lower Bound (ELBO) estimates, hindering practical training.

Methodology: Semi-deterministic Monte Carlo

The core innovation of GDPO is the Semi-deterministic Monte Carlo (SDMC) scheme. The authors conducted a variance decomposition analysis of ELBO estimation and discovered that approximately 96.2% of the variance stems from the random sampling of the noise level (time $t$).

Figure 6: Variance decomposition and loss curve analysis. (a) Shows that random time sampling is the primary source of variance. (b) and (c) illustrate the smoothness of the mean loss and its variance over time, justifying the use of numerical quadrature.

Instead of traditional random sampling, GDPO treats the ELBO as a time integral and solves it using Numerical Quadrature (specifically Gaussian Quadrature). By selecting a few fixed, mathematically optimal points in time, the model achieves a significantly more accurate and lower-variance estimate than previous methods. This estimator is integrated into the Group Relative Policy Optimization (GRPO) framework, allowing the model to learn from groups of generated answers by comparing relative rewards without the need for an expensive separate value network.

Experimental Results

We evaluated GDPO across several challenging benchmarks, including GSM8K and MATH500 for mathematical reasoning, Sudoku and Countdown for logic, and HumanEval and MBPP for coding tasks. Training was conducted using the KodCode-Light-RL-10K dataset.

Figure 2: Performance comparison of GDPO against LLaDA-8B and diffu-GRPO across six benchmarks. GDPO consistently achieves the highest accuracy in all categories.

GDPO consistently outperformed both the LLaDA-8B baseline and the previous state-of-the-art, diffu-GRPO:

  • Sudoku: GDPO reached 26.17% accuracy, a massive improvement over the base model's 5.5%.
  • Mathematics: On GSM8K, GDPO achieved 84.99% accuracy, compared to 78.2% for the base model.
  • Coding: On the MBPP benchmark, GDPO achieved a 10% accuracy gain over the pretrained checkpoint without prior Supervised Fine-Tuning (SFT).

Notably, these results were achieved using only 2 H100 GPUs, demonstrating that high-quality RL alignment for diffusion models is accessible without massive compute clusters.

Discussion and Future Work

GDPO represents a significant step forward for DLMs, proving that sequence-level likelihood optimization is essential for complex multi-step reasoning. By moving beyond token-level approximations, GDPO captures the long-range dependencies required for logic and programming.

While highly efficient, GDPO still requires multiple Network Function Evaluations (NFEs) per step due to the quadrature points. Future research may explore data-driven quadrature, where the model learns to dynamically select the most informative time steps for a specific prompt, potentially further reducing the computational cost of alignment.

Summary updated

BibTeX
@inproceedings{rojas2026improving,
  author = {Kevin Rojas and Jiahe Lin and Kashif Rasul and Anderson Schneider and Yuriy Nevmyvaka and Molei Tao and Wei Deng},
  title = {{Improving Reasoning for Diffusion Language Models via Group Diffusion Policy Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=JaqvespRBP},
}
Figure