Vision-Language Models Do Not Understand Negation

Kumail Alhamoud, Shaden Alshammari, Yonglong Tian, Guohao Li, Philip H. S. Torr, Yoon Kim, Marzyeh Ghassemi

Introduction

Current Vision-Language Models (VLMs) like CLIP are highly effective at visual association but suffer from a significant "affirmation bias." While they can easily find "a dog," they struggle with exclusion logic. For example, a query for "a room with no chairs" often results in images filled with chairs. This "bag-of-words" shortcut—where models associate visual features with text tokens regardless of logical operators like "not"—poses risks in critical fields such as medical imaging and safety monitoring.

Illustration of the negation problem in image retrieval and multiple-choice tasks.

NegBench and Synthetic Mitigation

To address this, the authors introduce NegBench, a comprehensive benchmark designed to evaluate negation understanding through two primary tasks:

  1. Retrieval-Neg: A coarse-grained task requiring models to match images to queries containing both affirmative and negative statements.
  2. MCQ-Neg: A fine-grained Multiple Choice Question task where models must distinguish between "hard negatives" (e.g., "A dog is visible but not on the floor").

To mitigate the affirmation bias, the researchers developed a massive synthetic data pipeline. Using LLaMA 3.1, they extracted objects from existing captions and proposed contextually relevant "negative" concepts. These absences were verified using an open-vocabulary object detector (OWL-ViT) before generating natural-sounding negated captions for fine-tuning.

The synthetic data generation pipeline using LLMs and object detectors.

Datasets and Training

The study utilizes a diverse range of datasets to ensure robustness, including COCO, VOC2007, MSR-VTT (video), and CheXpert (medical). The core of the training involves CC12M-NegCap and CC12M-NegMCQ, which contain millions of synthetic negated image-text pairs. Models were fine-tuned using a combined objective balancing standard contrastive learning with a specialized Multiple-Choice loss.

Key Insights

  • Affirmation Bias is Pervasive: Most VLMs perform at near-chance levels on negation tasks, treating "a dog" and "no dog" as nearly identical in embedding space.
  • Scaling is Insufficient: Increasing model size or using newer architectures (e.g., SigLIP) does not resolve the bias, suggesting it is a data-driven issue rather than a capacity constraint.
  • Embedding Collapse: PCA analysis shows that standard models collapse affirmative and negated captions into the same region. Some previous fixes (like ConCLIP) inadvertently collapsed all negated captions into a single point, losing object specificity.
  • Data-Centric Solution: Introducing diverse, verified synthetic negations allows models to finally learn the significance of words like "no" and "without."

Results

Fine-tuning on the synthetic data yielded significant improvements:

  • Retrieval: A 10% increase in recall on negated queries.
  • MCQ Accuracy: A 28% boost in accuracy on COCO-based negation questions.
  • Medical Domain: The study highlighted the danger in clinical settings, where specialized models like BioMedCLIP saw performance drops of 15-33% when negation was introduced.

Limitations and Future Work

While synthetic data significantly improves negation handling, a slight trade-off exists: performance on standard, non-negated retrieval can dip slightly. Future research may explore architectural changes to better decouple "concept" from "existence" or refine pipelines for more complex logical structures.

Summary updated

BibTeX
@inproceedings{alhamoud2025vision,
  author = {Kumail Alhamoud and Shaden Alshammari and Yonglong Tian and Guohao Li and Philip H. S. Torr and Yoon Kim and Marzyeh Ghassemi},
  title = {{Vision-Language Models Do Not Understand Negation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02757},
}
Figure