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

ACAM-KD:用于知识蒸馏的自适应协同注意力掩码

ACAM-KD: Adaptive and Cooperative Attention Masking for Knowledge Distillation

University of Alabama at Birmingham(阿拉巴马大学伯明翰分校)

Qizhen Lan, Qing Tian

AI总结:

本文提出ACAM-KD知识蒸馏方法,通过学生-教师交叉注意力特征融合和自适应空间-通道掩码动态适应学生学习状态,在检测和分割任务上显著超越现有方法。

摘要:

密集视觉预测任务(如检测和分割)对于时间关键型应用(例如自动驾驶和视频监控)至关重要。尽管深度模型性能强大,但其效率仍然是一个挑战。知识蒸馏(KD)是一种有效的模型压缩技术,但现有的基于特征的KD方法依赖于静态的、由教师驱动的特征选择,无法适应学生不断变化的学习状态,也无法利用动态的学生-教师交互。为了解决这些局限性,我们提出了用于知识蒸馏的自适应学生-教师协同注意力掩码(ACAM-KD),该方法引入了两个关键组件:(1)学生-教师交叉注意力特征融合(STCA-FF),它自适应地整合来自两个模型的特征,以实现更具交互性的蒸馏过程;(2)自适应空间-通道掩码(ASCM),它动态生成重要性掩码,以增强空间和通道维度的特征选择。与传统的KD方法不同,ACAM-KD在整个蒸馏过程中适应学生不断变化的需求。在多个基准上的大量实验验证了其有效性。例如,在COCO2017上,当从ResNet-101教师蒸馏ResNet-50学生时,ACAM-KD将目标检测性能比现有最优方法提高了最多1.4 mAP。对于Cityscapes上的语义分割,以DeepLabV3-MobileNetV2为学生模型时,它比基线提高了3.09 mIoU。

英文摘要:

Dense visual prediction tasks, such as detection and segmentation, are crucial for time-critical applications (e.g., autonomous driving and video surveillance). While deep models achieve strong performance, their efficiency remains a challenge. Knowledge distillation (KD) is an effective model compression technique, but existing feature-based KD methods rely on static, teacher-driven feature selection, failing to adapt to the student's evolving learning state or leverage dynamic student-teacher interactions. To address these limitations, we propose Adaptive student-teacher Cooperative Attention Masking for Knowledge Distillation (ACAM-KD), which introduces two key components: (1) Student-Teacher Cross-Attention Feature Fusion (STCA-FF), which adaptively integrates features from both models for a more interactive distillation process, and (2) Adaptive Spatial-Channel Masking (ASCM), which dynamically generates importance masks to enhance both spatial and channel-wise feature selection. Unlike conventional KD methods, ACAM-KD adapts to the student's evolving needs throughout the entire distillation process. Extensive experiments on multiple benchmarks validate its effectiveness. For instance, on COCO2017, ACAM-KD improves object detection performance by up to 1.4 mAP over the state-of-the-art when distilling a ResNet-50 student from a ResNet-101 teacher. For semantic segmentation on Cityscapes, it boosts mIoU by 3.09 over the baseline with DeepLabV3-MobileNetV2 as the student model.

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

↑