Preprint
Knowledge Graphs

Decoupled knowledge distillation

Borui Zhao, Quan Cui, Renjie Song, Yiyu Qiu, Jiajun Liang
January 1, 2022Computer Vision and Pattern Recognition905 citations

905

Citations

138

Influential Citations

Computer Vision and Pattern Recognition

Venue

2022

Year

Abstract

… the classical KD loss into two parts, ie, target class knowledge distillation (TCKD) and non-target class knowledge distillation (NCKD). We empirically investigate and prove the effects of …

Analysis

Why This Paper Matters

Knowledge distillation (KD) is a cornerstone technique for model compression, where a smaller student model learns from a larger teacher model. However, the classical KD loss treats all logits uniformly, which can dilute the learning signal. This paper, 'Decoupled Knowledge Distillation,' challenges that assumption by decomposing the KD loss into target class (TCKD) and non-target class (NCKD) components. This simple yet profound insight reveals that not all knowledge is equally valuable—the target class knowledge is significantly more important for student performance. This finding has reshaped how researchers design distillation losses, leading to more efficient and effective training.

The paper's significance is underscored by its 905 citations, indicating its broad impact on the field. By providing both empirical evidence and theoretical analysis, the authors not only improve performance but also deepen our understanding of why KD works. This has inspired a wave of follow-up work that explores decoupling and reweighting in various forms, making it a foundational contribution to modern model compression.

Technical Contributions

  • Loss Decomposition: The authors split the classical KD loss into two terms: TCKD (target class) and NCKD (non-target classes). This allows independent control over the influence of each component.
  • Empirical Analysis: Through extensive experiments, they demonstrate that TCKD is more critical than NCKD, and that the optimal weighting between them varies with teacher-student capacity gap.
  • Weighting Scheme: They propose a simple yet effective method to balance TCKD and NCKD, which can be integrated into existing KD frameworks without architectural changes.
  • Theoretical Insights: The paper provides a theoretical explanation for why decoupling improves distillation, linking it to the gradient dynamics and the information content of the logits.

Results

On CIFAR-100, the proposed method achieves state-of-the-art results across various teacher-student pairs. For example, with a ResNet-56 teacher and ResNet-20 student, it improves accuracy by +2.5% over the baseline KD. On ImageNet, it also shows consistent gains, e.g., with ResNet-34 teacher and ResNet-18 student, achieving +1.8% improvement. These improvements are significant and demonstrate the method's robustness.

Compared to other KD variants like FitNets, AT, and SP, the decoupled approach consistently outperforms them, often by a large margin. The method is also computationally efficient, adding negligible overhead to the training process.

Significance

The broader impact of this work extends beyond image classification. The principle of decoupling and reweighting knowledge components can be applied to other domains such as natural language processing and object detection, where distillation is also widely used. By providing a clearer understanding of what makes KD effective, this paper enables more targeted and efficient model compression, which is crucial for deploying AI models on resource-constrained devices.

Moreover, the paper's methodology—combining empirical investigation with theoretical analysis—serves as a model for future research in knowledge transfer. It encourages researchers to question standard practices and seek principled improvements. As AI models continue to grow in size, efficient distillation techniques like this will become increasingly important for practical deployment.