Do Vision-Language Pretrained Models Learn 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 models are trained on massive, unlabeled image-caption pairs from the internet. This paper investigates whether representations of primitive concepts—such as colors, shapes, or object part attributes—emerge automatically within these models. We propose Compositional Concept Mapping (CompMap), a two-step framework to evaluate this. CompMap first prompts a VL model to generate primitive concept activations and then learns a composition model to map these activations to composite concepts. Our study reveals that while state-of-the-art VL models learn primitive concepts that are highly useful for fine-grained recognition, these models exhibit low interpretability. The results suggest that current pretraining objectives do not sufficiently encourage the acquisition of human-aligned primitive concepts.

Introduction

When a Vision-Language model like CLIP identifies a "red-winged blackbird," does it do so by recognizing the constituent parts—a black body and a red wing—or is it relying on holistic textures and background cues? Humans describe the world through composition, combining attributes (e.g., "ripe") with objects (e.g., "apple") to understand novel combinations. If VL models truly learn these primitive building blocks, they should demonstrate robust compositional generalization.

This research investigates whether the internal representations of pretrained VL models naturally align with these human-interpretable primitives. By introducing the CompMap framework, we analyze the gap between a model's ability to classify an object and its ability to understand the underlying logic of that classification.

The CompMap Framework

To study the emergence of primitives, we developed Compositional Concept Mapping (CompMap), which consists of two distinct phases:

  1. Concept Prompting: We query a pretrained VL model (such as CLIP, ViLT, or ALBEF) using text prompts to score an image against a predefined list of primitive concepts (e.g., "the wing color is red"). This produces a vector of "concept activations."
  2. Composition Learning: We train a simple linear classifier to map these activations to a final composite label (e.g., a specific bird species).

Evaluation Metrics

We evaluate the framework using two primary metrics:

  • Usefulness: The classification accuracy achieved when using primitive activations to predict composite concepts.
  • Interpretability: The degree of similarity between the learned composition model and an "Oracle" model trained on human-annotated ground truth. This is measured via an intervention test: we feed ground-truth attributes into the model trained on VL-predicted attributes. If the model’s performance drops significantly, it indicates the model learned to rely on "wrong" signals (like background noise) rather than the actual primitive concepts.

Experimental Setup

Our analysis focused on two benchmarks providing both object and attribute labels:

  • CUB (Caltech-UCSD Birds-200-2011): Contains 200 bird species with 312 binary attributes (e.g., "needle-shaped bill").
  • MIT-States: Contains object-attribute pairs (e.g., "rusty nail") with 115 attributes and 245 object categories.

Key Insights

The Interpretability Gap

Our findings reveal a stark contrast between usefulness and interpretability. On the CUB dataset, while the "Oracle" model achieved a class-level weight accuracy of 97%, the CLIP-based model scored 0.0%. This suggests that the CLIP-trained composition model almost never selected the same set of attributes as human experts to define a species.

Right Answer, Wrong Reason

VL models often achieve high accuracy but fail the intervention test. For instance, a model might correctly identify a bird species because it associates a "green" activation (derived from a leafy background) with that species, rather than the bird's actual physical features. When ground-truth attributes were substituted into the CLIP-trained model for CUB, accuracy plummeted (e.g., from 87.3% to 66.0% in a 5-shot setup), proving a reliance on non-primitive visual features.

Scaling and Physical Constraints

Interestingly, scaling the model size (e.g., from ResNet-50 to ViT-L) improved "usefulness" but did not significantly improve interpretability. Furthermore, the study found no strong correlation between the physical size of a feature (like a bird's beak) and the model's ability to learn that concept, suggesting the bottleneck is not merely spatial resolution.

Results on Compositional Generalization

On the MIT-States dataset, the CompMap framework (using CLIP activations) outperformed several specialized state-of-the-art compositional learning models. It achieved a 20.4% Harmonic Mean (HM) in the closed-world setting, demonstrating that while the internal logic may be unaligned with humans, the activations are still powerful features for recognition tasks.

Conclusion and Future Work

While current VL pretrained models generate activations that are highly effective for classification, they do not naturally learn a "concept bottleneck" that aligns with human logic. The models often arrive at the correct classification using spurious correlations rather than stable, reusable primitive parts.

Future research should focus on developing pretraining objectives that explicitly encourage the decomposition of images into human-understandable primitives. Bridging this interpretability gap is essential for creating models that are not only accurate but also transparent, debuggable, and capable of true compositional reasoning.

Summary updated

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