Journal of Xidian University ›› 2020, Vol. 47 ›› Issue (3): 58-65.doi: 10.19665/j.issn1001-2400.2020.03.008

Previous Articles     Next Articles

Low complexity probability-based piecewise linear approximation of the sigmoid function

NGUYEN Van-Truong,CAI Jueping,WEI Linyu,CHU Jie   

  1. School of Microelectronics, Xidian University, Xi’an 710071, China
  • Received:2019-11-08 Online:2020-06-20 Published:2020-06-19

Abstract:

In order to improve the network recognition accuracy in the low complexity condition, a piecewise linear sigmoid function approximation based on the distribution probability of the neurons’ values is proposed only with one addition circuit. The sigmoid function is first divided into three fixed regions. Second, according to the neurons’ values distribution probability, the curve in each region is segmented into sub-regions to reduce the approximation error and improve the recognition accuracy. The slope of the piecewise linear function is set as 2-n, effectively reducing the hardware implementation complexity. Experiments performed on Xilinx’s FPGA-XC7A200T implement the MNIST handwritten digits recognition. The results show that the proposed method achieves a 97.45% recognition accuracy in a deep neural network and 98.42% in a convolutional neural network, up to 0.84% and 0.57% higher than other approximation methods only with one addition circuit.

Key words: Sigmoid function, probability, neural networks, piecewise linear approximation, field programmable gate array

CLC Number: 

  • TN402

Baidu
map