Introduction
Vision-Language Models (VLMs) such as CLIP have demonstrated remarkable capabilities in zero-shot image-text retrieval. However, they often exhibit a "bag-of-words" behavior, excelling at identifying individual objects while failing to grasp the compositional relationships between them. For instance, a model might correctly identify a "person" and a "car" but fail to distinguish between "the car is underneath the person" and "the person is underneath the car."
The Composition Attribution Deficiency
The authors identify a fundamental issue termed Composition Attribution Deficiency. By analyzing internal attribution scores—metrics indicating which tokens a model prioritizes—they found that VLMs disproportionately focus on nouns (objects) while neglecting relational and attributive words. This reliance on object-level "shortcuts" during training prevents the model from learning the fine-grained linguistic structures required for true compositional understanding.
Methodology: Composition Attribution Enhancement (CAE)
To address this, the researchers propose the Composition Attribution Enhancement (CAE) framework. CAE leverages interpretability tools—traditionally used for post-hoc analysis—as an active training signal to guide the model's focus.
The CAE Loss Function
The core of the framework is a novel loss function, $L_{Attr}$. While standard contrastive learning ($L_{ITC}$) aligns global image and text embeddings, $L_{Attr}$ penalizes the model if the attribution scores for objects significantly outweigh those for compositional words. This forces the model to "value" words like "underneath" or "riding" as much as the nouns they connect.
Attribution Variants
CAE is agnostic to the specific attribution method. The authors evaluated four variants to measure word importance:
- Attention-Based: Utilizing raw Transformer attention weights.
- GradCAM-Based: Using gradients to identify tokens contributing to similarity scores.
- Perturbation-Based: Measuring score drops when words are replaced.
- Gradient-Based: Calculating gradient magnitudes relative to input embeddings.
Experimental Evaluation
The framework was trained on MSCOCO and evaluated across seven rigorous compositional benchmarks, including ARO, Winoground, and Sugar-Crepe.
Key Results
- Winoground: CAE achieved a 3.7% absolute improvement in image score over standard fine-tuned CLIP, demonstrating superior performance on hand-crafted "hard" cases.
- ARO-Relation: Accuracy improved from 64.7% to 71.0%, showing a significantly better grasp of spatial relationships.
- Qualitative Shift: Visualizations indicate that CAE-trained models focus on "interaction zones"—the specific areas where objects relate—rather than just the objects themselves.
Conclusion
CAE represents a shift from simply providing more data to refining the internal reasoning mechanisms of VLMs. By using interpretability as supervision, the framework effectively mitigates the "shortcut" problem, leading to models that truly "read" the relationships between objects rather than just identifying their presence.
Summary updated