Title :
A digital circuit design of hyperbolic tangent sigmoid function for neural networks
Author :
Lin, Che Wei ; Wang, Jeen Shing
Author_Institution :
Dept. of Electr. Eng., Nat. Cheng Kung Univ., Tainan
Abstract :
This paper presents a digital circuit design approach for a commonly used activation function, hyperbolic tangent sigmoid functions, for neural networks. Our design concept for such a nonlinear function is to approximate the function of its first-order derivative by piece-wise linear functions first, then to obtain the estimate of the original function by integrating the approximated function of the first-order derivative by a digital circuit. The average error and maximum error of the proposed approximation approach are in the order of 10-3 and 10-2, respectively in the software simulation. The hardware implementation of the proposed method consumes only one multiplication and one addition/subtraction ALU with the aid of resource sharing. The performance of our circuit has been validated by a neural network for a system identification problem in the software simulation.
Keywords :
approximation theory; circuit CAD; logic design; neural nets; nonlinear functions; piecewise linear techniques; activation function; digital circuit design; first-order derivative; hyperbolic tangent sigmoid function; neural networks; nonlinear function; piece-wise linear functions; resource sharing; software simulation; system identification problem; Circuit simulation; Digital circuits; Function approximation; Hardware; Neural networks; Piecewise linear approximation; Piecewise linear techniques; Polynomials; Resource management; Table lookup;
Conference_Titel :
Circuits and Systems, 2008. ISCAS 2008. IEEE International Symposium on
Conference_Location :
Seattle, WA
Print_ISBN :
978-1-4244-1683-7
Electronic_ISBN :
978-1-4244-1684-4
DOI :
10.1109/ISCAS.2008.4541553