Skip to main content
QUICK REVIEW

[Paper Review] Quantized Convolutional Neural Networks for Mobile Devices

Jiaxiang Wu, Cong Leng|arXiv (Cornell University)|Dec 21, 2015
Advanced Neural Network ApplicationsComputer Science27 references32 citations
TL;DR

This paper proposes Quantized CNN (Q-CNN), a unified framework that accelerates and compresses convolutional neural networks by quantizing both convolutional and fully-connected layer weights. By minimizing layer response estimation error during quantization and using a training scheme to suppress error accumulation, Q-CNN achieves 4–6× speed-up and 15–20× model compression with less than 1% accuracy drop, enabling real-time image classification on mobile devices.

ABSTRACT

Recently, convolutional neural networks (CNN) have demonstrated impressive performance in various computer vision tasks. However, high performance hardware is typically indispensable for the application of CNN models due to the high computation complexity, which prohibits their further extensions. In this paper, we propose an efficient framework, namely Quantized CNN, to simultaneously speed-up the computation and reduce the storage and memory overhead of CNN models. Both filter kernels in convolutional layers and weighting matrices in fully-connected layers are quantized, aiming at minimizing the estimation error of each layer's response. Extensive experiments on the ILSVRC-12 benchmark demonstrate 4~6x speed-up and 15~20x compression with merely one percentage loss of classification accuracy. With our quantized CNN model, even mobile devices can accurately classify images within one second.

Motivation & Objective

  • To address the high computational and memory demands of deep CNNs on mobile devices.
  • To enable simultaneous acceleration and compression of both convolutional and fully-connected layers in CNNs.
  • To minimize classification accuracy degradation during model quantization through response estimation error minimization.
  • To develop a training scheme that suppresses error accumulation across multiple quantized layers.
  • To demonstrate real-time inference on mobile platforms using quantized models.

Proposed method

  • Quantize filter kernels in convolutional layers and weight matrices in fully-connected layers to enable efficient approximate inner product computation.
  • Minimize the estimation error of each layer’s response during quantization to preserve model performance.
  • Introduce a training scheme that accounts for previous layer estimation errors to reduce cumulative error in deep networks.
  • Use a hybrid quantization strategy with different bit-widths for different layers: 8-bit for convolutional layers and 3–4 bits for fully-connected layers.
  • Apply low-rank approximation and parameter pruning in fully-connected layers to further reduce model size.
  • Implement the quantized model on mobile devices using CPU-only inference with no GPU acceleration.

Experimental results

Research questions

  • RQ1Can joint quantization of convolutional and fully-connected layers simultaneously accelerate inference and reduce model size in CNNs?
  • RQ2How can quantization be optimized to minimize response estimation error per layer while preserving classification accuracy?
  • RQ3What is the impact of error accumulation across multiple quantized layers, and how can it be mitigated during training?
  • RQ4To what extent can quantized CNNs achieve real-time inference on mobile devices with minimal accuracy loss?
  • RQ5How does the performance of Q-CNN compare to baseline quantization and compression methods on standard benchmarks?

Key findings

  • Q-CNN achieves 4.05× to 5.78× speed-up and 15.40× to 20.34× compression on ILSVRC-12 benchmarks, with top-5 accuracy loss below 1%.
  • On the Huawei Mate 7 smartphone, Q-CNN reduces inference time from 2.93s (AlexNet) to 0.95s and from 10.58s (CNN-S) to 2.61s, achieving 3–4× speed-up.
  • Storage consumption is reduced from 232.56MB (original AlexNet) to 12.60MB (Q-CNN), a 15.4× reduction, and memory usage drops from 264.74MB to 74.65MB.
  • For VGG-16, Q-CNN achieves 4.06× speed-up and 20.34× compression with only 0.58% increase in top-5 error rate.
  • The framework enables real-time image classification on mobile devices within one second, even without GPU acceleration.
  • The realistic speed-up on CPU-only systems is slightly lower than theoretical estimates, indicating potential for further optimization via SIMD or AVX.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.