mlsanityData to 14 Oct 2026

Unified Normalization for Accelerating and Stabilizing Transformers

arXiv 2208.01313 ↗First posted 2 Aug 2022cs.CV cs.MMcited by 6

Not on the map. Why?

Abstract (arXiv)

Solid results from Transformers have made them prevailing architectures in various natural language and vision tasks. As a default component in Transformers, Layer Normalization (LN) normalizes activations within each token to boost the robustness. However, LN requires on-the-fly statistics calculation in inference as well as division and square root operations, leading to inefficiency on hardware. What is more, replacing LN with other hardware-efficient normalization schemes (e.g., Batch Normalization) results in inferior performance, even collapse in training. We find that this dilemma is caused by abnormal behaviors of activation statistics, including large fluctuations over iterations and extreme outliers across layers. To tackle these issues, we propose Unified Normalization (UN), which can speed up the inference by being fused with other linear operations and achieve comparable performance on par with LN. UN strives to boost performance by calibrating the activation and gradient statistics with a tailored fluctuation smoothing strategy. Meanwhile, an adaptive outlier filtration strategy is applied to avoid collapse in training whose effectiveness is theoretically proved and experimentally verified in this paper. We demonstrate that UN can be an efficient drop-in alternative to LN by conducting extensive experiments on language and vision tasks. Besides, we evaluate the efficiency of our method on GPU. Transformers equipped with UN enjoy about 31% inference speedup and nearly 18% memory reduction. Code will be released at https://github.com/hikvision-research/Unified-Normalization.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 43 of its 52 references that are in the map. First posted on arXiv 2 Aug 2022.

Builds on

43 of 52 references.

References · 43

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  8. 2020End-to-End Object Detection with Transformerscited by 7,414
  9. 2017Mask R-CNNcited by 7,277
  10. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  11. 2016Layer Normalizationcited by 5,669
  12. 2016Feature Pyramid Networks for Object Detectioncited by 5,036
31 more
  1. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  2. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,863
  3. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
  4. 2018Group Normalizationcited by 1,524
  5. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  6. 2019Root Mean Square Layer Normalizationcited by 1,480
  7. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
  8. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
  9. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
  10. 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,198
  11. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  12. 2020On Layer Normalization in the Transformer Architecturecited by 922
  13. 2021Going deeper with Image Transformerscited by 764
  14. 2018ESPnet: End-to-End Speech Processing Toolkitcited by 558
  15. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
  16. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  17. 2021A Survey of Transformerscited by 401
  18. 2020Do Wide and Deep Networks Learn the Same Things? Uncovering How Neural Network Representations Vary with Width and Depthcited by 245
  19. 2019Understanding and Improving Layer Normalizationcited by 217
  20. 2020Understanding the Difficulty of Training Transformerscited by 210
  21. 2022DaViT: Dual Attention Vision Transformerscited by 175
  22. 2021Visformer: The Vision-friendly Transformercited by 137
  23. 2021WeNet: Production oriented Streaming and Non-streaming End-to-End Speech Recognition Toolkitcited by 125
  24. 2021Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformercited by 115
  25. 2020Normalization Techniques in Training DNNs: Methodology, Analysis and Applicationcited by 90
  26. 2020Towards Fully 8-bit Integer Inference for the Transformer Modelcited by 35
  27. 2018Differentiable Learning-to-Normalize via Switchable Normalizationcited by 33
  28. 2020Towards Stabilizing Batch Statistics in Backward Propagation of Batch Normalizationcited by 19
  29. 2019SSN: Learning Sparse Switchable Normalization via SparsestMaxcited by 14
  30. 2021SOIT: Segmenting Objects with Instance-Aware Transformerscited by 14
  31. 2021Dynamic Token Normalization Improves Vision Transformerscited by 10

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 2; 2025: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Gated Normalization Removal and Scale Anchoring in Pre-Norm Transformers
  2. 2025TWEO: Transformers Without Extreme Outliers Enables FP8 Training And Quantization For Dummies
  3. 2021Mesa: A Memory-saving Training Framework for Transformers
  4. 2025SOLE: Hardware-Software Co-design of Softmax and LayerNorm for Efficient Transformer Inference
  5. 2024RepQuant: Towards Accurate Post-Training Quantization of Large Transformer Models via Scale Reparameterization
  6. 2026The Quantization Benefits of Residual-Free Transformers
  7. 2026Ghosted Layers: Unconstrained Activation Alignment for Recovering Layer-Pruned LLMs
  8. 2026Colinearity Decay: Training Quantization-Friendly ViTs with Outlier Decay