Hardware Implementation and Optimization of the Sigmoid Activation Function in CNNs Using Taylor Series Approximation
The activation function is crucial in artificial neural networks for transforming inputs into outputs, introducing nonlinearity necessary for learning intricate patterns and making precise predictions. This study focuses on the hardware implementation of an optimized sigmoid activation function in convolutional neural networks (CNNs). The sigmoid function, commonly used in classification tasks, provides a smooth and bounded output. We propose a hardware optimization approach for the sigmoid function using Taylor series approximation to address challenges related to computational efficiency and accuracy. Our results, obtained using ModelSim software, demonstrate that the proposed high-precision sigmoid circuit closely replicates the ideal sigmoid, achieving a maximum error of 1.05% and an average error of 0.18%. Future research will aim to further enhance accuracy and efficiency for real-time CNN applications.
Authors
- Trang Hoang (ORCID: https://orcid.org/0000-0001-7317-9708)
- Nhan La Hoang Trong
Institutions
- Vietnam National University Ho Chi Minh City (VN)
- Ho Chi Minh City University of Technology (VN)
Publication Details
- Published
- 2024-10-17
- DOI
- https://doi.org/10.1109/atc63255.2024.10908160
- Primary Topic
- Neural Networks and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00