Vision-Language Models Do Not Understand Negation

Kumail Alhamoud, Shaden Alshammari, Yonglong Tian, Guohao Li, Philip Torr, Yoon Kim, Marzyeh Ghassemi · DOI

Abstract

Despite their impressive capabilities, modern Vision-Language Models (VLMs) like CLIP are effectively "blind" to negation, often treating "a dog" and "no dog" as identical. This paper introduces NegBench, a comprehensive benchmark revealing that most VLMs perform near chance level on negation tasks. We demonstrate that a data-centric approach—fine-tuning on 70 million synthetic negated captions—can significantly improve their performance across general, video, and medical domains.

Introduction: The Affirmation Bias

In real-world applications, identifying the absence of a concept is often as critical as identifying its presence. For instance, a radiologist may search for "no evidence of pneumonia," or a safety inspector might look for "construction sites with no barriers."

However, current VLMs suffer from a severe affirmation bias. Because they are trained primarily on affirmative captions (e.g., "a cat on a mat"), they learn to associate visual features with keywords while ignoring functional words like "no," "not," or "without." As shown in Figure 1, standard models like CLIP struggle to distinguish between a dog on grass and a dog not on grass, often failing simple multiple-choice questions regarding object absence.

Examples of negation failure in image retrieval and multiple-choice questions.

Methods: A Pipeline for Negation Understanding

To address this gap, we developed a multi-stage pipeline to evaluate and improve negation understanding. The core of our approach involves generating high-quality, verified negated data at scale.

  1. NegBench Construction: We utilized Large Language Models (LLMs) like LLaMA 3.1 to generate naturalistic negated captions for existing datasets (COCO, VOC2007, MSR-VTT, CheXpert). These captions were then verified using open-vocabulary object detectors (OWL-ViT) to ensure the "negated" objects were truly absent from the images.
  2. HardNeg-Syn: To create a controlled test environment, we used Stable Diffusion to generate pairs of images that are identical except for the presence or absence of a single object.
  3. Data-Centric Fine-tuning: We created CC12M-NegFull, a massive synthetic dataset containing over 70 million negated captions.
  4. Training Objective: We fine-tuned CLIP models using a combined loss function: a standard contrastive loss for retrieval and a multiple-choice question (MCQ) loss to force the model to distinguish between subtle linguistic differences.

Datasets

  • NegBench: A new benchmark of 79k examples across 18 task variations, including Retrieval-Neg (coarse-grained) and MCQ-Neg (fine-grained).
  • CC12M-NegFull: A training dataset of 70M+ synthetic negation-enriched samples.
  • HardNeg-Syn: 10,000 synthetic image pairs for controlled evaluation of minimal visual changes.

Key Insights

The "Bag-of-Words" Shortcut

PCA analysis of model embedding spaces reveals that CLIP and its variants often collapse the embeddings for "X" and "Not X" into the same region. The models essentially perform keyword matching, ignoring the syntax that defines negation.

Scaling is Not the Answer

Increasing model size (e.g., from ViT-B to ViT-H) or using newer architectures like SigLIP does not meaningfully improve negation understanding. The flaw lies in the training data distribution, not the model's capacity.

Specialized Models Over-Correct

Previous attempts to fix this, such as ConCLIP, often "cheat" by mapping all negated captions to a single point in the embedding space. While this helps on simple benchmarks, it fails to capture the nuances of natural language negation.

Key Results

  • Baseline Failure: Most modern VLMs perform at or near chance level (25% for a 4-way MCQ) on negation tasks. In the medical domain, specialized models like BioMedCLIP saw accuracy drops of up to 33% when negation was introduced.
  • Synthetic Data Success: Fine-tuning on the CC12M-NegFull dataset led to a 10% increase in recall on negated queries and a 28% boost in accuracy on multiple-choice questions.
  • Generalization: Improvements gained from synthetic training data generalized well to real-world datasets like COCO and MSR-VTT, suggesting that synthetic negation is a viable proxy for natural language complexity.

Limitations and Future Work

While our approach significantly improves object-level negation, several challenges remain. There is a slight tradeoff between standard retrieval performance and negation-specific performance, controlled by the weighting factor (alpha) in the loss function. Furthermore, more complex linguistic negations—such as negating actions, attributes, or nested logic—remain difficult for these models. Future work will focus on bridging the gap between fast retrieval models and the deep reasoning capabilities of larger, instruction-tuned vision models.

Summary updated

BibTeX
@inproceedings{alhamoud2025vision,
  author = {Kumail Alhamoud and Shaden Alshammari and Yonglong Tian and Guohao Li and Philip 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