A High-Speed and Low-Complexity Architecture for Softmax Function in Deep Learning
Authors:
Top Cited Papers
- 1 October 2018
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 223-226
Abstract
Recently, significant improvement has been achieved for hardware architecture design of deep neural networks (DNNs). However, the hardware implementation of one widely used softmax function in DNNs has not been much investigated, which involves expensive division and exponentiation units. This paper performs an efficient hardware implementation of softmax function. Mathematical transformations and linear fitting are used to simplify this function. Multiple algorithmic strength reduction strategies and fast addition methods are employed to optimize the architecture. By using these techniques, complicated logic units like multipliers are eliminated and the memory consumption is largely reduced while the accuracy loss is negligible. The proposed design is coded using hardware description language (HDL) and synthesized under the TSMC 28-nm CMOS technology. Synthesis results show that the architecture achieves a throughput of 6.976 G/s for 8-bit input data. The power efficiency of 463.04 Gb/(mm 2 · mW) is achieved and it costs only 0.015mm 2 area resources. To the best of our knowledge, this is the first work on efficient hardware implementation for softmax in open literature.Keywords
This publication has 7 references indexed in Scilit:
- Accelerating Recurrent Neural Networks: A Memory-Efficient ApproachIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2017
- End-to-end attention-based large vocabulary speech recognition2016
- Low-Power and Area-Efficient Carry Select AdderIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2011
- A Fast Learning Algorithm for Deep Belief NetsNeural Computation, 2006
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- Carry-Save Architectures for High-Speed Digital Signal Processing1991
- Carry-Select AdderIRE Transactions on Electronic Computers, 1962