Do Vision and Language Models Share Concepts? A Vector Space Alignment Study

Jiaang Li, Yova Kementchedjhieva, Constanza Fierro, Anders Søgaard

TL;DR

Text-only language models (LMs) and vision-only models (VMs) spontaneously converge toward structurally similar (isomorphic) conceptual representations of the world, despite being trained on completely independent data sources. By applying a simple linear projection between their vector spaces, researchers can accurately map images to text, demonstrating that large language models implicitly develop internal "mental models" of the physical world.

What Problem Does This Paper Address?

A central debate in AI is whether large language models truly understand language or if they are merely "stochastic parrots" manipulating symbols without real-world meaning (all syntax, no semantics). Critics argue that because LMs are trained purely on text, they lack grounded mental models and cannot connect words to the physical world.

If LMs truly lack any grasp of physical reality, their internal vector space representations should be completely unrelated to those of computer vision models trained on raw pixels. This paper tackles this question head-on by evaluating whether the geometric structures of concept representations in LMs and VMs align, testing the hypothesis that both model families are independently converging on a shared model of the world.

Methods

The authors evaluate the structural similarity between 14 LMs (from the BERT, GPT-2, OPT, and LLaMA-2 families) and 14 VMs (ResNet, SegFormer, and MAE architectures). Crucially, they focus on pure vision models rather than multimodal models like CLIP to ensure the data sources are completely independent.

The experimental pipeline consists of three main stages:

  1. Representation Extraction: Visual concepts are represented by embedding images and averaging them. Text concepts are represented by extracting token embeddings from English Wikipedia sentences and averaging them to decontextualize the words.
  2. Linear Projection: To test for strict structural similarity (isomorphism), the authors use Procrustes analysis to find an orthogonal matrix ($\Omega$) that linearly maps the vision space ($A$) onto the language space ($B$) using a small training dictionary of image-text pairs.
  3. Evaluation: They measure alignment quality using Precision-at-k (P@k) on held-out data, expanding the target language space with over 65,000 distractor words to make retrieval highly challenging.
Overview of the experimental pipeline aligning vision and language vector spaces.

Datasets

  • ImageNet-21K: Used to compile the primary bimodal dictionaries. The authors specifically create an "Exclude-1K" split (5,942 classes, 7,194 aliases) that completely omits ImageNet-1K concepts to eliminate pretraining bias for the vision models.
  • Cross-Lingual Dictionary Induction (CLDI) English subset: A dataset containing images paired with verbs and adjectives (1,690 pairs), used to test if alignment generalizes beyond concrete nouns.
  • English Wikipedia: Used to extract contextual sentences for language embeddings and gather word frequency data.

Key Insights and Ideas

  • The World as a Common Bias: Because LMs and VMs are trained on independent data, their geometric similarity can only be explained by a shared latent source: the structure of the physical world itself.
  • The Scaling Law of Alignment: As language models grow larger and better at predicting text, their internal concept geometries become substantially more similar to vision models. This scaling effect appears log-linear with no signs of saturation.
  • Beyond Nouns: Conceptual alignment isn't restricted to concrete objects. The mapping successfully generalizes to abstract parts of speech like verbs and adjectives.
  • Shallow Signals Don't Explain It: The alignment cannot be attributed to simple shortcuts like word length or frequency; mappings to scrambled or shallow baseline spaces yield near-zero precision.

Key Results

  • High-Precision Retrieval: While random and length-frequency baselines score below 1%, the linear mapping achieves a P@100 of up to 64% (e.g., mapping ResNet152 to OPT30B).
  • Semantic Neighborhoods: P@10 scores reach up to 20%, meaning that for one in five visual concepts, the model projects the image directly into a tight, highly accurate linguistic neighborhood of synonyms or grammatical variations.
Qualitative examples of nearest neighbor text retrieval from image embeddings.
  • Model Architecture Impacts: ResNet models consistently achieve the highest alignment scores, followed by SegFormers, with unsupervised Masked Autoencoders (MAE) ranking third. However, MAE's strong performance provides the purest evidence of alignment, as it contains zero category-informed training bias.
Alignment performance (P@k) improves log-linearly as language models scale up in parameters.

Limitations and Future Work

  • Supervision Dependency: While the underlying spaces are isomorphic, the authors had to rely on a supervised bimodal dictionary to learn the alignment matrix. Existing unsupervised alignment algorithms failed due to the "degenerate solution problem" across different modalities.
  • Linearity Constraint: The study strictly uses linear projections to evaluate true structural isomorphism. Exploring non-linear mappings might reveal even deeper, more complex shared conceptual spaces.
  • Unalignable Subspaces: It remains an open question whether certain highly abstract or purely linguistic concept subspaces are inherently unalignable with visual data.

Summary updated

BibTeX
@article{li2024do,
  author = {Jiaang Li and Yova Kementchedjhieva and Constanza Fierro and Anders Søgaard},
  title = {{Do Vision and Language Models Share Concepts? A Vector Space Alignment Study}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=vU09MFouPb},
}
Figure