Enhancing Reasoning for Diffusion LLMs via Distribution Matching Policy Optimization

Yuchen Zhu, Wei Guo, Jaemoo Choi, Petr Molodyk, Bo Yuan, Molei Tao, Yongxin Chen

Introduction

While Autoregressive Large Language Models (AR-LLMs) like GPT-4 and Llama dominate the current AI landscape, their left-to-right, token-by-token generation process creates an inherent bottleneck in inference speed. Diffusion Large Language Models (dLLMs) present a compelling, high-throughput alternative by refining entire sequences in parallel. However, dLLMs have historically lagged behind AR-LLMs in complex reasoning tasks.

In AR-LLMs, reasoning capabilities are typically unlocked through Reinforcement Learning (RL) techniques like PPO or GRPO. Unfortunately, these standard RL algorithms do not translate seamlessly to diffusion models. They rely heavily on calculating sequence log-probabilities, which is computationally prohibitive for bidirectional diffusion models. Furthermore, traditional RL often induces "mode collapse," where a model memorizes a single correct path and loses its generative diversity.

To bridge this gap, researchers have introduced Distribution Matching Policy Optimization (DMPO), a novel RL fine-tuning framework tailored specifically for dLLMs. By shifting the objective from traditional reward maximization to distribution matching, DMPO equips dLLMs with robust reasoning capabilities while maintaining high compute efficiency.

The DMPO Framework

Instead of simply "climbing the hill" to find the highest reward, DMPO trains the model to match an optimal reward-tilted distribution. This philosophical shift is powered by several key technical innovations:

Weighted Denoising Cross-Entropy (WDCE)

Standard RL requires tracking complex backward trajectories. DMPO introduces WDCE, a "forward-only" objective that leverages the diffusion model’s native noising process. Because it is an off-policy method, the model can reuse generated samples from a replay buffer, drastically reducing the computational overhead typically associated with RL.

Weight Baseline Subtraction

A significant challenge in RL fine-tuning is managing small training batch sizes, where even poor responses might receive positive weights and confuse the model. To counter this, the authors developed a weight baseline subtraction technique. By subtracting a baseline from these weights, the system effectively injects a "negative gradient" that actively penalizes incorrect reasoning paths.

Weighted Direct Discriminative Optimization (WDDO)

As a complementary approach, the researchers also propose WDDO, a GAN-inspired alternative loss function. This helps the model better discriminate between genuinely high-quality reasoning and superficial "reward hacking."

Key Insights

The architecture of DMPO yields several theoretical and practical advantages over traditional RL:

  • Mass-Covering vs. Mode-Seeking: Traditional RL relies on Reverse KL divergence, making it "mode-seeking" (prone to finding a single, repetitive answer). DMPO utilizes Forward KL (Cross-Entropy), which is "mass-covering." This encourages the model to explore the entire landscape of high-reward reasoning paths, preserving output diversity.
  • Exploiting Diffusion Dynamics: Because DMPO relies on a forward loss algorithm, it bypasses the need to store the entire generation history. It only requires the final "clean" sample and the ability to add noise to it, allowing it to seamlessly integrate with ultra-fast diffusion inference techniques.
  • Stability with Stale Data: Standard RL algorithms often degrade when trained on "stale" rollouts generated by older policy versions. DMPO’s importance weights are mathematically stable, allowing it to train on data that is up to 24x stale without a drop in performance.

Experimental Results

The researchers evaluated DMPO on state-of-the-art dLLMs, including LLaDA-8B and Dream-7B, across four rigorous reasoning and planning benchmarks: GSM8K (grade school math), MATH500 (competition math), Sudoku (constraint satisfaction), and Countdown (combinatorial arithmetic).

The results demonstrate a major leap forward for diffusion-based reasoning:

  • Unprecedented Accuracy Gains: On the Sudoku benchmark, DMPO-LLaDA improved accuracy by 39.63 percentage points over the best prior RL baseline, and an astonishing 67.97 percentage points over the base model.
  • Compute and Sample Efficiency: DMPO achieved peak reward levels using only 31% of the training budget required by previous methods. Thanks to its off-policy nature and replay buffer, it proved 2–3x more sample-efficient than dLLM adaptations of GRPO.
  • High Throughput: By integrating "Fast-dLLM" sampling, the training process achieved an 8x acceleration in rollout generation.

Limitations and Future Directions

While DMPO successfully unlocks reasoning in dLLMs, the authors note a few areas for future exploration. The current study focuses on four elementary reasoning benchmarks; its efficacy on more open-ended tasks, such as creative writing or complex software engineering, remains to be tested. Additionally, experiments were limited to the LLaDA and Dream architectures. Finally, while baseline subtraction proved crucial for small batches, developing even more sophisticated weight-design strategies could further stabilize training for massive-scale, enterprise deployments.

Summary updated

BibTeX
@inproceedings{zhu2026enhancing,
  author = {Yuchen Zhu and Wei Guo and Jaemoo Choi and Petr Molodyk and Bo Yuan and Molei Tao and Yongxin Chen},
  title = {{Enhancing Reasoning for Diffusion LLMs via Distribution Matching Policy Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=09CSjVeDug},
}
Figure