NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Mechanistic Emergence of Symbol Grounding in Language Models

Shuyu Wu, Ziqiao Ma, Xiaoxi Luo, Yidong Huang, Josue Torres-Fonseca, Freda Shi, Joyce Chai · DOI

How does a machine know that the word "apple" refers to a round, red fruit? This is the "symbol grounding problem"—the challenge of connecting abstract symbols (words) to sensorimotor experiences. While modern Vision-Language Models (VLMs) excel at this, the process by which this connection emerges during next-token prediction training has remained a "black box."

Researchers from the University of Michigan and the University of Waterloo have traced the mechanistic emergence of symbol grounding, finding that it is not merely a side effect of scale but a specific internal computation residing in the middle layers of the network.

The "Gather-and-Aggregate" Mechanism

The study identifies a specific "gather-and-aggregate" mechanism that drives grounding. The authors discovered specialized attention heads that perform two distinct roles:

  1. Gather heads: These collect information from the environmental context into compact internal states.
  2. Aggregate heads: These take the gathered environmental information and "broadcast" it to the current linguistic position to predict the correct word.
The gather-and-aggregate mechanism illustrated for both text-based (GPT-CHILDES) and image-based (LLaVA) models.

Localization in the Middle Layers

Grounding does not occur uniformly across the network. Saliency analysis reveals that grounding computations concentrate in the middle layers (e.g., layers 7–9 of a 12-layer model). While early layers focus on general context and final layers refine linguistic output, these middle layers serve as the critical bridge where environmental cues are mapped to linguistic forms.

Saliency analysis across layers and heads identifies the specific loci of symbol grounding.

This pattern holds true across various datasets, from text-based proxies like CHILDES transcripts to raw image patches in visual dialogues. The model's "grounding information gain" continues to rise even after simple co-occurrence correlations peak, suggesting the learning of a functional mapping rather than shallow statistics.

Architecture as a Bottleneck

A key finding is that architecture significantly impacts the ability to ground symbols. Grounding emerges spontaneously in Transformers and State-Space Models (like Mamba-2) but is notably absent in LSTMs. The researchers suggest that LSTMs' sequential compression lacks the "content-addressable retrieval"—the ability to look back at specific past tokens—required to effectively link environment to language.

Methods and Validation

To isolate grounding, the authors used a custom tokenizer with distinct environmental tokens ($⟨ENV⟩$) and linguistic tokens ($⟨LAN⟩$). This forced the model to learn relationships from scratch rather than relying on string matching. They validated their findings through:

  • Surprisal Analysis: Comparing prediction ease with matching vs. mismatching environmental cues. Transformers showed significantly lower surprisal in the "Match" condition, while LSTMs showed no difference.
  • Causal Interventions: Manually "zeroing out" identified aggregate heads caused the model's grounding ability to collapse, while zeroing out random control heads had minimal effect.

Implications for Hallucinations

Understanding these mechanisms offers a potential path toward mitigating hallucinations. By monitoring "grounding heads," it may be possible to detect when a model is generating text without a corresponding environmental referent, allowing for intervention before a hallucination is produced.

Summary updated

BibTeX
@inproceedings{wu2026mechanistic,
  author = {Shuyu Wu and Ziqiao Ma and Xiaoxi Luo and Yidong Huang and Josue Torres-Fonseca and Freda Shi and Joyce Chai},
  title = {{The Mechanistic Emergence of Symbol Grounding in Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=51914Feknq},
}
Figure