arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2112.04840cs.CV
收藏

基于秩模仿和预测引导特征模仿的目标检测知识蒸馏

Knowledge Distillation for Object Detection via Rank Mimicking and Prediction-guided Feature Imitation

Nanjing University of Science and Technology(南京理工大学);Sensetime Research(商汤科技研究院)

Gang Li, Xiang Li, Yujie Wang, Shanshan Zhang, Yichao Wu, Ding Liang

摘要:

知识蒸馏(KD)是一种广泛应用的技术,它将教师模型中的信息继承到学生模型中,从而实现模型压缩和加速。与图像分类相比,目标检测是一项更加复杂的任务,并且为目标检测设计特定的KD方法是不平凡的。在这项工作中,我们仔细研究了教师和学生检测模型之间的行为差异,并获得了两个有趣的观察结果:首先,教师和学生对检测到的候选框的排名完全不同,这导致了他们的精度差异。其次,教师和学生之间的特征响应差异和预测差异之间存在相当大的差距,这表明平等地模仿教师的所有特征图是提高学生准确度的次优选择。基于这两个观察,我们提出了秩模仿(RM)和预测引导的特征模仿(PFI)提取一级检测器,分别。RM将教师提供的候选框排序作为一种新的知识形式进行提取,其性能始终优于传统的软标签提取。PFI试图将特征差异与预测差异联系起来,使特征模仿直接有助于提高学生的准确性。在MS COCO和PASCAL VOC基准上,对具有不同骨架的各种检测器进行了广泛的实验,以验证我们的方法的有效性。具体来说,RetinaNet与ResNet50在MS COCO中实现了40.4%的mAP,比其基线高3.5%,并且也优于以前的KD方法。

英文摘要:

Knowledge Distillation (KD) is a widely-used technology to inherit information from cumbersome teacher models to compact student models, consequently realizing model compression and acceleration. Compared with image classification, object detection is a more complex task, and designing specific KD methods for object detection is non-trivial. In this work, we elaborately study the behaviour difference between the teacher and student detection models, and obtain two intriguing observations: First, the teacher and student rank their detected candidate boxes quite differently, which results in their precision discrepancy. Second, there is a considerable gap between the feature response differences and prediction differences between teacher and student, indicating that equally imitating all the feature maps of the teacher is the sub-optimal choice for improving the student's accuracy. Based on the two observations, we propose Rank Mimicking (RM) and Prediction-guided Feature Imitation (PFI) for distilling one-stage detectors, respectively. RM takes the rank of candidate boxes from teachers as a new form of knowledge to distill, which consistently outperforms the traditional soft label distillation. PFI attempts to correlate feature differences with prediction differences, making feature imitation directly help to improve the student's accuracy. On MS COCO and PASCAL VOC benchmarks, extensive experiments are conducted on various detectors with different backbones to validate the effectiveness of our method. Specifically, RetinaNet with ResNet50 achieves 40.4% mAP in MS COCO, which is 3.5% higher than its baseline, and also outperforms previous KD methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑