A Custom Hardware Accelerator for Softmax Function With Parallel Online Normalization

计算机科学 规范化(社会学) Softmax函数 计算机硬件 人工智能 功能(生物学) 软件 计算机图形学(图像) 计算机视觉 硬件加速
作者
Shareefa Fairoose P.,Ashutosh Mishra
出处
期刊:IEEE Transactions on Very Large Scale Integration Systems [Institute of Electrical and Electronics Engineers]
卷期号:34 (9): 2794-2806
标识
DOI:10.1109/tvlsi.2026.3706101
摘要

Softmax computation in transformer-based LLM/SLM models commonly relies on online normalization to ensure numerical stability while reducing memory access cycles. However, conventional online formulations introduce loop-carried dependencies that result in serialization, restricting scalable spatial parallelism, and efficient wide-datapath realization in hardware implementations. This article presents a custom Softmax hardware accelerator (CSHA) based on an algorithm–architecture codesigned parallel online normalization framework. The proposed algorithm reformulates sequential online normalization into a parallel streaming-compatible structure while preserving numerical stability and memory efficiency, thereby enabling scalable datapath parallelism. All core computational units—maximum detection, exponential approximation, reduction trees, multiplication, and logarithmic computation—are circuit-optimized and synthesized in a 90 nm CMOS process to evaluate area, power, and delay tradeoffs. The CSHA employs a fully pipelined fixed-point architecture designed for accuracy-aware hardware efficiency. System-level validation is performed by replacing the floating-point Softmax in a pretrained BERT model with the proposed implementation, demonstrating less than 1% accuracy degradation across GLUE tasks and the SQuAD dataset. Field programmable gate array (FPGA) deployment on a Zynq-7000 SoC further verifies functional correctness and dynamic sequence-length configurability, eliminating redundant padded Softmax computation. By integrating algorithm reformulation with circuit-level optimization, the proposed CSHA provides an efficient and scalable oSftmax solution suitable for low-power, high-throughput inference systems.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
吃葡萄不吐葡萄皮的应助被zcd采纳,获得80
1秒前
Peiqi的应助被NattyPoe采纳,获得30
1秒前
1秒前
鲸落发布了新的文献求助20
2秒前
Lyuhng+1发布了新的文献求助10
2秒前
2秒前
没烦恼有头脑完成签到 ,获得积分10
2秒前
killGc完成签到,获得积分10
2秒前
Hoshino完成签到,获得积分20
2秒前
科目三的应助被玉意采纳,获得10
2秒前
61发布了新的文献求助10
2秒前
迅速的晟睿完成签到,获得积分20
2秒前
白马非马完成签到,获得积分10
2秒前
我无语完成签到 ,获得积分10
3秒前
3秒前
paddi完成签到,获得积分10
3秒前
3秒前
海伦发布了新的文献求助10
3秒前
Rainor发布了新的文献求助10
3秒前
不吃西瓜完成签到,获得积分10
3秒前
ss完成签到,获得积分20
3秒前
昏睡的冰兰完成签到,获得积分10
3秒前
阿七完成签到,获得积分10
3秒前
打打的应助被Selonfer采纳,获得30
3秒前
4秒前
文华完成签到,获得积分10
4秒前
4秒前
4秒前
在水一方的应助被关中人采纳,获得10
5秒前
5秒前
5秒前
嘻嘻哈哈的应助被zhangyiwei采纳,获得10
5秒前
张伟发布了新的文献求助10
5秒前
hjx完成签到,获得积分10
5秒前
雯yuki完成签到,获得积分10
5秒前
离陌完成签到,获得积分10
5秒前
6秒前
矮小的沛槐完成签到,获得积分10
6秒前
6秒前
活泼的电脑完成签到,获得积分10
6秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 1700
The World Atlas of Wine 9th edition 1000
奈特基础组织学:配套组织病理学(第4版)(Netter's Essential Histology With Correlated Histopathology) 800
John McDowells Bildungstheorie 800
Social Psychology in the Real World 600
八旗制度の研究 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8180617
求助须知:如何正确求助?哪些是违规求助? 9570702
关于积分的说明 21813868
捐赠科研通 7776860
什么是DOI,文献DOI怎么找? 3433294
关于科研通互助平台的介绍 2557571
邀请新用户注册赠送积分活动 2479253