Lune

ICLR2026顶会

Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Context

Yoav Gur-Arieh, Mor Geva, Atticus Geiger

摘要

A key component of in-context reasoning is the ability of language models (LMs) to bind entities for later retrieval. For example, an LM might represent Ann loves pie by binding Ann to pie, allowing it to later retrieve Ann when asked Who loves pie? Prior research on short lists of bound entities found strong evidence that LMs implement such retrieval via a positional mechanism, where Ann is retrieved based on its position in context. In this work, we find that this mechanism generalizes poorly to more complex settings; as the number of bound entities in context increases, the positional mechanism becomes noisy and unreliable in middle positions. To compensate for this, we find that LMs supplement the positional mechanism with a lexical mechanism (retrieving Ann using its bound counterpart pie) and a reflexive mechanism (retrieving Ann through a direct pointer). Through extensive experiments on nine models and ten binding tasks, we uncover a consistent pattern in how LMs mix these mechanisms to drive model behavior. We leverage these insights to develop a causal model combining all three mechanisms that estimates next token distributions with 95% agreement. Finally, we show that our model generalizes to substantially longer inputs of open-ended text interleaved with entity groups, further demonstrating the robustness of our findings in more natural settings. Overall, our study establishes a more complete picture of how LMs bind and retrieve entities in-context.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Decomposing Query-Key Feature Interactions Using Contrastive Covariances 引用了 How do Language Models Bind Entities in Context?
  • How do Language Models Bind Entities in Context? 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
  • How do Language Models Bind Entities in Context? 引用了 Causal Abstractions of Neural Networks
  • How do Language Models Bind Entities in Context? 引用了 Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking
  • Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking 引用了 How do Language Models Bind Entities in Context?
  • Cell-Based Representation of Relational Binding in Language Models 引用了 Causal Abstractions of Neural Networks
  • Do Language Models Track Entities Across State Changes? 引用了 How do Language Models Bind Entities in Context?
  • Do Language Models Track Entities Across State Changes? 引用了 Causal Abstractions of Neural Networks
  • Do Language Models Track Entities Across State Changes? 引用了 Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking
  • Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Decomposing Query-Key Feature Interactions Using Contrastive CovariancesAndrew Lee, Yonatan Belinkov, Fernanda Viégas, Martin WattenbergICML 2026 · 1 次引用
  2. Cell-Based Representation of Relational Binding in Language ModelsQin Dai, Benjamin Heinzerling, Kentaro InuiACL 2026 · 1 次引用
  3. Do Language Models Track Entities Across State Changes?Zilu Tang, Qiao Zhao, Gabriel Franco, Derry Wijaya 等ICML 2026

它引用的 Paper12

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  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. Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity TrackingNikhil Prakash, Tamar Rott Shaham, Tal Haklay, Yonatan Belinkov 等ICLR 2024 · 113 次引用
  5. How do Language Models Bind Entities in Context?Jiahai Feng, Jacob SteinhardtICLR 2024 · 81 次引用

相关 Paper

  1. Representational Analysis of Binding in Language ModelsQin Dai, Benjamin Heinzerling, Kentaro InuiEMNLP 2024 · 1 次引用
  2. Linear Mechanisms for Spatiotemporal Reasoning in Vision Language ModelsRaphaela Kang, Hongqiao Chen, Georgia Gkioxari, Pietro PeronaICLR 2026 · 11 次引用
  3. Language Models Use Lookbacks to Track BeliefsNikhil Prakash, Natalie Shapira, Arnab Sen Sharma, Christoph Riedl 等ICLR 2026 · 42 次引用
  4. Look Before You Leap: Universal Emergent Mechanism for Retrieval in Language ModelsAlexandre Variengien, Eric WinsorICLR 2025
  5. Tracing and Dissecting How LLMs Recall Factual Knowledge for Real World QuestionsYiqun Wang, Chaoqun Wan, Sile Hu, Yonggang Zhang 等ACL 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖