NormFormer: Improved Transformer Pretraining with Extra Normalization
Not on the map. Why?
Abstract (arXiv)
During pretraining, the Pre-LayerNorm transformer suffers from a gradient magnitude mismatch: gradients at early layers are much larger than at later layers. These issues can be alleviated by our proposed NormFormer architecture, which adds three normalization operations to each layer: a Layer Norm after self attention, head-wise scaling of self-attention outputs, and a Layer Norm after the first fully connected layer. The extra operations incur negligible compute cost (+0.4% parameter increase), but improve pretraining perplexity and downstream task performance for both causal and masked language models ranging from 125 Million to 2.7 Billion parameters. For example, adding NormFormer on top of our strongest 1.3B parameter baseline can reach equal perplexity 24% faster, or converge 0.27 perplexity better in the same compute budget. This model reaches GPT3-Large (1.3B) zero shot performance 60% faster. For masked language modeling, NormFormer improves fine-tuned GLUE performance by 1.9% on average. Code to train NormFormer models is available in fairseq https://github.com/pytorch/fairseq/tree/main/examples/normformer .
Key facts. Cited by 83 papers in the map (data through 7 Oct 2026). Builds on 29 of its 36 references that are in the map. First posted on arXiv 18 Oct 2021.
Builds on
29 of 36 references.
References · 29
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
17 more
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2020GLU Variants Improve Transformercited by 1,724
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2017Mixed Precision Trainingcited by 1,135
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
- 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 260
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 162
- 2017The Shattered Gradients Problem: If resnets are the answer, then what is the question?cited by 156
- 2020EarlyBERT: Efficient BERT Training via Early-bird Lottery Ticketscited by 79
- 2020Shortformer: Better Language Modeling using Shorter Inputscited by 76
- 2019Improving Transformer Models by Reordering their Sublayerscited by 52
- 2021GradInit: Learning to Initialize Neural Networks for Stable and Efficient Trainingcited by 44
Built on by
Citing papers per year: 2022: 14; 2023: 20; 2024: 23; 2025: 11; 2026: 15.
83 papers.
Sort:
By area:
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 742
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 391
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
- 2023BiomedGPT: A Generalist Vision-Language Foundation Model for Diverse Biomedical Taskscited by 201
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
- 2022MetaFormer Baselines for Visioncited by 131
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
- 2022Particle Transformer for Jet Taggingcited by 95
38 more
- 2025Findings of the BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corporacited by 86
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2024nGPT: Normalized Transformer with Representation Learning on the Hyperspherecited by 68
- 2024A Closer Look into Mixture-of-Experts in Large Language Modelscited by 47
- 2024Masked Particle Modeling on Sets: Towards Self-Supervised High Energy Physics Foundation Modelscited by 44
- 2024OmniJet-α: The first cross-task foundation model for particle physicscited by 41
- 2024LinGen: Towards High-Resolution Minute-Length Text-to-Video Generation with Linear Computational Complexitycited by 41
- 2023Trained on 100 million words and still in shape: BERT meets British National Corpuscited by 39
- 2023AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agentscited by 36
- 2025Understanding Transformer from the Perspective of Associative Memorycited by 31
- 2023PC-JeDi: Diffusion for Particle Cloud Generation in High Energy Physicscited by 27
- 2023NorBench -- A Benchmark for Norwegian Language Modelscited by 23
- 2023FFT-based Dynamic Token Mixer for Visioncited by 22
- 2023TorchDEQ: A Library for Deep Equilibrium Modelscited by 21
- 2022METRO: Efficient Denoising Pretraining of Large Scale Autoencoding Language Models with Model Generated Signalscited by 20
- 2024Is Tokenization Needed for Masked Particle Modelling?cited by 20
- 2024Teuken-7B-Base & Teuken-7B-Instruct: Towards European LLMscited by 20
- 2022Foundation Transformerscited by 19
- 2025Differentially Private Steering for Large Language Model Alignmentcited by 15
- 2023SPANet: Frequency-balancing Token Mixer using Spectral Pooling Aggregation Modulationcited by 14
- 2024AMAGO-2: Breaking the Multi-Task Barrier in Meta-Reinforcement Learning with Transformerscited by 14
- 2023Dual PatchNormcited by 9
- 2022Cross-lingual Similarity of Multilingual Representations Revisitedcited by 8
- 2024AntLM: Bridging Causal and Masked Language Modelscited by 8
- 2025Residual Matrix Transformers: Scaling the Size of the Residual Streamcited by 8
- 2023BranchNorm: Robustly Scaling Extremely Deep Transformerscited by 6
- 2024Transformer Normalisation Layers and the Independence of Semantic Subspacescited by 6
- 2024Stable Language Model Pre-training by Reducing Embedding Variabilitycited by 6
- 2022Convolutional Xformers for Visioncited by 5
- 2024The Credibility Transformercited by 5
- 2025Bigram Subnetworks: Mapping to Next Tokens in Transformer Language Modelscited by 5
- 2026Dense Supervision Is Not Enough: The Readout Blind Spot in Looped Language Modelscited by 5
- 2022ParCNetV2: Oversized Kernel with Enhanced Attentioncited by 4
- 2023On the Weight Dynamics of Deep Normalized Networkscited by 4
- 2023Tokenization with Factorized Subword Encodingcited by 4
- 2024A Survey of Vision Transformers in Autonomous Driving: Current Trends and Future Directionscited by 4
- 2024LayerNorm: A key component in parameter-efficient fine-tuningcited by 4
- 2025Human-Level Competitive Pok'emon via Scalable Offline Reinforcement Learning with Transformerscited by 4
50 most cited of 83 All 83 (JSON)
- 2026Prescriptive SVD-Inspired Attention via Spectral Energy Retention21 Sep 2026
- 2026Abstention and Noise Filtering: Two Missing Primitives of Softmax Attention18 Sep 2026
- 2026Why Post-Norm Transformers Collapse: Attention Amplification and Gradient Repair Failure10 Aug 2026
- 2026Z-Loss Backward Geometry in Dense Output Heads and Sparse Routers31 Jul 2026
- 2026A Controlled Study of Attention-Only Transformers20 Jul 2026
- 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depth15 Jul 2026
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetry25 Jun 2026
- 2026Dense Supervision Is Not Enough: The Readout Blind Spot in Looped Language Models12 Jun 2026
- 2026Learning Less Is More: Premature Upper-Layer Attention Specialization Hurts Language Model Pretraining11 May 2026
- 2026Dissecting Jet-Tagger Through Mechanistic Interpretability11 May 2026
- 2026Three-Phase Transformer15 Apr 2026
- 2026Subcritical Signal Propagation at Initialization in Normalization-Free Transformers13 Apr 2026
38 more
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformers30 Jan 2026
- 2026GeoNorm: Unify Pre-Norm and Post-Norm with Geodesic Optimization29 Jan 2026
- 2026Bias Dynamics in BabyLMs: Towards a Compute-Efficient Sandbox for Democratising Pre-Training Debiasing14 Jan 2026
- 2025Enhancing next token prediction based pre-training for jet foundation models3 Dec 2025
- 2025PerfMamba: Performance Analysis and Pruning of Selective State Space Models28 Nov 2025
- 2025oboro: Text-to-Image Synthesis on Limited Data using Flow-based Diffusion Transformer with MMH Attention11 Nov 2025
- 2025Residual Matrix Transformers: Scaling the Size of the Residual Stream28 Jun 2025
- 2025Understanding Transformer from the Perspective of Associative Memory26 May 2025
- 2025Bigram Subnetworks: Mapping to Next Tokens in Transformer Language Models21 Apr 2025
- 2025Findings of the BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corpora10 Apr 2025
- 2025Human-Level Competitive Pok'emon via Scalable Offline Reinforcement Learning with Transformers6 Apr 2025
- 2025Spectral-Adaptive Modulation Networks for Visual Perception31 Mar 2025
- 2025SAGE-Amine: Generative Amine Design with Multi-Property Optimization for Efficient CO2 Capture4 Mar 2025
- 2025Differentially Private Steering for Large Language Model Alignment30 Jan 2025
- 2024Learning Dynamic Local Context Representations for Infrared Small Target Detection23 Dec 2024
- 2024LinGen: Towards High-Resolution Minute-Length Text-to-Video Generation with Linear Computational Complexity13 Dec 2024
- 2024AntLM: Bridging Causal and Masked Language Models4 Dec 2024
- 2024MVFormer: Diversifying Feature Normalization and Token Mixing for Efficient Vision Transformers28 Nov 2024
- 2024AMAGO-2: Breaking the Multi-Task Barrier in Meta-Reinforcement Learning with Transformers17 Nov 2024
- 2024Theoretical Analysis of Hierarchical Language Recognition and Generation by Transformers without Positional Encoding16 Oct 2024
- 2024Unveiling the Backbone-Optimizer Coupling Bias in Visual Representation Learning8 Oct 2024
- 2024nGPT: Normalized Transformer with Representation Learning on the Hypersphere1 Oct 2024
- 2024Teuken-7B-Base & Teuken-7B-Instruct: Towards European LLMs30 Sep 2024
- 2024TTT4Rec: A Test-Time Training Approach for Rapid Adaption in Sequential Recommendation27 Sep 2024
- 2024The Credibility Transformer25 Sep 2024
- 2024Is Tokenization Needed for Masked Particle Modelling?19 Sep 2024
- 2024Stable Language Model Pre-training by Reducing Embedding Variability12 Sep 2024
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden States5 Jul 2024
- 2024A Closer Look into Mixture-of-Experts in Large Language Models26 Jun 2024
- 2024Transformer Normalisation Layers and the Independence of Semantic Subspaces25 Jun 2024
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May 2024
- 2024Interpretable Interaction Modeling for Trajectory Prediction via Agent Selection and Physical Coefficient21 May 2024
- 2024LayerNorm: A key component in parameter-efficient fine-tuning29 Mar 2024
- 2024A Survey of Vision Transformers in Autonomous Driving: Current Trends and Future Directions12 Mar 2024
- 2024OmniJet-α: The first cross-task foundation model for particle physics8 Mar 2024
- 2024HyenaPixel: Global Image Context with Convolutions29 Feb 2024
- 2024Masked Particle Modeling on Sets: Towards Self-Supervised High Energy Physics Foundation Models24 Jan 2024
- 2023MABViT -- Modified Attention Block Enhances Vision Transformers3 Dec 2023
50 newest of 83 All 83 (JSON)
- 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 391
- 2024A Closer Look into Mixture-of-Experts in Large Language Modelscited by 47
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformerscited by 2
- 2026Z-Loss Backward Geometry in Dense Output Heads and Sparse Routerscited by 0
- 2026Z-Loss Backward Geometry in Dense Output Heads and Sparse Routers31 Jul 2026
- 2026SpanNorm: Reconciling Training Stability and Performance in Deep Transformers30 Jan 2026
- 2024A Closer Look into Mixture-of-Experts in Large Language Models26 Jun 2024
- 2022ST-MoE: Designing Stable and Transferable Sparse Expert Models17 Feb 2022
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 742
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
- 2022MetaFormer Baselines for Visioncited by 131
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
- 2022Particle Transformer for Jet Taggingcited by 95
- 2025Findings of the BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corporacited by 86
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2024nGPT: Normalized Transformer with Representation Learning on the Hyperspherecited by 68
- 2024Masked Particle Modeling on Sets: Towards Self-Supervised High Energy Physics Foundation Modelscited by 44
12 most cited of 70 All 70 (JSON)
- 2026Prescriptive SVD-Inspired Attention via Spectral Energy Retention21 Sep 2026
- 2026Abstention and Noise Filtering: Two Missing Primitives of Softmax Attention18 Sep 2026
- 2026Why Post-Norm Transformers Collapse: Attention Amplification and Gradient Repair Failure10 Aug 2026
- 2026A Controlled Study of Attention-Only Transformers20 Jul 2026
- 2026Transforming Rank: How Architecture Navigates the Spectral Pathologies of Depth15 Jul 2026
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetry25 Jun 2026
- 2026Dense Supervision Is Not Enough: The Readout Blind Spot in Looped Language Models12 Jun 2026
- 2026Learning Less Is More: Premature Upper-Layer Attention Specialization Hurts Language Model Pretraining11 May 2026
- 2026Dissecting Jet-Tagger Through Mechanistic Interpretability11 May 2026
- 2026Three-Phase Transformer15 Apr 2026
- 2026Subcritical Signal Propagation at Initialization in Normalization-Free Transformers13 Apr 2026
- 2026GeoNorm: Unify Pre-Norm and Post-Norm with Geodesic Optimization29 Jan 2026
12 newest of 70 All 70 (JSON)