2022
DOI: 10.3390/electronics11091365
|View full text |Cite
|
Sign up to set email alerts
|

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

Abstract: 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… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
0
0

Year Published

2022
2022
2024
2024

Publication Types

Select...
3
3

Relationship

0
6

Authors

Journals

citations
Cited by 10 publications
(3 citation statements)
references
References 25 publications
0
0
0
Order By: Relevance
“…Both functions contain exponential functions, making it difficult to implement them on resource-constrained hardware and requiring a large chip area [55]. Therefore, function approximation techniques are required in place of the exact functions to realize them in the FPGA, and to reduce the overall computational complexity [55], [56], [57], [58]. In this article, we focus on approximating the sigmoid and tanh.…”
Section: The Nonlinear Activation Function Implementation: High Accur...mentioning
confidence: 99%
See 2 more Smart Citations
“…Both functions contain exponential functions, making it difficult to implement them on resource-constrained hardware and requiring a large chip area [55]. Therefore, function approximation techniques are required in place of the exact functions to realize them in the FPGA, and to reduce the overall computational complexity [55], [56], [57], [58]. In this article, we focus on approximating the sigmoid and tanh.…”
Section: The Nonlinear Activation Function Implementation: High Accur...mentioning
confidence: 99%
“…The PWL approximation, introduced in [60], is a combination of linear segments that approximates the activation or nonlinear function [56], [61]. Increasing the number of linear segments to represent the nonlinear function allows us to achieve better accuracy.…”
Section: B Piecewise Linear Approximation Approachmentioning
confidence: 99%
See 1 more Smart Citation