Pattern Formation in Transformers
Not on the map. Why?
Abstract (arXiv)
What are the inductive biases of a Transformer architecture? Existing theory on how the forward pass shapes representations either considers whether Transformers escape from rank collapse or demonstrates that self-attention drives tokens toward cluster patterns. The latter view arises from an elegant dynamical systems perspective, but relies on simplified architectural assumptions, and does not explain the rich structures observed in practice. This leaves a major open question: when a full Transformer escapes rank collapse, how does it structure token representations? Using pattern-formation theory, we show that the dynamical view of Transformers can account for Positional Encoding, Multi-Head Attention, and Output-Value geometry. We demonstrate that a full Transformer architecture imposes an inductive prior by selectively amplifying a rich set of previously unreported patterns, including traveling or rotating waves among others. We characterize the role of each architectural component in controlling which pattern is amplified, which ones stabilize, compete, or coexist. Finally, we show that these structures can act as a controllable dynamical prior that facilitates learning. By choosing both task-aligned positional encoding and weight initialization, we demonstrate improved data efficiency and accelerated optimization on controlled sequence tasks and with ConViT on CIFAR-10.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 38 references that are in the map. First posted on arXiv 29 Sep 2026.
Builds on
28 of 38 references.
References · 28
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2018Universal Transformerscited by 613
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2022How Do Vision Transformers Work?cited by 305
- 2022Anti-Oversmoothing in Deep Vision Transformers via the Fourier Domain Analysis: From Theory to Practicecited by 136
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
- 2023The emergence of clusters in self-attention dynamicscited by 133
- 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 108
16 more
- 2022Revisiting Over-smoothing in BERT from the Perspective of Graphcited by 71
- 2025Transformers without Normalizationcited by 69
- 2023Mimetic Initialization of Self-Attention Layerscited by 52
- 2024Neural Redshift: Random Networks are not Random Functionscited by 43
- 2024Geometric Dynamics of Signal Propagation Predict Trainability of Transformerscited by 24
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 24
- 2024Setting the Record Straight on Transformer Oversmoothingcited by 19
- 2024Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Modelscited by 17
- 2023Traveling Waves Encode the Recent Past and Enhance Sequence Learningcited by 16
- 2025Two failure modes of deep transformers and how to avoid them: a unified theory of signal propagation at initialisationcited by 15
- 2022An initial alignment between neural network and target is needed for gradient descent to learncited by 12
- 2025Structured Initialization for Vision Transformerscited by 6
- 2025Recurrent Self-Attention Dynamics: An Energy-Agnostic Perspective from Jacobianscited by 4
- 2026Transformers Are Born Biased: Structural Inductive Biases at Random Initialization and Their Practical Consequencescited by 4
- 2024Training the Untrainable: Introducing Inductive Bias via Representational Alignmentcited by 3
- 2026Beyond ReLU: Bifurcation, Oversmoothing, and Topological Priorscited by 2
Built on by
Not cited yet.