TEA-S: A Tiny and Efficient Architecture for PLAC-Based Softmax in Transformers

Softmax函数 计算 变压器 计算机科学 数学 算法 离散数学 算术 人工神经网络 人工智能 电气工程 工程类 电压
作者
Zhengyu Mei,Hongxi Dong,Yuxuan Wang,Hongbing Pan
出处
期刊:IEEE Transactions on Circuits and Systems Ii-express Briefs [Institute of Electrical and Electronics Engineers]
卷期号:70 (9): 3594-3598 被引量:1
标识
DOI:10.1109/tcsii.2023.3265710
摘要

With the popularity of Transformer neural networks, it is inevitable for hardware accelerators to perform nonlinear computation mainly based on the softmax operation. However, a better compromise between the algorithm performance and hardware overhead is always a constant challenge. Hence, this brief advances a tiny and efficient architecture named TEA-S to implement the softmax function with the universal approximation scheme based on Piecewise Linear Approximation Computation (PLAC). With the first co-optimization of calculation and memory, TEA-S can better achieve the design goals of the tiny area and high efficiency. The implementation results show that the peak efficiency of processing 8-bit quantized data will be 487.51 Gps/(mm $^{{2}}{\cdot }$ mW) with the tiny area of $3052.43~{\mu }{\mathrm {m}}^{2}$ at the frequency of 0.5 GHz under 90-nm CMOS technology. Moreover, TEA-S can offer the universal solution to any lengths of input sequences, providing negligible accuracy loss in Transformers compared to the quantized baselines.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
如此纠结完成签到,获得积分10
刚刚
仔仔完成签到 ,获得积分10
刚刚
Freddie完成签到,获得积分10
刚刚
hututu完成签到,获得积分10
1秒前
haitianluna发布了新的文献求助10
1秒前
祎祎发布了新的文献求助10
1秒前
slow发布了新的文献求助10
1秒前
怡然安南完成签到 ,获得积分10
1秒前
所所应助cloak采纳,获得10
2秒前
大方的若山完成签到,获得积分10
2秒前
斯奈克发布了新的文献求助200
2秒前
33完成签到,获得积分10
2秒前
量子星尘发布了新的文献求助10
2秒前
HongJiang完成签到,获得积分10
3秒前
3秒前
嗯啊完成签到,获得积分10
3秒前
3秒前
4秒前
ZiZi完成签到 ,获得积分10
4秒前
小兵医生完成签到,获得积分10
4秒前
4秒前
4秒前
研友_8DrX3n完成签到,获得积分10
5秒前
周娅敏发布了新的文献求助10
5秒前
刘云完成签到 ,获得积分10
5秒前
制杖大师完成签到,获得积分10
5秒前
轩辕雨文完成签到,获得积分10
6秒前
针尖上的王子完成签到,获得积分10
6秒前
城北徐公主完成签到,获得积分10
7秒前
adalove完成签到,获得积分10
7秒前
张才豪发布了新的文献求助10
7秒前
赘婿应助张晓龙采纳,获得10
8秒前
尤文昊发布了新的文献求助10
8秒前
稷下听风完成签到,获得积分10
8秒前
3123939715完成签到,获得积分10
8秒前
Brandy发布了新的文献求助10
8秒前
在工位不敢工作完成签到,获得积分10
8秒前
8秒前
愉快的丹彤完成签到 ,获得积分10
9秒前
CC完成签到,获得积分10
9秒前
高分求助中
2025-2031全球及中国金刚石触媒粉行业研究及十五五规划分析报告 12000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Cambridge History of China: Volume 4, Sui and T'ang China, 589–906 AD, Part Two 1000
The Composition and Relative Chronology of Dynasties 16 and 17 in Egypt 1000
Russian Foreign Policy: Change and Continuity 800
Real World Research, 5th Edition 800
Qualitative Data Analysis with NVivo By Jenine Beekhuyzen, Pat Bazeley · 2024 800
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5698957
求助须知:如何正确求助?哪些是违规求助? 5127856
关于积分的说明 15223496
捐赠科研通 4853894
什么是DOI,文献DOI怎么找? 2604380
邀请新用户注册赠送积分活动 1555882
关于科研通互助平台的介绍 1514222