TL;DR
Researchers have developed HACP, a training-free framework that identifies and suppresses specific "hallucination-prone" attention heads within Large Vision-Language Models (LVLMs). By using a novel spectral metric to distinguish between faithful and hallucinatory internal circuits, HACP reduces object hallucinations while preserving the semantic richness and detail that other mitigation methods often sacrifice.
What Problem Does This Paper Address?
Large Vision-Language Models (LVLMs) like LLaVA or Qwen-VL are impressive, but they suffer from a persistent flaw: object hallucination. They frequently describe objects that simply aren't in the image.
Existing solutions usually fall into two camps: they either retrain the model (expensive) or adjust the output during decoding (blunt). The problem with the latter is the "informativeness trade-off." To stop a model from lying, current methods often make it overly cautious, resulting in short, generic, and boring captions.
The authors argue this happens because we treat the model's layers as monolithic blocks. In reality, different "attention heads" within those layers have different jobs. Some are "truth-tellers" (faithful to the image), while others are "liars" (prone to hallucination). HACP aims to perform surgical intervention at the head level to resolve this functional conflict.
Methods
The HACP (Head-level Attribution and Counteractive Pruning) framework consists of two main innovations:
- InfoSpectralScore: This is a diagnostic tool. The authors found that faithful and hallucinatory heads produce different "spectral signatures" in the token embeddings. By performing eigendecomposition on these embeddings and applying penalties for anisotropy (when data points bunch up in one direction) and sparsity, they can mathematically flag which heads are likely to cause hallucinations.
- Dynamic Counteractive Pruning: Instead of just turning off the "bad" heads (which can break the model), HACP uses a "push-pull" mechanism. During inference, it calculates the mean direction of faithful vs. hallucinatory head outputs. It then reweights the heads: reinforcing the faithful directions and suppressing the hallucinatory ones.
To make this practical, the authors include a Cached Semantic Reconstruction trick. Instead of running the whole model hundreds of times to test each head, they cache the internal states and use a linear approximation to estimate the effect of pruning, shrinking the computation time from hours to seconds.
Datasets
The authors evaluated HACP across several diverse benchmarks to ensure it wasn't just "overfitting" to one type of task:
- MS-COCO: Used with the CHAIR metric (Caption Hallucination Assessment in Image Reformulation) to count how many mentioned objects are actually present.
- POPE: A binary (Yes/No) question-answering benchmark for object existence.
- MME: A comprehensive benchmark for multimodal perception and cognition.
- HallusionBench: A dataset specifically designed to trick models with visual illusions and reasoning traps.
Key Insights and Ideas
- Functional Conflict is Real: The paper confirms that hallucination isn't a global model failure but can be traced to specific internal circuits. Some heads are disproportionately responsible for "spurious" outputs.
- Hallucination-Focused Attribution: One of the most interesting findings is that you find the "liar" heads more effectively if you probe the model with images that already cause it to hallucinate. These "high-risk" inputs expose the problematic circuits more clearly than random images.
- Surgical vs. Blunt Force: Traditional pruning (zeroing out a head) is often too aggressive. The "counteractive" approach—shifting the activation slightly away from the hallucinatory direction—allows the model to stay "talkative" and detailed while becoming more truthful.
Key Results
HACP was tested on LLaVA-1.5 (7B/13B), Shikra-7B, and Qwen2.5-VL.
- State-of-the-Art Mitigation: On the COCO dataset, HACP achieved the lowest or second-lowest hallucination rates (CHAIRi) across all models.
- Preserving Detail: Unlike competing methods like VHR (which significantly shortened captions to avoid errors), HACP maintained caption lengths and F1 scores close to the baseline. For example, on LLaVA-7B, HACP reduced hallucinations significantly while keeping the F1 score at 0.766 (compared to the baseline's 0.673).
- Zero-Shot Generalization: The "faithful" heads identified on one set of images remained faithful on entirely different datasets, proving that these internal roles are stable features of the model's architecture.
Limitations and Future Work
While HACP excels at fixing "object" hallucinations (seeing a cat that isn't there), it shows more modest gains on HallusionBench, which requires high-level logical reasoning and handling visual illusions. This suggests that while head-level pruning fixes perception errors, it might not be enough to fix deep reasoning flaws.
The authors also note that they currently only target attention heads. Future work could extend this "mechanistic attribution" to MLP (Multi-Layer Perceptron) layers, which make up the bulk of a model's parameters and likely harbor their own "hallucinatory circuits."
Summary updated