Adaptive Explicit Knowledge Transfer for Knowledge Distillation
Hyungkeun Park, Jong-Seok Lee
TL;DR
This paper addresses the gap where logit-based KD underperforms feature-based KD by analyzing gradient flows and exposing how implicit knowledge in non-target logits can be learned adaptively. It proposes Adaptive Explicit Knowledge Transfer (AEKT), a loss that adaptively weights learning of the teacher's target-class confidence based on the teacher/student ratio, and introduces a task-serialization FC layer to decouple classification and distillation. The authors provide gradient analyses of KD/DKD, derive AEKT's gradient, and show empirical improvements over state-of-the-art KD methods on CIFAR-100 and ImageNet, along with thorough ablations and insights into inter-class relations learned by the serialization layer. This method offers a practical route to stronger, more efficient knowledge transfer suitable for deployable student models on resource-constrained devices, while preserving rich inter-class structure learned from the teacher.
Abstract
Logit-based knowledge distillation (KD) for classification is cost-efficient compared to feature-based KD but often subject to inferior performance. Recently, it was shown that the performance of logit-based KD can be improved by effectively delivering the probability distribution for the non-target classes from the teacher model, which is known as `implicit (dark) knowledge', to the student model. Through gradient analysis, we first show that this actually has an effect of adaptively controlling the learning of implicit knowledge. Then, we propose a new loss that enables the student to learn explicit knowledge (i.e., the teacher's confidence about the target class) along with implicit knowledge in an adaptive manner. Furthermore, we propose to separate the classification and distillation tasks for effective distillation and inter-class relationship modeling. Experimental results demonstrate that the proposed method, called adaptive explicit knowledge transfer (AEKT) method, achieves improved performance compared to the state-of-the-art KD methods on the CIFAR-100 and ImageNet datasets.
