Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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.

Nick Jiang, Anish Kachinthaya, Suzie Petryk, Yossi Gandelsman• 2024

Related benchmarks

TaskDatasetResultRank
Referring Expression SegmentationRefCOCO+ (val)
cIoU52.4
272
Referring Expression SegmentationRefCOCO (val)
cIoU63.2
261
Hallucination EvaluationPOPE--
217
Referring Expression SegmentationRefCOCOg (val)
cIoU53.2
172
Object Hallucination DetectionMSCOCO
AUROC81.62
46
Object Hallucination DetectionObjects365
AUROC71.46
40
Object Hallucination DetectionPOPE average over three sampling strategies
AUROC63.74
35
Object Hallucination DetectionCLEVR
AUROC56.11
35
Hallucination EvaluationCHAIR MSCOCO 2014
CHAIRs Score43.8
28
Token-level hallucination detectionMS COCO image captioning (test)
Precision83
27
Showing 10 of 11 rows

Other info

Follow for update