TL;DR
ConVis (Contrastive Decoding with Hallucination Visualization) is a novel, training-free decoding method designed to eliminate hallucinations in Multimodal Large Language Models (MLLMs). By using a text-to-image generative model to reconstruct an image from the MLLM's own captions, ConVis visually exposes hallucinations and uses contrastive decoding to penalize incorrect tokens. This plug-and-play approach consistently reduces hallucinations across multiple benchmarks without requiring model updates or costly human feedback.
What Problem Does This Paper Address?
While Multimodal Large Language Models (MLLMs) excel at combining visual and textual data, they suffer from a critical flaw: hallucination. MLLMs frequently describe objects, attributes, or actions that simply do not exist in the input image. This lack of reliability is a major bottleneck for deployment in high-stakes domains like autonomous driving or medical diagnostics.
Existing solutions typically rely on expensive workarounds: fine-tuning models on massive instruction-following datasets, collecting human feedback (RLHF), or using costly external APIs (like GPT-4) for post-hoc correction. While decoding-stage interventions exist, they often rely on generic image distortions rather than targeting the specific hallucinated concepts generated by the model.
Methods
ConVis introduces a two-step framework that operates entirely during the decoding phase: Hallucination Visualization and Contrastive Decoding.
- Hallucination Visualization: The MLLM is first prompted to describe the input image ($v$). To capture a wide net of potential hallucinations, ConVis uses Nucleus Sampling to generate $n$ diverse captions. These captions are fed into a fast text-to-image (T2I) diffusion model (specifically, Hyper-SDXL). If the MLLM hallucinated an object—for example, stating a man is holding a "book" instead of a "clock"—the T2I model faithfully renders that hallucination into a reconstructed image ($v'$).
- Contrastive Decoding: During the final response generation, the MLLM processes both the original image ($v$) and the T2I-generated images ($v'$). Because the generated image explicitly contains the hallucinated object, the MLLM's probability distribution (logits) for $v'$ will heavily favor the hallucinated token. By subtracting the logit distribution of the generated image from that of the original image, ConVis effectively penalizes and suppresses the hallucinated tokens.
Datasets
The authors evaluated ConVis across five prominent MLLM benchmarks using LLaVA-1.5, mPLUG-Owl2, and MiniGPT-4 as backbone models:
- CHAIR: Measures sentence-level ($\text{CHAIR}_S$) and object-level ($\text{CHAIR}_I$) hallucination rates on the MSCOCO dataset.
- HallusionBench: Evaluates language hallucination and visual illusion vulnerabilities.
- POPE (Polling-based Object Probing Evaluation): A binary VQA dataset testing object existence across Random, Popular, and Adversarial settings.
- MME: A comprehensive benchmark evaluating both Perception (e.g., existence, counting) and Cognition.
- LLaVA-Bench: Assesses complex reasoning, conversation quality, and detailed descriptions to ensure core language capabilities are preserved.
Key Insights and Ideas
- T2I Models as Hallucination Mirrors: The core "aha" moment is that text-to-image models act as an excellent diagnostic tool for text. If an MLLM hallucinates, the T2I model materializes that error visually, making the discrepancy stark and measurable.
- Logit Amplification for Penalization: When the MLLM looks at the T2I-reconstructed image, its confidence in the hallucinated token spikes. This spike provides the perfect negative anchor for contrastive decoding.
- Diversity via Nucleus Sampling: Relying on a single greedy caption might miss alternative hallucinations. Generating multiple images ($n=4$) from diverse captions ensures broader coverage and makes the system robust against imperfect T2I generations.
Key Results
ConVis achieved state-of-the-art performance in mitigating hallucinations while maintaining or improving general capabilities:
- CHAIR Benchmark: ConVis achieved the lowest hallucination scores across all three backbone models. For instance, on MiniGPT-4, it slashed the $\text{CHAIR}_S$ score from 34.0 (Greedy) to 23.5.
- MME Benchmark: On LLaVA-1.5, ConVis achieved the highest overall score (1793.7), outperforming other decoding methods like OPERA and VCD, particularly in the Perception category.
- Capability Preservation: On LLaVA-Bench, ConVis improved the overall score to 73.3 (compared to Greedy's 67.0), proving that reducing hallucinations actually enhances complex reasoning and detailed description performance.
Limitations and Future Work
The primary limitation of ConVis is its reliance on the initial captioning prompt. In specific Visual Question Answering (VQA) tasks, the MLLM's general caption might hallucinate details completely unrelated to the user's specific question.
As shown in Figure 6(b), if a user asks "Is there a bed in the image?", but the generated caption focuses on fruits and market stalls, the T2I reconstruction won't provide the necessary contrastive signal to answer the question accurately. The authors note that future work will focus on adaptive prompting, tailoring the initial caption generation to align directly with the specific visual queries being asked.
Summary updated