Looking Back and Forth: Cross-Image Attention Calibration and Attentive Preference Learning for Multi-Image Hallucination Mitigation
Xiaochen Yang* · Hao Fang* · Jiawei Kong · Yaoxin Mao · Bin Chen# · Shu-Tao Xia
Although large vision-language models (LVLMs) have demonstrated remarkable capabilities, they are prone to hallucinations in multi-image tasks. We attribute this issue to limitations in existing attention mechanisms and insufficient cross-image modeling.
Inspired by this, we propose a structured hallucination mitigation framework involving Cross-Image Attention calibration and Preference Learning (CAPL). CAPL explicitly enhances inter-image interactions at the architectural level while reinforcing reliance on genuine cross-image evidence during training, thereby improving the model’s perception and modeling of cross-image associations. Specifically, we (i) introduce a selectable image token interaction attention mechanism to establish fine-grained cross-image entity alignment and information flow; (ii) design a cross-image modeling–based preference optimization strategy that contrasts reasoning outcomes under full inter-image interaction and those obtained when images are mutually invisible, encouraging the model to ground its predictions in authentic visual evidence and mitigating erroneous inferences driven by textual priors. Experimental results demonstrate that CAPL consistently improves performance across multiple model architectures, achieving stable gains on both multi-image hallucination and general benchmarks. Notably, performance on single-image visual tasks remains stable or slightly improves, indicating strong generalization capability.
-
We analyze the structural causes of hallucination in multi-image reasoning, identifying imbalanced visual information flow and insufficient cross-image semantic association as key factors that limit multi-image reasoning performance.
-
We propose a novel framework, CAPL, which integrates selective cross-image attention with preference alignment training, enhancing semantic interaction among critical cross-image tokens and reinforcing the model to better perceive and utilize inter-image interactions.
-
Extensive experiments demonstrate that our method generalizes well across multiple recent vision-language models, significantly reducing hallucination and improving reasoning performance on multi-image tasks.
Our CAPL consists of two components:
We remove the unidirectional constraint of normal causal attention to enable bidirectional cross-image interaction, while preserving intra-image causality.
To reduce noise, we select key visual tokens based on feature magnitude and apply selective cross-image attention.
Final attention is a fusion of causal and cross-image attention, with alternating layers for stability.
We further optimize the model using preference learning.
- Positive samples: generated with cross-image attention
- Negative samples: generated using truncated cross-image attention (blocks inter-image interaction)
We apply DPO loss to encourage correct cross-image reasoning and suppress hallucinations, combined with an auxiliary NLL loss for training stability.
We provide modified modeling files for multiple LVLMs (GLM-4.1V, InternVL2.5, and Qwen2.5VL).
- Files without
_truncsuffix implement cross-image attention (proposed method). - Files with
_truncsuffix implement truncated attention (used for negative sample construction in DPO).
These modifications are applied consistently across all supported model architectures.
To use our modified attention mechanism in VLMEvalKit, only a minimal change is required in the model import path.
Edit the file: ./vlmeval/vlm/qwen2_vl/model.py
Replace:
from transformers import AutoProcessor, Qwen2_5_VLForConditionalGenerationwith the cross-image attention version:
from transformers import AutoProcessor
from .modeling_qwen2_5_vl import Qwen2_5_VLForConditionalGenerationor with the truncated attention version:
from transformers import AutoProcessor
from .modeling_qwen2_5_vl_trunc import Qwen2_5_VLForConditionalGenerationThis enables switching between cross-image attention inference and truncated attention (DPO negative sampling) via a single-line change.
-
Training
- GLM / Qwen: LLaMA-Factory
- InternVL: ms-swift
-
Evaluation
- Use VLMEvalKit for all benchmarks
@article{yang2026looking,
title={Looking Back and Forth: Cross-Image Attention Calibration and Attentive Preference Learning for Multi-Image Hallucination Mitigation},
author={Yang, Xiaochen and Fang, Hao and Kong, Jiawei and Mao, Yaoxin and Chen, Bin and Xia, Shu-Tao},
journal={arXiv preprint arXiv:2603.07048},
year={2026}
}
