Efficient and Stable Reinforcement Learning for Diffusion Language Models

Jiawei Liu, Xiting Wang, Yuanyuan Zhong, Defu Lian, Yu YangarXiv 2026

TL;DR

Training diffusion-based large language models (dLLMs) with reinforcement learning (RL) is notoriously slow and unstable due to the need for multi-step likelihood estimation. This paper introduces Spatio-Temporal Pruning (STP), a framework that eliminates generative redundancies by pruning both the token exploration space (spatial) and the denoising steps (temporal). STP not only accelerates training by up to 21.8% but also mathematically reduces gradient variance, leading to massive stability and performance gains on complex reasoning tasks.

What Problem Does This Paper Address?

While traditional autoregressive (AR) language models generate text from left to right, diffusion language models (dLLMs) break this constraint by iteratively refining entire sequences through a bidirectional denoising process. This makes them highly efficient at generation, but a nightmare to train using Reinforcement Learning.

In AR models, calculating token probabilities is straightforward thanks to the chain rule. In dLLMs, however, tokens can be updated in multiple orders, making exact likelihood computation intractable. Instead, researchers rely on multi-step Monte Carlo sampling to approximate the Evidence Lower Bound (ELBO). This introduces two major bottlenecks:

  1. Efficiency (C1): Generating trajectories requires expensive multi-step sampling across diffusion timesteps.
  2. Stability (C2): Stochastic estimation over both time and token states introduces massive variance into the policy gradient estimator, frequently destabilizing RL training.

Existing solutions often trade off stability for speed (or vice versa). The authors of this paper set out to solve both challenges simultaneously.

Methods

The authors propose Spatio-Temporal Pruning (STP), a plug-and-play framework built on top of Group Relative Policy Optimization (GRPO). STP tackles redundancy across two distinct dimensions of the generation lattice:

1. Spatial Pruning (Reducing the Action Space)

Instead of exploring the entire sequence space from scratch, STP uses a semi-offline strategy. It takes an anchor sequence (from the model's own prior generations) and fixes a subset of high-confidence tokens. By locking in the "easy" tokens that the model has already mastered, the framework forces the RL agent to focus its exploration budget entirely on positions with high uncertainty.

2. Temporal Pruning (Reducing Integration Steps)

Standard diffusion requires a rigorous, step-by-step denoising process from $t = 1$ down to $t = 0$. However, the authors observe that late-stage diffusion steps are primarily dedicated to local syntactic refinement rather than core logical reasoning. STP introduces a temporal cutoff ($t_{cutoff}$). Once the process hits this threshold, it bypasses the remaining iterative chain entirely and predicts the final tokens in a single forward pass (One-Step Decoding).

Figure 1. Comparing (a) standard sequence generation with iterative denoising with (b) our generation process with spatio-temporal purning, which reduces computational cost and ELBO variance theoretically while improving empirical accuracy.

Datasets

The framework was evaluated using the LLaDA-8B-Instruct model across three challenging reasoning benchmarks:

  • GSM8K: Grade-school math word problems.
  • MATH: Harder competition-level mathematical problems.
  • Countdown: A logical reasoning task requiring specific arithmetic targets.

Key Insights and Ideas

  • The "Syntactic Tail" of Diffusion: The realization that late-stage diffusion steps don't contribute to high-level reasoning allows for aggressive temporal pruning without sacrificing generation quality.
  • Pruning as a Variance Reducer: Intuitively, pruning sounds like a trick just for speed. However, the authors provide a rigorous theoretical proof showing that spatial pruning strictly reduces the variance of the ELBO estimator. Lower variance means cleaner gradient updates and highly stable training.
  • Guided Exploration: Spatial pruning acts similarly to Supervised Fine-Tuning (SFT). By injecting high-quality static priors, it mitigates the "cold start" problem common in RL exploration for difficult tasks.
Empirical verification of ELBO variance reduction during training

Key Results

STP achieves a superior trade-off compared to state-of-the-art baselines like standard GRPO and Diffu-GRPO:

  • Substantial Speedups: STP consistently reduced training wall-clock time, achieving a 13.07% speedup on the MATH dataset compared to the previous fastest baseline (Diffu-GRPO), and a ~21.8% speedup compared to standard GRPO w/ ELBO.
  • State-of-the-Art Accuracy: On the MATH benchmark, STP achieved 36.20% accuracy, outperforming the baseline by 2.0% in absolute terms.
  • Transformative Logic Gains: On the Countdown task, STP achieved an astonishing 81.72% relative improvement over the strongest baseline, jumping from 36.33% to 66.02% accuracy.
  • Orthogonal Compatibility: Because STP modifies the fundamental trajectory sampling process, it is fully compatible with other advanced RL algorithms. Integrating STP with Sandwiched Policy Gradient (SPG) pushed MATH accuracy even higher to 36.60%.

Limitations and Future Work

While highly effective, the current implementation of STP relies on fixed hyperparameters for the spatial pruning ratio ($\gamma$) and temporal cutoff ($t_{cutoff}$). The authors note that a promising direction for future work is developing adaptive scheduling strategies that dynamically adjust these pruning thresholds based on the difficulty of individual instances. Additionally, they plan to extend this paradigm to multimodal diffusion settings.

Summary updated

BibTeX
@misc{liu2026efficient,
  author = {Jiawei Liu and Xiting Wang and Yuanyuan Zhong and Defu Lian and Yu Yang},
  title = {{Efficient and Stable Reinforcement Learning for Diffusion Language Models}},
  year = {2026},
  eprint = {2602.08905},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.08905},
}
Figure