arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.07101cs.CV
收藏

SAMKD:用于目标检测的空间感知自适应掩码知识蒸馏

SAMKD: Spatial-aware Adaptive Masking Knowledge Distillation for Object Detection

School of Computer and Electronic Information, Nanjing Normal University(南京师范大学计算机与电子信息学院)

Zhourui Zhang, Jun Li, Jiayan Li, Jianhua Xu

AI总结:

针对现有注意力引导特征掩码蒸馏缺乏细粒度线索的问题,提出空间感知自适应掩码知识蒸馏框架SAMKD,结合空间分层特征掩码与掩码logit蒸馏,显著提升目标检测学生模型性能。

摘要:

近年来大多数注意力引导的特征掩码蒸馏方法通过全局教师注意力图进行知识迁移,未深入挖掘细粒度线索。与之不同,以更细的粒度开展蒸馏有助于发掘补充全局知识迁移的局部细节,重构更全面的学生特征。本研究提出一种用于精准目标检测的空间感知自适应掩码知识蒸馏(Spatial-aware Adaptive Masking Knowledge Distillation,SAMKD)框架。与以往主要开展单尺度特征掩码的特征蒸馏方法不同,我们设计了空间分层特征掩码蒸馏方案,在由粗到细的蒸馏过程中编码目标感知局部性,以提升特征重构效果。此外,我们的空间感知特征蒸馏策略结合了掩码logit蒸馏方案,该方案利用教师网络与学生网络之间的区域特定特征差异,自适应引导蒸馏过程,从而帮助学生模型更好地向教师模型学习,提升知识迁移效果并缩小两者差距。大量目标检测任务实验证明了本方法的优越性。例如,当以基于ResNet101骨干网络的FCOS作为教师检测器时,本方法将学生网络的mAP从35.3%提升至38.8%,性能优于MGD、FreeKD和DMKD等当前最优蒸馏方法。

英文摘要:

Most of recent attention-guided feature masking distillation methods perform knowledge transfer via global teacher attention maps without delving into fine-grained clues. Instead, performing distillation at finer granularity is conducive to uncovering local details supplementary to global knowledge transfer and reconstructing comprehensive student features. In this study, we propose a Spatial-aware Adaptive Masking Knowledge Distillation (SAMKD) framework for accurate object detection. Different from previous feature distillation methods which mainly perform single-scale feature masking, we develop spatially hierarchical feature masking distillation scheme, such that the object-aware locality is encoded during coarse-to-fine distillation process for improved feature reconstruction. In addition, our spatial-aware feature distillation strategy is combined with a masking logit distillation scheme in which region-specific feature difference between teacher and student networks is utilized to adaptively guide the distillation process. Thus, it can help the student model to better learn from the teacher counterpart with improved knowledge transfer and reduced gap. Extensive experiments for detection task demonstrate the superiority of our method. For example, when FCOS is used as teacher detector with ResNet101 backbone, our method improves the student network from 35.3\% to 38.8\% mAP, outperforming state-of-the-art distillation methods including MGD, FreeKD and DMKD.

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

↑