Do Vision-Language Pretrained Models Learn Composable Primitive Concepts?

Tian Yun, Usha Bhalla, Ellie Pavlick, Chen Sun

Abstract

Vision-language (VL) pretrained models have achieved impressive performance on multimodal reasoning and zero-shot recognition tasks. Many of these VL models are pretrained on unlabeled image and caption pairs from the internet. In this paper, we study whether representations of primitive concepts–such as colors, shapes, or the attributes of object parts–emerge automatically within these pretrained VL models. We propose a two-step framework, Compositional Concept Mapping (CompMap), to investigate this. CompMap first asks a VL model to generate concept activations with text prompts from a predefined list of primitive concepts, and then learns to construct an explicit composition model that maps the primitive concept activations to composite concepts. We hypothesize that if primitive concepts indeed emerge in a VL pretrained model, its primitive concept activations can be used to learn a composition model similar to the one designed by experts. Our study reveals that state-of-the-art VL pretrained models learn primitive concepts that are highly useful for fine-grained visual recognition, but the learned composition models have low interpretability. Our results reveal the limitations of existing VL models and the necessity of pretraining objectives that encourage the acquisition of primitive concepts.

Introduction

Vision-Language (VL) pretrained models like CLIP and ALBEF have revolutionized computer vision by enabling "zero-shot" recognition. These models can identify complex objects (e.g., a "golden delicious apple") without explicit training on those specific classes. However, a fundamental question remains: is the model actually composing concepts? Does it recognize the apple because it understands the primitives "yellow" + "round" + "fruit," or is it simply matching a holistic visual pattern? If models do not learn these composable primitives, they struggle to generalize to novel combinations and remain "black boxes" that are difficult for humans to interpret or correct.

The CompMap Framework

To audit the internal logic of VL models, we propose Compositional Concept Mapping (CompMap). This framework consists of two distinct stages designed to isolate concept extraction from concept composition.

The CompMap framework consists of Concept Prompting to extract activations and Composition Learning to map them to final classes.
  1. Concept Prompting: We ask a pretrained VL model to generate "activations" for a list of primitive concepts using text prompts (e.g., "wing color is blue"). This measures how well the model identifies individual attributes.
  2. Composition Learning: We train a simple linear classifier to map these primitive activations to a "composite" concept, such as a specific bird species.

Evaluating Usefulness and Interpretability

We evaluate models based on two primary metrics:

  • Usefulness: The accuracy of the final prediction using only primitive activations. This measures if the visual encoder captures enough information to distinguish classes.
  • Interpretability: The alignment of the model's logic with human experts. We test this via an "intervention": we replace the model's predicted primitives with ground-truth human labels during testing. If the model’s accuracy drops when given "perfect" information, it suggests the model was relying on spurious correlations or noise rather than the actual concepts.
Ground truth concept activations are used to test the interpretability of the model's learned composition logic.

Key Findings

Our experiments on the CUB (birds) and MIT-States datasets yielded several critical insights:

  • The Interpretability Gap: While VL models are excellent at extracting features for classification (achieving 87.3% accuracy on CUB), their internal weighting is often nonsensical. On the CUB dataset, CLIP’s alignment with expert-defined traits was effectively 0% at the class level.
  • Right for the Wrong Reasons: Models often assign high weights to irrelevant primitives. For instance, a model might identify a bird species by focusing on background colors or unrelated textures rather than the defining physical attributes specified in the prompt.
  • The Intervention Paradox: In many cases, feeding the model correct human-labeled attributes actually made its performance worse. This indicates that the composition layer learned to exploit specific errors in the VL model's primitive predictions rather than learning the concepts themselves.
  • Scaling Limitations: Increasing model size (e.g., moving to ViT-L/14) improves raw accuracy but does not significantly improve interpretability. Larger models simply become better at finding complex, non-human-like correlations.

Conclusion

Current pretraining objectives, which focus on matching whole images to whole captions, are insufficient for learning true compositionality. While these models are highly "useful" for recognition, they lack the interpretable reasoning required for robust generalization. Future research should focus on pretraining objectives that explicitly encourage models to learn and compose discrete, interpretable primitive concepts.

Summary updated

BibTeX
@article{yun2023do,
  author = {Tian Yun and Usha Bhalla and Ellie Pavlick and Chen Sun},
  title = {{Do Vision-Language Pretrained Models Learn Composable Primitive Concepts?}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=YwNrPLjHSL},
}
Figure