Looped Transformers with Layer Normalization Provably Learn the Power Method
Not on the map. Why?
Abstract (arXiv)
Transformers have achieved remarkable success across a wide range of applications, and a growing body of work suggests that part of their strength comes from their ability to learn and execute algorithmic procedures. However, our understanding of how transformers learn such algorithms remains limited, especially in the presence of layer normalization (LN). In this work, we study principal component prediction as a concrete testbed for understanding the training dynamics of transformers with LN. We prove that a looped linear transformer with LN, trained by gradient descent, converges to a solution that implements the power method, with each self-attention layer performing one power iteration. Notably, the model is trained only for principal component prediction, rather than being explicitly supervised to implement the power method. Our finding thus reveals an "algorithmic implicit bias" of looped transformers with LN: principal-component prediction can in principle be achieved by many mechanisms, yet gradient descent selects one that realizes the power method. We further provide a concrete comparison between transformers with and without LN: even with layerwise guidance from power iterations, a transformer without LN cannot exactly learn the power method, whereas the corresponding transformer with LN can, leading to a provable performance gap in principal component prediction. Our results provide, to our knowledge, the first theoretical analysis of the training dynamics of looped and single-layer transformers with LN, and shed light on the role of LN in transformer models.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 15 of its 56 references that are in the map. First posted on arXiv 30 May 2026.
Builds on
15 of 56 references.
References · 15
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2025Gemma 3 Technical Reportcited by 1,824
- 2022In-context Learning and Induction Headscited by 964
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
- 2022A Survey on In-context Learningcited by 721
- 2023How Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representationscited by 75
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 70
- 2023Toward Understanding Why Adam Converges Faster Than SGD for Transformerscited by 53
- 2021On the Expressive Power of Self-Attention Matricescited by 47
- 2024In-Context Learning of a Linear Transformer Block: Benefits of the MLP Component and One-Step GD Initializationcited by 33
- 2020On the Ability and Limitations of Transformers to Recognize Formal Languagescited by 13
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026Loop the Loopies!cited by 8
- 2026Learning to Extrapolate in Depth with Looped Transformerscited by 0
- 2026Learning to Extrapolate in Depth with Looped Transformers10 Oct 2026
- 2026Loop the Loopies!17 Jul 2026