跳至主導覽 跳至搜尋 跳過主要內容

A Low-complexity and Reconfigurable Design for Nonlinear Function Approximation in Transformers

  • Qi Xian Wu
  • , Shu Sian Teng
  • , Ming Der Shieh
  • , Chih Tsun Huang
  • , Juin Ming Lu

研究成果: Conference contribution

3   連結會在新分頁中打開 引文 斯高帕斯(Scopus)

摘要

Nonlinear function approximation has been studied for decades. With the rise of transformer-based AI models, the need for efficient, low-complexity circuit implementations for functions like softmax, GELU, and layer normalization has intensified due to non-negligible hardware overhead. Existing methods reuse softmax hardware for GELU or reconfigure both, but the preprocessing required for their GELU approximation results in area inefficiency. To address this, we propose a novel successive approximation technique that reduces preprocessing complexity and compensates for errors in successive steps. Additionally, our reconfigurable design supports softmax, GELU, and square root functions, optimizing hardware area and flexibility. Experimental results show a 2.48x increase in throughput per area for softmax and a 4.96x increase for GELU, with only a 0.09% accuracy loss under BERT-base models in comparison to related work.

原文English
主出版物標題ISCAS 2025 - IEEE International Symposium on Circuits and Systems, Proceedings
發行者Institute of Electrical and Electronics Engineers Inc.
ISBN(電子)9798350356830
DOIs
出版狀態Published - 2025
事件2025 IEEE International Symposium on Circuits and Systems, ISCAS 2025 - London, United Kingdom
持續時間: 2025 5月 25 → 2025 5月 28

出版系列

名字Proceedings - IEEE International Symposium on Circuits and Systems
ISSN(列印)0271-4310

Conference

Conference2025 IEEE International Symposium on Circuits and Systems, ISCAS 2025
國家/地區United Kingdom
城市London
期間25-05-25 → 25-05-28

All Science Journal Classification (ASJC) codes

  • 電氣與電子工程

指紋

深入研究「A Low-complexity and Reconfigurable Design for Nonlinear Function Approximation in Transformers」主題。共同形成了獨特的指紋。

引用此