TY - GEN
T1 - A Low-cost Reconfigurable Architecture for Efficient Softmax and GELU in Transformers
AU - Wu, Qi Xian
AU - Teng, Shu Sian
AU - Shieh, Ming Der
AU - Huang, Chih Tsun
AU - Lu, Juin Ming
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - Efficient computation of non-linear functions is essential for optimizing the area and performance of CNNs and DNNs. Among these functions, the softmax function poses challenges due to its normalization process, which involves summing exponential values after maximum extraction, increasing latency and limiting hardware utilization, particularly in resource-constrained environments. While online normalization mitigates these issues with iterative updates, it introduces additional hardware overhead and lacks flexibility for supporting other non-linear functions. This paper presents a reconfigurable unit for building resource-efficient architectures, supporting both the softmax function with online normalization and GELU functions, achieving high performance in Transformer models with reduced hardware costs.
AB - Efficient computation of non-linear functions is essential for optimizing the area and performance of CNNs and DNNs. Among these functions, the softmax function poses challenges due to its normalization process, which involves summing exponential values after maximum extraction, increasing latency and limiting hardware utilization, particularly in resource-constrained environments. While online normalization mitigates these issues with iterative updates, it introduces additional hardware overhead and lacks flexibility for supporting other non-linear functions. This paper presents a reconfigurable unit for building resource-efficient architectures, supporting both the softmax function with online normalization and GELU functions, achieving high performance in Transformer models with reduced hardware costs.
UR - https://www.scopus.com/pages/publications/105010824478
UR - https://www.scopus.com/pages/publications/105010824478#tab=citedBy
U2 - 10.1109/VLSITSA64674.2025.11046921
DO - 10.1109/VLSITSA64674.2025.11046921
M3 - Conference contribution
AN - SCOPUS:105010824478
T3 - 2025 International VLSI Symposium on Technology, Systems and Applications, VLSI TSA 2025 - Proceedings of Technical Papers
BT - 2025 International VLSI Symposium on Technology, Systems and Applications, VLSI TSA 2025 - Proceedings of Technical Papers
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 2025 International VLSI Symposium on Technology, Systems and Applications, VLSI TSA 2025
Y2 - 21 April 2025 through 24 April 2025
ER -