SpaceVLM: Sub-Space Modeling of Negation in Vision-Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ranjbar, Sepehr Kazemi, Alhamoud, Kumail, Ghassemi, Marzyeh
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914160049127424
author Ranjbar, Sepehr Kazemi
Alhamoud, Kumail
Ghassemi, Marzyeh
author_facet Ranjbar, Sepehr Kazemi
Alhamoud, Kumail
Ghassemi, Marzyeh
contents Vision-Language Models (VLMs) struggle with negation. Given a prompt like "retrieve (or generate) a street scene without pedestrians," they often fail to respect the "not." Existing methods address this limitation by fine-tuning on large negation datasets, but such retraining often compromises the model's zero-shot performance on affirmative prompts. We show that the embedding space of VLMs, such as CLIP, can be divided into semantically consistent subspaces. Based on this property, we propose a training-free framework that models negation as a subspace in the joint embedding space rather than a single point (Figure 1). To find the matching image for a caption such as "A but not N," we construct two spherical caps around the embeddings of A and N, and we score images by the central direction of the region that is close to A and far from N. Across retrieval, MCQ, and text-to-image tasks, our method improves negation understanding by about 30% on average over prior methods. It closes the gap between affirmative and negated prompts while preserving the zero-shot performance that fine-tuned models fail to maintain. Code will be released upon publication.
format Preprint
id arxiv_https___arxiv_org_abs_2511_12331
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SpaceVLM: Sub-Space Modeling of Negation in Vision-Language Models
Ranjbar, Sepehr Kazemi
Alhamoud, Kumail
Ghassemi, Marzyeh
Computer Vision and Pattern Recognition
Vision-Language Models (VLMs) struggle with negation. Given a prompt like "retrieve (or generate) a street scene without pedestrians," they often fail to respect the "not." Existing methods address this limitation by fine-tuning on large negation datasets, but such retraining often compromises the model's zero-shot performance on affirmative prompts. We show that the embedding space of VLMs, such as CLIP, can be divided into semantically consistent subspaces. Based on this property, we propose a training-free framework that models negation as a subspace in the joint embedding space rather than a single point (Figure 1). To find the matching image for a caption such as "A but not N," we construct two spherical caps around the embeddings of A and N, and we score images by the central direction of the region that is close to A and far from N. Across retrieval, MCQ, and text-to-image tasks, our method improves negation understanding by about 30% on average over prior methods. It closes the gap between affirmative and negated prompts while preserving the zero-shot performance that fine-tuned models fail to maintain. Code will be released upon publication.
title SpaceVLM: Sub-Space Modeling of Negation in Vision-Language Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2511.12331