Adaptive Quantization for Deep Neural Network
arXiv:1712.01048
Abstract
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.
9 pages main paper + 5 pages supplementary, 8 figures, conference
References in corpus (1)
Cited by in corpus (7)
- A Survey on Methods and Theories of Quantized Neural Networks
- Review: Deep Learning in Electron Microscopy
- HAWQV3: Dyadic Neural Network Quantization
- Check-N-Run: A Checkpointing System for Training Deep Learning Recommendation Models
- Efficient Visual Recognition with Deep Neural Networks: A Survey on Recent Advances and New Directions
- On Periodic Functions as Regularizers for Quantization of Neural Networks
- Exploring Neural Networks Quantization via Layer-Wise Quantization Analysis