Efficient VLSI Implementation of Neural Networks With Hyperbolic Tangent Activation Function

被引:105
作者
Zamanlooy, Babak [1 ]
Mirhassani, Mitra [1 ]
机构
[1] Univ Windsor, Dept Elect & Comp Engn, Windsor, ON N9B 3P4, Canada
关键词
Hyperbolic tangent; neural networks; nonlinear activation function; VLSI implementation; SIGMOID FUNCTION; HARDWARE IMPLEMENTATION; GENERATORS; DESIGN;
D O I
10.1109/TVLSI.2012.2232321
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Nonlinear activation function is one of the main building blocks of artificial neural networks. Hyperbolic tangent and sigmoid are the most used nonlinear activation functions. Accurate implementation of these transfer functions in digital networks faces certain challenges. In this paper, an efficient approximation scheme for hyperbolic tangent function is proposed. The approximation is based on a mathematical analysis considering the maximum allowable error as design parameter. Hardware implementation of the proposed approximation scheme is presented, which shows that the proposed structure compares favorably with previous architectures in terms of area and delay. The proposed structure requires less output bits for the same maximum allowable error when compared to the state-of-the-art. The number of output bits of the activation function determines the bit width of multipliers and adders in the network. Therefore, the proposed activation function results in reduction in area, delay, and power in VLSI implementation of artificial neural networks with hyperbolic tangent activation function.
引用
收藏
页码:39 / 48
页数:10
相关论文
共 50 条
[41]   Reconfigurable FPGA implementation of neural networks [J].
Hajduk, Zbigniew .
NEUROCOMPUTING, 2018, 308 :227-234
[42]   Nonlinear Companding Transform Using hyperbolic tangent function in OFDM Systems [J].
Wang, Y. ;
Ge, J-H. ;
Wang, L-H. ;
Ai, B. .
2012 INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING (WICOM), 2012,
[43]   Implementation of High Speed Tangent Sigmoid Transfer Function Approximations for Artificial Neural Network Applications on FPGA [J].
Koyuncu, Ismail .
ADVANCES IN ELECTRICAL AND COMPUTER ENGINEERING, 2018, 18 (03) :79-86
[44]   Arbitrarily Accurate Spline Based Approximations for the Hyperbolic Tangent Function and Applications [J].
Howard R.M. .
International Journal of Applied and Computational Mathematics, 2021, 7 (6)
[45]   Fully hyperbolic convolutional neural networks [J].
Keegan Lensink ;
Bas Peters ;
Eldad Haber .
Research in the Mathematical Sciences, 2022, 9
[46]   Fully hyperbolic convolutional neural networks [J].
Lensink, Keegan ;
Peters, Bas ;
Haber, Eldad .
RESEARCH IN THE MATHEMATICAL SCIENCES, 2022, 9 (04)
[47]   VLSI cells placement using the neural networks [J].
Azizi, Hacene ;
Zouaui, Lamri ;
Mokhnache, Salah .
INTELLIGENT SYSTEMS AND AUTOMATION, 2008, 1019 :308-312
[48]   An efficient FPGA implementation of hand gestures recognition based on neural networks [J].
Abdolazimi, Ali ;
Molahosseini, Amir Sabbagh ;
Keynia, Farshid .
NEXO REVISTA CIENTIFICA, 2021, 34 (02) :807-824
[49]   ReAFM: A Reconfigurable Nonlinear Activation Function Module for Neural Networks [J].
Wu, Xiao ;
Liang, Shuang ;
Wang, Meiqi ;
Wang, Zhongfeng .
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-EXPRESS BRIEFS, 2023, 70 (07) :2660-2664
[50]   Intersubband engineered nonlinear activation function for photonic neural networks [J].
Xu, Zheheng ;
Addamane, Sadhvikas J. ;
Burghoff, David .
PHOTONIC COMPUTING: FROM MATERIALS AND DEVICES TO SYSTEMS AND APPLICATIONS, 2024, 13113