mlsanityData to 24 Nov 2026

LENS: Replacing LayerNorm and Softmax in Transformers with Learnable Normalization States

arXiv 2611.20331 ↗Submitted 15 Nov 2026cs.LG cs.AI cs.ARcited by 0

Not on the map. Why?

Abstract (arXiv)

LayerNorm and attention Softmax are critical operations in Transformers. However, they cannot be efficiently mapped to General Matrix Multiplication (GEMM) computations on hardware. Therefore, modern hardware accelerator designs, such as NPUs on ASIC/FPGA, consume a large amount of hardware resources or chip area to implement their specific arithmetic units. Building on previous work about LayerNorm, Softmax, and their alternatives, we introduce Learnable Normalization States (LENS), a framework that reformulates LayerNorm as tiny MLPs by abstracting a common structure from related methods and extends this method to Softmax, which moves more of the computation in Transformers to GEMM as a hardware-friendly architecture. We evaluate LENS on image classification with Vision Transformers (ViT) and autoregressive language modeling with Pythia models, including generalization tests on WikiText and LAMBADA. Across these tasks, LENS matches or exceeds baseline performance in several vision settings and retains most of the baseline performance in the remaining vision and language experiments. These findings may suggest that hand-designed normalization and attention functions are not the only choice as alternatives to LayerNorm and Softmax. LENS also provides a basis for exploring Transformer architectures for resource-limited accelerators.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 20 of its 31 references that are in the map. Submitted 15 Nov 2026.

Builds on

20 of 31 references.

References · 20

  1. 2017Attention Is All You Needcited by 62,125
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
  4. 2016Layer Normalizationcited by 6,002
  5. 2020Training data-efficient image transformers & distillation through attentioncited by 4,687
  6. 2016Gaussian Error Linear Units (GELUs)cited by 3,745
  7. 2016Pointer Sentinel Mixture Modelscited by 3,344
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,575
  9. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,891
  10. 2019Root Mean Square Layer Normalizationcited by 1,624
  11. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,356
  12. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 1,077
8 more
  1. 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 131
  2. 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inferencecited by 99
  3. 2025Transformers without Normalizationcited by 78
  4. 2023Replacing softmax with ReLU in Vision Transformerscited by 52
  5. 2022SimA: Simple Softmax-free Attention for Vision Transformerscited by 36
  6. 2023Understanding the Potential of FPGA-Based Spatial Acceleration for Large Language Model Inferencecited by 35
  7. 2025Stronger Normalization-Free Transformerscited by 15
  8. 2025SeeDNorm: Self-Rescaled Dynamic Normalizationcited by 7

Built on by

Not cited yet.