mlsanityData to 14 Oct 2026

Learning to Extrapolate in Depth with Looped Transformers

arXiv 2610.14456 ↗First posted 10 Oct 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Looped transformers reuse a single block across iterations, raising a natural question: how far can a block trained at one depth be safely extrapolated to greater depths? We study this question for all-pairs graph connectivity, where harder graphs require longer-range information propagation. We show that under exchangeability and symmetric positive initialization, population training at depth K converges to an update rule governed by a single effective parameter that balances graph propagation against fitting structure unresolved at training depth. This trade-off creates a finite extrapolation window: too few test-time loops provide insufficient propagation, while too many eventually create false connections. We derive explicit endpoints for this window and bound the graph hardness solvable beyond training as a function of training depth and hardness. In particular, a test depth chosen solely from the training distribution can guarantee recovery on substantially harder graphs, with a certified depth gain that grows exponentially as training depth outpaces training hardness. Experiments validate the predicted windows and show how compute budget and initialization affect the optimal training depth.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 27 of its 30 references that are in the map. First posted on arXiv 10 Oct 2026.

Builds on

27 of 30 references.

References · 27

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  3. 2022Transformers learn in-context by gradient descentcited by 732
  4. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
  5. 2018Universal Transformerscited by 647
  6. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
  7. 2023Trained Transformers Learn Linear Models In-Contextcited by 337
  8. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
  9. 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 240
  10. 2023Looped Transformers as Programmable Computerscited by 237
  11. 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 222
  12. 2022Exploring Length Generalization in Large Language Modelscited by 206
15 more
  1. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
  2. 2023Looped Transformers are Better at Learning Learning Algorithmscited by 149
  3. 2020From Local Structures to Size Generalization in Graph Neural Networkscited by 124
  4. 2019Neural Execution of Graph Algorithmscited by 121
  5. 2021Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent Networkscited by 117
  6. 2022The CLRS Algorithmic Reasoning Benchmarkcited by 106
  7. 2024Looped Transformers for Length Generalizationcited by 99
  8. 2024Transformers, parallel computation, and logarithmic depthcited by 79
  9. 2024Understanding Transformer Reasoning Capabilities via Graph Algorithmscited by 67
  10. 2024Can Looped Transformers Learn to Implement Multi-step Gradient Descent for In-context Learning?cited by 65
  11. 2025A Little Depth Goes a Long Way: The Expressive Power of Log-Depth Transformerscited by 53
  12. 2024Simulation of Graph Algorithms with Looped Transformerscited by 30
  13. 2024Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descentcited by 22
  14. 2025Transformers Provably Learn Algorithmic Solutions for Graph Connectivity, But Only with the Right Datacited by 2
  15. 2026Looped Transformers with Layer Normalization Provably Learn the Power Methodcited by 2

Built on by

Not cited yet.