Can Looped Transformers Learn to Implement Multi-step Gradient Descent for In-context Learning?
Not on the map. Why?
Cited by 21 in LLM reasoning, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
The remarkable capability of Transformers to do reasoning and few-shot learning, without any fine-tuning, is widely conjectured to stem from their ability to implicitly simulate a multi-step algorithms -- such as gradient descent -- with their weights in a single forward pass. Recently, there has been progress in understanding this complex phenomenon from an expressivity point of view, by demonstrating that Transformers can express such multi-step algorithms. However, our knowledge about the more fundamental aspect of its learnability, beyond single layer models, is very limited. In particular, can training Transformers enable convergence to algorithmic solutions? In this work we resolve this for in-context linear regression with linear looped Transformers -- a multi-layer model with weight sharing that is conjectured to have an inductive bias to learn fix-point iterative algorithms. More specifically, for this setting we show that the global minimizer of the population training loss implements multi-step preconditioned gradient descent, with a preconditioner that adapts to the data distribution. Furthermore, we show a fast convergence for gradient flow on the regression loss, despite the non-convexity of the landscape, by proving a novel gradient dominance condition. To our knowledge, this is the first theoretical analysis for multi-layer Transformer in this setting. We further validate our theoretical findings through synthetic experiments.
Key facts. Cited by 60 papers in the map (data through 7 Oct 2026). Builds on 26 of its 30 references that are in the map. First posted on arXiv 10 Oct 2024.
Builds on
26 of 30 references.
References · 26
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2018Learning and Generalization in Overparameterized Neural Networks, Going Beyond Two Layerscited by 340
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
14 more
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2023Looped Transformers as Programmable Computerscited by 224
- 2022Language models show human-like content effects on reasoning taskscited by 171
- 2023Looped Transformers are Better at Learning Learning Algorithmscited by 135
- 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129
- 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
- 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 99
- 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 97
- 2023Uncovering mesa-optimization algorithms in Transformerscited by 94
- 2017Residual Connections Encourage Iterative Inferencecited by 74
- 2023Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear Regressioncited by 47
- 2023Trainable Transformer in Transformercited by 17
- 2022From Gradient Flow on Population Loss to Learning with Stochastic Gradient Descentcited by 5
Built on by
Citing papers per year: 2024: 9; 2025: 25; 2026: 26.
60 papers.
Sort:
By area:
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
- 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 223
- 2025Scaling Latent Reasoning via Looped Language Modelscited by 145
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 120
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 72
- 2025A Survey on Latent Reasoningcited by 71
- 2026LoopFormer: Elastic-Depth Looped Transformers for Latent Reasoning via Shortcut Modulationcited by 48
- 2025Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrencecited by 41
- 2025Harnessing the Reasoning Economy: A Survey of Efficient Reasoning for Large Language Modelscited by 35
- 2024Pretrained transformer efficiently learns low-dimensional target functions in-contextcited by 29
- 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughtscited by 23
- 2024Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descentcited by 21
38 more
- 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivitycited by 21
- 2024Looped ReLU MLPs May Be All You Need as Practical Programmable Computerscited by 19
- 2025Enhancing Auto-regressive Chain-of-Thought through Loop-Aligned Reasoningcited by 19
- 2026Training-Free Looped Transformerscited by 12
- 2024On the Role of Depth and Looping for In-Context Learning with Task Diversitycited by 11
- 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learningcited by 11
- 2026ELT: Elastic Looped Transformers for Visual Generationcited by 11
- 2026Residual Context Diffusion Language Modelscited by 9
- 2025Efficient Parallel Samplers for Recurrent-Depth Models and Their Connection to Diffusion Language Modelscited by 7
- 2026On the Residual Scaling of Looped Transformers: Stability and Transferabilitycited by 7
- 2024Context-Scaling versus Task-Scaling in In-Context Learningcited by 6
- 2026Prioritize the Process, Not Just the Outcome: Rewarding Latent Thought Trajectories Improves Reasoning in Looped Language Modelscited by 6
- 2025Out-of-Distribution Generalization of In-Context Learning: A Low-Dimensional Subspace Perspectivecited by 5
- 2026LT2: Linear-Time Looped Transformerscited by 5
- 2026When Does Recurrence Become an Algorithm? Convergence Selection in Weight-Tied Looped Transformerscited by 5
- 2024Advancing the Understanding of Fixed Point Iterations in Deep Neural Networks: A Detailed Analytical Studycited by 4
- 2025Understanding the Role of Training Data in Test-Time Scalingcited by 4
- 2026Looping Back to Move Forward: Recursive Transformers for Efficient and Flexible Large Multimodal Modelscited by 4
- 2026DeepLoop: Depth Scaling for Looped Transformerscited by 4
- 2026Loop the Loopies!cited by 4
- 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformerscited by 3
- 2025Test time training enhances in-context learning of nonlinear functionscited by 3
- 2025Rectifying LLM Thought from Lens of Optimizationcited by 3
- 2026Rethinking Zero-Shot Time Series Classification: From Task-specific Classifiers to In-Context Inferencecited by 3
- 2026Latent Thoughts Tuning: Bridging Context and Reasoning with Fused Information in Latent Tokenscited by 3
- 2026Continuous Latent Contexts Enable Efficient Online Learning in Transformerscited by 3
- 2024Learning in the Recurrent State: Gradient Descent with Linear Recurrent Networkscited by 2
- 2025StagFormer: Time Staggering Transformer Decoding for RunningLayers In Parallelcited by 2
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learnerscited by 2
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspectivecited by 2
- 2025Towards Provable Emergence of In-Context Reinforcement Learningcited by 2
- 2024Provable optimal transport with transformers: The essence of depth and prompt engineeringcited by 1
- 2025VersatileFFN: Achieving Parameter Efficiency in LLMs via Adaptive Wide-and-Deep Reusecited by 1
- 2026Learned Relay Representations for Forward-Thinking Discrete Diffusion Modelscited by 1
- 2025In-Context Learning with Hypothesis-Class Guidancecited by 0
- 2025COGITAO: A Visual Reasoning Framework To Study Compositionality & Generalizationcited by 0
- 2025Optimality and NP-Hardness of Transformers in Learning Markovian Dynamical Functionscited by 0
- 2026Reasoning While Recommending: Entropy-Guided Latent Reasoning in Generative Re-ranking Modelscited by 0
50 most cited of 60 All 60 (JSON)
- 2026Shared Weights, Selected Computations: How Looped Transformers Route What Each Loop Does30 Sep 2026
- 2026LoopVL: Recurrent Visual Intelligence29 Sep 2026
- 2026Looped Transformers as Optimizers29 Sep 2026
- 2026Right Direction, Wrong Step: Geometric Analysis of Finite-Step Failure in Looped Transformers15 Sep 2026
- 2026When Does Recurrence Become an Algorithm? Convergence Selection in Weight-Tied Looped Transformers22 Jul 2026
- 2026Loop the Loopies!17 Jul 2026
- 2026DeepLoop: Depth Scaling for Looped Transformers15 Jul 2026
- 2026Induction Heads Interpolate N-Grams2 Jul 2026
- 2026On the Residual Scaling of Looped Transformers: Stability and Transferability16 Jun 2026
- 2026The Effect of Training Task Diversity on In-Context Learning through the Lens of Low-Dimensional Subspaces5 Jun 2026
- 2026In-Context Optimization for Retrieval-Augmented Generation: A Gradient-Descent Perspective25 May 2026
- 2026Training-Free Looped Transformers22 May 2026
38 more
- 2026Learned Relay Representations for Forward-Thinking Discrete Diffusion Models21 May 2026
- 2026LT2: Linear-Time Looped Transformers20 May 2026
- 2026Continuous Latent Contexts Enable Efficient Online Learning in Transformers11 May 2026
- 2026How Transformers Learn to Plan via Multi-Token Prediction13 Apr 2026
- 2026ELT: Elastic Looped Transformers for Visual Generation10 Apr 2026
- 2026LA-Sign: Looped Transformers with Geometry-aware Alignment for Skeleton-based Sign Language Recognition30 Mar 2026
- 2026LoopFormer: Elastic-Depth Looped Transformers for Latent Reasoning via Shortcut Modulation11 Feb 2026
- 2026Prioritize the Process, Not Just the Outcome: Rewarding Latent Thought Trajectories Improves Reasoning in Looped Language Models11 Feb 2026
- 2026Latent Thoughts Tuning: Bridging Context and Reasoning with Fused Information in Latent Tokens10 Feb 2026
- 2026Looping Back to Move Forward: Recursive Transformers for Efficient and Flexible Large Multimodal Models9 Feb 2026
- 2026Beyond What Seems Necessary: Hidden Gains from Scaling Training-Time Reasoning Length under Outcome Supervision31 Jan 2026
- 2026Rethinking Zero-Shot Time Series Classification: From Task-specific Classifiers to In-Context Inference31 Jan 2026
- 2026Residual Context Diffusion Language Models30 Jan 2026
- 2026Reasoning While Recommending: Entropy-Guided Latent Reasoning in Generative Re-ranking Models20 Jan 2026
- 2025VersatileFFN: Achieving Parameter Efficiency in LLMs via Adaptive Wide-and-Deep Reuse16 Dec 2025
- 2025Rectifying LLM Thought from Lens of Optimization1 Dec 2025
- 2025Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrence10 Nov 2025
- 2025Scaling Latent Reasoning via Looped Language Models29 Oct 2025
- 2025Optimality and NP-Hardness of Transformers in Learning Markovian Dynamical Functions21 Oct 2025
- 2025Efficient Parallel Samplers for Recurrent-Depth Models and Their Connection to Diffusion Language Models16 Oct 2025
- 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughts8 Oct 2025
- 2025Understanding the Role of Training Data in Test-Time Scaling4 Oct 2025
- 2025Test time training enhances in-context learning of nonlinear functions30 Sep 2025
- 2025Towards Provable Emergence of In-Context Reinforcement Learning22 Sep 2025
- 2025COGITAO: A Visual Reasoning Framework To Study Compositionality & Generalization5 Sep 2025
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation14 Jul 2025
- 2025A Survey on Latent Reasoning8 Jul 2025
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspective26 May 2025
- 2025Out-of-Distribution Generalization of In-Context Learning: A Low-Dimensional Subspace Perspective20 May 2025
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learners20 May 2025
- 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learning6 Apr 2025
- 2025Harnessing the Reasoning Economy: A Survey of Efficient Reasoning for Large Language Models31 Mar 2025
- 2025In-Context Learning with Hypothesis-Class Guidance27 Feb 2025
- 2025Reasoning with Latent Thoughts: On the Power of Looped Transformers24 Feb 2025
- 2025Enhancing Auto-regressive Chain-of-Thought through Loop-Aligned Reasoning12 Feb 2025
- 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivity10 Feb 2025
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach7 Feb 2025
- 2025StagFormer: Time Staggering Transformer Decoding for RunningLayers In Parallel26 Jan 2025
50 newest of 60 All 60 (JSON)
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
- 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 223
- 2025Scaling Latent Reasoning via Looped Language Modelscited by 145
- 2025A Survey on Latent Reasoningcited by 71
- 2026LoopFormer: Elastic-Depth Looped Transformers for Latent Reasoning via Shortcut Modulationcited by 48
- 2025Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrencecited by 41
- 2025Harnessing the Reasoning Economy: A Survey of Efficient Reasoning for Large Language Modelscited by 35
- 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughtscited by 23
- 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivitycited by 21
- 2025Enhancing Auto-regressive Chain-of-Thought through Loop-Aligned Reasoningcited by 19
- 2026Prioritize the Process, Not Just the Outcome: Rewarding Latent Thought Trajectories Improves Reasoning in Looped Language Modelscited by 6
- 2025Understanding the Role of Training Data in Test-Time Scalingcited by 4
12 most cited of 21 All 21 (JSON)
- 2026Right Direction, Wrong Step: Geometric Analysis of Finite-Step Failure in Looped Transformers15 Sep 2026
- 2026Learned Relay Representations for Forward-Thinking Discrete Diffusion Models21 May 2026
- 2026LoopFormer: Elastic-Depth Looped Transformers for Latent Reasoning via Shortcut Modulation11 Feb 2026
- 2026Prioritize the Process, Not Just the Outcome: Rewarding Latent Thought Trajectories Improves Reasoning in Looped Language Models11 Feb 2026
- 2026Latent Thoughts Tuning: Bridging Context and Reasoning with Fused Information in Latent Tokens10 Feb 2026
- 2026Beyond What Seems Necessary: Hidden Gains from Scaling Training-Time Reasoning Length under Outcome Supervision31 Jan 2026
- 2026Reasoning While Recommending: Entropy-Guided Latent Reasoning in Generative Re-ranking Models20 Jan 2026
- 2025Rectifying LLM Thought from Lens of Optimization1 Dec 2025
- 2025Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrence10 Nov 2025
- 2025Scaling Latent Reasoning via Looped Language Models29 Oct 2025
- 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughts8 Oct 2025
- 2025Understanding the Role of Training Data in Test-Time Scaling4 Oct 2025
12 newest of 21 All 21 (JSON)
- 2026Training-Free Looped Transformerscited by 12
- 2026Loop the Loopies!cited by 4
- 2026Loop the Loopies!17 Jul 2026
- 2026Training-Free Looped Transformers22 May 2026
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 120
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 72
- 2024Pretrained transformer efficiently learns low-dimensional target functions in-contextcited by 29
- 2024Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descentcited by 21
- 2024Looped ReLU MLPs May Be All You Need as Practical Programmable Computerscited by 19
- 2024On the Role of Depth and Looping for In-Context Learning with Task Diversitycited by 11
- 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learningcited by 11
- 2026ELT: Elastic Looped Transformers for Visual Generationcited by 11
- 2026On the Residual Scaling of Looped Transformers: Stability and Transferabilitycited by 7
- 2024Context-Scaling versus Task-Scaling in In-Context Learningcited by 6
- 2025Out-of-Distribution Generalization of In-Context Learning: A Low-Dimensional Subspace Perspectivecited by 5
- 2026LT2: Linear-Time Looped Transformerscited by 5
12 most cited of 33 All 33 (JSON)
- 2026Shared Weights, Selected Computations: How Looped Transformers Route What Each Loop Does30 Sep 2026
- 2026LoopVL: Recurrent Visual Intelligence29 Sep 2026
- 2026Looped Transformers as Optimizers29 Sep 2026
- 2026When Does Recurrence Become an Algorithm? Convergence Selection in Weight-Tied Looped Transformers22 Jul 2026
- 2026DeepLoop: Depth Scaling for Looped Transformers15 Jul 2026
- 2026Induction Heads Interpolate N-Grams2 Jul 2026
- 2026On the Residual Scaling of Looped Transformers: Stability and Transferability16 Jun 2026
- 2026The Effect of Training Task Diversity on In-Context Learning through the Lens of Low-Dimensional Subspaces5 Jun 2026
- 2026LT2: Linear-Time Looped Transformers20 May 2026
- 2026Continuous Latent Contexts Enable Efficient Online Learning in Transformers11 May 2026
- 2026How Transformers Learn to Plan via Multi-Token Prediction13 Apr 2026
- 2026ELT: Elastic Looped Transformers for Visual Generation10 Apr 2026
12 newest of 33 All 33 (JSON)