paper-with-me

홈 › Papers

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, previous approximation studies mainly target rank-oriented tasks, which is acceptable for classification. However, edge Natural Language Processing (NLP) applications and edge generative AI are largely evaluated based on score-oriented tasks, so normalization-guaranteed non-GEMM operations are essential. We propose a hardware-efficient Softmax and LayerNorm with Guaranteed Normalization for Edge devices. Our design employs hardware-efficient approximation methods while preserving the normalization (Softmax: $\sum p = 1$, LayerNorm: $σ= 1$). Our architecture is described in Verilog HDL and synthesized using the Samsung 28nm CMOS process. In accuracy evaluation, we achieve high accuracy with minimal degradation: GLUE +0.07%, SQuAD -0.01%, perplexity -0.09%. Implementation results show that our architecture is small: $942\,μm^2$ for Softmax, $1199\,μm^2$ for LayerNorm. Compared to the state of the art, we achieve up to 11x and 14x reduction in area, respectively.

📄 PDF Abstract BibTeX arXiv:2604.23647

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SSN: Learning Sparse Switchable Normalization via SparsestMax

2019-03-09 · CVPR 2019 6 · Wenqi Shao, Tianjian Meng, Jingyu Li, Ruimao Zhang 외

Normalization methods improve both optimization and generalization of ConvNets. To further boost performance, the recently-proposed switchable normalization (SN) provides a new perspective for deep learning: it learns to…

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…

PEANO-ViT: Power-Efficient Approximations of Non-Linearities in Vision Transformers

2024-06-21 · Mohammad Erfan Sadeghi, Arash Fayyazi, Seyedarmin Azizi, Massoud Pedram

The deployment of Vision Transformers (ViTs) on hardware platforms, specially Field-Programmable Gate Arrays (FPGAs), presents many challenges, which are mainly due to the substantial computational and power requirements…

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

2025-10-20 · Wenxun Wang, Shuchang Zhou, Wenyu Sun, Peiqin Sun 외 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 Soft…

Sorbet: A Neuromorphic Hardware-Compatible Transformer-Based Spiking Language Model

2024-09-04 · Kaiwen Tang, Zhanglu Yan, Weng-Fai Wong

For reasons such as privacy, there are use cases for language models at the edge. This has given rise to small language models (SLMs) targeted for deployment in resource-constrained devices where energy efficiency is a s…

Knowledge DistillationLanguage ModelingLanguage ModellingQuantization