Skip to main content
QUICK REVIEW

[Paper Review] Reinforcement Learning for Diffusion LLMs with Entropy-Guided Step Selection and Stepwise Advantages

Vishnu Teja Kunde, Fatemeh Doudi|arXiv (Cornell University)|Mar 13, 2026
Topic ModelingComputer Science0 citations
TL;DR

The paper formulates diffusion language models as a finite-horizon MDP, derives an exact unbiased policy gradient with stepwise advantages, and introduces entropy-guided step selection and stepwise advantages to enable scalable RL for DLMs, achieving state-of-the-art results on coding and reasoning benchmarks.

ABSTRACT

Reinforcement learning (RL) has been effective for post-training autoregressive (AR) language models, but extending these methods to diffusion language models (DLMs) is challenging due to intractable sequence-level likelihoods. Existing approaches therefore rely on surrogate likelihoods or heuristic approximations, which can introduce bias and obscure the sequential structure of denoising. We formulate diffusion-based sequence generation as a finite-horizon Markov decision process over the denoising trajectory and derive an exact, unbiased policy gradient that decomposes over denoising steps and is expressed in terms of intermediate advantages, without requiring explicit evaluation of the sequence likelihood. To obtain a practical and compute-efficient estimator, we (i) select denoising steps for policy updates via an entropy-guided approximation bound, and (ii) estimate intermediate advantages using a one-step denoising reward naturally provided by the diffusion model, avoiding costly multi-step rollouts. Experiments on coding and logical reasoning benchmarks demonstrate state-of-the-art results, with strong competitive performance on mathematical reasoning, outperforming existing RL post-training approaches for DLMs. Code is available at https://github.com/vishnutez/egspo-dllm-rl.

Motivation & Objective

  • Formulate diffusion-based sequence generation as a finite-horizon MDP over denoising steps.
  • Derive an exact, unbiased policy gradient decomposed over denoising steps with stepwise advantages.
  • Propose practical, compute-efficient estimators leveraging diffusion structure (entropy-guided step selection).
  • Introduce stepwise advantages estimation using one-step denoising rewards to avoid costly rollouts.
  • Demonstrate state-of-the-art results on coding and logical reasoning benchmarks compared to prior RL approaches for DLMs.

Proposed method

  • Model the MDLM denoising process as a T-step MDP with state s_t = (x_{T-t}, q) and action a_t = x_{T-t-1}.
  • Derive policy gradient: ∇_θ J(θ) = E[r(x_0,q) ∇_θ log π_θ(x|q)], decomposed into stepwise advantages A_t.
  • Propose entropy-guided step selection: select top-K steps with highest entropy H(π_θ^{t|t+1}) to compute gradients (greedy by entropy).
  • Define stepwise advantages A_t = r(x_0,q) − V_{t+1}^{π}(x_{t+1},q) and approximate V_t with one-step denoising: ŴV_t.
  • Estimate advantages via one-step denoising distribution π_θ^{0|t} to avoid multi-step rollouts.
  • Form a GRPO-based loss L(θ; θ_old) with per-step clipped surrogate terms and KL regularization, using selected steps S.
Figure 1 : Overview of the performance on coding and reasoning tasks. Our approach outperforms the existing baselines in coding and logical reasoning tasks, while maintaining competitive performance in mathematical reasoning tasks.
Figure 1 : Overview of the performance on coding and reasoning tasks. Our approach outperforms the existing baselines in coding and logical reasoning tasks, while maintaining competitive performance in mathematical reasoning tasks.

Experimental results

Research questions

  • RQ1What is the correct MDP formalism for diffusion-based sequence generation?
  • RQ2Can we derive an exact, unbiased policy gradient for diffusion LMs that decomposes over denoising steps?
  • RQ3How can diffusion-time structure enable tractable, stepwise credit assignment and compute allocation?
  • RQ4Do entropy-guided step selection and stepwise advantage estimation improve RL fine-tuning efficiency and performance for DLMs?
  • RQ5How do the proposed methods perform on coding and reasoning benchmarks compared to existing RL approaches for diffusion LMs?

Key findings

  • EGSPO and EGSPO-SA improve over the base LLaDA-8B-Instruct model across reasoning tasks.
  • EGSPO-SA achieves the strongest overall performance on logical reasoning benchmarks like Sudoku and Countdown.
  • On coding benchmarks (MBPP, HumanEval), both methods outperform baselines across generation lengths, with EGSPO-SA strongest overall.
  • On mathematical reasoning tasks (GSM8K, MATH500), gains are modest and consistent with prior diffusion RL methods.
  • EGSPO-SA demonstrates superior compute efficiency versus prior approaches (fewer FLOPs, samples, and gradient steps).
  • Ablation studies show entropy-guided step selection outperforms uniform step selection and highlight the importance of stepwise credit.
(a) Entropy-Guided Step Selection
(a) Entropy-Guided Step Selection

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.