NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

NeIn: Telling What You Don't Want

Nhat-Tan Bui, Dinh-Hieu Hoang, Quoc-Huy Trinh, Minh-Triet Tran, Truong Nguyen, Susan Gauch

TL;DR

Vision-Language Models (VLMs) excel at adding objects to images but completely stumble when told what not to include. This paper introduces NeIn (Negative Instruction), the first large-scale dataset of over 366k samples designed to train and evaluate image-editing models on negation queries. By fine-tuning on NeIn, models dramatically improve their ability to understand negative commands like "without" or "no."

What Problem Does This Paper Address?

When editing images via text prompts, humans naturally use negation to specify exclusions (e.g., "a street with people, but no cars"). However, current state-of-the-art text-guided image editing models often do the exact opposite. If you give them a prompt like "no tree in the image," they frequently add more trees, obscuring the main subject.

Failures of text-guided image editing on negative queries

This blind spot exists because standard image-caption datasets (such as MS-COCO or LAION) focus entirely on describing what is present in an image, completely lacking negative clauses. Without data showing how negation alters a scene, VLMs treat negative keywords as positive targets.

Methods

To bridge this gap, the authors developed an automated, two-stage pipeline to generate a massive dataset of negative instructions without requiring tedious manual annotation.

  1. Generation Phase: Starting with a real image and its caption from MS-COCO, the authors used the BLIP model to identify object categories that were definitely not in the image. They then generated a negative sentence (e.g., "The image doesn't have any couch") and used an image-editing model (InstructPix2Pix) to synthetically inject that object into the image.
  2. Filtering Phase: To clean up the data, a two-stage verification process was introduced. First, BLIP checked if the newly generated image matched the modified description. Second, the LLaVA-NeXT model used Visual Question Answering (VQA) to verify that the original background objects were preserved and that the new object was clearly visible.

Ultimately, the image-editing task is inverted for the models being evaluated: they are handed the synthetic image containing the added object along with the negative prompt, and they must successfully recreate the original, clean image by removing the specified object.

Figure 2. The process to create our dataset. It consists of two main steps: generation and filtering. ITM and VQA are image-text matching and visual question answering, respectively.

Datasets

The paper introduces NeIn (Negative Instruction), which contains 366,957 quintuplets (source image, original caption, selected object, negative sentence, and target image).

  • Training Set: 342,775 queries
  • Benchmarking Set: 24,182 queries

NeIn stands out from previous negative-caption datasets (like CC-Neg) because every text prompt is explicitly paired with a corresponding target image, making it uniquely suited for generative image-editing tasks.

Key Insights and Ideas

  • The Literal Bias of VLMs: Current models suffer from a severe literal interpretation bias. Seeing a noun like "basil" in the phrase "without basil" triggers the model's generation weights because its training history tightly couples the word to its visual presence.
  • Inverting the Problem: Instead of trying to synthetically remove objects from real images—which often leaves messy, blurred artifacts—the authors cleanly added objects to real images. This turned the task of "negation editing" into a clean restoration problem.
  • Logic Over Realism: The authors emphasize that the dataset evaluates mathematical and logical negation rather than visual naturalness. Even if "a carrot in a traffic scene" is visually absurd, a model must logically understand how to isolate and remove it when prompted.

Key Results

The authors benchmarked five state-of-the-art image editing models (InstructPix2Pix, MagicBrush, ZONE, HQ-Edit, and InstructDiffusion) and found they failed uniformly on negative prompts.

  • Baseline Failures: InstructPix2Pix achieved an object Removal score of just 3.83% when evaluated by LLaVA-NeXT, meaning it almost never successfully processed the negation.
  • Fine-Tuning Success: After fine-tuning on the NeIn training set, the performance of InstructPix2Pix and MagicBrush skyrocketed. InstructPix2Pix’s Removal score jumped from 3.83% to 93.62%, while MagicBrush rose from 5.06% to 92.18%. Crucially, both models maintained high "Retention scores" (~98%), proving they could remove the forbidden object without distorting the rest of the image.

Limitations and Future Work

While NeIn represents a major step forward, the authors note two primary limitations:

  1. Simple Prompt Structures: The predefined negative prompts rely on straightforward keywords (e.g., "lacks", "without", "no"). Real human language uses more complex structures.
  2. Task Scope: The dataset was only tested on image-editing models.

Future Directions: The authors plan to expand NeIn to include complex negative sentences involving operators like "except" or "neither-nor." They also intend to adapt the dataset to benchmark other vision-language domains, such as composed image retrieval and image-text matching.

Summary updated

BibTeX
@inproceedings{bui2025nein,
  author = {Nhat-Tan Bui and Dinh-Hieu Hoang and Quoc-Huy Trinh and Minh-Triet Tran and Truong Nguyen and Susan Gauch},
  title = {{NeIn: Telling What You Don't Want}},
  booktitle = {SyntaGen @ CVPR},
  year = {2025},
  url = {https://openreview.net/forum?id=6oNlkmuxYg},
}
Figure