arXiv(opens in a new tab)cs.CVAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.24966

Targeting the Attention Heads Behind Object Hallucination in LLaVA

Armaan Sandhu, Abhilasha Senapati, Hima Kammachi

Abstract

Vision-language models such as LLaVA-1.5-7B often hallucinate objects absent from the image when generating captions. We ask whether an interpretability diagnosis of this failure can guide a targeted fix, and we measure what that fix actually changes. We rank attention heads by how much their image attention drops around hallucinated object words, then screen the shortlist by ablating candidate heads and measuring the change in hallucination-token log probability, yielding a 32-head set. We restrict two interventions to these heads: a head-sliced LoRA adapter and an inference-time grounding controller. On 400 held-out COCO images, the combined method lowers CHAIRs (the fraction of captions with a hallucinated object) from 0.370 to 0.230 and CHAIRi (the fraction of hallucinated object mentions) from 0.156 to 0.096 (p < 0.001, paired sign-flip tests). Two controls sharpen attribution. A random-head LoRA control, matched layer-for-layer and trained identically, performs no better than the matched baseline on a separate 200-image control split, supporting the role of head selection rather than LoRA capacity. Under fixed decoding budgets, the CHAIR reduction persists and grows with budget (23% at 64 tokens to 58% at 128), arguing against a pure max-token or truncation artifact, although the method remains shorter and more conservative. The resulting behavior reduces unsupported object mentions while also lowering object recall (0.78 to 0.70). We present a diagnosis-to-intervention pipeline for object hallucination, and, more importantly, a controlled account of what acting on the diagnostic signal actually does: it localizes intervention sites with real, non-random leverage, reported as a behavioral profile rather than a single score.

1 Introduction

Vision-language models often produce fluent captions that mention objects not present in the image. This object hallucination failure undermines reliability in any setting where generated descriptions feed downstream decisions (Rohrbach et al., 2018). It also makes a useful test case for interpretability: the behavior can be localized to specific model components, measured against ground-truth annotations, and then used to ask a sharper question than whether an internal signal merely correlates with the failure, namely whether acting on that signal actually changes behavior.

Existing mitigation methods usually intervene either at decoding time or through broad model adaptation. Training-free decoding methods such as VCD (Leng et al., 2024) and SPIN (Sarkar et al., 2025) adjust the output distribution or suppress low-image-attention heads at inference time. Parameter-efficient fine-tuning can shift model behavior with small updates (Hu et al., 2022; Dettmers et al., 2023), but is rarely restricted to components implicated by an object-level diagnosis. We instead use an interpretability diagnosis to decide both where to adapt and when to intervene: the same ablation-screened head set determines a head-restricted LoRA adapter and an inference-time grounding controller.

We study LLaVA-1.5-7B (Liu et al., 2023; 2024a). Our pipeline ranks attention heads by how much their attention to the image drops around hallucinated object words, screens the strongest candidates by ablating them and measuring the change in hallucination-token log probability, and arrives at a 32-head set. We then apply two interventions limited to those heads: a LoRA adapter on the selected heads, and a decoding-time grounding penalty that fires when those heads attend weakly to image tokens.

The combined intervention is conservative: it produces shorter captions with lower object recall. Its CHAIR gains therefore reflect two things at once, genuine hallucination reduction and a general shift toward saying less. We measure both and report the intervention as a behavioral profile rather than a single score.

Our contributions are:

• We introduce a diagnosis-to-intervention pipeline for object hallucination. The pipeline identifies hallucination-linked attention heads, screens them by ablation, and restricts both a LoRA adapter and an inference-time grounding controller to the resulting 32-head set.

• We show that head selection matters beyond LoRA capacity. On a separate 200-image control split, a layer-matched random-head LoRA control trained with the identical recipe performs no better than the matched baseline (CHAIRs 0.400), while the selected-head adapter reduces CHAIRs to 0.100 on the same images.

• We reduce object hallucination on held-out COCO images. On 400 held-out images, the full LoRA + Grounding method reduces CHAIRs from 0.370 to 0.230 and CHAIRi from 0.156 to 0.096, with paired sign-flip tests showing significant reductions (p < 0.001).

• We test robustness to decoding length. With the same token budgets, our method still reduces CHAIRs, with relative gains growing from 23% at 64 tokens to 58% at 128 tokens. This rules out a simple max-token truncation explanation, though the method remains shorter and more conservative.

• We characterize the intervention as a behavioral profile rather than a single score. The method reduces unsupported object mentions but also shortens captions and lowers object recall, so we report hallucination, length, recall, random-head controls, SPIN/VCD comparisons, and sensitivity checks together.