Lune

ICLR2024顶会

The mechanistic basis of data dependence and abrupt learning in an in-context classification task

Gautam Reddy

摘要

Transformer models exhibit in-context learning: the ability to accurately predict the response to a novel query based on illustrative examples in the input sequence. In-context learning contrasts with traditional in-weights learning of query-output relationships. What aspects of the training data distribution and architecture favor in-context vs in-weights learning? Recent work has shown that specific distributional properties inherent in language, such as burstiness, large dictionaries and skewed rank-frequency distributions, control the trade-off or simultaneous appearance of these two forms of learning. We first show that these results are recapitulated in a minimal attention-only network trained on a simplified dataset. In-context learning (ICL) is driven by the abrupt emergence of an induction head, which subsequently competes with in-weights learning. By identifying progress measures that precede in-context learning and targeted experiments, we construct a two-parameter model of an induction head which emulates the full data distributional dependencies displayed by the attention-based network. A phenomenological model of induction head formation traces its abrupt emergence to the sequential learning of three nested logits enabled by an intrinsic curriculum. We propose that the sharp transitions in attention-based networks arise due to a specific chain of multi-layer operations necessary to achieve ICL, which is implemented by nested nonlinearities sequentially learned during training.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Data Distributional Properties Drive Emergent In-Context Learning in Transformers 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formation 引用了 Data Distributional Properties Drive Emergent In-Context Learning in Transformers
  • What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formation 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formation 引用了 Language Models are Few-Shot Learners
  • What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formation 引用了 Transformers Learn In-Context by Gradient Descent
  • Talking Heads: Understanding Inter-Layer Communication in Transformer Language Models 引用了 What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formation
  • How Transformers Learn Causal Structure with Gradient Descent 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • How Transformers Learn Causal Structure with Gradient Descent 引用了 Language Models are Few-Shot Learners
  • How Transformers Learn Causal Structure with Gradient Descent 引用了 Transformers Learn In-Context by Gradient Descent
  • How Transformers Learn Causal Structure with Gradient Descent 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • An Explanation of In-context Learning as Implicit Bayesian Inference 引用了 Language Models are Few-Shot Learners
  • The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains 引用了 Data Distributional Properties Drive Emergent In-Context Learning in Transformers
  • The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains 引用了 How Transformers Learn Causal Structure with Gradient Descent
  • The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains 引用了 Language Models are Few-Shot Learners
  • The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • Why Larger Language Models Do In-context Learning Differently? 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • Why Larger Language Models Do In-context Learning Differently? 引用了 Language Models are Few-Shot Learners
  • Why Larger Language Models Do In-context Learning Differently? 引用了 Transformers Learn In-Context by Gradient Descent
  • Why Larger Language Models Do In-context Learning Differently? 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • Transformers Learn In-Context by Gradient Descent 引用了 Data Distributional Properties Drive Emergent In-Context Learning in Transformers
  • Transformers Learn In-Context by Gradient Descent 引用了 Language Models are Few-Shot Learners
  • Transformers Learn In-Context by Gradient Descent 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • What Can Transformers Learn In-Context? A Case Study of Simple Function Classes 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • What Can Transformers Learn In-Context? A Case Study of Simple Function Classes 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper54

  1. The Evolution of Statistical Induction Heads: In-Context Learning Markov ChainsEzra Edelman, Nikolaos Tsilivis, Benjamin L. Edelman, Eran Malach 等NeurIPS 2024 · 140 次引用
  2. How Transformers Learn Causal Structure with Gradient DescentEshaan Nichani, Alex Damian, Jason D. LeeICML 2024 · 117 次引用
  3. What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formationAaditya K. Singh, Ted Moskovitz, Felix Hill, Stephanie C. Y. Chan 等ICML 2024 · 77 次引用
  4. Why Larger Language Models Do In-context Learning Differently?Zhenmei Shi, Junyi Wei, Zhuoyan Xu, Yingyu LiangICML 2024 · 54 次引用
  5. Talking Heads: Understanding Inter-Layer Communication in Transformer Language ModelsJack Merullo, Carsten Eickhoff, Ellie PavlickNeurIPS 2024 · 49 次引用

它引用的 Paper12

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. An Explanation of In-context Learning as Implicit Bayesian InferenceSang Michael Xie, Aditi Raghunathan, Percy Liang, Tengyu MaICLR 2022 · 1,030 次引用
  3. What Can Transformers Learn In-Context? A Case Study of Simple Function ClassesShivam Garg, Dimitris Tsipras, Percy Liang, Gregory ValiantNeurIPS 2022 · 883 次引用
  4. Transformers Learn In-Context by Gradient DescentJohannes von Oswald, Eyvind Niklasson, Ettore Randazzo, João Sacramento 等ICML 2023 · 729 次引用
  5. Data Distributional Properties Drive Emergent In-Context Learning in TransformersStephanie C. Y. Chan, Adam Santoro, Andrew K. Lampinen, Jane X. Wang 等NeurIPS 2022 · 407 次引用

相关 Paper

  1. Toward Understanding In-context vs. In-weight LearningBryan Chan, Xinyi Chen, András György, Dale SchuurmansICLR 2025
  2. The Transient Nature of Emergent In-Context Learning in TransformersAaditya K. Singh, Stephanie C. Y. Chan, Ted Moskovitz, Erin Grant 等NeurIPS 2023 · 92 次引用
  3. Differential learning kinetics govern the transition from memorization to generalization during in-context learningAlex Nguyen, Gautam ReddyICLR 2025
  4. Strategy Coopetition Explains the Emergence and Transience of In-Context LearningAaditya K. Singh, Ted Moskovitz, Sara Dragutinovic, Felix Hill 等ICML 2025
  5. Predicting the Emergence of Induction Heads in Language Model PretrainingTatsuya Aoyama, Ethan G Wilcox, Nathan SchneiderICML 2026
黄昏的海面,两侧是细线勾勒的悬崖