English

DeepKD: A Deeply Decoupled and Denoised Knowledge Distillation Trainer

Computer Vision and Pattern Recognition 2025-05-22 v1 Artificial Intelligence Machine Learning

Abstract

Recent advances in knowledge distillation have emphasized the importance of decoupling different knowledge components. While existing methods utilize momentum mechanisms to separate task-oriented and distillation gradients, they overlook the inherent conflict between target-class and non-target-class knowledge flows. Furthermore, low-confidence dark knowledge in non-target classes introduces noisy signals that hinder effective knowledge transfer. To address these limitations, we propose DeepKD, a novel training framework that integrates dual-level decoupling with adaptive denoising. First, through theoretical analysis of gradient signal-to-noise ratio (GSNR) characteristics in task-oriented and non-task-oriented knowledge distillation, we design independent momentum updaters for each component to prevent mutual interference. We observe that the optimal momentum coefficients for task-oriented gradient (TOG), target-class gradient (TCG), and non-target-class gradient (NCG) should be positively related to their GSNR. Second, we introduce a dynamic top-k mask (DTM) mechanism that gradually increases K from a small initial value to incorporate more non-target classes as training progresses, following curriculum learning principles. The DTM jointly filters low-confidence logits from both teacher and student models, effectively purifying dark knowledge during early training. Extensive experiments on CIFAR-100, ImageNet, and MS-COCO demonstrate DeepKD's effectiveness. Our code is available at https://github.com/haiduo/DeepKD.

Keywords

Cite

@article{arxiv.2505.15133,
  title  = {DeepKD: A Deeply Decoupled and Denoised Knowledge Distillation Trainer},
  author = {Haiduo Huang and Jiangcheng Song and Yadong Zhang and Pengju Ren},
  journal= {arXiv preprint arXiv:2505.15133},
  year   = {2025}
}
R2 v1 2026-07-01T02:27:24.072Z