Skip to main content
QUICK REVIEW

[Paper Review] Towards Oracle Knowledge Distillation with Neural Architecture Search

Minsoo Kang, Jonghwan Mun|arXiv (Cornell University)|Nov 29, 2019
Advanced Neural Network ApplicationsComputer Science39 references5 citations
TL;DR

This paper proposes a novel knowledge distillation framework that combines neural architecture search (NAS) with oracle knowledge distillation (OD) to train highly accurate, efficient student models from ensemble teacher networks. By searching for optimal student architectures and using an oracle loss that mimics the best ensemble predictions, the method reduces the model capacity gap and achieves student performance that surpasses both the teacher and standard distillation baselines in accuracy and memory efficiency.

ABSTRACT

We present a novel framework of knowledge distillation that is capable of learning powerful and efficient student models from ensemble teacher networks. Our approach addresses the inherent model capacity issue between teacher and student and aims to maximize benefit from teacher models during distillation by reducing their capacity gap. Specifically, we employ a neural architecture search technique to augment useful structures and operations, where the searched network is appropriate for knowledge distillation towards student models and free from sacrificing its performance by fixing the network capacity. We also introduce an oracle knowledge distillation loss to facilitate model search and distillation using an ensemble-based teacher model, where a student network is learned to imitate oracle performance of the teacher. We perform extensive experiments on the image classification datasets---CIFAR-100 and TinyImageNet---using various networks. We also show that searching for a new student model is effective in both accuracy and memory size and that the searched models often outperform their teacher models thanks to neural architecture search with oracle knowledge distillation.

Motivation & Objective

  • To address the persistent performance gap between student and teacher models in knowledge distillation due to model capacity mismatch.
  • To improve knowledge distillation from ensemble teachers by enabling student models to learn from the optimal combination of teacher predictions (oracle performance).
  • To develop a search-based method that identifies high-performing, compact student architectures tailored for distillation, rather than fixing the student structure in advance.
  • To demonstrate that architecture search combined with oracle distillation yields student models that outperform both standard distillation and the teacher ensemble in accuracy and efficiency.

Proposed method

  • Introduces an oracle knowledge distillation (OD) loss that trains the student to mimic the best-performing prediction among all teacher models for each input, rather than model averaging.
  • Employs neural architecture search (NAS) to discover optimal student network architectures with adaptive capacity, starting from a base student model and expanding up to 4× the size.
  • Uses a differentiable search space that includes operations and skip connections, enabling end-to-end optimization of both architecture and weights.
  • Applies the OD loss during NAS to guide the search toward architectures that can best imitate the oracle performance of the ensemble teacher.
  • Performs search under memory constraints, with the search space designed to be compatible with standard CNNs and efficient for image classification.
  • Trains the final student model using the searched architecture and the OD loss, achieving superior accuracy and parameter efficiency.

Experimental results

Research questions

  • RQ1Can neural architecture search identify student models that outperform fixed-architecture students in knowledge distillation?
  • RQ2Does oracle knowledge distillation, which mimics the best teacher prediction per example, lead to higher student accuracy than standard distillation?
  • RQ3Can the combination of NAS and OD reduce the model capacity gap between student and ensemble teacher, leading to better performance?
  • RQ4How does the performance of searched student models compare to the teacher ensemble, especially in terms of accuracy and memory footprint?

Key findings

  • On CIFAR-100 with a 5-model ResNet-32 ensemble, KDAS models larger than 0.89M parameters (2× base model) achieved higher accuracy (76.87%) than the teacher (76.87%) when using the oracle distillation loss.
  • KDAS models consistently outperformed standard knowledge distillation baselines (MMNs) with comparable memory sizes, demonstrating the benefit of architecture search.
  • On TinyImageNet, the advantage of OD over standard KD was more pronounced, with 50.4% of training examples having different optimal predictions across teacher models, enabling significant accuracy gains.
  • For various backbone architectures (ResNet-110, WideResNets), KDAS-identified students outperformed both standard distillation and the teacher ensemble in accuracy while maintaining competitive memory usage.
  • Even without the oracle loss, the NAS-identified student models outperformed other KD methods like KD, DML, BSS, and TAKD, indicating the value of search alone.
  • The method is model-agnostic, as shown by consistent performance gains across diverse student architectures on both CIFAR-100 and TinyImageNet.

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.