mlsanityData to 14 Oct 2026

SOLE: Hardware-Software Co-design of Softmax and LayerNorm for Efficient Transformer Inference

arXiv 2510.17189 ↗First posted 20 Oct 2025cs.LG cs.ARcited by 5

Not on the map. Why?

Abstract (arXiv)

Transformers have shown remarkable performance in both natural language processing (NLP) and computer vision (CV) tasks. However, their real-time inference speed and efficiency are limited due to the inefficiency in Softmax and Layer Normalization (LayerNorm). Previous works based on function approximation suffer from inefficient implementation as they place emphasis on computation while disregarding memory overhead concerns. Moreover, such methods rely on retraining to compensate for approximation error which can be costly and inconvenient. In this paper, we present SOLE, a hardware-software co-design for Softmax and LayerNorm which is composed of E2Softmax and AILayerNorm. E2Softmax utilizes log2 quantization of exponent function and log-based division to approximate Softmax while AILayerNorm adopts low-precision statistic calculation. Compared with state-of-the-art designs, we achieve both low-precision calculation and low bit-width storage on Softmax and LayerNorm. Experiments show that SOLE maintains inference accuracy without retraining while offering orders of magnitude speedup and energy savings over GPU, achieving 3.04x, 3.86x energy-efficiency improvements and 2.82x, 3.32x area-efficiency improvements over prior state-of-the-art custom hardware for Softmax and LayerNorm, respectively.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 28 of its 39 references that are in the map. First posted on arXiv 20 Oct 2025.

Builds on

28 of 39 references.

References · 28

  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. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2016Layer Normalizationcited by 5,669
  8. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  10. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  11. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  12. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
16 more
  1. 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,071
  2. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
  3. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
  4. 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 569
  5. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
  6. 2021Post-Training Quantization for Vision Transformercited by 278
  7. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  8. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
  9. 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 188
  10. 2018Online normalizer calculation for softmaxcited by 162
  11. 2021FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformercited by 151
  12. 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 101
  13. 2023Full Stack Optimization of Transformer Inference: a Surveycited by 80
  14. 2021Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformerscited by 54
  15. 2020Hardware Accelerator for Multi-Head Attention and Position-Wise Feed-Forward in the Transformercited by 43
  16. 2021NN-LUT: Neural Approximation of Non-Linear Operations for Efficient Transformer Inferencecited by 25

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023A Survey of Techniques for Optimizing Transformer Inference
  2. 2024Trio-ViT: Post-Training Quantization and Acceleration for Softmax-Free Efficient Vision Transformer
  3. 2025LLM Inference Acceleration via Efficient Operation Fusion
  4. 2026BAPS: A Fine-Grained Low-Precision Scheme for Softmax in Attention via Block-Aware Precision reScaling
  5. 2024FrameQuant: Flexible Low-Bit Quantization for Transformers
  6. 2024MLKV: Multi-Layer Key-Value Heads for Memory Efficient Transformer Decoding
  7. 2026LEAP: Layer-wise Exit-Aware Pretraining for Efficient Transformer Inference
  8. 2023ITA: An Energy-Efficient Attention and Softmax Accelerator for Quantized Transformers