Lune

EMNLP2024Top-tier venue

Representational Analysis of Binding in Language Models

Qin Dai, Benjamin Heinzerling, Kentaro Inui

Abstract

Entity tracking is essential for complex reasoning. To perform in-context entity tracking, language models (LMs) must bind an entity to its attribute (e.g., bind a container to its content) to recall attribute for a given entity. For example, given a context mentioning "The coffee is in Box Z, the stone is in Box M, the map is in Box H", to infer "Box Z contains the coffee" later, LMs must bind "Box Z" to "coffee". To explain the binding behaviour of LMs, Feng and Steinhardt (2023) introduce a Binding ID mechanism and state that LMs use a abstract concept called Binding ID (BI) to internally mark entity-attribute pairs. However, they have not captured the Ordering ID (OI) from entity activations that directly determines the binding behaviour. In this work, we provide a novel view of the BI mechanism by localizing OI and proving the causality between OI and binding behaviour. Specifically, by leveraging dimension reduction methods (e.g., PCA), we discover that there exists a low-rank subspace in the activations of LMs, that primarily encodes the order (i.e., OI) of entity and attribute. Moreover, we also discover the causal effect of OI on binding that when editing representations along the OI encoding direction, LMs tend to bind a given entity to other attributes accordingly. For example, by patching activations along the OI encoding direction we can make the LM to infer "Box Z contains the stone" and "Box Z contains the map". The code and datasets used in this paper are available at https://github.com/cl-tohoku/OI-Subspace .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Language Models Represent Space and Time cites Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Language Models Use Lookbacks to Track Beliefs cites Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • Language Models Use Lookbacks to Track Beliefs cites Causal Abstractions of Neural Networks
  • Addressing divergent representations from causal interventions on neural networks cites Causal Abstractions of Neural Networks
  • The Mechanistic Emergence of Symbol Grounding in Language Models cites Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Context cites Language Models Use Lookbacks to Track Beliefs
  • Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Context cites Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Context cites Causal Abstractions of Neural Networks
  • How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model cites Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model cites Causal Abstractions of Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Language Models Use Lookbacks to Track BeliefsNikhil Prakash, Natalie Shapira, Arnab Sen Sharma, Christoph Riedl et al.ICLR 2026 · 42 citations
  2. Mixing Mechanisms: How Language Models Retrieve Bound Entities In-ContextYoav Gur-Arieh, Mor Geva, Atticus GeigerICLR 2026 · 26 citations
  3. Addressing divergent representations from causal interventions on neural networksSatchel Grant, Simon Jerome Han, Alexa R. Tartaglini, Christopher PottsICLR 2026 · 7 citations
  4. The Mechanistic Emergence of Symbol Grounding in Language ModelsShuyu Wu, Ziqiao Ma, Xiaoxi Luo, Yidong Huang et al.ICML 2026 · 4 citations
  5. Uncovering Grounding IDs: How External Cues Shape Multi-Modal BindingAmirmohammad Izadi, Hosein Hasani, Fatemeh Askari, Mobin Bagherian et al.ICML 2026 · 3 citations

Builds on15

  1. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley et al.ICML 2023 · 1,822 citations
  2. Investigating Gender Bias in Language Models Using Causal Mediation AnalysisJesse Vig, Sebastian Gehrmann, Yonatan Belinkov, Sharon Qian et al.NeurIPS 2020 · 851 citations
  3. Causal Abstractions of Neural NetworksAtticus Geiger, Hanson Lu, Thomas Icard, Christopher PottsNeurIPS 2021 · 516 citations
  4. Language Models Represent Space and TimeWes Gurnee, Max TegmarkICLR 2024 · 303 citations
  5. How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelMichael Hanna, Ollie Liu, Alexandre VariengienNeurIPS 2023 · 251 citations

Related papers

  1. How do Language Models Bind Entities in Context?Jiahai Feng, Jacob SteinhardtICLR 2024 · 81 citations
  2. Cell-Based Representation of Relational Binding in Language ModelsQin Dai, Benjamin Heinzerling, Kentaro InuiACL 2026 · 1 citation
  3. Linear Mechanisms for Spatiotemporal Reasoning in Vision Language ModelsRaphaela Kang, Hongqiao Chen, Georgia Gkioxari, Pietro PeronaICLR 2026 · 11 citations
  4. Do Language Models Track Entities Across State Changes?Zilu Tang, Qiao Zhao, Gabriel Franco, Derry Wijaya et al.ICML 2026
  5. Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity TrackingNikhil Prakash, Tamar Rott Shaham, Tal Haklay, Yonatan Belinkov et al.ICLR 2024 · 113 citations
Dusk over the sea between two cliffs drawn in fine vertical lines