Do Vision-Language Models Understand Compound Nouns?

Sonal Kumar, Sreyan Ghosh, S Sakshi, Utkarsh Tyagi, Dinesh Manocha
3/30/2024
cs.CVcs.CL

Official code: sonalkum/Compun (5 stars, last commit 2024-05-23).

Abstract

Open-vocabulary vision-language models (VLMs) like CLIP, trained using contrastive loss, have emerged as a promising new paradigm for text-to-image retrieval. However, do VLMs understand compound nouns (CNs) (e.g., lab coat) as well as they understand nouns (e.g., lab)? We curate Compun, a novel benchmark with 400 unique and commonly used CNs, to evaluate the effectiveness of VLMs in interpreting CNs. The Compun benchmark challenges a VLM for text-to-image retrieval where, given a text prompt with a CN, the task is to select the correct image that shows the CN among a pair of distractor images that show the constituent nouns that make up the CN. Next, we perform an in-depth analysis to highlight CLIPs' limited understanding of certain types of CNs. Finally, we present an alternative framework that moves beyond hand-written templates for text prompts widely used by CLIP-like models. We employ a Large Language Model to generate multiple diverse captions that include the CN as an object in the scene described by the caption. Our proposed method improves CN understanding of CLIP by 8.25% on Compun. Code and benchmark are available at: https://github.com/sonalkum/Compun

View on arXivView PDF

Code Implementations(1)

sonalkum/CompunOfficial100%
50Python, Jupyter NotebookMar 30, 20242 years ago

Similar Papers

Cite this paper

@article{kumar2024visionlanguage,
  title  = {Do Vision-Language Models Understand Compound Nouns?},
  author = {Sonal Kumar and Sreyan Ghosh and S Sakshi and Utkarsh Tyagi and Dinesh Manocha},
  year   = {2024},
  eprint = {2404.00419},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00419v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.00419.svg)](https://codeofpaper.com/paper/2404.00419)

Discussion