Lune

EMNLP2024顶会

Representational Analysis of Binding in Language Models

Qin Dai, Benjamin Heinzerling, Kentaro Inui

摘要

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 .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Language Models Represent Space and Time 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Language Models Use Lookbacks to Track Beliefs 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • Language Models Use Lookbacks to Track Beliefs 引用了 Causal Abstractions of Neural Networks
  • Addressing divergent representations from causal interventions on neural networks 引用了 Causal Abstractions of Neural Networks
  • The Mechanistic Emergence of Symbol Grounding in Language Models 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Context 引用了 Language Models Use Lookbacks to Track Beliefs
  • Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Context 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Context 引用了 Causal Abstractions of Neural Networks
  • How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model 引用了 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 引用了 Causal Abstractions of Neural Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper15

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

它引用的 Paper15

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

相关 Paper

  1. How do Language Models Bind Entities in Context?Jiahai Feng, Jacob SteinhardtICLR 2024 · 81 次引用
  2. Cell-Based Representation of Relational Binding in Language ModelsQin Dai, Benjamin Heinzerling, Kentaro InuiACL 2026 · 1 次引用
  3. Linear Mechanisms for Spatiotemporal Reasoning in Vision Language ModelsRaphaela Kang, Hongqiao Chen, Georgia Gkioxari, Pietro PeronaICLR 2026 · 11 次引用
  4. Do Language Models Track Entities Across State Changes?Zilu Tang, Qiao Zhao, Gabriel Franco, Derry Wijaya 等ICML 2026
  5. Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity TrackingNikhil Prakash, Tamar Rott Shaham, Tal Haklay, Yonatan Belinkov 等ICLR 2024 · 113 次引用
黄昏的海面,两侧是细线勾勒的悬崖