Lune

ICML2024顶会

Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Context

Xiang Cheng, Yuxin Chen, Suvrit Sra

摘要

Many neural network architectures are known to be Turing Complete, and can thus, in principle implement arbitrary algorithms. However, Transformers are unique in that they can implement gradient-based learning algorithms under simple parameter configurations. This paper provides theoretical and empirical evidence that (non-linear) Transformers naturally learn to implement gradient descent in function space, which in turn enable them to learn non-linear functions in context. Our results apply to a broad class of combinations of non-linear architectures and non-linear in-context learning tasks. Additionally, we show that the optimal choice of non-linear activation depends in a natural way on the class of functions that need to be learned.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • A Theoretical Understanding of Self-Correction through In-context Alignment 引用了 Transformers Learn In-Context by Gradient Descent
  • A Theoretical Understanding of Self-Correction through In-context Alignment 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • Linear Transformers are Versatile In-Context Learners 引用了 Language Models are Few-Shot Learners
  • Linear Transformers are Versatile In-Context Learners 引用了 Transformers Learn In-Context by Gradient Descent
  • Linear Transformers are Versatile In-Context Learners 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • Linear Transformers are Versatile In-Context Learners 引用了 Linear Transformers Are Secretly Fast Weight Programmers
  • How Do Nonlinear Transformers Learn and Generalize in In-Context Learning? 引用了 Language Models are Few-Shot Learners
  • How Do Nonlinear Transformers Learn and Generalize in In-Context Learning? 引用了 Transformers Learn In-Context by Gradient Descent
  • How Do Nonlinear Transformers Learn and Generalize in In-Context Learning? 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • Can large language models explore in-context? 引用了 Language Models are Few-Shot Learners
  • Can large language models explore in-context? 引用了 Transformers Learn In-Context by Gradient Descent
  • Can large language models explore in-context? 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • 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
  • Why Larger Language Models Do In-context Learning Differently? 引用了 Linear Transformers Are Secretly Fast Weight Programmers
  • 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
  • Transformers Learn In-Context by Gradient Descent 引用了 Linear Transformers Are Secretly Fast Weight Programmers
  • What Can Transformers Learn In-Context? A Case Study of Simple Function Classes 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper36

  1. Can large language models explore in-context?Akshay Krishnamurthy, Keegan Harris, Dylan J. Foster, Cyril Zhang 等NeurIPS 2024 · 95 次引用
  2. A Theoretical Understanding of Self-Correction through In-context AlignmentYifei Wang, Yuyang Wu, Zeming Wei, Stefanie Jegelka 等NeurIPS 2024 · 69 次引用
  3. Why Larger Language Models Do In-context Learning Differently?Zhenmei Shi, Junyi Wei, Zhuoyan Xu, Yingyu LiangICML 2024 · 54 次引用
  4. Linear Transformers are Versatile In-Context LearnersMax Vladymyrov, Johannes von Oswald, Mark Sandler, Rong GeNeurIPS 2024 · 37 次引用
  5. How Do Nonlinear Transformers Learn and Generalize in In-Context Learning?Hongkang Li, Meng Wang, Songtao Lu, Xiaodong Cui 等ICML 2024 · 37 次引用

它引用的 Paper18

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. What Can Transformers Learn In-Context? A Case Study of Simple Function ClassesShivam Garg, Dimitris Tsipras, Percy Liang, Gregory ValiantNeurIPS 2022 · 883 次引用
  3. Transformers Learn In-Context by Gradient DescentJohannes von Oswald, Eyvind Niklasson, Ettore Randazzo, João Sacramento 等ICML 2023 · 729 次引用
  4. XCiT: Cross-Covariance Image TransformersAlaaeldin Ali, Hugo Touvron, Mathilde Caron, Piotr Bojanowski 等NeurIPS 2021 · 692 次引用
  5. Linear Transformers Are Secretly Fast Weight ProgrammersImanol Schlag, Kazuki Irie, Jürgen SchmidhuberICML 2021 · 394 次引用

相关 Paper

  1. In-context Learning on Function Classes Unveiled for TransformersZhijie Wang, Bo Jiang, Shuai LiICML 2024 · 8 次引用
  2. Understanding In-Context Learning in Transformers and LLMs by Learning to Learn Discrete FunctionsSatwik Bhattamishra, Arkil Patel, Phil Blunsom, Varun KanadeICLR 2024 · 77 次引用
  3. One-Layer Transformer Provably Learns One-Nearest Neighbor In ContextZihao Li, Yuan Cao, Cheng Gao, Yihan He 等NeurIPS 2024 · 25 次引用
  4. Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear RegressionDeqing Fu, Tianqi Chen, Robin Jia, Vatsal SharanNeurIPS 2024 · 54 次引用
  5. What learning algorithm is in-context learning? Investigations with linear modelsEkin Akyürek, Dale Schuurmans, Jacob Andreas, Tengyu Ma 等ICLR 2023 · 85 次引用
黄昏的海面,两侧是细线勾勒的悬崖