Attention-space Contrastive Guidance for Efficient Hallucination Mitigation in LVLMs
Organizations: Seoul National University
Abstract
Hallucinations in large vision--language models (LVLMs) often arise when language priors dominate over visual evidence, leading to object misidentification and visually inconsistent descriptions. We address this problem by framing hallucination mitigation as contrastive guidance that steers generation toward visually grounded and semantically faithful text. We propose Attention-space Contrastive Guidance (ACG), a training-free, single-pass method that operates directly in self-attention layers, where hallucination-inducing cross-modal biases emerge. ACG constructs both image-conditioned and approximate text-only attention paths within a single forward pass, enabling efficient guidance before errors accumulate at the output layer. Because this masking-based surrogate can introduce approximation bias, we further apply a lightweight orthogonal projection that suppresses components aligned with the text-only path, yielding a more visually grounded correction. Experiments on CHAIR and POPE show that ACG improves faithfulness over existing training-free baselines while maintaining caption quality, reducing latency by up to compared to multi-pass contrastive decoding methods.
Figures & tables
| Model | Method | Avg. | Random | Popular | Adversarial | |||||||||
| Acc. | Acc. | Prec. | Rec. | F1 | Acc. | Prec. | Rec. | F1 | Acc. | Prec. | Rec. | F1 | ||
| LLaVA [ 19 ] | Regular | 84.83 | 89.37 | 89.66 | 89.00 | 89.33 | 86.00 | 84.05 | 88.87 | 86.39 | 79.13 | 74.39 | 88.87 | 80.98 |
| VCD [ 14 ] | 85.38 | 88.63 | 91.96 | 84.67 | 88.16 | 85.97 | 86.93 | 84.67 | 85.78 | 81.53 | 79.67 | 84.67 | 82.09 | |
| PAI [ 21 ] | 84.91 | 89.30 | 89.54 | 89.00 | 89.27 | 86.13 | 84.26 | 88.87 | 86.50 | 79.30 | 74.59 | 88.87 | 81.11 | |
| VISTA [ 18 ] | 83.03 | 88.25 | 87.31 | 90.33 | 88.79 | 84.10 | 80.21 | 90.53 | 85.06 | 76.73 | 70.93 | 90.60 | 79.57 | |
| Ours | 86.03 | 88.30 | 95.92 | 80.00 | 87.24 | 86.57 | 92.22 | 79.87 | 85.60 | 83.23 | 85.63 | 79.87 | 82.65 | |
| Model | Method | Max Tokens 128 | Max Tokens 64 | ||||
| CHAIR s | CHAIR i | F1 | CHAIR s | CHAIR i | F1 | ||
| LLaVA [ 19 ] | Regular | 56.2 | 18.3 | 70.6 | 25.2 | 8.3 | 68.5 |
| VCD | 55.0 | 17.0 | 72.5 | 27.2 | 8.8 | 70.0 | |
| PAI | 25.6 | 7.6 | 75.9 | 13.8 | 4.5 | 72.4 | |
| VISTA | 31.0 | 10.5 | 76.6 | 23.6 | 7.6 | 74.3 | |
| Ours | 21 | 4.8 | 74.4 | 16.8 | 4.5 | 72.8 | |
| MMHal ( ) | MMMU ( ) | MathVista ( ) | |||
| Method | MC | Open | Total | ||
| Regular | 1.94 | 37.54 | 3.77 | 35.56 | 22.6 |
| Ours ( =2) | 2.12 | 38.49 | 9.43 | 36.78 | 23.7 |
| Model | Method | CHAIR s | CHAIR i | F1 |
| LLaVA-NeXT 7B | Regular | 31.2 | 8.1 | 72.1 |
| LLaVA-NeXT 7B | Ours | 25.2 | 5.4 | 73.9 |
| LLaVA-NeXT 13B | Regular | 33.8 | 8.3 | 71.5 |
| LLaVA-NeXT 13B | Ours | 31.0 | 5.5 | 74.9 |
| Method | F1 | CHAIR s | CHAIR i | |
| ACG (w/ Ortho) | 2.1 | 77.6 | 34.2 | 7.6 |
| ACG (w/o Ortho) | 1.2 | 77.4 | 38.8 | 9.7 |
| ACG (w/ Ortho) | 2.4 | 74.4 | 21.0 | 4.8 |
| ACG (w/o Ortho) | 1.3 | 74.0 | 30.4 | 8.8 |
| Layer Block | CHAIR i (↓) | F1 (↑) | Len (↓) | |
| All (1–32) | 2.4 | 4.8 | 74.4 | 72.4 |
| Early (1–8) | 2.5 | 7.1 | 77.5 | 77.6 |
| Early (1–8) | 3.0 | 5.3 | 69.8 | 68.0 |
| Early–Mid (9–16) | 6.0 | 11.1 | 74.8 | 79.2 |
| Early–Mid (9–16) | 8.0 | 5.7 | 56.6 | 45.9 |
| Mid–Late (17–24) | 6.0 | 10.7 | 77.4 | 95.6 |
| Method | Level | Passes | Per-image Latency (s) | Per-word Latency (s) | CHAIR i |
| Regular | – | 1-pass | 2.81 (1.00 ) | 0.03 | 18.3 |
| VCD | Logit | 2-pass | 5.54 (1.97 ) | 0.06 | 17.0 |
| PAI | Logit+Attn | 2-pass | 6.42 (2.28 ) | 0.07 | 7.6 |
| VISTA | Latent | 3-pass | 5.55 (1.98 ) | 0.07 | 10.5 |
| ACG-Fast | Attention | 1-pass | 2.96 (1.05 ) | 0.04 | 7.3 |
| ACG-Full | Attention | 1-pass | 3.34 (1.19 ) | 0.05 | 4.8 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| CHAIR s (↓) | CHAIR i (↓) | F1 (↑) | Len | |
| 1.0 | 47.4 | 12.8 | 77.8 | 91.6 |
| 1.3 | 48.6 | 12.9 | 78.1 | 89.4 |
| 1.5 | 44.8 | 11.6 | 78.1 | 88.2 |
| 1.7 | 42.4 | 10.3 | 79.1 | 84.9 |
| 1.9 | 36.4 | 8.6 | 79.3 | 83.5 |
| 2.0 | 33.0 | 8.0 | 79.0 | 82.1 |
| CHAIR s (↓) | CHAIR i (↓) | F1 (↑) | Len | |
| 0.10 | 27.6 | 9.0 | 70.6 | 72.9 |
| 0.15 | 24.4 | 7.9 | 71.0 | 69.4 |
| 0.20 | 21.0 | 6.8 | 70.3 | 63.5 |
| 0.25 | 16.6 | 5.2 | 69.5 | 59.1 |
| 0.30 | 10.8 | 3.3 | 68.0 | 66.3 |
| 0.35 | 6.2 | 2.5 | 63.2 | 73.6 |
| Avg | ATTR | ADV | COMP | COUNT | SPAT | ENV | HOL | OTH | Hallucination Rate | |
| 0 (Vanilla) | 1.94 | 2.25 | 1.42 | 2.67 | 1.50 | 1.92 | 2.92 | 1.75 | 1.08 | 0.59 |
| 1 | 2.06 | 2.25 | 1.33 | 2.17 | 1.33 | 2.75 | 3.25 | 2.08 | 1.33 | 0.56 |
| 1.5 | 2.07 | 2.50 | 1.08 | 1.75 | 1.92 | 2.00 | 3.25 | 2.08 | 2.00 | 0.57 |
| 2 | 2.12 | 2.50 | 1.67 | 1.92 | 1.58 | 2.25 | 3.25 | 2.00 | 1.83 | 0.53 |
| 2.4 | 2.01 | 2.58 | 2.00 | 1.83 | 1.17 | 2.25 | 3.25 | 1.17 | 1.83 | 0.56 |
VLM Hallucination Mitigation
Vision-language model hallucination mitigation keeps generated claims grounded in visual evidence.
See all 228 papers