Shedding the Bits: Pushing the Boundaries of Quantization with Minifloats on FPGAs

Shivam Aggarwal, Hans Jakob Damsgaard, Alessandro Pappalardo, Giuseppe Franco, Thomas B. Preußer, Michaela Blott, Tulika Mitra

Research output: Chapter in Book/Report/Conference proceedingConference contributionScientificpeer-review

2 Citations (Scopus)
1 Downloads (Pure)

Abstract

Post-training quantization (PTQ) is a powerful technique for model compression, reducing the numerical precision in neural networks without additional training overhead. Recent works have investigated adopting 8 -bit floating-point formats (FP8) in the context of PTQ for model inference. However, floating-point formats smaller than 8 bits and their relative comparison in terms of accuracy-hardware cost with integers remains unexplored on FPGAs. In this work, we present minifloats, which are reduced-precision floating-point formats capable of further reducing the memory footprint, latency, and energy cost of a model while approaching full-precision model accuracy. We implement a custom FPGA-based multiply-accumulate operator library and explore the vast design space, comparing minifloat and integer representations across 3 to 8 bits for both weights and activations. We also examine the applicability of various integer-based quantization techniques to minifloats. Our experiments show that minifloats offer a promising alternative for emerging workloads such as vision transformers.

Original languageEnglish
Title of host publicationProceedings - 2024 34th International Conference on Field-Programmable Logic and Applications, FPL 2024
PublisherIEEE
Pages297-303
Number of pages7
ISBN (Electronic)979-8-3315-3007-5
DOIs
Publication statusPublished - 2024
Publication typeA4 Article in conference proceedings
EventInternational Conference on Field-Programmable Logic and Applications - Torino, Italy
Duration: 2 Sept 20246 Sept 2024

Publication series

Name
ISSN (Electronic)1946-1488

Conference

ConferenceInternational Conference on Field-Programmable Logic and Applications
Country/TerritoryItaly
CityTorino
Period2/09/246/09/24

Keywords

  • minifloats
  • multiply-accumulate
  • quantization

Publication forum classification

  • Publication forum level 1

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Hardware and Architecture
  • Software

Fingerprint

Dive into the research topics of 'Shedding the Bits: Pushing the Boundaries of Quantization with Minifloats on FPGAs'. Together they form a unique fingerprint.

Cite this