arrow
Return

MPN-S: An Algorithm-Hardware Co-Designed Architecture for High-Efficiency Softmax Computation

delete
delete0
PRE
AI
Y
Yuchen Ma
D
Defa Wu
Y
Yucheng Du
X
Xing Wang
X
Xin Si
C
Chao Chen
DOI:10.1109/TCSII.2025.3594105delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
As a fundamental operator in Transformer, softmax presents critical hardware challenges due to its computational complexity. The wide use of exponential and division operations in softmax not only occupies a large amount of computing resources, but also causes a high execution delay in hardware implementation. This work presents a high-precision algorithm and hardware co-designed softmax architecture including Mapping optimization, dynamic Pruning, and dynamic Newton iteration method with pipeline Scheduling(MPN-S). The proposed MPN-S simplifies the softmax calculation through the minimum error integer mapping method, dynamic pruning and compressed lookup tables. Combined with dynamic Newton iteration and pipeline design, MPN-S compresses the softmax processing time into the time of finding the maximum value once. The implementation results show that, under 28 nm CMOS technology at the frequency of 0.5 GHz, MPN-S can achieve the efficiency of 3827.18 Gps/(mm ${^{{2}}} {\cdot }$ mW) with the area of $2292~\mu $ m2 excluding buffers. Neural network experiments show that after replacing the softmax function with MPN-S, the accuracy rate on the MobileVIT classification task reaches 92.9%, and the mAP50val on Yolo V10 reaches 0.959.
Keywords:
Softmax function
transformer
neural network
collaborative optimization
hardware implementation

Journal

I
IEEE Transactions on Circuits and Systems and Express Briefs
IF:
4.9
Papers:
8.8K
Citations:
2.5W

Organization

S
Southeast University
Scholars:
2.1W
Papers: 8.6K
Citations: 480
Cited Papers

Cited Papers

errShare
errSave
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Hardware-Aware Softmax Approximation for Deep Neural Networks
err2019-05-25
err0
PREAI
errXue Geng; Jie Lin; Bin Zhao; Anmin Kong; Mohamed M. Sabry Aly; Vijay Chandrasekhar
errShare
errSave
Base-2 Softmax Function: Suitability for Training and Efficient Hardware Implementation
err2022-09-01
err16
PREAI
errZhang, Yuan; Zhang, Yonggang; Peng, Lele; Quan, Lianghua; Zheng, Shubin; Lu, Zhonghai; Chen, Hui
errShare
errSave
28nm FDSOI technology platform for high-speed low-voltage digital applications
err2012-06-01
err0
PREAI
errN. Planes; O. Weber; V. Barral; S. Haendler; D. Noblet; D. Croain; M. Bocat; P.-O. Sassoulas; X. Federspiel; A. Cros; A. Bajolet; E. Richard; B. Dumont; P. Perreau; D. Petit; D. Golanski; C. Fenouillet-Beranger; N. Guillot; M. Rafik; V. Huard; S. Puget; X. Montagner; M.-A. Jaud; O. Rozeau; O. Saxod; F. Wacquant; F. Monsieur; D. Barge; L. Pinzelli; M. Mellier; F. Boeuf; F. Arnaud; M. Haond
errShare
errSave
errShare
errSave
researcher View more