HaloProbe: Bayesian Detection and Mitigation of Object Hallucinations in Vision-Language Models
Organizations: Multimodal AI Lab, Technical University of Darmstadt, Darmstadt, Germany · Department of Computer Engineering, Sharif University of Technology, Tehran, Iran
Abstract
Large vision-language models can produce object hallucinations in image descriptions, highlighting the need for effective detection and mitigation strategies. Prior work commonly relies on the model's attention weights on visual tokens as a detection signal. We reveal that coarse-grained attention-based analysis is unreliable due to hidden confounders, specifically token position and object repetition in a description. This leads to Simpson's paradox: the attention trends reverse or disappear when statistics are aggregated. Based on this observation, we introduce HaloProbe, a Bayesian framework that factorizes external description statistics and internal decoding signals to estimate token-level hallucination probabilities. HaloProbe uses balanced training to isolate internal evidence and combines it with a learned prior over external features to recover the true posterior. While intervention-based mitigation methods often degrade utility or fluency by modifying models' internals, we use HaloProbe as an external scoring signal for non-invasive mitigation. Our experiments show that HaloProbe-guided decoding reduces hallucinations more effectively than state-of-the-art intervention-based methods while preserving utility.
Figures & tables
| Method | Acc. | AUROC | Precision | Recall | F1 |
|---|---|---|---|---|---|
| IC | 62.56 | – | 61.93 | 81.60 | 70.42 |
| UT | 50.57 | – | 53.60 | 70.62 | 60.95 |
| EAZY | 78.77 | – | 78.41 | 83.38 | 80.82 |
| DIML | 84.46 | 90.19 | – | 72.34 | – |
| HaloProbe | 90.00 | 93.50 | 92.50 | 95.80 | 94.10 |
| Decoding | Method | LLaVA-1.5 | Shikra | MiniGPT-4 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Nucleus | Baseline | 53.0 | 15.2 | 74.2 | 54.4 | 16.0 | 72.3 | 30.4 | 10.4 | 68.7 |
| PAI ( Liu et al., 2024c ) * | 42.0 | 13.1 | 72.0 | 50.0 | 14.6 | 73.6 | 28.6 | 9.7 | 67.2 | |
| HaloProbe + Post-process | 15.6 | 4.2 | 75.4 | 13.2 | 4.3 | 72.5 | 10.8 | 3.7 | 68.8 | |
| Greedy | Baseline | 51.6 | 15.2 | 75.1 | 53.0 | 15.9 | 72.4 | 30.6 | 9.8 | 69.4 |
| EAZY ( Che et al., 2025 ) | 38.8 | 11.4 | - | 26.6 | 8.9 | - | - | - | - | |
| Decoding | Method | |||
|---|---|---|---|---|
| Nucleus | Baseline | 25.2 | 8.4 | 74.4 |
| HaloProbe + Post-process | 14.4 | 4.7 | 74.5 | |
| Greedy | Baseline | 24.8 | 8.0 | 74.6 |
| HaloProbe + Post-process | 12.2 | 4.3 | 74.6 | |
| Beam | Baseline | 25.8 | 7.9 | 74.9 |
| HaloProbe + Beam | 15.6 | 4.9 | 75.2 |
| Decoding | Method | |||
|---|---|---|---|---|
| Nucleus | Baseline | 33.8 | 9.6 | 73.8 |
| HaloProbe + Post-process | 22.2 | 6.7 | 75.1 | |
| Greedy | Baseline | 31.6 | 8.7 | 74.5 |
| HaloProbe + Post-process | 16.6 | 5.1 | 75.7 | |
| Beam | Baseline | 34.6 | 9.5 | 73.7 |
| HaloProbe + Beam | 15.0 | 5.2 | 74.0 |
| Attn. | Logits | Tok. Pos. | Tok. Rep. | Tok. Occ. | Acc. | AUROC |
| ✓ | ✓ | ✓ | ✓ | 84.4 | 82.8 | |
| ✓ | ✓ | ✓ | ✓ | 89.7 | 92.9 | |
| ✓ | ✓ | ✓ | ✓ | 88.2 | 92.0 | |
| ✓ | ✓ | ✓ | ✓ | 88.8 | 92.7 | |
| ✓ | ✓ | ✓ | ✓ | 89.4 | 92.6 | |
| ✓ | ✓ | ✓ | 83.9 | 81.7 |
| Train Balanced | Test Balanced | Accuracy | AUROC |
|---|---|---|---|
| 89.8 | 92.2 | ||
| ✓ | 87.2 | 92.3 | |
| ✓ | 72.5 | 87.6 | |
| ✓ | ✓ | 77.6 | 87.7 |
| Fine-grained | External | Bayesian | Beam | PP – Greedy | PP – Nucleus | Average | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| Attention | Features | Decomposition | ||||||||
| 26.4 | 7.3 | 20.0 | 6.8 | 19.8 | 6.9 | 22.0 | 7.0 | |||
| 29.2 | 8.3 | 37.4 | 10.2 | 41.8 | 12 | 36.1 | 10.1 | |||
| 25.5 | 7.4 | 28.8 | 7.7 | 23.2 | 6.2 | 25.8 | 7.1 | |||
| 25.2 | 7.2 | 17.6 | 5.2 | 15.6 | 4.2 | 19.4 | 5.5 | |||
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Balanced Estimator Network | Dimensionality |
| First occurrence (binary) | 1 |
| Repetition count (clipped ) | 1 |
| Mean of top-20 image attentions (current decoding step, all layers heads) | |
| Mean of top-20 image attentions (next decoding step, all layers heads) | |
| Top-20 image attentions entropy (current decoding step, all layers heads) | |
| Top-20 image attentions entropy (next decoding step, all layers heads) |
| Condition | Len | Vocab | RE-2 | Rep-2 | Dist-2 | Span |
|---|---|---|---|---|---|---|
| No Intervention | 91.48 | 53.76 | 0.094 | 0.165 | 0.906 | 3.23 |
| Attention Intervention | 96.18 | 49.48 | 0.154 | 0.260 | 0.846 | 6.98 |
| Model | Accuracy | AUROC | Precision | Recall | F1 |
|---|---|---|---|---|---|
| LLaVA-1.5 | 90.0 | 93.5 | 92.5 | 95.8 | 94.1 |
| Shikra | 90.2 | 91.8 | 92.9 | 96.0 | 94.4 |
| MiniGPT-4 | 91.0 | 93.6 | 93.7 | 96.1 | 95.0 |
| Task | Method | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|
| Relation | Baseline | 67.4 | 83.2 | 55.2 | 66.3 |
| HaloProbe | 81.2 | 88.6 | 80.2 | 84.2 | |
| Attribute | Baseline | 75.1 | 76.0 | 81.1 | 78.5 |
| HaloProbe | 88.1 | 87.6 | 88.8 | 88.2 |
| Dataset | Method | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|
| COCO | Baseline | 86.8 | 94.0 | 78.7 | 85.7 |
| HaloProbe | 90.7 | 93.0 | 88.1 | 90.5 | |
| GQA | Baseline | 84.8 | 84.6 | 85.7 | 85.1 |
| HaloProbe | 89.0 | 88.1 | 90.3 | 89.2 | |
| AOKVQA | Baseline | 86.2 | 85.7 | 87.8 | 86.6 |
| HaloProbe | 90.2 | 88.9 | 92.2 | 90.5 |
Hallucination Detection in VLMs
Hallucination detection in vision-language models identifies claims that are unsupported by images, video, or other visual evidence.
See all 72 papers