[Paper Review] Adaptive Block Floating-Point for Analog Deep Learning Hardware
This paper introduces Adaptive Block Floating-Point (ABFP) with gain to enable high-accuracy analog deep learning inference on low-precision analog mixed-signal (AMS) hardware. By dynamically scaling matrix tiles and applying amplification, ABFP reduces quantization error without increasing ADC bit precision, achieving <1% accuracy loss on MLPerf™ benchmarks compared to float32, even with only 8-bit ADCs.
Analog mixed-signal (AMS) devices promise faster, more energy-efficient deep neural network (DNN) inference than their digital counterparts. However, recent studies show that DNNs on AMS devices with fixed-point numbers can incur an accuracy penalty because of precision loss. To mitigate this penalty, we present a novel AMS-compatible adaptive block floating-point (ABFP) number representation. We also introduce amplification (or gain) as a method for increasing the accuracy of the number representation without increasing the bit precision of the output. We evaluate the effectiveness of ABFP on the DNNs in the MLPerf datacenter inference benchmark -- realizing less than $1\%$ loss in accuracy compared to FLOAT32. We also propose a novel method of finetuning for AMS devices, Differential Noise Finetuning (DNF), which samples device noise to speed up finetuning compared to conventional Quantization-Aware Training.
Motivation & Objective
- To address the accuracy degradation in analog mixed-signal (AMS) hardware due to low-precision fixed-point representations in deep neural network (DNN) inference.
- To reduce the required ADC bit precision without sacrificing model accuracy, thereby lowering energy consumption in AMS-based DNN accelerators.
- To develop a novel number representation and finetuning method that maintains high model quality despite hardware-induced noise and quantization error.
- To demonstrate that ABFP with gain enables high-accuracy DNN inference on AMS devices with minimal hardware overhead and energy cost.
Proposed method
- Proposes Adaptive Block Floating-Point (ABFP), a number representation that normalizes input vectors within tiled matrix multiplications by dynamically scaling them using shared exponents.
- Introduces amplification (gain) as a mechanism to increase effective precision without increasing output bit width, improving dynamic range and accuracy.
- Applies ABFP to matrix multiplication tiles, where weights and activations are scaled before analog computation and the output is de-normalized after accumulation.
- Employs a novel finetuning method, Differential Noise Finetuning (DNF), which samples device noise during training to accelerate convergence and improve robustness.
- Uses Quantization-Aware Training (QAT) and DNF to fine-tune DNNs, enabling them to recover accuracy after ABFP quantization and hardware noise.
- Restricts ABFP scales to exponents only (no mantissa) to reduce computational cost, trading minimal precision for efficiency.
Experimental results
Research questions
- RQ1Can ABFP with gain enable high-accuracy DNN inference on AMS hardware with significantly reduced ADC bit precision?
- RQ2How does ABFP compare to fixed-point representations in terms of accuracy and energy efficiency for large-scale DNNs?
- RQ3Can Differential Noise Finetuning (DNF) accelerate convergence and restore model quality more effectively than conventional Quantization-Aware Training (QAT) on noisy AMS devices?
- RQ4What is the impact of output dimensionality and decision boundary complexity on DNN robustness to ABFP quantization and hardware noise?
- RQ5How does the combination of ABFP and gain reduce the energy cost of high-precision inference compared to prior AMS designs?
Key findings
- ABFP with gain enables DNN inference on AMS hardware using only 8-bit ADCs, achieving less than 1% accuracy loss compared to float32 across all six MLPerf™ datacenter inference benchmarks.
- The method reduces energy consumption by a factor of approximately 2.8 compared to the optimal configuration in prior work (Rekhi et al., 2021), primarily due to reduced ADC bit precision from 12.5 to 8 bits.
- For ResNet50, the energy savings from reducing ADC bits (2^4.5×) outweigh the cost of applying a gain of 8, resulting in a net 2.8× energy reduction.
- DNF significantly accelerates finetuning by sampling actual device noise, outperforming conventional QAT in convergence speed and accuracy recovery.
- DNNs with fewer output classes (e.g., 2) are more robust to ABFP quantization and noise than those with high-dimensional outputs (e.g., 1000 classes), indicating that model complexity affects robustness.
- The computational overhead of ABFP conversions is amortized over large matrix tiles, making the cost negligible compared to the energy savings from lower-precision ADCs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.