In this work a novel architecture, named pseudo-softmax, to compute an approximated form of the softmax function is presented. This architecture can be fruitfully used in the last layer of Neural Networks and Convolutional Neural Networks for classification tasks, and in Reinforcement Learning hardware accelerators to compute the Boltzmann action-selection policy. The proposed pseudo-softmax design, intended for efficient hardware implementation, exploits the typical integer quantization of hardware-based Neural Networks obtaining an accurate approximation of the result. In the paper, a detailed description of the architecture is given and an extensive analysis of the approximation error is performed by using both custom stimuli and real-world Convolutional Neural Networks inputs. The implementation results, based on CMOS standard-cell technology, compared to state-of-the-art architectures show reduced approximation errors.

Cardarilli, G.c., Di Nunzio, L., Fazzolari, R., Giardino, D., Nannarelli, A., Re, M., et al. (2021). A pseudo-softmax function for hardware-based high speed image classification. SCIENTIFIC REPORTS, 11(1) [10.1038/s41598-021-94691-7].

A pseudo-softmax function for hardware-based high speed image classification

Cardarilli G. C.;Di Nunzio L.;Fazzolari R.;Re M.;Spano S.
2021-01-01

Abstract

In this work a novel architecture, named pseudo-softmax, to compute an approximated form of the softmax function is presented. This architecture can be fruitfully used in the last layer of Neural Networks and Convolutional Neural Networks for classification tasks, and in Reinforcement Learning hardware accelerators to compute the Boltzmann action-selection policy. The proposed pseudo-softmax design, intended for efficient hardware implementation, exploits the typical integer quantization of hardware-based Neural Networks obtaining an accurate approximation of the result. In the paper, a detailed description of the architecture is given and an extensive analysis of the approximation error is performed by using both custom stimuli and real-world Convolutional Neural Networks inputs. The implementation results, based on CMOS standard-cell technology, compared to state-of-the-art architectures show reduced approximation errors.
2021
Pubblicato
Rilevanza internazionale
Articolo
Esperti anonimi
Settore ING-INF/01 - ELETTRONICA
English
Cardarilli, G.c., Di Nunzio, L., Fazzolari, R., Giardino, D., Nannarelli, A., Re, M., et al. (2021). A pseudo-softmax function for hardware-based high speed image classification. SCIENTIFIC REPORTS, 11(1) [10.1038/s41598-021-94691-7].
Cardarilli, Gc; Di Nunzio, L; Fazzolari, R; Giardino, D; Nannarelli, A; Re, M; Spano, S
Articolo su rivista
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2108/320944
Citazioni
  • ???jsp.display-item.citation.pmc??? 2
  • Scopus 30
  • ???jsp.display-item.citation.isi??? 19
social impact