Digital Implementation of the Softmax Activation Function and the Inverse Softmax Function
Authors:
- 21 December 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 64-67
Abstract
An increase in interest in Deep Neural Networks can be attributed to the recent successes of Deep Learning in various AI applications. Deep Neural Networks form the implementation platform for all these application domains. The next level of adoption is through dedicated hardware implementations of these models, for example in edge-based applications. If a Deep Neural Network is used to represent a classification problem, the last layer is typically the Softmax activation function. Due to the appearance of the exponential function in these implementations, additional effort must be made to realize a digital implementation. In this work, two activation functions-the Softmax and the Inverse Softmax function-as well as the digital implementations of each are explored for their effectiveness in performance and power consumption. The CORDIC technique is used to model the exponential functions in this paper. The Inverse Softmax function, proposed in this paper for the first time, avoid the requirement of the division operator in the Softmax function. Through experiments it has been shown that this function leads to an optimized implementation, as compared to the Softmax activation function.Keywords
This publication has 10 references indexed in Scilit:
- CORDIC Based Implementation of the Softmax Activation Function2020
- Simplified Hardware Implementation of the Softmax Activation Function2019
- High accuracy FPGA activation function implementation for neural networksNeurocomputing, 2017
- Efficient hardware architecture of softmax layer in deep neural network2016
- Double precision floating point core in verilogInternational Journal on Cybernetics & Informatics, 2016
- Hardware implementation of neural network with Sigmoidal activation functions using CORDICMicroprocessors and Microsystems, 2015
- Hardware Implementation of Math Module Based on CORDIC Algorithm Using FPGA2013
- A Novel Method for Computing Exponential Function Using CORDIC AlgorithmProcedia Engineering, 2012
- 50 Years of CORDIC: Algorithms, Architectures, and ApplicationsIEEE Transactions on Circuits and Systems I: Regular Papers, 2009
- The Birth of CordicJournal of Signal Processing Systems, 2000