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

Reversible Diffusion Decoding for Diffusion Language Models

Xinyun Wang, Min Zhang, Sen Cui, Zhikang Chen, Bo Jiang, Kun Kuang, Mingbao Lin

Abstract: Diffusion language models enable parallel token generation through block-wise decoding, but their irreversible commitments can lead to stagnation, where the reverse diffusion process fails to make further progress under a suboptimal context. We propose Reversible Diffusion Decoding (RDD), a decoding framework that introduces reversibility into block-wise diffusion generation. RDD detects stagnation as a state-dependent failure of the reverse process and enables efficient backtracking to earlier blocks without recomputation via cached model states. To avoid repeated failure trajectories, RDD applies confidence-guided re-masking to selectively reinitialize uncertain tokens while preserving reliable context. This reversible formulation allows decoding to recover from early commitment errors while maintaining the parallel efficiency of diffusion-based generation. Experiments show that RDD improves generation robustness and quality over baselines with minimal computational overhead.

Introduction: The Stagnation Trap

Diffusion Language Models (DLMs) have emerged as a promising alternative to traditional Autoregressive (AR) models. While AR models generate text sequentially—one token at a time—DLMs can generate blocks of tokens in parallel, offering significant potential for acceleration. However, most current DLM acceleration techniques rely on monotonic generation: once a block of text is "committed" during the reverse diffusion process, it is fixed.

This paper identifies a critical flaw in this approach: the Stagnation Trap. In discrete text generation, a decision that appears locally optimal in an early block may prove globally suboptimal or syntactically inconsistent as the sequence progresses. Because standard models cannot "change the past," they become stuck. The reverse diffusion process fails to find high-confidence tokens to fill remaining masks, leading to stagnation where the model produces low-quality or nonsensical output. Reversible Diffusion Decoding (RDD) introduces a much-needed "undo button" to this parallel process, allowing the system to backtrack and revise previous blocks when a trap is detected.

Methodology: Reversible Diffusion Decoding (RDD)

RDD breaks the monotonic constraint of traditional diffusion decoding through four integrated components designed to detect and recover from stagnation without sacrificing parallel efficiency.

  1. Stagnation Detection: The system monitors the confidence levels of predicted tokens. If the remaining masked positions fail to meet a specific confidence threshold, the model flags a state of stagnation.
  2. Rollback Operator: Instead of forcing a low-confidence guess, RDD reverts to a previous block. Crucially, it leverages KV caching of model states to ensure that backtracking does not require recomputing the entire sequence from scratch.
  3. Confidence-Guided Re-masking: To prevent the model from falling back into the same failure trajectory, RDD uses a probability-based formula to selectively re-mask uncertain tokens while preserving the reliable parts of the context.
  4. Adaptive Dual-Scale Scheduling (RDD*): This optimization layer switches between a "Fast-Paced Normal Mode" for standard generation and a "Conservative Recovery Mode" (finer-grained, slower search) when stagnation is detected.
The RDD framework mechanism, showing parallel decoding across blocks with rollback and recovery generation when stagnation is detected.

Experimental Setup

The authors evaluated RDD using two representative DLMs—Dream-Base and LLaDA-Inst—across four benchmarks that require high logical consistency and are thus highly susceptible to stagnation:

  • Reasoning: GSM8K and MATH (mathematical reasoning).
  • Coding: HumanEval and MBPP (Python code generation).

Key Results and Performance Trade-offs

RDD consistently outperformed existing acceleration baselines, such as Fast-dLLM, and often matched or exceeded the quality of non-accelerated "Vanilla" diffusion models.

  • Accuracy Gains: On the MATH benchmark using Dream-Base, RDD achieved an accuracy of 41.06%, effectively recovering performance lost by other acceleration methods that dropped to approximately 39%.
  • Efficiency: On the LLaDA-Inst model for GSM8K, the adaptive RDD variant achieved a 9.2x speedup* over the baseline while maintaining high accuracy.
  • Robustness: RDD significantly reduced the stagnation rate ($r_s$). For instance, it reduced the frequency of the model falling into low-confidence states from 58.57% in Fast-dLLM to 51.47%.
Performance metrics (Accuracy and TPS) across different values of scaling factor f and rollback steps R for RDD*.

As shown in the performance analysis, the framework involves a trade-off between speed (Tokens Per Second, TPS) and accuracy, controlled by hyperparameters like the scaling factor ($f$) and the number of rollback steps ($R$). If $f$ is set too high, the model becomes overly aggressive, leading to a drop in accuracy; if it is too low, the speed benefits of parallelization are diminished.

Conclusion

Reversible Diffusion Decoding demonstrates that reversibility is a vital component for robust parallel decoding in DLMs. By allowing the model to "change its mind" based on global context, RDD overcomes the stagnation trap that plagues monotonic methods. While the current rollback logic is heuristic-based, future work may involve learning-based policies to dynamically decide when and how far to backtrack, further optimizing the balance between generation quality and computational speed.

Summary updated

BibTeX
@misc{wang2026reversible,
  author = {Xinyun Wang and Min Zhang and Sen Cui and Zhikang Chen and Bo Jiang and Kun Kuang and Mingbao Lin},
  title = {{Reversible Diffusion Decoding for Diffusion Language Models}},
  year = {2026},
  eprint = {2602.00150},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.00150},
}
Figure