FPGA Implementation for the Sigmoid with Piecewise Linear Fitting Method Based on Curvature Analysis

乙状窦函数 MNIST数据库 现场可编程门阵列 分段 分段线性函数 计算机科学 延迟(音频) 人工神经网络 算法 曲率 卷积神经网络 激活函数 数学 人工智能 计算机硬件 数学分析 电信 几何学
作者
Zerun Li,Yang Zhang,Bingcai Sui,Zuocheng Xing,Qinglin Wang
出处
期刊:Electronics [Multidisciplinary Digital Publishing Institute]
卷期号:11 (9): 1365-1365 被引量:11
标识
DOI:10.3390/electronics11091365
摘要

The sigmoid activation function is popular in neural networks, but its complexity limits the hardware implementation and speed. In this paper, we use curvature values to divide the sigmoid function into different segments and employ the least squares method to solve the expressions of the piecewise linear fitting function in each segment. We then adopt an optimization method with maximum absolute errors and average absolute errors to select an appropriate function expression with a specified number of segments. Finally, we implement the sigmoid function on the field-programmable gate array (FPGA) development platform and apply parallel operations of arithmetic (multiplying and adding) and range selection at the same time. The FPGA implementation results show that the clock frequency of our design is up to 208.3 MHz, while the end-to-end latency is just 9.6 ns. Our piecewise linear fitting method based on curvature analysis (PWLC) achieves recognition accuracy on the MNIST dataset of 97.51% with a deep neural network (DNN) and 98.65% with a convolutional neural network (CNN). Experimental results demonstrate that our FPGA design of sigmoid function can obtain the lowest latency, reduce absolute errors, and achieve high recognition accuracies, while the hardware cost is acceptable in practical applications.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Lucas应助zqz421采纳,获得10
刚刚
赘婿应助鄂惜霜采纳,获得10
刚刚
刚刚
蜡笔小新完成签到,获得积分10
刚刚
刚刚
刚刚
soundwave完成签到,获得积分10
刚刚
杨佳发布了新的文献求助10
刚刚
吨吨完成签到,获得积分10
1秒前
冷静曼岚完成签到,获得积分10
1秒前
1秒前
夏小安完成签到,获得积分10
1秒前
祺王862完成签到,获得积分10
1秒前
2秒前
123柴发布了新的文献求助10
2秒前
2秒前
白了个白发布了新的文献求助10
2秒前
2秒前
3秒前
田浩发布了新的文献求助10
3秒前
3秒前
3秒前
3秒前
日落季完成签到,获得积分20
3秒前
科研通AI6.2应助蹦蹦蹦采纳,获得10
4秒前
AA18236931952发布了新的文献求助10
4秒前
华仔应助白山采纳,获得10
5秒前
学渣一枚发布了新的文献求助10
5秒前
盒子应助soundwave采纳,获得30
5秒前
天天都发疯完成签到,获得积分10
5秒前
5秒前
5秒前
bkagyin应助Nugget采纳,获得10
5秒前
鱼鱼鱼鱼发布了新的文献求助10
5秒前
5秒前
吨吨发布了新的文献求助10
5秒前
元舒甜完成签到,获得积分10
6秒前
qrt发布了新的文献求助10
6秒前
6秒前
科目三应助那都通采纳,获得10
6秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Picture this! Including first nations fiction picture books in school library collections 2000
The Cambridge History of China: Volume 4, Sui and T'ang China, 589–906 AD, Part Two 1500
Cowries - A Guide to the Gastropod Family Cypraeidae 1200
Quality by Design - An Indispensable Approach to Accelerate Biopharmaceutical Product Development 800
ON THE THEORY OF BIRATIONAL BLOWING-UP 666
Signals, Systems, and Signal Processing 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6391434
求助须知:如何正确求助?哪些是违规求助? 8206586
关于积分的说明 17370660
捐赠科研通 5445111
什么是DOI,文献DOI怎么找? 2878766
邀请新用户注册赠送积分活动 1855295
关于科研通互助平台的介绍 1698510