Transformer Normalisation Layers and the Independence of Semantic Subspaces
Not on the map. Why?
Abstract (arXiv)
Recent works have shown that transformers can solve contextual reasoning tasks by internally executing computational graphs called circuits. Circuits often use attention to logically match information from subspaces of the representation, e.g. using position-in-sequence to identify the previous token. In this work, we consider a semantic subspace to be any independent subspace of the latent representation that can fully determine an attention distribution. We show that Pre-Norm, the placement of normalisation layer used by state-of-the-art transformers, violates this ability unless the model learns a strict representation structure of orthogonal spheres. This is because it causes linear subspaces to interfere through their common normalisation factor. Theoretically, we analyse circuit stability by modelling this interference as random noise on the L2-norms of the query/key/value vectors, predicting a phenomenon of circuit collapse when sparse-attention shifts to a different token. Empirically, we investigate the sensitivity of real-world models trained for mathematical addition, observing a 1% rate of circuit collapse when the norms are artificially perturbed by lesssim10%. We contrast Pre-Norm with QKV-Norm, which places normalisation after the attention head's linear operators. Theoretically this relaxes the representational constraints. Empirically we observe comparable in-distribution but worse out-of-distribution performance.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 47 of its 68 references that are in the map. First posted on arXiv 25 Jun 2024.
Builds on
47 of 68 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2016Layer Normalizationcited by 5,579
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2022Toy Models of Superpositioncited by 928
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
35 more
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2020Query-Key Normalization for Transformerscited by 266
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2019Visualizing and Measuring the Geometry of BERTcited by 215
- 2019Understanding and Improving Layer Normalizationcited by 213
- 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 197
- 2023Linearity of Relation Decoding in Transformer Language Modelscited by 190
- 2023Localizing Model Behavior with Path Patchingcited by 182
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 182
- 2016Linear Algebraic Structure of Word Senses, with Applications to Polysemycited by 165
- 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
- 2020Finding Universal Grammatical Relations in Multilingual BERTcited by 108
- 2024Information Flow Routes: Automatically Interpreting Language Models at Scalecited by 92
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 88
- 2024What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formationcited by 86
- 2021NormFormer: Improved Transformer Pretraining with Extra Normalizationcited by 83
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2024On the Origins of Linear Representations in Large Language Modelscited by 76
- 2023The Transient Nature of Emergent In-Context Learning in Transformerscited by 72
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2021Incorporating Residual and Normalization Layers into Analysis of Masked Language Modelscited by 50
- 2024On the Role of Attention Masks and LayerNorm in Transformerscited by 45
- 2021The Low-Dimensional Linear Geometry of Contextualized Word Representationscited by 39
- 2023On the Expressivity Role of LayerNorm in Transformers' Attentioncited by 32
- 2023When can transformers reason with abstract symbols?cited by 23
- 2021Transformers with Competitive Ensembles of Independent Mechanismscited by 19
- 2022How to Dissect a Muppet: The Structure of Transformer Embedding Spacescited by 19
- 2017Improving Lexical Choice in Neural Machine Translationcited by 17
- 2024Transforming the Bootstrap: Using Transformers to Compute Scattering Amplitudes in Planar N = 4 Super Yang-Mills Theorycited by 17
- 2023Uncovering hidden geometry in Transformers via disentangling position and contextcited by 15
- 2023Investigating semantic subspaces of Transformer sentence embeddings through linear structural probingcited by 12
- 2023Traveling Words: A Geometric Interpretation of Transformerscited by 7
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 2.
6 papers.
- 2025HybridNorm: Towards Stable and Efficient Transformer Training via Hybrid Normalizationcited by 15
- 2024Methods of improving LLM training stabilitycited by 13
- 2025Looking Locally: Object-Centric Vision Transformers as Foundation Models for Efficient Segmentationcited by 2
- 2026GeoNorm: Unify Pre-Norm and Post-Norm with Geodesic Optimizationcited by 1
- 2024FlashNorm: Fast Normalization for Transformerscited by 0
- 2026Three-Phase Transformercited by 0
- 2026Three-Phase Transformer15 Apr 2026
- 2026GeoNorm: Unify Pre-Norm and Post-Norm with Geodesic Optimization29 Jan 2026
- 2025HybridNorm: Towards Stable and Efficient Transformer Training via Hybrid Normalization6 Mar 2025
- 2025Looking Locally: Object-Centric Vision Transformers as Foundation Models for Efficient Segmentation4 Feb 2025
- 2024Methods of improving LLM training stability22 Oct 2024
- 2024FlashNorm: Fast Normalization for Transformers12 Jul 2024
Similar, not cited
Close in wording, no citation either way
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks
- 2025Is Random Attention Sufficient for Sequence Modeling? Disentangling Trainable Components in the Transformer
- 2026All Routes Lead to Collapse
- 2026Positional versus Symbolic Attention Heads: Learning Dynamics, RoPE Geometry, and Length Generalization
- 2026On the Intrinsic Limits of Transformer Image Embeddings in Non-Solvable Spatial Reasoning
- 2024The Asymptotic Behavior of Attention in Transformers
- 2022Achieving and Understanding Out-of-Distribution Generalization in Systematic Reasoning in Small-Scale Transformers
- 2025From Condensation to Rank Collapse: A Two-Stage Analysis of Transformer Training Dynamics