LGMLFeb 15, 2019

AutoQ: Automated Kernel-Wise Neural Network Quantization

arXiv:1902.05690v3122 citations
Originality Highly original
AI Analysis

This work addresses the challenge of optimizing neural network quantization for low-power mobile devices, offering significant performance improvements over prior methods.

The paper tackles the problem of efficiently quantizing convolutional neural networks for mobile deployment by proposing AutoQ, a hierarchical deep reinforcement learning method that automatically assigns different quantization bitwidths to each weight kernel and activation layer. The result is an average reduction of 54.06% in inference latency and 50.69% in energy consumption while maintaining accuracy compared to state-of-the-art DRL-based schemes.

Network quantization is one of the most hardware friendly techniques to enable the deployment of convolutional neural networks (CNNs) on low-power mobile devices. Recent network quantization techniques quantize each weight kernel in a convolutional layer independently for higher inference accuracy, since the weight kernels in a layer exhibit different variances and hence have different amounts of redundancy. The quantization bitwidth or bit number (QBN) directly decides the inference accuracy, latency, energy and hardware overhead. To effectively reduce the redundancy and accelerate CNN inferences, various weight kernels should be quantized with different QBNs. However, prior works use only one QBN to quantize each convolutional layer or the entire CNN, because the design space of searching a QBN for each weight kernel is too large. The hand-crafted heuristic of the kernel-wise QBN search is so sophisticated that domain experts can obtain only sub-optimal results. It is difficult for even deep reinforcement learning (DRL) Deep Deterministic Policy Gradient (DDPG)-based agents to find a kernel-wise QBN configuration that can achieve reasonable inference accuracy. In this paper, we propose a hierarchical-DRL-based kernel-wise network quantization technique, AutoQ, to automatically search a QBN for each weight kernel, and choose another QBN for each activation layer. Compared to the models quantized by the state-of-the-art DRL-based schemes, on average, the same models quantized by AutoQ reduce the inference latency by 54.06\%, and decrease the inference energy consumption by 50.69\%, while achieving the same inference accuracy.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes