Lune

ICLR2024顶会

How do Language Models Bind Entities in Context?

Jiahai Feng, Jacob Steinhardt

摘要

To correctly use in-context information, language models (LMs) must bind entities to their attributes. For example, given a context describing a "green square" and a "blue circle", LMs must bind the shapes to their respective colors. We analyze LM representations and identify the binding ID mechanism: a general mechanism for solving the binding problem, which we observe in every sufficiently large model from the Pythia and LLaMA families. Using causal interventions, we show that LMs' internal activations represent binding information by attaching binding ID vectors to corresponding entities and attributes. We further show that binding ID vectors form a continuous subspace, in which distances between binding ID vectors reflect their discernability. Overall, our results uncover interpretable strategies in LMs for representing symbolic knowledge in-context, providing a step towards understanding general in-context reasoning in large-scale LMs.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Locating and Editing Factual Associations in GPT 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • Talking Heads: Understanding Inter-Layer Communication in Transformer Language Models 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • 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
  • Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Context 引用了 Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking
  • Grokking of Implicit Reasoning in Transformers: A Mechanistic Journey to the Edge of Generalization 引用了 Locating and Editing Factual Associations in GPT
  • Grokking of Implicit Reasoning in Transformers: A Mechanistic Journey to the Edge of Generalization 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking 引用了 Locating and Editing Factual Associations in GPT
  • Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper34

  1. Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity TrackingNikhil Prakash, Tamar Rott Shaham, Tal Haklay, Yonatan Belinkov 等ICLR 2024 · 113 次引用
  2. Talking Heads: Understanding Inter-Layer Communication in Transformer Language ModelsJack Merullo, Carsten Eickhoff, Ellie PavlickNeurIPS 2024 · 49 次引用
  3. Grokking of Implicit Reasoning in Transformers: A Mechanistic Journey to the Edge of GeneralizationBoshi Wang, Xiang Yue, Yu Su, Huan SunNeurIPS 2024 · 48 次引用
  4. Mixing Mechanisms: How Language Models Retrieve Bound Entities In-ContextYoav Gur-Arieh, Mor Geva, Atticus GeigerICLR 2026 · 26 次引用
  5. Does Object Binding Naturally Emerge in Large Pretrained Vision Transformers?Yihao Li, Saeed Salehi, Lyle H. Ungar, Konrad P. KordingNeurIPS 2025 · 20 次引用

它引用的 Paper19

  1. Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
  2. Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein 等ICML 2021 · 1,843 次引用
  3. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley 等ICML 2023 · 1,822 次引用
  4. Investigating Gender Bias in Language Models Using Causal Mediation AnalysisJesse Vig, Sebastian Gehrmann, Yonatan Belinkov, Sharon Qian 等NeurIPS 2020 · 851 次引用
  5. Causal Abstractions of Neural NetworksAtticus Geiger, Hanson Lu, Thomas Icard, Christopher PottsNeurIPS 2021 · 516 次引用

相关 Paper

  1. Visual symbolic mechanisms: Emergent symbol processing in Vision Language ModelsRim Assouel, Declan Iain Campbell, Yoshua Bengio, Taylor Whittington WebbICLR 2026 · 14 次引用
  2. Cell-Based Representation of Relational Binding in Language ModelsQin Dai, Benjamin Heinzerling, Kentaro InuiACL 2026 · 1 次引用
  3. Representational Analysis of Binding in Language ModelsQin Dai, Benjamin Heinzerling, Kentaro InuiEMNLP 2024 · 1 次引用
  4. I Predict Therefore I Am: Is Next Token Prediction Enough to Learn Human-Interpretable Concepts from Data?Yuhang Liu, Dong Gong, Yichao Cai, Erdun Gao 等ICLR 2026 · 17 次引用
  5. The Geometry of Representational Failures in Vision Language ModelsDaniele Savietto, Declan Campbell, André Panisson, Marco Nurisso 等ICML 2026 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖