arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.03609cs.CVcs.AIcs.LG
收藏

用细粒度特征模拟提取目标检测器

Distilling Object Detectors with Fine-grained Feature Imitation

National University of Singapore(新加坡国立大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Tao Wang, Li Yuan, Xiaopeng Zhang, Jiashi Feng

摘要:

最先进的基于CNN的识别模型通常在计算上禁止部署在低端设备上。一个很有前途的解决这一问题的高级方法是知识蒸馏,它让小学生模型模仿繁琐的教师模型的输出,以提高泛化能力。然而,相关的方法主要集中在简单的分类任务,而没有考虑复杂的任务,如目标检测。我们表明,将香草知识蒸馏应用于检测模型得到的收益很小。为了解决检测模型中知识提取的难题,提出了一种利用特征响应的交叉位置差异的细粒度特征模仿方法。我们的直觉是,探测器更关心局部近目标区域。因此,特征响应的差异附近的对象锚位置揭示了教师模型如何倾向于推广的重要信息。我们设计了一种新的机制来估计这些位置,并让学生模型模仿他们的老师,以获得增强的性能。我们首先在一个开发的轻量级玩具检测器上验证了这个想法,该检测器在具有挑战性的KITTI数据集上携带了当前最先进的基于锚的检测模型的最简单概念,与非模仿的对应物相比,我们的方法为学生模型生成了高达15%的mAP提升。然后,我们在各种场景下使用Faster R-CNN模型对该方法进行了广泛的评估,并使用Pascal VOC和COCO的常见目标检测基准,与教师相比,模拟学生模型的性能下降高达74%。代码发布于https://github.com/twangnh/Distilling-Object-Detectors

英文摘要:

State-of-the-art CNN based recognition models are often computationally prohibitive to deploy on low-end devices. A promising high level approach tackling this limitation is knowledge distillation, which let small student model mimic cumbersome teacher model's output to get improved generalization. However, related methods mainly focus on simple task of classification while do not consider complex tasks like object detection. We show applying the vanilla knowledge distillation to detection model gets minor gain. To address the challenge of distilling knowledge in detection model, we propose a fine-grained feature imitation method exploiting the cross-location discrepancy of feature response. Our intuition is that detectors care more about local near object regions. Thus the discrepancy of feature response on the near object anchor locations reveals important information of how teacher model tends to generalize. We design a novel mechanism to estimate those locations and let student model imitate the teacher on them to get enhanced performance. We first validate the idea on a developed lightweight toy detector which carries simplest notion of current state-of-the-art anchor based detection models on challenging KITTI dataset, our method generates up to 15% boost of mAP for the student model compared to the non-imitated counterpart. We then extensively evaluate the method with Faster R-CNN model under various scenarios with common object detection benchmark of Pascal VOC and COCO, imitation alleviates up to 74% performance drop of student model compared to teacher. Codes released at https://github.com/twangnh/Distilling-Object-Detectors

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

↑