paper-with-me

홈 › Papers

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

2025-10-20 · Wenxun Wang, Shuchang Zhou, Wenyu Sun, Peiqin Sun, Yongpan Liu 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.

📄 PDF Abstract BibTeX arXiv:2510.17189

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SoftmAP: Software-Hardware Co-design for Integer-Only Softmax on Associative Processors

2024-11-26 · Mariam Rakka, Jinhao Li, Guohao Dai, Ahmed Eltawil 외

Recent research efforts focus on reducing the computational and memory overheads of Large Language Models (LLMs) to make them feasible on resource-constrained devices. Despite advancements in compression techniques, non-…

QuantizationSensitivity

Hardware-Efficient Softmax and Layer Normalization with Guaranteed Normalization for Edge Devices

2026-04-26 · Dawon Choi, Hana Kim, Ji-Hoon Kim arxiv

In Transformer models, non-GEMM (non-General Matrix Multiplication) operations -- especially Softmax and Layer Normalization (LayerNorm) -- often dominate hardware cost due to their nonlinear nature. To address this, pre…

MIVE: A Minimalist Integer Vector Engine for Softmax LayerNorm and RMSNorm Acceleration

2026-06-16 · Kosmas Alexandridis, Giorgos Dimitrakopoulos arxiv

The rapid growth of Large Language Models (LLMs) has intensified the need for specialized hardware accelerators that can satisfy stringent inference latency and power constraints. Although matrix multiplications dominate…

LLM Inference Acceleration via Efficient Operation Fusion

2025-02-24 · Mahsa Salmani, Ilya Soloveychik

The rapid development of the Transformer-based Large Language Models (LLMs) in recent years has been closely linked to their ever-growing and already enormous sizes. Many LLMs contain hundreds of billions of parameters a…

SLaNC: Static LayerNorm Calibration

2024-10-14 · Mahsa Salmani, Nikita Trukhanov, Ilya Soloveychik

The ever increasing sizes of Large Language Models (LLMs) beyond hundreds of billions of parameters have generated enormous pressure on the manufacturers of dedicated hardware accelerators and made the innovative design …

Quantization