TL;DR
Decoding by Perturbation (DeP) is a training-free inference framework that mitigates hallucinations in Multimodal Large Language Models (MLLMs) by exploiting the model's sensitivity to text phrasing. By dynamically applying subtle, semantics-preserving textual perturbations during decoding, DeP isolates language-prior biases from stable visual evidence to calibrate both the hidden states and output logits. This non-intrusive approach achieves state-of-the-art hallucination mitigation across standard benchmarks without altering the input image or compromising generative fluency.
What Problem Does This Paper Address?
Multimodal Large Language Models (MLLMs) frequently suffer from "hallucinations"—generating descriptions of objects, attributes, or relationships that do not actually exist in the input image. This typically happens because the underlying language model's strong autoregressive priors overpower the visual features, causing the generation trajectory to succumb to statistical text co-occurrences rather than grounding itself in visual facts.
Existing training-free mitigation strategies generally follow two flawed paths:
- Visual degradation: Corrupting or blurring the input image to create contrastive views, which fundamentally alters raw image characteristics and pushes the model away from natural image distributions.
- Intrusive internal interventions: Directly modifying attention weights or pruning internal parameters, which lacks a robust decoupling mechanism and often compromises the model's inherent generative fluency.
The authors introduce a novel perspective: multimodal hallucination manifests as a hypersensitivity of visual grounding to surface-level textual phrasing during the decoding phase. As shown in Figure 1, minor variations in a prompt's structure (while preserving core semantics) can cause a severe drift in the model's visual attention maps, triggering drastically different hallucinated outputs.
Methods
To address this, the authors propose Decoding by Perturbation (DeP), a training-free decoding calibration framework that operates via a closed loop of detection and correction across three synergistic modules:
- Dynamic Text Perturbation Probe: At each decoding step, DeP quantifies the model's current prediction uncertainty using an "Effective Sample Size" metric derived from the logit distribution. If uncertainty is high, it dynamically applies a set of semantics-preserving perturbed prompts (e.g., visual attribute weakening or co-occurrence adversarial interventions) to trigger latent language priors. A DINO object detector is used as a visual exclusion constraint to ensure the perturbed words do not accidentally exist in the image.
- Visual Evidence Decoupling and Enhancement: By statistically analyzing the first moment (mean) and second central moment (variance) of cross-modal attention maps across these text perturbations, DeP explicitly decouples the image into evidence regions (stable attention) and suspicious regions (attention that drifts with text changes). It applies a selective Gaussian blur to these regions on the fly and uses contrastive fusion in the hidden state space to amplify stable visual facts while suppressing noise.
- Language Prior Drift Correction: To counteract purely linguistic biases that cannot be mapped to specific image regions, DeP models the distributional difference between the original and perturbed logits as a "prior drift direction." This drift is subtracted as a penalty term from the final output space, neutralizing probability biases born from textual co-occurrences.
Datasets
The framework was evaluated using two standard benchmarks representing different cognitive granularities:
- POPE (Object Presence Evaluation): A discriminative benchmark that tests the model's ability to verify the existence of objects via yes/no questions. It includes three settings—Random, Popular, and Adversarial—comprising 9,000 images and 27,000 questions in total.
- MMHal-Bench: A generative reasoning benchmark containing 96 curated image-question pairs across 8 diverse categories (e.g., attribute and spatial reasoning). It requires detailed sentence-level descriptions and uses GPT-4 as a judge to score responses and calculate hallucination rates.
Key Insights and Ideas
- Hallucination as Alignment Instability: Instead of treating hallucination as a purely visual encoder defect or an LLM capacity issue, the paper frames it as an alignment instability. If changing "Which color are the glasses..." to "Which color glasses man wearing?" drastically shifts the model's attention from the glasses to a red hoodie, the model is clearly relying on text priors rather than visual grounding.
- Dual-Space Calibration: DeP uniquely tackles the problem in both the hidden state space (by enhancing visual features of stable regions) and the output logit space (by penalizing purely linguistic drift), providing a comprehensive defense against prior-driven errors.
- Preserving Modality Integrity: Unlike visual corruption methods, DeP leaves the natural image distribution untouched. Unlike weight-tuning or hard attention steering, it maintains the linguistic fluency of the LLM by introducing a non-intrusive textual perturbation probe.
Key Results
DeP was integrated into LLaVA-1.5 and InstructBLIP, significantly outperforming state-of-the-art training-free baselines (like VCD, CICD, ClearSight, VTI, and Nullu):
- POPE Benchmark: In the challenging Adversarial setting, DeP boosted InstructBLIP's F1 score from 70.4% to 78.7% (an 8.3% absolute improvement) and LLaVA-1.5's F1 score from 76.2% to 80.3%. It specifically corrected the model's biased tendency to blindly answer "Yes" by substantially improving precision while maintaining a reasonable recall rate.
- MMHal-Bench: For LLaVA-1.5, DeP slashed the hallucination rate from 59.4% down to 49.0% while raising the comprehensive generation quality score from 2.54 to 2.83. For InstructBLIP, it dropped the massive 93.8% baseline hallucination rate to 83.3% and doubled its quality score.
Limitations and Future Work
The authors acknowledge two primary limitations:
- Prompt Specificity Dependence: DeP relies on having semantic anchors in the prompt to perturb. For highly generic, open-ended queries like "Describe the image in detail," the prompt lacks distinct anchors, making it difficult to elicit meaningful attention variance without fundamentally altering the task instruction.
- Introduction of Unforeseen Biases: While a visual mutual exclusion constraint is used, the act of textual perturbation can still inadvertently introduce new, unforeseen conditional biases into the hidden states rather than perfectly isolating existing language priors.
Future research directions include exploring more fine-grained, adaptive perturbation strategies or continuous latent-space probes to minimize these side effects.
Summary updated