Skip to main content
QUICK REVIEW

[Paper Review] Search for Better Students to Learn Distilled Knowledge

Jindong Gu, Volker Tresp|arXiv (Cornell University)|Jan 30, 2020
Educational Assessment and PedagogySocial Sciences33 references13 citations
TL;DR

This paper proposes an automatic neural architecture search method to find optimal student networks for knowledge distillation by pruning the teacher’s topology using L1-regularized subgradients. The approach selects sparse subgraphs that minimize KL-divergence between student and teacher outputs, achieving better generalization than manually designed or SOTA student architectures on CIFAR-10 and CIFAR-100.

ABSTRACT

Knowledge Distillation, as a model compression technique, has received great attention. The knowledge of a well-performed teacher is distilled to a student with a small architecture. The architecture of the small student is often chosen to be similar to their teacher's, with fewer layers or fewer channels, or both. However, even with the same number of FLOPs or parameters, the students with different architecture can achieve different generalization ability. The configuration of a student architecture requires intensive network architecture engineering. In this work, instead of designing a good student architecture manually, we propose to search for the optimal student automatically. Based on L1-norm optimization, a subgraph from the teacher network topology graph is selected as a student, the goal of which is to minimize the KL-divergence between student's and teacher's outputs. We verify the proposal on CIFAR10 and CIFAR100 datasets. The empirical experiments show that the learned student architecture achieves better performance than ones specified manually. We also visualize and understand the architecture of the found student.

Motivation & Objective

  • To address the inefficiency and suboptimal performance of manually designed student architectures in knowledge distillation.
  • To develop an automated method that jointly optimizes pruning and distillation for better student performance.
  • To identify a student architecture that learns distilled knowledge more effectively than conventional size-reduction approaches.
  • To explore whether the search process encodes useful inductive biases beyond just model compression.

Proposed method

  • Formulate the student architecture search as a subgraph selection problem on the teacher’s topology graph, where each channel is a node and connections are edges.
  • Introduce learnable gate variables (scaling factors) for each node in the teacher graph, regularized via L1-norm to induce sparsity.
  • Optimize the architecture using proximal gradient descent on the L1-regularized loss function, which minimizes KL-divergence between student and teacher outputs.
  • Define a composite loss function combining KL divergence, weight decay (L2), and L1 regularization on gate variables to balance performance and sparsity.
  • Control the final FLOPs of the student by tuning the L1 regularization strength (λ₂), which governs the convergence speed to a target model size.
  • Visualize the found student architecture by mapping gate values to channel removal rates, revealing structural patterns in the pruned network.

Experimental results

Research questions

  • RQ1Can an automated architecture search process find a better student network than manual architectural reductions (e.g., fewer layers or channels) in knowledge distillation?
  • RQ2Does jointly optimizing pruning and distillation lead to better student performance than sequential pruning followed by distillation?
  • RQ3How does the L1-regularized subgraph selection strategy affect the generalization ability of the student model?
  • RQ4What structural characteristics emerge in the found student architecture, and do they align with known principles of deep network design?
  • RQ5Can the found student architecture generalize well even without knowledge distillation, suggesting it encodes intrinsic knowledge from the teacher?

Key findings

  • The proposed method achieves better test accuracy than manually designed student architectures with the same FLOPs on CIFAR-10 and CIFAR-100.
  • A strong correlation (0.8896) exists between KL-divergence in the loss function and final test error, validating that the loss function effectively defines a 'good' student architecture.
  • Students found with longer search durations (smaller λ₂) achieve lower test errors, indicating that extended optimization improves architecture quality.
  • The found student architecture preserves most channels in deeper layers, consistent with the principle that later layers require higher representational capacity.
  • Feature reuse via skip connections is preserved in the found architecture, contradicting claims that such connections are less critical in DenseNets.
  • The student model trained from scratch without distillation still performs well, indicating that the search process implicitly learns useful inductive biases from the teacher.

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.