Interpreting and Editing Vision-Language Representations to Mitigate Hallucinations
About
We investigate the internal representations of vision-language models (VLMs) to address hallucinations, a persistent challenge despite advances in model size and training. We project VLMs' internal image representations to their language vocabulary and observe more confident output probabilities on real objects than hallucinated objects. We additionally use these output probabilities to spatially localize real objects. Building on this approach, we introduce a knowledge erasure algorithm that removes hallucinations by linearly orthogonalizing image features with respect to hallucinated object features. We show that targeted edits to a model's latent representations can reduce hallucinations by up to 25.7% on the COCO2014 dataset while preserving performance. Our findings demonstrate how a deeper understanding of VLMs' latent representations can enhance reliability and enable novel capabilities, such as zero-shot segmentation.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Referring Expression Segmentation | RefCOCO+ (val) | cIoU52.4 | 223 | |
| Referring Expression Segmentation | RefCOCO (val) | cIoU63.2 | 212 | |
| Hallucination Evaluation | POPE | -- | 153 | |
| Referring Expression Segmentation | RefCOCOg (val) | cIoU53.2 | 129 | |
| Hallucination Evaluation | CHAIR MSCOCO 2014 | CHAIRs Score43.8 | 28 | |
| Token-level hallucination detection | MS COCO image captioning (test) | Precision83 | 27 | |
| Object Hallucination Detection | MS-COCO 2014 (val) | Accuracy50.57 | 5 |