TL;DR
CLIP-style vision-language models suffer from a "half-truth vulnerability," where adding a plausible but incorrect detail to a correct image description paradoxically increases the model's similarity score. To fix this, the authors introduce CS-CLIP (Component-Supervised CLIP), a fine-tuning method that decomposes captions into fine-grained entity and relation units and trains the model against minimally edited incorrect "foils." CS-CLIP dramatically improves robustness to these incorrect additions and boosts performance across 16 compositional benchmarks without changing the standard, efficient dual-encoder architecture at test time.
What Problem Does This Paper Address?
Intuitively, if a text description matches an image, adding a wrong detail should make it less accurate, causing its similarity score to drop. For instance, if an image shows a dog, the description "a dog" should score higher than "a dog on a skateboard" if there is no skateboard.
However, the authors discover that CLIP-style dual encoders systematically violate this intuition. They call this the half-truth vulnerability: appending a single incorrect but contextually plausible object or relation often inflates the similarity score.
This happens because standard contrastive pre-training aligns full sentences globally. This provides strong sentence-level supervision but weak supervision on individual caption components, leading the model to rely on coarse keyword matching (acting like a bag-of-words) rather than verifying fine-grained compositional structure.
Methods
The authors propose CS-CLIP (Component-Supervised CLIP) to inject fine-grained compositional awareness during fine-tuning. The pipeline consists of three main stages:
- Unit Extraction: A text-only Large Language Model (LLM) parses a caption into individual entity units (noun phrases with attributes) and relation units (directed relationships between entities).
- Foil Generation: The LLM generates a minimally edited "foil" for each unit (e.g., changing "brown horse" to "white horse" or "horse near barn" to "horse inside barn").
- Unit-Level Supervision: During training, a new unit-level contrastive loss ($\mathcal{L}_{\text{unit}}$) forces the image embedding to score the correct unit higher than its matched foil and other in-batch units.
Crucially, this unit-level loss runs in parallel with a standard global sentence-level loss ($\mathcal{L}_{\text{global}}$). At test time, the auxiliary supervision is discarded, preserving standard, highly efficient dual-encoder inference.
Datasets
- MS-COCO: Used to construct the half-truth diagnostic dataset (sampling 5,000 images to yield 25,606 anchor/half-truth comparisons) and for fine-tuning.
- Compositional Benchmarks: The model was evaluated across a heterogeneous suite of 16 established benchmarks testing attribute binding, relations, and word order, including ARO, Winoground, SugarCrepe, VALSE, ColorFoil, ColorSwap, MMVP, NegBench, and SPEC.
Key Insights and Ideas
- The Conjunction Fallacy in Vision-Language Models: Mirroring the human cognitive bias where specific conditions seem more likely than general ones, CLIP prefers longer, more specific descriptions even when the added details are completely false.
- Relations are Harder than Entities: Models are particularly terrible at penalizing wrong relations. Zero-shot CLIP scores relation additions correctly only 32.9% of the time (well below random chance), meaning it actively prefers the half-truth with a wrong relation over a short, correct anchor.
- Data Quality Over Scale: Fine-tuning on a smaller dataset with precise, component-level alignment signals (like COCO with CS-CLIP) yields significantly better compositional capabilities than pre-training on massive datasets (like CC3M or LAION) with standard global losses.
Key Results
- Half-Truth Accuracy: On MS-COCO, zero-shot CLIP correctly prefers the shorter anchor over the half-truth only 40.6% of the time. CS-CLIP boosts this overall accuracy to 69.3%.
- Reversing the Relation Bias: For relation additions, CS-CLIP improves accuracy from CLIP's abysmal 32.9% to 65.5%, turning a negative similarity gap into a reliably positive one.
- Broad Compositional Gains: CS-CLIP achieves an average Image-to-Text (I2T) accuracy of 57.8% across 16 compositional benchmarks, outperforming zero-shot CLIP by 5.7 percentage points and beating other recent fine-tuning baselines like NegCLIP (55.3%) and FSC-CLIP (57.4%).
Limitations and Future Work
- LLM Dependency: The pipeline relies entirely on a text-only LLM for parsing and foil generation, which can introduce textual artifacts or miss visual nuances not captured in the original captions.
- Zero-Shot Trade-off: Fine-tuning on a smaller dataset like COCO improves compositional sensitivity but causes a modest drop in general zero-shot classification accuracy (e.g., ImageNet Acc@1 drops from 63.6% to 59.9%).
- Factual and Bias Concerns: CS-CLIP mitigates the half-truth failure mode but does not guarantee absolute factual correctness or eliminate demographic biases inherited from the training data.
- Future Directions: The authors suggest exploring image-side half-truths (adding incorrect visual elements) and integrating unit-level supervision directly into large-scale pre-training to avoid the zero-shot performance trade-off.
Summary updated