Towards Accurate Low Bit-Width Quantization with Multiple Phase Adaptations

  • Zhaoyi Yan Peking University Shenzhen Graduate School
  • Yemin Shi Peking University
  • Yaowei Wang Pengcheng Laboratory
  • Mingkui Tan Pengcheng Laboratory
  • Zheyang Li Hikvision Research Institute
  • Wenming Tan Hikvision Research Institute
  • Yonghong Tian Peking University

Abstract

Low bit-width model quantization is highly desirable when deploying a deep neural network on mobile and edge devices. Quantization is an effective way to reduce the model size with low bit-width weight representation. However, the unacceptable accuracy drop hinders the development of this approach. One possible reason for this is that the weights in quantization intervals are directly assigned to the center. At the same time, some quantization applications are limited by the various of different network models. Accordingly, in this paper, we propose Multiple Phase Adaptations (MPA), a framework designed to address these two problems. Firstly, weights in the target interval are assigned to center by gradually spreading the quantization range. During the MPA process, the accuracy drop can be compensated for the unquantized parts. Moreover, as MPA does not introduce hyperparameters that depend on different models or bit-width, the framework can be conveniently applied to various models. Extensive experiments demonstrate that MPA achieves higher accuracy than most existing methods on classification tasks for AlexNet, VGG-16 and ResNet.

Published
2020-04-03
Section
AAAI Technical Track: Machine Learning