Lune

ICML2025顶会

In-Context Deep Learning via Transformer Models

Weimin Wu, Maojiang Su, Jerry Yao-Chieh Hu, Zhao Song, Han Liu

摘要

We investigate the transformer's capability to simulate the training process of deep models via incontext learning (ICL), i.e., in-context deep learning. Our key contribution is providing a positive example of using a transformer to train a deep neural network by gradient descent in an implicit fashion via ICL. Specifically, we provide an explicit construction of a (2N +4)L-layer transformer capable of simulating L gradient descent steps of an N -layer ReLU network through ICL. We also give the theoretical guarantees for the approximation within any given error and the convergence of the ICL gradient descent. Additionally, we extend our analysis to the more practical setting using Softmax-based transformers. We validate our findings on synthetic datasets for 3-layer, 4layer, and 6-layer neural networks. The results show that ICL performance matches that of direct training.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • In-Context Universal Approximation, Compositional Generalization, and Algorithm Emulation 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • In-Context Universal Approximation, Compositional Generalization, and Algorithm Emulation 引用了 Language Models are Few-Shot Learners
  • In-Context Universal Approximation, Compositional Generalization, and Algorithm Emulation 引用了 Transformers Learn In-Context by Gradient Descent
  • In-Context Universal Approximation, Compositional Generalization, and Algorithm Emulation 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • In-Context Universal Approximation, Compositional Generalization, and Algorithm Emulation 引用了 In-Context Algorithm Emulation in Fixed-Weight Transformers
  • An Explanation of In-context Learning as Implicit Bayesian Inference 引用了 Language Models are Few-Shot Learners
  • In-Context Learning as Conditioned Associative Memory Retrieval 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • In-Context Learning as Conditioned Associative Memory Retrieval 引用了 Language Models are Few-Shot Learners
  • In-Context Learning as Conditioned Associative Memory Retrieval 引用了 Transformers Learn In-Context by Gradient Descent
  • In-Context Learning as Conditioned Associative Memory Retrieval 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • How Does the Pretraining Distribution Shape In-Context Learning? A Fundamental Trade-Off 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • How Does the Pretraining Distribution Shape In-Context Learning? A Fundamental Trade-Off 引用了 Language Models are Few-Shot Learners
  • How Does the Pretraining Distribution Shape In-Context Learning? A Fundamental Trade-Off 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • 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
  • In-Context Algorithm Emulation in Fixed-Weight Transformers 引用了 Language Models are Few-Shot Learners
  • In-Context Algorithm Emulation in Fixed-Weight Transformers 引用了 Transformers Learn In-Context by Gradient Descent
  • In-Context Algorithm Emulation in Fixed-Weight Transformers 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. In-Context Algorithm Emulation in Fixed-Weight TransformersJerry Yao-Chieh Hu, Hude Liu, Jennifer Yuntong Zhang, Han LiuICLR 2026 · 7 次引用
  2. In-Context Universal Approximation, Compositional Generalization, and Algorithm EmulationJerry Yao-Chieh Hu, Hong-Yu Chen, Po-Chiao Lin, Maojiang Su 等ICML 2026
  3. In-Context Learning as Conditioned Associative Memory RetrievalWeimin Wu, Teng-Yun Hsiao, Jerry Yao-Chieh Hu, Wenxin Zhang 等ICML 2025
  4. How Does the Pretraining Distribution Shape In-Context Learning? A Fundamental Trade-OffWaïss Azizian, Ali HasanICML 2026

它引用的 Paper18

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar 等ICLR 2021 · 1,270 次引用
  3. An Explanation of In-context Learning as Implicit Bayesian InferenceSang Michael Xie, Aditi Raghunathan, Percy Liang, Tengyu MaICLR 2022 · 1,030 次引用
  4. What Can Transformers Learn In-Context? A Case Study of Simple Function ClassesShivam Garg, Dimitris Tsipras, Percy Liang, Gregory ValiantNeurIPS 2022 · 883 次引用
  5. Transformers Learn In-Context by Gradient DescentJohannes von Oswald, Eyvind Niklasson, Ettore Randazzo, João Sacramento 等ICML 2023 · 729 次引用

相关 Paper

  1. Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient DescentChenyang Zhang, Yuan CaoICML 2026 · 1 次引用
  2. Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear RegressionDeqing Fu, Tianqi Chen, Robin Jia, Vatsal SharanNeurIPS 2024 · 54 次引用
  3. What learning algorithm is in-context learning? Investigations with linear modelsEkin Akyürek, Dale Schuurmans, Jacob Andreas, Tengyu Ma 等ICLR 2023 · 85 次引用
  4. Chain-of-Thought Gradient DescentHong-Yu Chen, Venkat Ganti, Hude Liu, Jerry Yao-Chieh Hu 等ICML 2026 · 36 次引用
  5. Transformers are almost optimal metalearners for linear classificationRoey Magen, Gal VardiNeurIPS 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖