Reinforcement Learning from Denoising Feedback

Qi He, Huan Chen, Ya Guo, Huijia Zhu, Yi R. Fung, Baojian ZhouarXiv 2026

TL;DR

Reinforcement Learning from Denoising Feedback (RLDF) is a novel training paradigm designed to bring efficient and accurate reinforcement learning to Diffusion Language Models (DLMs). By selectively sampling high-uncertainty denoising steps and optimizing directly toward a clipped clean state, RLDF eliminates the training-inference mismatch that plagues prior methods. This approach unlocks substantial reasoning improvements across math, coding, and planning benchmarks.

What Problem Does This Paper Address?

While standard autoregressive (AR) language models dominate the current AI landscape, Diffusion Language Models (DLMs) are an exciting alternative thanks to their bidirectional attention, arbitrary decoding order, and potential for multi-token parallel generation. However, DLMs currently lag behind AR models in complex reasoning tasks because applying Reinforcement Learning (RL) to them is notoriously difficult.

In AR models, calculating the policy loss is straightforward because it requires only a single forward pass under causal attention. In contrast, DLMs generate text through an iterative full-sequence denoising process, making exact log-likelihood computation computationally crushing or mathematically intractable. Prior attempts either approximate the loss using random masking (which creates a massive training-inference mismatch) or try to compute the loss at every single denoising step (which is prohibitively slow). The authors address this core challenge: how to achieve high-fidelity policy loss estimation in DLMs without incurring impossible computational costs.

Methods

The authors introduce RLDF, a paradigm that optimizes the training process through three key design choices:

  1. Weighted Timestep Sampling: Instead of evaluating all denoising steps (which can number in the hundreds per trajectory), RLDF samples a smart subset. Since token decoding probability correlates almost perfectly with distribution entropy, the framework uses per-step decoding confidence to preferentially sample timesteps with high predictive uncertainty—the moments where the model is most unsure.
  2. Clean State ($x_0$) Estimation: Instead of predicting the immediate next step in the denoising chain ($x_{t-1}$), RLDF forces the model to predict the final clean state ($x_0$) from intermediate noisy states ($x_t$). This exposes the model to a stable, global denoising objective at every step.
  3. Token Clipping & Normalization: To prevent low-confidence, near-zero probability tokens from completely breaking the gradient calculations, RLDF applies token-level clipping (discarding tokens below a 0.2 probability threshold) and token-level loss normalization to stabilize training dynamics.

The authors also open-source Drift, an extensible, modular RL training framework purpose-built for DLMs.

Figure 1: Comparison of training paradigms. Left: RL for autoregressive models without masking. Right: ELBO-based training for diffusion models with random masking. Bottom: Our proposed RLDF, which samples a timestep t and applies sequential masks. Policy loss is estimated based on πθ(x0 | xt). This formulation provides a more precise policy loss estimation while using identical trajectory context and objective.

Datasets

The method was evaluated across multiple reasoning domains using two mainstream DLM backbones (LLaDA-8B-Instruct and Dream-7B-Instruct):

  • Mathematical Reasoning: Trained on the MATH training split; evaluated on MATH500, GSM8K, and AMC23.
  • Code Generation: Trained on the MBPP training split; evaluated on MBPP and HumanEval.
  • Planning Tasks: Evaluated on Countdown and Sudoku puzzles.

Key Insights and Ideas

  • The Power of Uncertain Tokens: Analysis revealed that over 80% of tokens are decoded with very high confidence ($p \ge 0.9$). The remaining low-confidence tokens—often connective words in math or instruction verbs in code—are sparse but exert a massive influence on trajectory diversity and final accuracy. RLDF successfully targets these high-leverage steps.
  • Reactivating Dormant Capabilities: When applied to the Dream model (which was adapted from an autoregressive Qwen base), RLDF converged remarkably fast, requiring only about 100 training steps. The authors hypothesize that RL effectively reactivates latent reasoning capabilities inherited from the AR base that were suppressed during its initial adaptation into a diffusion model.
  • Global vs. Local Objectives: Predicting the final clean state ($x_0$) provides a much richer training signal than step-by-step ($x_{t-1}$) prediction. It prevents the severe "loss spikes" and training instability caused by computing KL divergence over highly limited token sets.

Key Results

  • Dominant Performance: RLDF consistently achieved first- or second-place results against strong baselines like d1, ESPO, TraceRL, and Coupled-GRPO across both LLaDA and Dream architectures.
  • Substantial Accuracy Boosts: RLDF yielded absolute improvements of up to 10.6 accuracy points on MATH500 and 8.2 points on MBPP for the Dream model. For LLaDA, it boosted MATH500 scores by up to 7.6 points.
  • Strong Cross-Dataset Generalization: Models trained on MBPP generalized exceptionally well to HumanEval (e.g., jumping from 53.6 to 61.0 on Dream-7B), proving that the models are acquiring transferable reasoning skills rather than just overfitting to surface patterns.

Limitations and Future Work

  • Conversion Instability: Training on the Dream model exhibited greater instability compared to LLaDA, manifesting as rapidly escalating KL divergence. This required a much higher KL penalty coefficient ($\beta = 0.04$ vs $0.01$), highlighting a potential fundamental discontinuity when converting models from autoregressive to diffusion frameworks.
  • Task-Specific Shortcuts: While RLDF achieved massive gains (34 to 71 points) on planning tasks like Countdown and Sudoku, the authors note these highly structured tasks leave room for models to exploit task-specific regularities rather than reflecting pure, generalizable reasoning ability.

Summary updated

BibTeX
@misc{he2026reinforcement,
  author = {Qi He and Huan Chen and Ya Guo and Huijia Zhu and Yi R. Fung and Baojian Zhou},
  title = {{Reinforcement Learning from Denoising Feedback}},
  year = {2026},
  eprint = {2605.25638},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.25638},
}
Figure