Activations in Low Precision with High Accuracy - Université de Lyon
Preprints, Working Papers, ... Year : 2024

Activations in Low Precision with High Accuracy

Abstract

As machine learning hardware uses ever smaller number formats, this article surveys simple and effective techniques for the implementation of activation functions in low precision (fewer than 16 bits) with high accuracy. The implementation combines a fixed-point centric approach, efficient function-specific range reduction techniques, and state-of-the-art polynomial approximation. The resulting trade-offs are studied on both FPGA and ASIC. Functions considered in this article include tanh, sigmoid, ReLU variants such as GELU, ELU, SiLU, and exp for stable softmax, but the methodology can apply to more functions. These techniques are implemented in an opensource hardware generator that produces readable synthesizable VHDL.

Fichier principal
Vignette du fichier
2025-ALPHA.pdf (384.5 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Licence

Dates and versions

hal-04776745 , version 1 (11-11-2024)

Licence

Identifiers

  • HAL Id : hal-04776745 , version 1

Cite

Tom Hubrecht, Orégane Desrentes, Florent de Dinechin. Activations in Low Precision with High Accuracy. 2024. ⟨hal-04776745⟩
0 View
0 Download

Share

More