Differentiable Selection of Bit-Width and Numeric Format for FPGA-Efficient Deep Networks
Open Access
- 19 September 2025
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 14 (18) , 3715
Abstract
Quantization-aware training (QAT) has emerged as a key strategy for enabling efficient deep learning inference on resource-constrained platforms. Yet, most existing approaches rely on static, manually selected numeric formats—fixed-point or floating-point—and fixed bit-widths, limiting their adaptability and often requiring extensive design effort or architecture search. In this work, we introduce a novel QAT framework that breaks this rigidity by jointly learning, during training, both the numeric representation format and the associated bit-widths in an end-to-end differentiable manner. At the core of our method lies a unified parameterization that is capable of emulating both fixed- and floating-point arithmetic, paired with a bit-aware loss function that penalizes excessive precision in a hardware-aligned fashion. We demonstrate that our approach achieves state-of-the-art trade-offs between accuracy and compression on MNIST, CIFAR-10, and CIFAR-100, reducing average bit-widths to as low as 1.4 with minimal accuracy loss. Furthermore, FPGA implementation using Xilinx FINN confirms over LUT and BRAM savings. This is the first QAT method to unify numeric format learning with differentiable precision control, enabling highly deployable, precision-adaptive deep neural networks.
Keywords
Funding Information
- European Union’s Horizon 2020 Research and Innovation Programme (101034383)
This publication has 16 references indexed in Scilit:
- M2-ViT: Accelerating Hybrid Vision Transformers With Two-Level Mixed QuantizationIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2025
- Once-for-All: Train One Network and Specialize it for Efficient DeploymentarXiv, 2020
- Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTProceedings of the AAAI Conference on Artificial Intelligence, 2020
- LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networks2018
- FINN- RACM Transactions on Reconfigurable Technology and Systems, 2018
- Efficient Processing of Deep Neural Networks: A Tutorial and SurveyProceedings of the IEEE, 2017
- ImageNet classification with deep convolutional neural networksCommunications of the ACM, 2017
- Can FPGAs Beat GPUs in Accelerating Next-Generation Deep Neural Networks?2017
- Very Deep Convolutional Networks for Large-Scale Image RecognitionarXiv, 2015
- 1.1 Computing's energy problem (and what we can do about it)2014