Unleashing 8-Bit Floating Point Formats Out of the Deep-Learning Domain
Reduced-precision floating-point (FP) arithmetic is a technology trend to minimize memory usage and execution time on power-constrained devices. This paper explores the potential applications of the 8-bit FP format beyond the classical deep learning use cases. We comprehensively analyze alternative FP8 formats, considering the allocation of mantissa and exponent bits. Additionally, we examine the impact on energy efficiency, accuracy, and execution time of several digital signal processing and classical machine learning kernels using the parallel ultra-low-power (PULP) platform based on the RISC-V instruction set architecture. Our findings show that using appropriate exponent choice and scaling methods results in acceptable errors compared to FP32. Our study facilitates the adoption of FP8 formats outside the deep learning domain to achieve consistent energy efficiency and speed improvements without compromising accuracy. On average, our results indicate speedup of 3.14x, 6.19x, 11.11x, and 18.81x on 1, 2, 4, and 8 cores, respectively. Furthermore, the vectorized implementation of FP8 in the same setup delivers remarkable energy savings of 2.97x, 5.07x, 7.37x, and 15.05x.
Authors
- Giuseppe Tagliavini (ORCID: https://orcid.org/0000-0002-9221-4633)
- Seyed Ahmad Mirsalari (ORCID: https://orcid.org/0000-0001-8013-2414)
- S. Aryana Yousefzadeh (ORCID: https://orcid.org/0000-0003-2842-7121)
- Ahmed Hemani (ORCID: https://orcid.org/0000-0003-0565-9376)
Institutions
- KTH Royal Institute of Technology (SE)
- University of Bologna (IT)
Publication Details
- Published
- 2024-11-18
- DOI
- https://doi.org/10.1109/icecs61496.2024.10848785
- Primary Topic
- CCD and CMOS Imaging Sensors
- Type
- article
- Field-Weighted Citation Impact
- 0.00