LGCVMLJul 20, 2020

HMQ: Hardware Friendly Mixed Precision Quantization Block for CNNs

arXiv:2007.09952v176 citations
AI Analysis

This work addresses efficient quantization for edge device hardware, though it is incremental as it builds on existing mixed precision methods with added hardware constraints.

The authors tackled the problem of implementing mixed precision quantization on edge devices by introducing HMQ, a hardware-friendly quantization block that uses uniform and power-of-two thresholds, achieving competitive or state-of-the-art results on ImageNet across four architectures.

Recent work in network quantization produced state-of-the-art results using mixed precision quantization. An imperative requirement for many efficient edge device hardware implementations is that their quantizers are uniform and with power-of-two thresholds. In this work, we introduce the Hardware Friendly Mixed Precision Quantization Block (HMQ) in order to meet this requirement. The HMQ is a mixed precision quantization block that repurposes the Gumbel-Softmax estimator into a smooth estimator of a pair of quantization parameters, namely, bit-width and threshold. HMQs use this to search over a finite space of quantization schemes. Empirically, we apply HMQs to quantize classification models trained on CIFAR10 and ImageNet. For ImageNet, we quantize four different architectures and show that, in spite of the added restrictions to our quantization scheme, we achieve competitive and, in some cases, state-of-the-art results.

Code Implementations2 repos
Foundations

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

Your Notes