Manuscript Offprint

arXiv:2610.17440

Know-Thy-Not: Training-Free Targeted Negation in Dual-Encoder Vision-Language Models

DoYoung Kim, Changkyu Choi, Adín Ramírez Rivera, YunSeok Choi, Jee-Hyong Lee

Abstract

Dual-encoder vision-language models systematically fail at negation, scoring “a cat without a dog” nearly identically to “a cat with a dog.” We show that this failure is inherent to the single-embedding framework. Under contrastive training, single-embedding methods can at best ignore the negated concept (dilution) but never penalize its presence (rejection). We propose Know-Thy-Not (KTN), a training-free method that introduces an image-side rejection dimension to penalize the negated concept directly in the visual representation. We also introduce COCO-Confusion, the first benchmark requiring genuine rejection to succeed. Across 9 backbones, KTN improves COCO-Confusion mAP by up to +25.6 over vanilla VLMs and +9.6 over the strongest existing method.

1 Introduction

Dual-encoder vision-language models (VLMs) [1, 2] have become foundational backbones for multimodal systems, gaining structural flexibility by aligning images and text in a shared embedding space. This flexibility has made VLMs the default starting point for nearly every modern vision-language application, ranging from zero-shot image classification [3, 4] and text-image retrieval [5, 6] to image generation without task-specific finetuning [7–9].

However, a growing body of work has revealed that these models struggle with compositional reasoning: they fail at attribute binding [10] and spatial understanding [11], with dedicated benchmarks [12–14] consistently exposing near-chance performance on structured linguistic tests. Asking a VLM to retrieve “a car without a traffic light” returns images dominated by traffic lights (Figure 1, top), as the model treats the query as if the negation were absent. This failure is consistent and severe: On VOC2007, CLIP scores 82% on affirmative queries but only 3% on their negated counterparts [15]. Negation is not a peripheral linguistic phenomenon. It is essential to expressing what users do not want, and its absence undermines VLMs as reliable retrieval and grounding systems.

Recent work has attempted to close this gap from two directions. Retraining-based methods such as ConCLIP [16] and NegationCLIP [17] augment training data with negation captions and retrain the model, but show modest improvements despite substantial cost. Alternatively, the training-free method [18] extracts the negated concept from the query and suppresses it by projecting out its direction from the text embedding, achieving notable gains without retraining. Both, however, still represent the negated query within a single embedding vector, which we show is structurally insufficient for negation.

We introduce a formal analysis which reveals that the optimal text coefficient (6) on the negated concept is driven to zero by the non-negative nature of natural visual data. This implies that approaches operating solely on the text embedding are inherently bounded. The conventional embedding correction approach, which cancels the direction of the negated concept from the text embedding,

†^{\dagger}Corresponding authors.

Preprint.

Query: “a car is present but no traffic light” (COCO-Confusion, SigLIP2 SO400M)

Vanilla

Figure

Embedding correction [18]

Figure

Proposed method

Figure

Figure 1: Top-5 retrieval on our COCO-Confusion benchmark (leftmost is rank 1). A vanilla VLM ignores the negation, retrieving primarily confusing images that contain a traffic light. The embedding correction approach [18] removes the negated direction from the text embedding; while this filters out some confusing images (ranks 4–5), it still places traffic-light scenes at the top. In contrast, our proposed Know-Thy-Not (KTN) introduces an explicit image-grounding step, successfully retrieving correct images. Green borders indicate images containing only the affirmed concept (2), while red borders indicate confusing images containing the additional negated concept (3).

is one such case. While this limits the model's tendency to reward the negated concept, it never verifies whether the negated concept is actually present in the image. We argue that this is dilution, not rejection: VLMs need not merely ignore the negated concept (dilution) but actively penalize its presence (rejection). This stems from a representational asymmetry: visual concepts manifest as presence or absence, never as anti-presence, leaving no dimension on which a single text vector can push back against the negated concept. We attribute this dilution to a structural limitation of contrastive training: under the in-kind alignment component of contrastive training [1, 2], the model learns to treat the negated concepts as irrelevant noise to be ignored, rather than as signals to be actively rejected. Prior data-centric retraining attempts yield only marginal gains in practice.

To escape this limitation, we propose Know-Thy-Not (KTN), a training-free method that scores a query along two independent dimensions. A text-side dimension affirms c+c^{+} via a corrected text embedding, while an image-side dimension detects c−c^{-} in the image and penalizes its presence. We further introduce COCO-Confusion, a benchmark whose galleries contain images with the negated concept, making it the first to measure rejection rather than dilution. Existing benchmarks place the negated concept in unfiltered galleries where it rarely co-occurs with the affirmed concept, so methods that merely ignore the negation already score well. COCO-Confusion enforces co-occurrence in every gallery, making genuine rejection (not dilution) necessary to succeed. Across 9 backbones spanning CLIP, EVA-02, SigLIP, and SigLIP2, KTN consistently improves negation handling, with the largest gains on COCO-Confusion (+9.6 mAP over Embedding Correction [18]), where prior methods plateau.

References (29)

  • Sigmoid loss for language image pretraining
  • Learning transferable visual models from natural language supervision
  • Reproducible scaling laws for contrastive language-image learning
  • Lit: Zero-shot transfer with locked-image text tuning
  • Scaling up visual and vision-language representation learning with noisy text supervision
  • Blip: Bootstrapping language-image pre-training for unified vision-language understanding and generation
  • High-resolution image synthesis with latent diffusion models
  • Hierarchical Text-Conditional Image Generation with CLIP Latents
  • Photorealistic text-to-image diffusion models with deep language understanding
  • Winoground: Probing vision and language models for visio-linguistic compositionality
  • What’s “up
  • Crepe: Can vision-language foundation models reason compositionally?
  • Sugarcrepe: Fixing hackable benchmarks for vision-language compositionality
  • Valse: A task-independent benchmark for vision and language models centered on linguistic phenomena
  • Vision-language models do not understand negation
  • better: Improving vision-language models via negations (opens arXiv in a new tab)
  • better: A data-driven approach for enhancing negation awareness in clip
  • Seeing what’s not there: Negation understanding needs more than training
  • Siglip 2: Multilingual vision-language encoders with improved semantic understanding, localization, and dense features (opens arXiv in a new tab)
  • spaCy: Industrial-strength Natural Language Processing in Python
  • Microsoft coco: Common objects in context
  • Scaling open-vocabulary object detection
  • An image is worth $16 \times 16$ words: Transformers for image recognition at scale
  • Laion-5b: An open large-scale dataset for training next generation image-text models
  • Eva-02: A visual representation for neon genesis
  • Msr-vtt: A large video description dataset for bridging video and language
  • When and why vision-language models behave like bags-of-words, and what to do about it?
  • Is CLIP ideal? no. can we fix it? yes!
  • Visual instruction tuning