mlsanityData to 14 Oct 2026

Pre-RMSNorm and Pre-CRMSNorm Transformers: Equivalent and Efficient Pre-LN Transformers

arXiv 2305.14858 ↗First posted 24 May 2023cs.LG cs.AI cs.NEcited by 30

Not on the map. Why?

Abstract (arXiv)

Transformers have achieved great success in machine learning applications. Normalization techniques, such as Layer Normalization (LayerNorm, LN) and Root Mean Square Normalization (RMSNorm), play a critical role in accelerating and stabilizing the training of Transformers. While LayerNorm recenters and rescales input vectors, RMSNorm only rescales the vectors by their RMS value. Despite being more computationally efficient, RMSNorm may compromise the representation ability of Transformers. There is currently no consensus regarding the preferred normalization technique, as some models employ LayerNorm while others utilize RMSNorm, especially in recent large language models. It is challenging to convert Transformers with one normalization to the other type. While there is an ongoing disagreement between the two normalization types, we propose a solution to unify two mainstream Transformer architectures, Pre-LN and Pre-RMSNorm Transformers. By removing the inherent redundant mean information in the main branch of Pre-LN Transformers, we can reduce LayerNorm to RMSNorm, achieving higher efficiency. We further propose the Compressed RMSNorm (CRMSNorm) and Pre-CRMSNorm Transformer based on a lossless compression of the zero-mean vectors. We formally establish the equivalence of Pre-LN, Pre-RMSNorm, and Pre-CRMSNorm Transformer variants in both training and inference. It implies that Pre-LN Transformers can be substituted with Pre-(C)RMSNorm counterparts at almost no cost, offering the same arithmetic functionality along with free efficiency improvement. Experiments demonstrate that we can reduce the training and inference time of Pre-LN Transformers by 1% - 10%.

Key facts. Cited by 30 papers in the map (data through 14 Oct 2026). Builds on 37 of its 46 references that are in the map. First posted on arXiv 24 May 2023.

Builds on

37 of 46 references.

References · 37

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  7. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  8. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  9. 2016Layer Normalizationcited by 5,669
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  11. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  12. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
25 more
  1. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  2. 2016Pointer Sentinel Mixture Modelscited by 3,096
  3. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  4. 2023A Survey of Large Language Modelscited by 2,576
  5. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
  6. 2019Root Mean Square Layer Normalizationcited by 1,480
  7. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  8. 2017Mixed Precision Trainingcited by 1,156
  9. 2016Deep Networks with Stochastic Depthcited by 979
  10. 2020On Layer Normalization in the Transformer Architecturecited by 922
  11. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  12. 2020Efficient Transformers: A Surveycited by 790
  13. 2021Going deeper with Image Transformerscited by 764
  14. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
  15. 2021RepVGG: Making VGG-style ConvNets Great Againcited by 522
  16. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 505
  17. 2021Post-Training Quantization for Vision Transformercited by 278
  18. 2023A Comprehensive Survey of AI-Generated Content (AIGC): A History of Generative AI from GAN to ChatGPTcited by 224
  19. 2019Understanding and Improving Layer Normalizationcited by 217
  20. 2020Understanding the Difficulty of Training Transformerscited by 210
  21. 2023Data-centric Artificial Intelligence: A Surveycited by 203
  22. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 141
  23. 2021Do Transformer Modifications Transfer Across Implementations and Applications?cited by 87
  24. 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 57
  25. 2022Examining Scaling and Transfer of Language Model Architectures for Machine Translationcited by 26

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 6; 2025: 15; 2026: 7.

30 papers.

Sort:

By area:

  1. 2025Qwen3 Technical Reportcited by 8,820
  2. 2024Qwen2.5 Technical Reportcited by 4,942
  3. 2023Qwen Technical Reportcited by 3,344
  4. 2024Qwen2 Technical Reportcited by 2,120
  5. 2025Qwen2.5-1M Technical Reportcited by 164
  6. 2024RouteFinder: Towards Foundation Models for Vehicle Routing Problemscited by 55
  7. 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 47
  8. 2025DARS: Dynamic Action Re-Sampling to Enhance Coding Agent Performance by Adaptive Tree Traversalcited by 20
  9. 2024Sailor: Open Language Models for South-East Asiacited by 19
  10. 2024Bielik 7B v0.1: A Polish Language Model -- Development, Insights, and Evaluationcited by 15
  11. 2024AdaFisher: Adaptive Second Order Optimization via Fisher Informationcited by 14
  12. 2025Bielik 11B v3: Multilingual Large Language Model for European Languagescited by 6
18 more
  1. 2023rm SP3: Enhancing Structured Pruning via PCA Projectioncited by 5
  2. 2025Bielik v3 Small: Technical Reportcited by 5
  3. 2025Innovator: Scientific Continued Pretraining with Fine-grained MoE Upcyclingcited by 4
  4. 2025Rectifying LLM Thought from Lens of Optimizationcited by 4
  5. 2026Simple yet Effective: Low-Rank Spatial Attention for Neural Operatorscited by 4
  6. 2025FlashFormer: Whole-Model Kernels for Efficient Low-Batch Inferencecited by 3
  7. 2025Understanding Post-Training Structural Changes in Large Language Modelscited by 3
  8. 2026Tyche: One Step Flow for Efficient Probabilistic Weather Forecastingcited by 3
  9. 2025Bielik 11B v2 Technical Reportcited by 2
  10. 2026Towards Safe Mobility: A Unified Transportation Foundation Model enabled by Open-Ended Vision-Language Datasetcited by 2
  11. 2025Cross-modal Retrieval Models for Stripped Binary Analysiscited by 1
  12. 2026Revisiting the Shape Convention of Transformer Language Modelscited by 1
  13. 2025GRR-CoCa: Leveraging LLM Mechanisms in Multimodal Model Architecturescited by 0
  14. 2025Diagnostics of cognitive failures in multi-agent expert systems using dynamic evaluation protocols and subsequent mutation of the processing contextcited by 0
  15. 2025A Unified Model for Multi-Task Drone Routing in Post-Disaster Road Assessmentcited by 0
  16. 2026MMAI Gym for Science: Training Liquid Foundation Models for Drug Discoverycited by 0
  17. 2026Enjoy Your Layer Normalization with the Computational Efficiency of RMSNormcited by 0
  18. 2026IronLLM: Forging Compact Edge-Native Language Models for Real-Time Embodied Intelligencecited by 0