Research
Why LVLMs Are More Prone to Hallucinations in Longer Responses: The Role of Context
Overview Research area: Large Vision-Language Models (LVLMs), specifically the mechanisms behind object-level hallucination in long-form, free-form text generation. Technical level: Intermediate. The
- arXiv
- 2510.20229
- Published
- 2025-10-23
- Authors
- Ge Zheng, Jiaye Qian, Jiajin Tang, Sibei Yang
AI summary
Overview
Research area: Large Vision-Language Models (LVLMs), specifically the mechanisms behind object-level hallucination in long-form, free-form text generation.
Technical level: Intermediate. The paper assumes familiarity with LVLM architectures, autoregressive decoding, attention maps, and contrastive decoding methods such as VCD, ICD, and CODE.
Scope: The paper investigates whether hallucinations in longer LVLM responses are caused by response length itself or by the model's growing reliance on context, then builds a training-free "induce-detect-suppress" framework (HalTrapper) to test that hypothesis through detection and mitigation experiments.
What This Paper Is About
LVLMs are known to hallucinate more often in longer responses, and prior work largely attributed this to accumulated uncertainty from autoregressive generation. This paper asks whether length is the real cause, and proposes instead that the driver is the model's increased dependence on context — both for keeping its output coherent with what it has already written and for making the response feel complete. The authors test this with controlled manipulations of the image and text inputs, then convert the hypothesis into a practical hallucination detection and suppression method.
Key Contributions
-
The paper claims to be the first to look beneath the length-hallucination correlation and identify context as a potential underlying factor, using a three-step analysis: phenomenon discovery, statistical hypothesis testing, and hypothesis application.
-
It introduces a hypothesis built on two dimensions — contextual coherence (avoiding internal repetition while staying consistent) and contextual completeness (covering comprehensive content with a sound linguistic structure) — and validates it statistically, then through hallucination detection and suppression.
-
It reports two novel qualitative insights: hallucinated objects exhibit highly similar image attention patterns to one another, and hallucinated objects recur across different prompts for the same image.
-
It proposes HalTrapper, a zero-shot "induce-detect-suppress" framework combining Internal Grounding (IG) and External Expansion (EE) for detection with Contrastive Contextual Decoding (CCD) for suppression, reporting consistent improvements across all benchmarks evaluated.
Main Findings
-
Length is associated with later hallucinations. Using PoScore, defined as the index of a generated object divided by the total response length, the paper reproduces the observation that hallucinated objects appear more frequently at later positions in a response.
-
Modifying context shifts hallucinations earlier. Cropping the image into centered squares retaining approximately one-third of the original area, or adding two descriptive sentences to the prompt, both cause hallucinations to appear earlier in generation. This challenges the view that hallucinations are inherently a late-stage, length-driven phenomenon.
-
Hallucinated objects have higher mutual attention similarity. Within the same caption, hallucinated object pairs score higher on cosine similarity between their image attention maps than non-hallucinated pairs. Non-hallucinated tokens show focused attention on relevant regions; hallucinated tokens show dispersed, noisy patterns.
-
Completeness drives earlier hallucination. As more image information is progressively added to the prompt, average PoScore decreases, meaning hallucinations occur earlier. The interpretation is that with less left to legitimately describe, the model extrapolates to fabricate content and satisfy completeness.
-
Hallucinations repeat across prompts. Across five prompts per image, hallucinated objects recur heavily; objects appearing in only one response account for merely 30% on average. The repeated objects tend to be tied to the image context.
-
Detection outperforms baselines. On LLaVA v1.5, IG Score reaches 82.3 AUROC, 43.3 TPR@5%FPR, 54.8 F1max, and 86.3 accuracy, versus 70.7 AUROC for the PoScore baseline. EE Score reaches 77.5 AUROC and 46.1 F1max. The paper states IG improves AUROC over the best baseline PoScore by 5%–12% and TPR@5%FPR by at least 10%.
-
Model-dependent variation in detection. MiniGPT-4 shows lower EE Score performance (60.5 AUROC), which the authors attribute to its limited instruction-following ability from training only on the image interface. Qwen VL shows the strongest EE Score (81.3 AUROC, 46.3 F1max) and the highest IG accuracy (84.6).
-
Detected hallucination distribution matches the true distribution. Visualizations show the positional distribution of hallucinations detected by HalTrapper closely aligns with the overall hallucination distribution in captions, which the authors treat as evidence that the method captures something intrinsic rather than length-dependent.
-
Suppression improves CHAIR results. On LLaVA v1.5 7B under greedy decoding, HalTrapper reduces CHAIR_S from 52.2 (Vanilla) to 41.6 and CHAIR_I from 14.6 to 11.9, while precision rises from 73.7 to 78.7 and F1 from 76.9 to 79.4. The paper states the approach consistently improves CHAIR_S by over 10% and CHAIR_I by 2.5% in Table 2. Under nucleus sampling, CHAIR_S drops from 58.6 to 48.6 and CHAIR_I from 18.8 to 14.5. Under beam search, CHAIR_S drops from 55.6 to 45.2 and CHAIR_I from 15.8 to 12.1.
-
Gains extend to other models and to AMBER. On MiniGPT-4 under greedy decoding, CHAIR_S falls from 39.6 to 28.6 and CHAIR_I from 14.7 to 10.7, with precision rising from 76.6 to 83.1. On Qwen VL Chat under greedy decoding, CHAIR_S falls from 43.4 to 38.6. On the AMBER generative task, LLaVA v1.5 7B goes from CHAIR 11.2 / Cover 50.2 / Hal 47.9 / Cog 4.6 to CHAIR 8.0, Hal 36.3, and Cog 3.8 with HalTrapper; Qwen2 VL improves from CHAIR 6.6 / Hal 50.3 / Cog 4.6 to CHAIR 5.6, Hal 46.1, and Cog 3.8; Janus Pro 7B improves from CHAIR 6.3 / Hal 37.5 / Cog 2.0 to CHAIR 5.4, Hal 32.7, and Cog 1.8.
Methodology in Plain English
The authors proceed in three stages. First, they reproduce the known pattern that hallucinations cluster late in a response, using PoScore as a positional measure, and then ask what happens when the inputs change. They crop the image down to roughly one-third of its area, or they add descriptive sentences to the prompt, and observe that hallucinations move earlier. Since length did not change but hallucination position did, they conclude context deserves attention.
Second, they break context into two forces. Coherence means staying consistent with prior output without repeating it, which pulls attention toward known image regions while also pushing it toward new ones; the paper measures this with cosine similarity between image attention maps of object pairs within a caption. Completeness means producing a full, well-structured answer; when genuine content runs out, the model extrapolates, and the authors measure this by progressively enriching prompts and tracking when hallucinations appear, and by checking whether the same hallucinated objects recur across five prompts per image.
Third, they turn the hypothesis into a system. Internal Grounding appends the phrase "There is also" to the model's own output to deliberately induce a hallucination-prone reference object, then flags earlier objects whose image attention maps are highly similar to the induced one. External Expansion prompts the model to imagine content outside the frame, and uses a reason-then-imagine prompt so that genuinely recognized objects are filtered out; objects that keep appearing in imagination but not in reasoning become hallucination candidates. The two candidate sets are merged. For suppression, those detected objects are encoded as text tokens (Contrastive Contextual Tokens) and appended to the image in a contrastive branch, so that the contrastive decoding process penalizes their probability in the main branch, following the contrastive decoding formulation.
Evaluation uses images from COCO and AMBER, with LLaVA v1.5 7B, MiniGPT-4, and Qwen VL Chat as base models, plus Qwen2 VL 7B and Janus Pro 7B on AMBER. Statistical analysis in Sections 3 and 4 uses a randomly sampled set of 500 COCO images. The maximum number of newly generated tokens is 512, with alpha = 1.0 and beta = 0.1. Detection is measured with AUROC, TPR@5%FPR, F1max, and accuracy; suppression is measured with CHAIR_S, CHAIR_I, precision, recall, F1, and average caption length, plus AMBER's CHAIR, Cover, Hal, and Cog.
Why This Matters
Impact on research: The paper reframes long-form LVLM hallucination from a length-accumulation problem into a context-dependency problem, and offers a mechanism-level hypothesis with measurable signatures (attention similarity, cross-prompt repetition). It also connects hallucination theory to a working detection signal, giving researchers a new lens and a set of diagnostic metrics rather than only a mitigation recipe. Its findings on attention patterns and repeated hallucinations provide concrete phenomena for mechanistic interpretability work to examine.
Real-world applications (described as plausible implications, since the paper does not enumerate deployed use cases):
- Assistive image description for blind and low-vision users, where fabricated objects late in a long caption are especially damaging.
- Medical or scientific image reporting, where long structured descriptions must stay grounded in what is actually visible.
- Product catalog and e-commerce captioning, where hallucinated attributes or objects misrepresent inventory.
- Content moderation and dataset annotation pipelines, where automated image descriptions feed downstream systems.
Industry relevance: The method is training-free and zero-shot, requiring no fine-tuning and no additional curated data. That makes it attractive for teams deploying existing LVLMs who want to reduce object hallucinations at inference time, and the detection scores can be used as a risk flag rather than only as a correction mechanism. Because it operates during decoding, it can be layered on top of existing decoding strategies such as greedy, nucleus, or beam search.
Future Directions
- Extending the framework beyond images to video and other modalities, since the paper's detection relies on image attention maps and imagination prompts tied to visual input, and only COCO and AMBER images are used here.
- Clarifying the failures the paper acknowledges, particularly the weaker External Expansion performance on MiniGPT-4, where limited instruction-following is offered as the explanation.
- Investigating the false-positive risk inherent in imagination-based detection, which the authors address with a reason-then-imagine prompt but which remains a design dependency.
- Further mechanistic study of why hallucinated objects share similar attention distributions and recur across prompts, since the paper presents these as observations rather than fully explained causes.
- Scaling the evaluation beyond the reported benchmarks and models, including the POPE and GPT-4o experiments referenced for the appendix and the ablation study in Appendix D.1, to establish how broadly the claims hold.
Target Audience
Researchers and practitioners working on LVLM hallucination, multimodal captioning, and inference-time decoding strategies. It will be most useful to readers who already understand attention maps and contrastive decoding, and who want both a conceptual explanation of long-form hallucination and a drop-in detection and suppression method. Those looking for a fully rigorous causal proof will find the paper's framing explicitly preliminary and hypothesis-driven rather than definitive.
Authors’ abstract
Large Vision-Language Models (LVLMs) have made significant progress in recent years but are also prone to hallucination issues. They exhibit more hallucinations in longer, free-form responses, often attributed to accumulated uncertainties. In this paper, we ask: Does increased hallucination result solely from length-induced errors, or is there a deeper underlying mechanism? After a series of preliminary experiments and findings, we suggest that the risk of hallucinations is not caused by length itself but by the increased reliance on context for coherence and completeness in longer responses. Building on these insights, we propose a novel "induce-detect-suppress" framework that actively induces hallucinations through deliberately designed contexts, leverages induced instances for early detection of high-risk cases, and ultimately suppresses potential object-level hallucinations during actual decoding. Our approach achieves consistent, significant improvements across all benchmarks, demonstrating its efficacy. The strong detection and improved hallucination mitigation not only validate our framework but, more importantly, re-validate our hypothesis on context. Rather than solely pursuing performance gains, this study aims to provide new insights and serves as a first step toward a deeper exploration of hallucinations in LVLMs' longer responses.