Rust in Everything
← Papers

Rethinking in Spikes: Mitigating Hallucinations in MDLMs with Step-Aware Decoding

Zhongxing Xu, Zhonghua Wang, Zhe Qian, Shiyan Su, Ming Hu, Xiaocheng Zou et al.

2026-11-16▲ 36arXiv 2611.12901v1Hugging FaceCode

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

StepRefine is a training-free decoding strategy for multimodal diffusion language models that detects entropy-spike denoising steps via local trend deviation and switches those steps from discrete token commitment to iterative probability-weighted embedding refinement.

Problem

Multimodal diffusion language models denoise by committing token predictions in parallel, and they remain susceptible to hallucination. Existing inference-time methods target efficiency (cache reuse, scheduling) or modify commitment policies uniformly across steps, without accounting for temporal irregularities in the denoising trajectory. The paper observes that average mask entropy trends downward but a few steps show sharp local entropy rises, which are closely associated with hallucinated tokens.

Method

Mean mask entropy is computed at each step as the expected Shannon entropy of the predicted distributions over masked positions. A step is flagged as an entropy spike when its stepwise entropy change exceeds mu_t + sigma_t, where the statistics come from the w preceding entropy changes. At non-spike steps the model follows standard discrete decoding; at spike steps it runs iterative refinement, replacing the [MASK] embedding with a probability-weighted embedding of the previous distribution and re-running the forward pass. A refinement controller terminates the loop when the average KL divergence between consecutive predictive distributions falls below a stability threshold epsilon. The extra refinement passes are charged against the total denoising budget, so the next step begins at t-1-k and the total number of forward passes stays the same.

Results

  • On LLaDA-V-8B, StepRefine improves average general reasoning accuracy over the baseline and also improves hallucination benchmark scores. §4.2
  • Positive gains appear across all four MDLM backbones, with average improvements in a narrow range. §4.2
  • Roughly 80% of hallucinated tokens fall in the area above the mu+sigma bound of stepwise entropy change. §2
  • Replacing low-confidence remasking with random remasking at 10% of randomly selected steps causes a substantial drop on three datasets, whereas applying the same perturbation only at entropy spike steps yields negligible change. §2
  • Combined with three acceleration methods, StepRefine largely maintains their speedups while improving performance. §4.2
  • StepRefine improves MMHalu over the baseline under three remasking strategies and across six generation-length and step-budget configurations. §4.3

Limitations

  • Appendix C.3 shows a case where intra-step refinement fails to recover the correct answer in particularly challenging scenarios (stated by the paper).
  • Main tables report single scores without error bars or variance across runs, leaving the significance of small gains (for example +0.2 on MathVista for LaViDA-L-8B) open in the experiments.
  • Spike detection depends on the calibration window w and the stability threshold epsilon (set to 0.01); the paper reports oscillating accuracy for larger windows and does not characterize behavior outside the tested settings (left open).
  • Evaluation is limited to four 7B-8B open MDLM backbones; generalization to other model scales or architectures is not tested (left open by the experiments).

Key points

  • Mean mask entropy is the expected Shannon entropy over masked positions at each denoising step. §3.1
  • A step is an entropy spike when its entropy change exceeds mu_t + sigma_t computed over the w preceding changes. §3.1
  • At spike steps, a probability-weighted embedding of the previous distribution replaces the [MASK] embedding for the next forward pass. §3.2
  • Refinement stops when the average KL divergence between consecutive predictive distributions is below epsilon. §3.2
  • Refinement passes are counted against the total denoising budget so the total number of forward passes remains the same. §3.2
  • Entropy spikes mostly occur in the early-to-middle decoding stage, when few tokens have been committed and context is limited. §2
  • The adaptive trigger outperforms three fixed schedules that insert refinement at uniformly spaced denoising steps. §4.3
  • Accuracy improves as the calibration window grows up to a moderate size (w=16 in the experiments) and then oscillates. §4.3

Mind map

StepRefine
Observation
Entropy spikes break the downward trend
Spikes correlate with hallucinated tokens
Spikes concentrate in early-to-middle steps
Random remasking at spikes changes little
Method
Spike detection by local trend deviation
Probability-weighted embedding refinement
KL-based adaptive termination
Budget compensation keeps forward passes fixed
Experiments
Four MDLM backbones, four benchmark categories
Gains on reasoning and hallucination benchmarks
Orthogonal to cache and sparse-attention accelerators
Robust across remasking strategies and budgets
Ablations
Calibration window size
Adaptive trigger versus fixed schedules
Adaptive versus fixed refinement rounds
Step budgets and block lengths
Limitations
Challenging cases not recovered by refinement
No error bars in main tables
Sensitivity to window and threshold not bounded