Skip to main content
QUICK REVIEW

[Paper Review] Divide and Conquer: Leveraging Intermediate Feature Representations for Quantized Training of Neural Networks

Ahmed T. Elthakeb, Prannoy Pilligundla|arXiv (Cornell University)|Jun 14, 2019
Advanced Neural Network ApplicationsComputer Science28 references6 citations
TL;DR

This paper proposes DCQ (Divide and Conquer Quantization), a novel knowledge distillation framework that partitions a full-precision teacher network into sections, trains each quantized student section independently using intermediate feature representations from the teacher, and stitches them into a fully quantized model. DCQ improves state-of-the-art quantized training by 21.6% for binary and 9.3% for ternary quantization, significantly reducing accuracy loss while enabling efficient inference.

ABSTRACT

The deep layers of modern neural networks extract a rather rich set of features as an input propagates through the network. This paper sets out to harvest these rich intermediate representations for quantization with minimal accuracy loss while significantly reducing the memory footprint and compute intensity of the DNN. This paper utilizes knowledge distillation through teacher-student paradigm (Hinton et al., 2015) in a novel setting that exploits the feature extraction capability of DNNs for higher-accuracy quantization. As such, our algorithm logically divides a pretrained full-precision DNN to multiple sections, each of which exposes intermediate features to train a team of students independently in the quantized domain. This divide and conquer strategy, in fact, makes the training of each student section possible in isolation while all these independently trained sections are later stitched together to form the equivalent fully quantized network. Our algorithm is a sectional approach towards knowledge distillation and is not treating the intermediate representation as a hint for pretraining before one knowledge distillation pass over the entire network (Romero et al., 2015). Experiments on various DNNs (AlexNet, LeNet, MobileNet, ResNet-18, ResNet-20, SVHN and VGG-11) show that, this approach -- called DCQ (Divide and Conquer Quantization) -- on average, improves the performance of a state-of-the-art quantized training technique, DoReFa-Net (Zhou et al., 2016) by 21.6% and 9.3% for binary and ternary quantization, respectively. Additionally, we show that incorporating DCQ to existing quantized training methods leads to improved accuracies as compared to previously reported by multiple state-of-the-art quantized training methods.

Motivation & Objective

  • To reduce accuracy degradation in quantized neural networks while minimizing memory and compute costs.
  • To leverage the rich hierarchical feature representations learned by deep networks for improved quantization.
  • To develop a sectional knowledge distillation approach that trains quantized student networks in isolation using intermediate activations.
  • To close the accuracy gap between full-precision models and quantized counterparts without modifying the original network architecture.
  • To enable efficient, low-bitwidth inference by preserving the teacher’s architecture through modular training.

Proposed method

  • The method partitions a pretrained full-precision DNN into multiple sections, each corresponding to a segment of the network.
  • For each section, a quantized student network is trained independently using intermediate feature maps from the corresponding teacher section as supervision.
  • A sectional multi-backpropagation scheme optimizes the loss between student and teacher feature representations using standard gradient descent.
  • The loss is computed as a regression loss between the intermediate activations of the teacher and the quantized student in each section.
  • After independent training, the student sections are stitched together to form a complete, fully quantized DNN.
  • The approach does not use intermediate features as hints for pretraining, nor does it apply a final distillation pass over the entire student network.

Experimental results

Research questions

  • RQ1Can intermediate feature representations from a full-precision network be used to train quantized student networks with minimal accuracy loss?
  • RQ2Does a sectional knowledge distillation approach—training each network section in isolation—improve quantization accuracy compared to end-to-end distillation?
  • RQ3Can this method outperform state-of-the-art quantized training techniques like DoReFa-Net in binary and ternary settings?
  • RQ4To what extent can DCQ improve existing quantization methods when integrated as a post-processing step?
  • RQ5Is the hierarchical feature learning capability of deep networks effectively harnessed through this divide-and-conquer distillation strategy?

Key findings

  • DCQ improves the performance of DoReFa-Net by 21.6% for binary quantization and 9.3% for ternary quantization on average across multiple networks.
  • The method achieves higher accuracy than multiple state-of-the-art quantized training techniques on benchmarks including AlexNet, LeNet, MobileNet, ResNet-18, ResNet-20, SVHN, and VGG-11.
  • DCQ reduces the accuracy gap between full-precision models and quantized models by effectively leveraging intermediate feature representations.
  • The sectional training strategy enables independent optimization of each network segment, improving training stability and convergence.
  • Incorporating DCQ into existing quantization pipelines leads to measurable accuracy gains over previously reported results.
  • The approach preserves the original teacher network architecture while achieving high-accuracy quantization through modular distillation.

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.