Learn "No" to Say "Yes" Better: Improving Vision-Language Models via Negations

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Singh, Jaisidh, Shrivastava, Ishaan, Vatsa, Mayank, Singh, Richa, Bharati, Aparna
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913731567419392
author Singh, Jaisidh
Shrivastava, Ishaan
Vatsa, Mayank
Singh, Richa
Bharati, Aparna
author_facet Singh, Jaisidh
Shrivastava, Ishaan
Vatsa, Mayank
Singh, Richa
Bharati, Aparna
contents Existing vision-language models (VLMs) treat text descriptions as a unit, confusing individual concepts in a prompt and impairing visual semantic matching and reasoning. An important aspect of reasoning in logic and language is negations. This paper highlights the limitations of popular VLMs such as CLIP, at understanding the implications of negations, i.e., the effect of the word "not" in a given prompt. To enable evaluation of VLMs on fluent prompts with negations, we present CC-Neg, a dataset containing 228,246 images, true captions and their corresponding negated captions. Using CC-Neg along with modifications to the contrastive loss of CLIP, our proposed CoN-CLIP framework, has an improved understanding of negations. This training paradigm improves CoN-CLIP's ability to encode semantics reliably, resulting in 3.85% average gain in top-1 accuracy for zero-shot image classification across 8 datasets. Further, CoN-CLIP outperforms CLIP on challenging compositionality benchmarks such as SugarCREPE by 4.4%, showcasing emergent compositional understanding of objects, relations, and attributes in text. Overall, our work addresses a crucial limitation of VLMs by introducing a dataset and framework that strengthens semantic associations between images and text, demonstrating improved large-scale foundation models with significantly reduced computational cost, promoting efficiency and accessibility.
format Preprint
id arxiv_https___arxiv_org_abs_2403_20312
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Learn "No" to Say "Yes" Better: Improving Vision-Language Models via Negations
Singh, Jaisidh
Shrivastava, Ishaan
Vatsa, Mayank
Singh, Richa
Bharati, Aparna
Computer Vision and Pattern Recognition
Existing vision-language models (VLMs) treat text descriptions as a unit, confusing individual concepts in a prompt and impairing visual semantic matching and reasoning. An important aspect of reasoning in logic and language is negations. This paper highlights the limitations of popular VLMs such as CLIP, at understanding the implications of negations, i.e., the effect of the word "not" in a given prompt. To enable evaluation of VLMs on fluent prompts with negations, we present CC-Neg, a dataset containing 228,246 images, true captions and their corresponding negated captions. Using CC-Neg along with modifications to the contrastive loss of CLIP, our proposed CoN-CLIP framework, has an improved understanding of negations. This training paradigm improves CoN-CLIP's ability to encode semantics reliably, resulting in 3.85% average gain in top-1 accuracy for zero-shot image classification across 8 datasets. Further, CoN-CLIP outperforms CLIP on challenging compositionality benchmarks such as SugarCREPE by 4.4%, showcasing emergent compositional understanding of objects, relations, and attributes in text. Overall, our work addresses a crucial limitation of VLMs by introducing a dataset and framework that strengthens semantic associations between images and text, demonstrating improved large-scale foundation models with significantly reduced computational cost, promoting efficiency and accessibility.
title Learn "No" to Say "Yes" Better: Improving Vision-Language Models via Negations
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.20312