NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DiFFPO: Training Diffusion LLMs to Reason Fast and Furious via Reinforcement Learning

Hanyang Zhao, Dawen Liang, Wenpin Tang, David D. Yao, Nathan Kallus · DOI

Abstract

Autoregressive (AR) decoding in Large Language Models (LLMs) is computationally expensive due to its sequential nature and quadratic costs. Diffusion LLMs (dLLMs) provide a parallel alternative, yet applying Reinforcement Learning (RL) to them is hindered by the complexity of calculating exact likelihoods. We introduce DiFFPO (Diffusion Fast and Furious Policy Optimization), a framework that optimizes both the model's reasoning capabilities and its inference strategy. By employing a "Two Times Mean-Field" (2-MF) likelihood approximation and joint sampler training, DiFFPO achieves superior accuracy and speed. Our results on reasoning and planning tasks demonstrate that DiFFPO significantly outperforms previous dLLM RL methods, shifting the Pareto frontier of the speed-accuracy trade-off.

Introduction

While LLMs have become formidable reasoners, their standard autoregressive "left-to-right" decoding is a major bottleneck. It is slow and computationally expensive as reasoning chains grow. Diffusion Large Language Models (dLLMs) offer a promising alternative by predicting multiple tokens simultaneously. However, training these models effectively using RL has proven difficult because calculating their true likelihood—a requirement for most RL algorithms—is computationally prohibitive, requiring conditioning on every possible intermediate state of the denoising process.

Methodology

DiFFPO addresses the likelihood intractability through two major innovations:

  1. Two Times Mean-Field (2-MF) & Importance Sampling: Previous methods like the d1 algorithm used a coarse "mean-field" approximation that ignored the context of tokens already unmasked. DiFFPO conditions the likelihood on the prompt plus one randomly sampled intermediate latent state. This "2-MF" approach provides a much closer approximation to the true dLLM policy. To further refine this, Importance Sampling is applied to correct the training objective based on the difference between the surrogate and actual behavior policies.
  2. Joint Sampler Training: To optimize for speed ("Fast"), DiFFPO treats the inference threshold—which determines how many tokens are unmasked per step—as a learnable parameter. This allows the model to develop a prompt-aware strategy: unmasking many tokens for easy questions and fewer for complex reasoning tasks.
Figure 5: KL divergence between true likelihoods and approximations grows over time; the 2-MF approach helps mitigate this error accumulation.

Experimental Results

We evaluated DiFFPO using the LLaDA-8B-Instruct model across several benchmarks, including GSM8K, MATH500, Sudoku, and Countdown.

Accuracy and Efficiency

DiFFPO demonstrated substantial gains over the state-of-the-art d1 baseline. On the Countdown task, accuracy rose from 34.38% to 48.83%. In Sudoku, accuracy jumped from 24.51% to 43.21%. Beyond accuracy, the joint sampler training allowed the model to reach peak performance with significantly fewer Number of Function Evaluations (NFEs). For instance, in Sudoku, DiFFPO required only 56.8 NFEs compared to the 105.39 NFEs required by the baseline.

Figure 1: Accuracy comparison across four benchmarks (Countdown, Sudoku, GSM8K, and MATH500) showing DiFFPO ("ours") consistently outperforming the d1 baseline and base LLaDA model.

The Likelihood Gap

Analysis of the KL-divergence shows that error in simpler approximations grows monotonically as generation progresses. The 2-MF approach significantly flattens this error curve, enabling more stable and effective RL training for complex reasoning chains.

Conclusion

DiFFPO successfully bridges the gap between the parallel efficiency of diffusion models and the reasoning power of RL-tuned LLMs. By jointly optimizing the model and its inference strategy, it achieves a superior speed-accuracy trade-off. Future work will explore scaling this framework to larger models (70B+) and implementing state-dependent thresholds that adapt dynamically during a single response generation.

Summary updated

BibTeX
@inproceedings{zhao2025diffpo,
  author = {Hanyang Zhao and Dawen Liang and Wenpin Tang and David D. Yao and Nathan Kallus},
  title = {{DiFFPO: Training Diffusion LLMs to Reason Fast and Furious via Reinforcement Learning}},
  booktitle = {ER @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=zmDXUAmjRn},
}
Figure