[Paper Review] Adaptive Quantization for Deep Neural Network
This paper proposes an adaptive quantization framework that optimizes bit-width per layer in deep neural networks using a theoretically grounded measurement of quantization error impact on model accuracy. By minimizing the cumulative effect of layer-wise quantization noise, the method achieves 20–40% higher compression than equal-bit-width quantization and state-of-the-art SQNR-based methods at the same accuracy level.
In recent years Deep Neural Networks (DNNs) have been rapidly developed in various applications, together with increasingly complex architectures. The performance gain of these DNNs generally comes with high computational costs and large memory consumption, which may not be affordable for mobile platforms. Deep model quantization can be used for reducing the computation and memory costs of DNNs, and deploying complex DNNs on mobile equipment. In this work, we propose an optimization framework for deep model quantization. First, we propose a measurement to estimate the effect of parameter quantization errors in individual layers on the overall model prediction accuracy. Then, we propose an optimization process based on this measurement for finding optimal quantization bit-width for each layer. This is the first work that theoretically analyse the relationship between parameter quantization errors of individual layers and model accuracy. Our new quantization algorithm outperforms previous quantization optimization methods, and achieves 20-40% higher compression rate compared to equal bit-width quantization at the same model prediction accuracy.
Motivation & Objective
- To address the inefficiency of uniform bit-width quantization across DNN layers, which fails to account for structural differences in layer sensitivity to quantization.
- To develop a theoretically sound metric that links individual layer quantization errors to overall model accuracy degradation.
- To enable efficient, non-exhaustive optimization of bit-width per layer, avoiding the infeasible exponential search in deep networks.
- To outperform existing quantization methods—especially SQNR-based and equal-bit-width approaches—by achieving higher compression at equal accuracy.
Proposed method
- Proposes a measurement based on the L2 norm of residual error vectors to quantify how quantization noise in each layer affects the overall model prediction accuracy.
- Derives a theoretical framework showing that the total quantization error is approximately additive across layers when noise is small, enabling scalable optimization.
- Uses this additive error model to compute an optimal bit-width for each layer that minimizes total error while meeting accuracy constraints.
- Applies uniform quantization per layer with bit-widths determined by the proposed error measurement, avoiding exhaustive search through bit-width combinations.
- Validates the additivity assumption empirically on ImageNet models, showing strong agreement under low-noise conditions.
- Optimizes bit-widths using a gradient-free, iterative procedure that balances compression and accuracy across layers.
Experimental results
Research questions
- RQ1How does quantization error in individual DNN layers collectively affect overall model prediction accuracy?
- RQ2Can a theoretically grounded, additive error model accurately predict the impact of layer-wise quantization on final model performance?
- RQ3Can adaptive bit-width assignment per layer outperform uniform or SQNR-based bit-width selection in terms of compression-accuracy trade-off?
- RQ4Is the proposed method scalable and effective across diverse DNN architectures such as AlexNet, VGG-16, GoogleNet, and ResNet-50?
Key findings
- The proposed method achieves 30–40% smaller model size than equal-bit-width quantization for AlexNet and VGG-16 at the same accuracy degradation.
- For GoogleNet and ResNet-50, the method achieves 15–20% smaller model size than equal-bit-width quantization under identical accuracy constraints.
- The method consistently outperforms the SQNR-based quantization approach across all tested models, including ResNet-50 where SQNR-based methods underperform.
- Empirical validation confirms the additivity of quantization error norms under low-noise conditions, supporting the theoretical foundation of the method.
- The method generates more bit-width combinations than SQNR-based approaches due to fractional bit-width optimization, enabling finer compression control.
- The theoretical analysis establishes a first-of-its-kind link between layer-wise quantization error and overall DNN accuracy, providing a principled basis for adaptive quantization.
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.