Escaping Confidence Trap: Evolutionary Decoding for Mathematical Reasoning in Diffusion LLMs

Zhenhong Sun, Hanqing Zhao, Yatao Bian, Rongcheng Tu, Liuyue Xie, Xu Zhang, Jue Wang, Davide Modolo, Daoyi Dong, Dacheng TaoarXiv 2026

TL;DR

Diffusion Large Language Models (dLLMs) often get stuck in "confidence traps" during mathematical reasoning, where high local token confidence leads to globally incorrect answers. This paper introduces Evolutionary Decoding, a training-free, test-time scaling framework that uses step-wise selection and block-wise mutation to guide dLLMs out of these traps, significantly boosting performance on challenging math benchmarks.

What Problem Does This Paper Address?

While autoregressive LLMs currently dominate the field, Diffusion LLMs (dLLMs) are emerging as strong competitors due to their efficient block-wise progressive unmasking capabilities. However, dLLMs notoriously struggle with precision-demanding tasks like mathematics, where correctness depends on preserving exact numerical-symbolic trajectories.

The authors discover that this failure is tied to a systematic diffusion confidence trap: during progressive block decoding, local token confidence often becomes misaligned with global mathematical correctness. They categorize these failures into two distinct regimes:

  1. Sampling-sensitive failures: Correct reasoning paths exist but are unstable and easily suppressed when transitioning from natural language text to mathematical symbols.
  2. Sampling-consistent failures: The model repeatedly falls into a high-confidence, low-value reasoning basin, generating repetitive, incorrect text that independent sampling runs (like standard pass@N) cannot fix.
Figure 1: The diffusion confidence trap in LLaDA 2.0. (a) Eight independent runs reveal two failure regimes: sampling-consistent failures and sampling-sensitive failures. (b) Pass@8 remains bounded at 70.0%, indicating that repeated sampling alone cannot solve all failures. (c) Block- wise statistics show distinct trajectory patterns for successful, sampling-consistent, and sampling- sensitive cases. (d) A representative sampling-consistent failure further illustrates the transition from step-wise unmasking to high-confidence repetition. Gray boxes are 1-step unmasked tokens.

Methods

To break out of these traps without modifying model parameters, the authors propose Evolutionary Decoding (ED). This framework treats the block-wise diffusion process as an evolution of candidate reasoning states using two main operations:

  • Step-wise Selection: Operating within each block during unmasking, this mechanism adjusts which tokens survive. It features a numerical-symbolic enhancement term that uses token entropy to rescue moderately uncertain but reasoning-critical math tokens from being overridden by fluent natural language. It also applies a block repetition penalty to uniformly lower release scores when a block starts mimicking previous text too closely.
  • Block-wise Mutation: To solve sampling-consistent failures, if the model's confidence drops below a specific threshold ($\tau_{mut}$) during early block formation, ED injects structured alternatives. It globally biases the logit distribution toward numerical and symbolic tokens across multiple mutation branches (exploring numbers, symbols, or both). A lightweight Survival Selection rule then retains the candidate that maximizes the original model's confidence, ensuring the trajectory remains grounded.
Figure 2: Overview of Evolutionary Decoding framework for mathematical reasoning in diffusion LLMs. Given dLLM autoregressive block prediction, we intervene in the block diffusion process through step-wise selection and block-wise mutation to help escape the confidence trap.

Datasets

The authors evaluated Evolutionary Decoding across six mathematical reasoning benchmarks of varying difficulty:

  • AIME 2024 / 2025 / 2026: Highly challenging, competition-level math problems requiring multi-step symbolic and numerical derivations.
  • AMC 2023: Shorter but nontrivial contest problems.
  • MATH500: A diverse dataset covering high-school and competition-level algebra, geometry, and counting.
  • GSM8K: Grade-school arithmetic word problems framed in natural language.

Key Insights and Ideas

  • More Samples Aren't Enough: Simply increasing the number of independent generation attempts (e.g., pass@8) fails to resolve systematic errors because the model consistently converges to the same incorrect, high-confidence attractors.
  • The Fluency Bias: In standard dLLM decoding, fluent natural-language scaffolding often overpowers fragile but correct numerical/symbolic tokens because the model prioritizes local fluency over global correctness.
  • Trajectory Length Matters for Mutation: Mutation is highly beneficial for long, complex reasoning chains (like AIME) because it opens up exploration windows. However, for short trajectories (like GSM8K), aggressive mutation can be counterproductive because the model has fewer subsequent blocks available to correct the induced perturbations. This motivates a gated mutation strategy.

Key Results

  • Consistent Accuracy Gains: ED achieved substantial improvements on competition-style benchmarks. For instance, using the LLaDA2.0-mini model, ED boosted accuracy on AIME24 from 53.3% to 60.0%, and on AIME25 from 30.0% to 43.3%.
  • Saturation on Shorter Contests: On AMC 2023, ED elevated both LLaDA2.0-flash and LLaDA2.0-mini to an impressive 95.0% accuracy.
  • Effective Test-Time Scaling: ED acts as a true test-time scaling mechanism, successfully trading a moderate increase in decoding steps (typically a 2–3× increase in generation time) for significantly stronger and more compact reasoning trajectories.

Limitations and Future Work

  • Theoretical Gap: The exact black-box mechanics of why these evolutionary operations generalize so robustly across different datasets and model scales are not yet fully understood analytically.
  • Domain Specificity: The current token detection rules rely on simple regular expressions tailored specifically to mathematics (digits and basic operators). Extending this to code generation or scientific planning will require designing task-adaptive token guidance (e.g., code syntax or logical operators).
  • Advanced Selection: The authors note that incorporating lightweight verifiers or process-level scoring functions into the survival stage could help select candidate trajectories even more accurately.

Summary updated

BibTeX
@misc{sun2026escaping,
  author = {Zhenhong Sun and Hanqing Zhao and Yatao Bian and Rongcheng Tu and Liuyue Xie and Xu Zhang and Jue Wang and Davide Modolo and Daoyi Dong and Dacheng Tao},
  title = {{Escaping Confidence Trap: Evolutionary Decoding for Mathematical Reasoning in Diffusion LLMs}},
  year = {2026},
  eprint = {2608.00605},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.00605},
}
Figure