MLLM can see? Dynamic Correction Decoding for Hallucination Mitigation

Chenxi Wang, Xiang Chen, Ningyu Zhang, Bozhong Tian, Haoming Xu, Shumin Deng, Huajun Chen

TL;DR

Multimodal Large Language Models (MLLMs) frequently hallucinate because their internal language priors override visual evidence in the final layers of the network. This paper introduces DeCo (Dynamic Correction Decoding), a training-free, model-agnostic method that "rescues" visual information from intermediate layers to correct the final output. By dynamically modulating token probabilities, DeCo reduces hallucination rates by over 10% with minimal computational overhead.

The Problem: Are MLLMs Actually "Blind"?

Despite their impressive capabilities, MLLMs like LLaVA or Qwen-VL frequently "hallucinate"—they describe objects that aren't in the image or ignore those that are. This poses a critical barrier for deployment in high-stakes fields like autonomous driving or medical imaging.

The authors set out to answer a fundamental question: Are MLLMs actually "blind" to these objects, or is the visual information being lost during the decoding process?

Empirical analysis showing object probing results and layer-wise accuracy. Accuracy peaks in intermediate layers before dropping in final layers.

Through empirical probing, they discovered a surprising phenomenon: models often correctly identify objects in their intermediate layers. However, this visual signal is suppressed by the time it reaches the final output layer. This suppression is usually due to the "strong-headed" nature of the language model's internal knowledge. For example, if a model sees a "street," its language prior might hallucinate a "car" because the two frequently co-occur in text training data, even if no car is visible in the specific image.

Key Insights: The "Blindness" Myth and Language Priors

The study reveals several critical insights into how MLLMs process visual versus textual information:

  • The "Blindness" Myth: The most striking finding is that MLLMs aren't actually blind. Probing experiments showed that intermediate layers maintain roughly 80% accuracy in recognizing object existence, even when the final output is a hallucination.
  • The "Sweet Spot" Layers: Visual information is most prominent in the middle-to-late layers (e.g., layers 20–28 in a 32-layer model) before the language model's "text inertia" takes over in the final layers (29–32).
  • Language Priors as a Double-Edged Sword: Hallucinations aren't just random errors; they are often "logical" guesses based on text patterns. The model's internal language prior essentially "bullies" the visual signal out of the final prediction.
Token probability analysis across layers. Correct visual tokens peak early, while hallucinated tokens spike in the final layers due to language priors.

Methods: Dynamic Correction Decoding (DeCo)

To counteract this late-stage visual suppression, the researchers propose DeCo (Dynamic Correction Decoding). DeCo is a plug-and-play decoding strategy that requires no additional training or fine-tuning. It operates in three main steps during text generation:

  1. Candidate Token Acquisition: During each step of text generation, the model identifies a set of high-probability "candidate tokens" using standard truncation methods (like top-p sampling).
  2. Dynamic Preceding-Layer Selection: The system looks back at intermediate "anchor" layers (specifically layers 20–28). It identifies which of these layers shows the highest confidence for a specific token, effectively pinpointing where the "visual evidence" is strongest.
  3. Decoding Correction with Soft Modulation: DeCo adjusts the final output logits (the raw scores for each word) by adding a weighted contribution from the chosen anchor layer. To ensure the text remains coherent and doesn't become repetitive or nonsensical, DeCo uses a Dynamic Soft Modulation coefficient that scales the correction based on the maximum probability found in the anchor layer.

Because DeCo is model-agnostic, it can be seamlessly integrated with standard decoding strategies like greedy search, nucleus sampling, or beam search.

Key Results and Performance

The authors evaluated DeCo across several diverse benchmarks, including MSCOCO, CHAIR (Caption Hallucination Assessment with Image Relevance), POPE (Polling-based Object Probing Evaluation), and MME.

  • Hallucination Reduction: DeCo achieved an average hallucination suppression rate of 10.8% across various image captioning datasets.
  • Benchmark Performance: On the POPE benchmark, DeCo improved F1 scores significantly—for instance, delivering a +18.9% jump for MiniGPT-4.
  • Efficiency: Unlike other mitigation methods (such as OPERA, which can slow down inference by up to 5x), DeCo only introduces a 1.2x latency increase, making it highly viable for real-time applications.
  • Mitigating "Snowballing": Hallucinations often cascade—one wrong word leads to a whole wrong sentence. By correcting the very first token in a sequence, DeCo effectively prevents this "snowball effect."

Limitations and Future Work

While DeCo offers a powerful, training-free solution to object hallucinations, the authors note a "No Free Lunch" trade-off: as accuracy increases, there is a slight negative impact on "detailedness." The model becomes more cautious, sometimes providing shorter, more factual descriptions rather than rich, flowery ones.

Furthermore, the study primarily focused on 7-billion-parameter models. Future work will need to verify if these "anchor layer" patterns hold true for much larger models (70B+ parameters). Finally, while DeCo excels at mitigating object hallucinations, extending similar dynamic corrections to other types of errors—such as incorrect attributes (color, size) or spatial relationships—remains an exciting frontier for future research.

Summary updated

BibTeX
@inproceedings{wang2025mllm,
  author = {Chenxi Wang and Xiang Chen and Ningyu Zhang and Bozhong Tian and Haoming Xu and Shumin Deng and Huajun Chen},
  title = {{MLLM can see? Dynamic Correction Decoding for Hallucination Mitigation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=4z3IguA4Zg},
}
Figure