[Paper Review] Learning Student-Friendly Teacher Networks for Knowledge Distillation
Proposes a two-stage training of teacher networks to be student-friendly, jointly training student branches with the teacher, improving distillation performance across diverse architectures and KD methods.
We propose a novel knowledge distillation approach to facilitate the transfer of dark knowledge from a teacher to a student. Contrary to most of the existing methods that rely on effective training of student models given pretrained teachers, we aim to learn the teacher models that are friendly to students and, consequently, more appropriate for knowledge transfer. In other words, at the time of optimizing a teacher model, the proposed algorithm learns the student branches jointly to obtain student-friendly representations. Since the main goal of our approach lies in training teacher models and the subsequent knowledge distillation procedure is straightforward, most of the existing knowledge distillation methods can adopt this technique to improve the performance of diverse student models in terms of accuracy and convergence speed. The proposed algorithm demonstrates outstanding accuracy in several well-known knowledge distillation techniques with various combinations of teacher and student models even in the case that their architectures are heterogeneous and there is no prior knowledge about student models at the time of training teacher networks.
Motivation & Objective
- Motivate improving knowledge distillation by learning teachers that transfer easily to students rather than relying on pretrained teachers.
- Introduce the Saintudent-Friendly Teacher Network (SFTN) framework that trains teachers alongside auxiliary student branches.
- Show that SFTN improves accuracy and convergence across multiple datasets (CIFAR-100, ImageNet) and distillation algorithms.
- Demonstrate the versatility of SFTN with heterogeneous teacher–student pairs and varying architectures.
- Highlight practical considerations such as hyperparameter effects and use with pretrained teachers.
Proposed method
- Modularize teacher and student networks into blocks and attach student branches to the teacher via transform layers.
- Train the teacher and student branches jointly to minimize a combination of: teacher loss on ground-truth, KL divergence between student and teacher outputs, and cross-entropy loss for student branches.
- Use a logit-level distillation where each student branch mirrors a corresponding teacher block through a feature transform T to align dimensions.
- Distillation stage then applies standard KD using the learned teacher logits q_T and transformed student logits q_R^i.
- Optimize the total SFTN loss: L_SFTN = lambda_T L_T + lambda_R^KL L_R^KL + lambda_R^CE L_R^CE, with temperature parameters for softmax smoothing during KL.
Experimental results
Research questions
- RQ1Does training a teacher jointly with student branches yield representations more transferable to students than pretrained teachers?
- RQ2Can SFTN improve distillation performance across diverse KD algorithms and architectures, including heterogeneous teacher–student pairs?
- RQ3How do hyperparameters (softmax temperature, KL weight) influence the effectiveness of knowledge transfer under SFTN?
- RQ4Is SFTN effective when using pretrained teachers to reduce training cost?
- RQ5How far does SFTN transfer benefits to student models with different capacities or architectures beyond those seen during training?
Key findings
- SFTN improves student accuracy across many KD baselines on CIFAR-100 and ImageNet.
- On CIFAR-100, average improvement over standard teachers is about 1.58 percentage points in the experiments.
- SFTN yields substantial gains even when teacher accuracy is not maximized, and benefits persist with heterogeneous teacher–student pairs.
- ImageNet experiments show SFTN consistently outperforms standard teachers, with the best student achieving around 0.5 percentage points higher top-1 than the standard teacher.
- SFTN remains effective across a variety of KD algorithms (e.g., KD, FitNet, AT, SP, CRD, SSKD, OH) and architectures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.