Lune

ICLR2025顶会

Differential learning kinetics govern the transition from memorization to generalization during in-context learning

Alex Nguyen, Gautam Reddy

摘要

Transformers exhibit in-context learning (ICL): the ability to use novel information presented in the context without additional weight updates. Recent work shows that ICL emerges when models are trained on a sufficiently diverse set of tasks and the transition from memorization to generalization is sharp with increasing task diversity. One interpretation is that a network's limited capacity to memorize favors generalization. Here, we examine the mechanistic underpinnings of this transition using a small transformer applied to a synthetic ICL task. Using theory and experiment, we show that the sub-circuits that memorize and generalize can be viewed as largely independent. The relative rates at which these subcircuits learn explains the transition from memorization to generalization, rather than capacity constraints. We uncover a memorization scaling law, which determines the task diversity threshold at which the network generalizes. The theory quantitatively explains a variety of other ICL-related phenomena, including the long-tailed distribution of when ICL is acquired, the bimodal behavior of solutions close to the task diversity threshold, the influence of contextual and data distributional statistics on ICL, and the transient nature of ICL.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Data Distributional Properties Drive Emergent In-Context Learning in Transformers 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • An evolutionary perspective on modes of learning in Transformers 引用了 Data Distributional Properties Drive Emergent In-Context Learning in Transformers
  • An evolutionary perspective on modes of learning in Transformers 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • An evolutionary perspective on modes of learning in Transformers 引用了 Language Models are Few-Shot Learners
  • An evolutionary perspective on modes of learning in Transformers 引用了 Transformers Learn In-Context by Gradient Descent
  • Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering 引用了 Language Models are Few-Shot Learners
  • Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering 引用了 Transformers Learn In-Context by Gradient Descent
  • Context and Diversity Matter: The Emergence of In-Context Learning in World Models 引用了 Data Distributional Properties Drive Emergent In-Context Learning in Transformers
  • Context and Diversity Matter: The Emergence of In-Context Learning in World Models 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • Context and Diversity Matter: The Emergence of In-Context Learning in World Models 引用了 Language Models are Few-Shot Learners
  • Context and Diversity Matter: The Emergence of In-Context Learning in World Models 引用了 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
  • In-Context Learning Strategies Emerge Rationally 引用了 Data Distributional Properties Drive Emergent In-Context Learning in Transformers
  • In-Context Learning Strategies Emerge Rationally 引用了 Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering
  • In-Context Learning Strategies Emerge Rationally 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • In-Context Learning Strategies Emerge Rationally 引用了 Language Models are Few-Shot Learners
  • In-Context Learning Strategies Emerge Rationally 引用了 Transformers Learn In-Context by Gradient Descent
  • In-Context Learning Strategies Emerge Rationally 引用了 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
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. In-Context Learning Strategies Emerge RationallyDaniel Wurgaft, Ekdeep Singh Lubana, Core Francisco Park, Hidenori Tanaka 等NeurIPS 2025 · 19 次引用
  2. Context and Diversity Matter: The Emergence of In-Context Learning in World ModelsFan Wang, ZHIYUAN CHEN, YUXUAN ZHONG, Sunjian Zheng 等ICLR 2026 · 5 次引用
  3. An evolutionary perspective on modes of learning in TransformersAlexander Ku, Thomas L. Griffiths, Stephanie C. Y. ChanICLR 2026 · 1 次引用
  4. Li2: A Framework on Dynamics of Feature Emergence and Delayed GeneralizationYuandong TianICLR 2026
  5. Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation SteeringEric Bigelow, Daniel Wurgaft, YingQiao Wang, Noah Goodman 等ICML 2026

它引用的 Paper16

  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. When can in-context learning generalize out of task distribution?Page C. Goddard, Lindsay M. Smith, Vudtiwat Ngampruetikorn, David J. SchwabICML 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. Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressionAllan Raventós, Mansheej Paul, Feng Chen, Surya GanguliNeurIPS 2023 · 174 次引用
  4. Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit EmergenceGouki Minegishi, Hiroki Furuta, Shohei Taniguchi, Yusuke Iwasawa 等ICML 2025
  5. Strategy Coopetition Explains the Emergence and Transience of In-Context LearningAaditya K. Singh, Ted Moskovitz, Sara Dragutinovic, Felix Hill 等ICML 2025
黄昏的海面,两侧是细线勾勒的悬崖