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."
- 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. - 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. - 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.
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