CLIP Is Shortsighted: Forcing AI to Read the Whole Story

CLIP Is Shortsighted: Paying Attention Beyond the First Sentence

Summary
Problem
Method
Results
Takeaways
Abstract

This paper introduces DeBias-CLIP, a drop-in training strategy designed to mitigate early-token and summary-sentence biases in CLIP-style models. By applying three caption-level augmentations—removing summary sentences, sentence sub-sampling, and random token padding—DeBias-CLIP achieves new SOTA performance in long-text retrieval across benchmarks like Urban1k, DCI, and DOCCI.

TL;DR

Current Vision-Language Models (VLMs) like CLIP are essentially "lazy readers." They have a massive bias toward the first sentence of a description, often ignoring the rich details buried later in a paragraph. DeBias-CLIP fixes this by strategically removing "summary shortcuts" and using random padding during training. The result? A model that actually pays attention to the whole text, setting new SOTA benchmarks in long-context retrieval without adding a single parameter.


The "Summary Shortcut" Problem

When we describe an image with a long caption, we usually start with a summary: "A photo of a bustling market." Then we provide the details: "There are red tomatoes on the left, a blue umbrella in the back..."

The authors discovered that models like Long-CLIP use that first sentence as a "shortcut." Because the summary contains most of the semantic information, the model learns to ignore everything after the first 20 tokens. As shown in the figure below, the attention weights for standard models decay rapidly after the first few tokens.

Comparison of Attention Distributions Left: Image. Right: Notice how Long-CLIP (blue) attention drops off, while DeBias-CLIP (orange) maintains a flat, healthy distribution.


Methodology: Breaking the Bias

The authors propose DeBias-CLIP, a drop-in replacement for the Long-CLIP training recipe. It focuses on three simple but brilliant data augmentation strategies:

  1. Summary Removal: It identifies the first sentence as the "shortcut" and removes it from the short-caption training branch. This forces the model to align images with fine-grained details (e.g., the color of a specific object) rather than a general overview.
  2. Sentence Sub-sampling: Instead of always using the whole paragraph, it randomly samples sentences. This creates variation and prevents the model from relying on a fixed narrative structure.
  3. Token Padding: To ensure the model learns to use all positional embeddings, they prepend random <PAD> tokens to short captions. This "shoving" of text to later positions trains the model to find information regardless of where it starts.

DeBias-CLIP Workflow Visualizing the augmentation: The summary is dropped, and the remaining content is padded and shuffled.


Performance: Not Just Long, but Robust

DeBias-CLIP doesn't just "stretch" the context; it makes it high-fidelity.

SOTA Retrieval

On the Urban1k dataset, DeBias-CLIP reaches 95.2% T2I retrieval (ViT-L/14), crushing the original CLIP (56.1%) and the previous SOTA SmartCLIP (90.1%).

Robustness to Permutation

What happens if you move the summary sentence to the end of the paragraph?

  • Long-CLIP: Performance tanks by nearly 10%.
  • DeBias-CLIP: Stays steady with only a minor 3.5% fluctuation.

This proves that the model has actually learned the concepts within the text, rather than just memorizing that "important stuff arrives first."

Experimental Results Table


Why It Matters: Better Creative Tools

This research has immediate implications for Text-to-Image Diffusion (SDXL). Standard CLIP encoders often ignore half of a long prompt. With DeBias-CLIP, Stable Diffusion can follow complex, multi-sentence instructions more accurately—capturing details like the specific color of a traffic light or text on a distant shop sign that original models usually "forget."

Conclusion

DeBias-CLIP is a masterclass in "Data-Centric AI." By identifying a fundamental human bias in how we write captions (Summary-First), the authors were able to fix a deep-seated architectural flaw in CLIP without needing more parameters or massive new datasets. It reminds us that sometimes, the problem isn't the model's capacity—it's the shortcuts we accidentally give it.

Takeaway: To make AI smarter, sometimes you have to make the training harder by taking away the easy answers.

Find Similar Papers

Try Our Examples

  • Which recent papers investigate positional bias or "attention sinks" in contrastive vision-language models beyond the first sentence?
  • What are the original theoretical foundations for linear interpolation of positional embeddings in CLIP, such as those used in the Long-CLIP framework?
  • How can DeBias-CLIP's sentence-sampling and padding strategies be extended to improve multi-paragraph document-to-image matching tasks?
Contents
CLIP Is Shortsighted: Forcing AI to Read the Whole Story
1. TL;DR
2. The "Summary Shortcut" Problem
3. Methodology: Breaking the Bias
4. Performance: Not Just Long, but Robust
4.1. SOTA Retrieval
4.2. Robustness to Permutation
5. Why It Matters: Better Creative Tools
6. Conclusion