arXiv:2501.07101cs.CV2025-01被引 6

通过分层空间掩码提升目标检测知识蒸馏效果

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

  • 分层空间掩码机制捕捉物体局部特征
  • 在ResNet101+FCOS下将学生模型mAP提升至38.8%
  • 适合追求高精度检测蒸馏的开发者

现有基于注意力的特征掩码蒸馏方法多依赖全局教师注意力图,缺乏对细粒度线索的挖掘。本文提出一种面向目标检测的空间感知自适应掩码知识蒸馏(SAMKD)框架。不同于以往单尺度特征掩码方法,SAMKD采用层次化空间掩码蒸馏策略,在粗到细的蒸馏过程中编码物体感知的局部性,以提升特征重建能力。同时结合掩码逻辑蒸馏方案,利用教师与学生网络间区域特异性特征差异,自适应引导蒸馏过程,从而实现更优的知识迁移并缩小模型差距。大量检测实验表明,当以使用ResNet101主干的FCOS作为教师模型时,该方法将学生模型的mAP从35.3%提升至38.8%,优于MGD、FreeKD和DMKD等先进蒸馏方法。

原文摘要 · Abstract (English)

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.

知识蒸馏目标检测特征掩码空间感知

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。