Apprentice: Using Knowledge Distillation Techniques To Improve Low-Precision Network Accuracy
Asit Mishra, Debbie Marr
TL;DR
This work tackles the accuracy drop of low-precision neural networks by integrating knowledge distillation with quantization through the Apprentice framework. It introduces three schemes—joint training, distillation from a trained teacher, and fine-tuning the student—to produce high-accuracy low-precision variants of ResNet on ImageNet. The approach achieves state-of-the-art results for ternary and 4-bit networks and demonstrates faster convergence in some schemes, with CIFAR-10 results supporting generality. The findings suggest that distillation can significantly recover performance loss due to aggressive quantization, enabling practical edge and cloud deployments with reduced compute and memory footprints.
Abstract
Deep learning networks have achieved state-of-the-art accuracies on computer vision workloads like image classification and object detection. The performant systems, however, typically involve big models with numerous parameters. Once trained, a challenging aspect for such top performing models is deployment on resource constrained inference systems - the models (often deep networks or wide networks or both) are compute and memory intensive. Low-precision numerics and model compression using knowledge distillation are popular techniques to lower both the compute requirements and memory footprint of these deployed models. In this paper, we study the combination of these two techniques and show that the performance of low-precision networks can be significantly improved by using knowledge distillation techniques. Our approach, Apprentice, achieves state-of-the-art accuracies using ternary precision and 4-bit precision for variants of ResNet architecture on ImageNet dataset. We present three schemes using which one can apply knowledge distillation techniques to various stages of the train-and-deploy pipeline.
