蒸馏
计算机科学
灵活性(工程)
班级(哲学)
人工智能
特征(语言学)
机器学习
图像(数学)
罗伊特
对象(语法)
模式识别(心理学)
数学
化学
统计
有机化学
哲学
语言学
作者
Borui Zhao,Quan Cui,Renjie Song,Yiyu Qiu,Jiajun Liang
出处
期刊:
日期:2022-06-01
卷期号:: 11943-11952
被引量:761
标识
DOI:10.1109/cvpr52688.2022.01165
摘要
State-of-the-art distillation methods are mainly based on distilling deep features from intermediate layers, while the significance of logit distillation is greatly overlooked. To provide a novel viewpoint to study logit distillation, we re-formulate the classical KD loss into two parts, i.e., target class knowledge distillation (TCKD) and non-target class knowledge distillation (NCKD). We empirically investigate and prove the effects of the two parts: TCKD transfers knowledge concerning the "difficulty" of training samples, while NCKD is the prominent reason why logit distillation works. More importantly, we reveal that the classical KD loss is a coupled formulation, which (1) suppresses the effectiveness of NCKD and (2) limits the flexibility to balance these two parts. To address these issues, we present Decoupled Knowledge Distillation (DKD), enabling TCKD and NCKD to play their roles more efficiently and flexibly. Compared with complex feature-based methods, our DKD achieves comparable or even better results and has better training efficiency on CIFAR-100, ImageNet, and MS-COCO datasets for image classification and object detection tasks. This paper proves the great potential of logit distillation, and we hope it will be helpful for future research. The code is available at https://github.com/megviiresearch/mdistiller.
科研通智能强力驱动
Strongly Powered by AbleSci AI