arrow
Return

High-Precision Method and Architecture for Base-2 Softmax Function in DNN Training

delete2023-08-01
delete8
PRE
AI
Y
Yuan Zhang
L
Lele Peng *
L
Lianghua Quan
Z
Zhang Yong-gang
S
Shubin Zheng
H
Hui Chen *
DOI:10.1109/TCSI.2023.3277247delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Softmax is a common and complex activation function in Deep Neural Networks (DNN). However, it is a challenge to apply it efficiently in DNN training hardware accelerator. Therefore, we propose a high precision calculation method and architecture based on base-2 softmax, which has low hardware complexity than base-2 softmax but can still be useful in DNN training. First, we simplify the hardware implementation complexity of calculating base-2 softmax. Second, we use the base-TEXPRESERVE4 hyperbolic COordinate Rotation Digital Computer (CORDIC) to implement the core computation. Finally, we show that the proposed method can be used in DNN training through experiments. Moreover, with the same order of the magnitude of high precision, our hardware cost is lower than traditional base-e softmax or other alternative design methods. Under TSMC 28nm CMOS technology, an example design of our architecture has the area of 98787.43 mu m(2) and the power consumption of 24.72 mW for circuit synthesis at the frequency of 1GHz.
Keywords:
Softmax
DNN
training
high precision
hyperbolic CORDIC

Journal

IEEE Transactions on Circuits and Systems I-Regular Papers cover
IEEE Transactions on Circuits and Systems I-Regular Papers
IF:
5.2
Papers:
9.7K
Citations:
2.2W

Organization

H
huawei technologies
Scholars:
3.3K
Papers: 2.9K
Citations: 1
S
Shanghai University of Engineering Science
Scholars:
7.8K
Papers: 4.8K
Citations: 6.0K
N
nanjing university
Scholars:
7.7W
Papers: 5.6W
Citations: 87
researcher View more organizations