The Hard Positive Truth about Vision-Language Compositionality

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kamath, Amita, Hsieh, Cheng-Yu, Chang, Kai-Wei, Krishna, Ranjay
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913520146186240
author Kamath, Amita
Hsieh, Cheng-Yu
Chang, Kai-Wei
Krishna, Ranjay
author_facet Kamath, Amita
Hsieh, Cheng-Yu
Chang, Kai-Wei
Krishna, Ranjay
contents Several benchmarks have concluded that our best vision-language models (e.g., CLIP) are lacking in compositionality. Given an image, these benchmarks probe a model's ability to identify its associated caption amongst a set of compositional distractors. In response, a surge of recent proposals show improvements by finetuning CLIP with distractors as hard negatives. Our investigations reveal that these improvements have, in fact, been significantly overstated -- because existing benchmarks do not probe whether finetuned vision-language models remain invariant to hard positives. By curating an evaluation dataset with 112,382 hard negatives and hard positives, we uncover that including hard positives decreases CLIP's performance by 12.9%, while humans perform effortlessly at 99%. CLIP finetuned with hard negatives results in an even larger decrease, up to 38.7%. With this finding, we then produce a 1,775,259 image-text training set with both hard negative and hard positive captions. By training with both, we see improvements on existing benchmarks while simultaneously improving performance on hard positives, indicating a more robust improvement in compositionality. Our work suggests the need for future research to rigorously test and improve CLIP's understanding of semantic relationships between related "positive" concepts.
format Preprint
id arxiv_https___arxiv_org_abs_2409_17958
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Hard Positive Truth about Vision-Language Compositionality
Kamath, Amita
Hsieh, Cheng-Yu
Chang, Kai-Wei
Krishna, Ranjay
Computation and Language
Computer Vision and Pattern Recognition
Several benchmarks have concluded that our best vision-language models (e.g., CLIP) are lacking in compositionality. Given an image, these benchmarks probe a model's ability to identify its associated caption amongst a set of compositional distractors. In response, a surge of recent proposals show improvements by finetuning CLIP with distractors as hard negatives. Our investigations reveal that these improvements have, in fact, been significantly overstated -- because existing benchmarks do not probe whether finetuned vision-language models remain invariant to hard positives. By curating an evaluation dataset with 112,382 hard negatives and hard positives, we uncover that including hard positives decreases CLIP's performance by 12.9%, while humans perform effortlessly at 99%. CLIP finetuned with hard negatives results in an even larger decrease, up to 38.7%. With this finding, we then produce a 1,775,259 image-text training set with both hard negative and hard positive captions. By training with both, we see improvements on existing benchmarks while simultaneously improving performance on hard positives, indicating a more robust improvement in compositionality. Our work suggests the need for future research to rigorously test and improve CLIP's understanding of semantic relationships between related "positive" concepts.
title The Hard Positive Truth about Vision-Language Compositionality
topic Computation and Language
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.17958