Interpretable Composition Attribution Enhancement for Visio-linguistic Compositional Understanding

Wei Li, Zhen Huang, Xinmei Tian, Le Lu, Houqiang Li, Xu Shen, Jieping Ye

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."

Motivating example of CLIP's failure and the statistical evidence of Composition Attribution Deficiency.

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 framework integrates Attribution Tracing to enhance the importance of relational and attributive tokens during training.

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:

  1. Attention-Based: Utilizing raw Transformer attention weights.
  2. GradCAM-Based: Using gradients to identify tokens contributing to similarity scores.
  3. Perturbation-Based: Measuring score drops when words are replaced.
  4. 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

BibTeX
@inproceedings{li2024interpretable,
  author = {Wei Li and Zhen Huang and Xinmei Tian and Le Lu and Houqiang Li and Xu Shen and Jieping Ye},
  title = {{Interpretable Composition Attribution Enhancement for Visio-linguistic Compositional Understanding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.810},
}
Figure