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

Zhongxing Xu, Zhonghua Wang, Zhe Qian, Shiyan Su, Ming Hu, Xiaocheng Zou, Wei Feng, Mingquan Lin, Yuyin Zhou, Yifan Peng, Hamid Rezatofighi, Zongyuan GeNeurIPS 2026

TL;DR

Multimodal diffusion language models generate text by gradually unmasking a whole sequence of words in parallel, rather than writing left-to-right. Along the way, these models occasionally suffer sudden bursts of internal uncertainty—entropy spikes—which turn out to be ground zero for hallucinations. This paper introduces StepRefine, a training-free decoding trick that catches these spikes in real time, hits pause on locking in specific words, and lets the model "mull over" fuzzy, continuous word embeddings until its predictions stabilize—slashing hallucinations without requiring a single extra forward pass overall.

What Problem Does This Paper Address?

Most language models write like a typewriter: one word at a time, left to right. Multimodal diffusion language models (MDLMs) work more like developing a Polaroid photo. Given an image and a prompt, they start with a sequence of blank [MASK] tokens and iteratively guess all missing words in parallel. At each step, they lock in ("commit") a few of their most confident guesses and re-mask the rest for the next round.

Because MDLMs look at the whole sentence and image bidirectionally at once, they are great at global reasoning. Yet, they still hallucinate—inventing objects or details that aren't in the image. Existing fixes either re-mask shaky tokens or use continuous representations uniformly across every step, ignoring when during the generation process the model actually gets confused. As the sequence fills in, the model’s average uncertainty (entropy) naturally trends downward. However, the authors discovered that this drop isn't smooth: at a few isolated steps, uncertainty suddenly shoots up. Committing to hard, discrete words during these entropy spikes throws away valuable probability information right when the model is least sure, locking in errors that snowball into hallucinations.

Methods

StepRefine is a plug-and-play, training-free decoding strategy that dynamically switches between standard discrete unmasking and continuous "latent refinement."

  1. Entropy Spike Detection: At each denoising step, StepRefine calculates the average Shannon entropy across all remaining [MASK] positions. It compares the step-to-step change in entropy against a sliding window of the previous $w$ steps (e.g., $w = 16$). If the entropy jumps above the local mean plus one standard deviation ($\mu_t + \sigma_t$), an alarm goes off: this is an entropy spike.
  2. Step-Aware Mode Switch (Latent Refinement): On normal steps, the model commits tokens as usual. On a spike step, instead of collapsing a probability distribution into a single word, StepRefine builds a soft embedding—a probability-weighted average of all candidate token embeddings. It feeds these fuzzy, multi-hypothesis embeddings back into the [MASK] slots for another forward pass, letting competing ideas interact with the visual and textual context.
  3. Adaptive Termination & Budget Compensation: A controller measures the Kullback-Leibler (KL) divergence between consecutive passes. Once the distribution stops shifting (falls below a threshold $\epsilon = 0.01$), the loop exits and commits discrete tokens. Crucially, if the model spends $k$ extra passes thinking during a spike, it skips $k$ step indices on the schedule, keeping the total number of forward passes strictly fixed.

Datasets

Because StepRefine requires no training, all datasets are used strictly for evaluation (no new benchmarks are introduced):

  • General Reasoning & Understanding: VStar, MMVP, MMEval-Pro, VMCBench, and RealWorldQA.
  • Hallucination Assessment: MMHalu, Bingo, and POPE-R.
  • Mathematical & Scientific Reasoning: MathVision, MathVista, and the Physics and Chemistry subsets of MMK12.

Key Insights and Ideas

  • Hallucinations cluster inside spikes: Even though entropy spikes are rare, roughly 80% of all hallucinated tokens are committed during spike steps.
  • Early-to-middle danger zone: Spikes aren't spread evenly; 62% to 71% of them happen in the first half of the denoising process, when most of the text is still [MASK]ed and context is scarce.
  • Confidence is an illusion during spikes: Normally, picking which tokens to lock in at random (instead of picking the highest-confidence ones) tanks accuracy. Remarkably, doing random selection only during entropy spikes barely changes performance at all! During a spike, the model's confidence scores essentially lose their discriminative power.
Figure 2: Entropy spikes characterization across decoding steps. (a) Token-level scatter of stepwise entropy change on LLaDA-V (top) and Dream-VL (bottom). Roughly 80% of hallucinated tokens fall in the area above µ + σ. (b) Distribution of entropy spikes across denoising steps on LLaDA-V (top) and Dream-VL (bottom). On both models, entropy spikes mostly occur in the early-to-middle decoding stage, when few tokens have been committed and the available context is still limited. (c) Effect of random remasking on performance using LLaDA-V. Top: replacing low-confidence remasking with random remasking at 10% of randomly selected steps causes a substantial drop on three datasets. Bottom: applying the same random remasking only at entropy spike steps yields negligible change. At entropy spike steps, confidence signals may become less discriminative, making discrete commitment decisions less reliably grounded in the current contextual information.

Key Results

Tested across four MDLM backbones (LLaDA-V-8B, LLaDA-O-8B, Dream-VL-7B, and LaViDa-L-8B), StepRefine improves every single model by an average of +2.3% to +2.8% across all benchmarks, outperforming training-free baselines like CoTA, ReMix, and WINO.

  • On LLaDA-V-8B, it boosts general reasoning accuracy by +2.8% on average (e.g., +4.6% on MMVP) and improves hallucination scores by +2.5% on MMHalu and +4.4% on Bingo.
  • Free lunch with accelerators: Because StepRefine operates on input embeddings and compensates its step budget, it plugs cleanly into dLLM caching accelerators (Fast-dLLM, dLLM-Cache, dKV-Cache). Combined with Fast-dLLM, it preserves an 8.47× speedup (23.39 tokens/s on VStar) while recovering—and beating—unaccelerated baseline accuracy (jumping from 52.4% to 56.5%).

Limitations and Future Work

Not discussed in the paper. (While the authors omit an explicit limitations section in the main text, their ablations show that spike detection relies on choosing a moderate calibration window size $w$: a window too small triggers on random step-to-step noise, while a window too large blurs distinct denoising stages together.)

Summary updated

Abstract

Recent advancements in multimodal diffusion language models (MDLMs) have exhibited strong global modeling capabilities through iterative refinement. We observe that mask uncertainty follows an overall downward trend during iterative denoising, while a few denoising steps exhibit localized entropy spikes closely associated with hallucinations. We argue that anomalous steps can be identified by measuring the entropy deviation of each denoising step from its neighboring temporal window. We hypothesize that discrete token commitment discards the distributional information at masked positions, limiting the continued interaction between candidate semantics and the context during entropy spikes. With this goal, we present StepRefine, a plug-and-play decoding strategy that leverages semantic context to achieve reliable denoising. The core of our method lies in a step-aware switch between discrete denoising and latent refinement. The model employs probability-weighted embeddings at entropy spike steps to preserve diverse reasoning hypotheses and performs multiple rounds of continuous refinement. Meanwhile, a refinement controller monitors distributional stability to reduce unnecessary loops and switch the model back to standard discrete denoising. Through extensive experiments, StepRefine demonstrates significant hallucination mitigation across different MDLMs on multimodal benchmarks.
BibTeX
@inproceedings{xu2026rethinking,
  author = {Zhongxing Xu and Zhonghua Wang and Zhe Qian and Shiyan Su and Ming Hu and Xiaocheng Zou and Wei Feng and MINGQUAN LIN and Yuyin Zhou and Yifan Peng and Hamid Rezatofighi and Zongyuan Ge},
  title = {{Rethinking in Spikes: Mitigating Hallucinations in MDLMs with Step-Aware Decoding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NS7JAOxOVv},
}
Figure