Adaptive Dual Guidance Knowledge Distillation

Tong Li, Long Liu, Kang Liu, Xin Wang, Bo Zhou, Hongguang Yang, Kai LuAAAI 2025

Abstract

Knowledge Distillation (KD) aims to transfer knowledge from a large, high-performance "teacher" model to a smaller, efficient "student" model. However, a significant "capacity gap" between the two often hinders effective learning. We present Adaptive Dual Guidance Knowledge Distillation (ADG-KD), a novel framework that bridges this gap by introducing a dynamic intermediate teacher. By combining a fixed, pre-trained teacher with an "Initialized Teacher" that evolves alongside the student via a Bidirectional Optimization Route (BOR), ADG-KD creates an adaptive, easy-to-hard learning curriculum. Experimental results across CIFAR-100, ImageNet, and MS-COCO demonstrate that ADG-KD consistently outperforms state-of-the-art distillation methods.

The Capacity Gap Problem

The primary challenge in model compression via Knowledge Distillation is the performance bottleneck caused by the capacity gap. When a teacher model is significantly more complex than the student, the student often fails to capture the intricate feature representations, much like a primary school student struggling with a doctoral thesis.

Existing solutions typically rely on static "Teacher Assistants" or early-stopping the teacher's training. These approaches suffer from two main drawbacks: they often degrade the teacher's performance to make it "easier" for the student, and they fail to adapt the teaching material to the student's evolving needs during training.

Proposed Method: ADG-KD

ADG-KD introduces a dual-guidance system designed to provide both a high-performance target and a compatible learning path.

1. Dual-Guidance Architecture

The framework utilizes two teachers to guide the student:

  • Pre-trained Teacher (T): A fixed, high-accuracy model that provides the ultimate performance goal.
  • Initialized Teacher (IT): A model with the same architecture as the pre-trained teacher but initialized differently. It serves as a dynamic "bridge."
The dual-guidance architecture showing the relationships between the Pre-trained Teacher (T), Initialized Teacher (IT), and Student (S).

2. Bidirectional Optimization Route (BOR)

The core innovation is the BOR, which optimizes the Initialized Teacher (IT) in two directions. In the early stages of training, the IT is pushed to stay close to the student's current representations, making the knowledge more digestible. As training progresses, the IT is pulled toward the pre-trained teacher's performance. This creates a smooth transition from simple to complex knowledge.

3. Adaptive Fusion and Loss

ADG-KD employs a latent factor model to automatically calculate importance weights for both teachers. This ensures the student focuses on the most compatible knowledge at any given time. The training is governed by a conditional triplet loss, which manages the relative distances between the student, the IT, and the pre-trained teacher across different epochs.

Comparison of ADG-KD's bidirectional optimization route with traditional multi-stage and one-stage distillation methods.

Key Insights

  • The Tutor Analogy: The BOR teacher acts as a tutor who understands both the student's current limitations and the ultimate expertise required, translating complex concepts into digestible steps.
  • Compatibility Over Raw Performance: The research demonstrates that the most accurate teacher isn't always the best for distillation. A teacher whose representations are more compatible with the student's limited capacity can lead to better final results.

Experimental Results

ADG-KD was evaluated on several industry-standard benchmarks, showing consistent improvements over vanilla KD and other state-of-the-art methods:

  • CIFAR-100: Achieved absolute accuracy gains of 3.40% to 5.13% over baseline student models, outperforming vanilla KD by up to 4.11%.
  • ImageNet: In a ResNet34 to ResNet18 distillation task, ADG-KD improved Top-1 accuracy by 1.56% over vanilla KD.
  • Object Detection (MS-COCO): Distilling a ResNet101 into a ResNet50 resulted in a 2.10 point improvement in Average Precision (AP) compared to vanilla KD.
  • Synergy: The method is complementary to other KD techniques; when integrated with methods like Decoupled Knowledge Distillation (DKD), it provides further performance boosts.

Limitations and Future Work

While ADG-KD significantly improves student performance, it introduces additional computational overhead during the training phase due to the optimization of the Initialized Teacher. Future research will focus on reducing this overhead and extending the framework to self-distillation and more diverse computer vision tasks.

Summary updated

BibTeX
@inproceedings{li2025adaptive,
  author = {Tong Li and Long Liu and Kang Liu and Xin Wang and Bo Zhou and Hongguang Yang and Kai Lu},
  title = {{Adaptive Dual Guidance Knowledge Distillation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i17.34031},
}
Figure