[Paper Review] What Knowledge Gets Distilled in Knowledge Distillation?
This paper investigates what implicit knowledge is transferred during knowledge distillation beyond accuracy improvement, showing that students inherit the teacher's decision boundary properties—such as adversarial vulnerability, invariance to color, and shape/texture bias—through distillation, even without explicit objectives. The authors demonstrate via geometric analysis that mimicking teacher features enables students to align with the teacher's decision boundary, explaining why distillation works beyond performance gains.
Knowledge distillation aims to transfer useful information from a teacher network to a student network, with the primary goal of improving the student's performance for the task at hand. Over the years, there has a been a deluge of novel techniques and use cases of knowledge distillation. Yet, despite the various improvements, there seems to be a glaring gap in the community's fundamental understanding of the process. Specifically, what is the knowledge that gets distilled in knowledge distillation? In other words, in what ways does the student become similar to the teacher? Does it start to localize objects in the same way? Does it get fooled by the same adversarial samples? Does its data invariance properties become similar? Our work presents a comprehensive study to try to answer these questions. We show that existing methods can indeed indirectly distill these properties beyond improving task performance. We further study why knowledge distillation might work this way, and show that our findings have practical implications as well.
Motivation & Objective
- To understand what implicit knowledge is transferred in knowledge distillation beyond improved task accuracy.
- To investigate whether students inherit the teacher's decision boundary properties, such as adversarial robustness, data invariance, and bias.
- To analyze why distillation indirectly transfers these properties despite no explicit objective for them.
- To explore practical implications, such as the propagation of fairness biases from teacher to student.
- To provide a geometric explanation of how feature distillation leads to boundary alignment between teacher and student.
Proposed method
- The authors evaluate three state-of-the-art distillation methods: KL (output-based), Hint (intermediate feature-based), and CRD (contrastive-based).
- They use decision boundary similarity via triplet-based plane intersection over union (IoU) to measure alignment between teacher and student networks across domains.
- The analysis involves training a teacher on multiple domains (e.g., MNIST-Orig, MNIST-Color, MNIST-M), then distilling on a single domain, and measuring boundary similarity on all domains.
- A geometric lens is applied, modeling features as relative distances from the decision boundary, showing that mimicking these distances leads to boundary alignment.
- The study includes ablation on shape/texture bias transfer and evaluates agreement between teacher-student and teacher-independent-student predictions.
- Experiments are conducted on MNIST variants with controlled data splits to isolate transfer effects.
Experimental results
Research questions
- RQ1Does knowledge distillation transfer the teacher’s adversarial vulnerability to the student, even without explicit adversarial training?
- RQ2Can distillation transfer invariance properties, such as color invariance, from teacher to student?
- RQ3To what extent do students inherit the teacher’s decision boundary behavior on data domains not seen during distillation?
- RQ4Why does distillation lead to boundary alignment between teacher and student, despite no explicit objective for this?
- RQ5Can distillation propagate undesirable biases, such as fairness or shape/texture bias, from teacher to student?
Key findings
- Students distilled using KL distillation inherit the teacher’s adversarial vulnerability, as shown by higher fooling rates on adversarial examples crafted for the teacher.
- The decision boundary similarity between distilled students and the teacher is significantly higher than between the teacher and independently trained students, especially on unseen domains (e.g., 0.671 vs. 0.416 for MNIST-Color with KL).
- For MNIST-Color, the KL-distilled student achieves a decision boundary similarity of 0.671, compared to 0.416 for an independent student, indicating strong boundary transfer.
- The Hint method achieves the highest similarity (0.798) on MNIST-Color, suggesting intermediate feature distillation is particularly effective for boundary alignment.
- The CRD method shows moderate transfer, with a similarity of 0.486 on MNIST-M, indicating less effective boundary transfer than KL or Hint.
- The study reveals that distillation can transfer shape/texture bias, but the extent varies by distillation objective, with some methods showing discrepancies in bias transfer.
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.