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

视角感知教学:为异构蒸馏自适应知识

Perspective-Aware Teaching: Adapting Knowledge for Heterogeneous Distillation

National Yang Ming Chiao Tung University(阳明交通大学);Jilin University(吉林大学);National Taiwan University(台湾大学)

Jhe-Hao Lin, Yi Yao, Chan-Feng Hsu, Hongxia Xie, Hong-Han Shuai, Wen-Huang Cheng

AI总结:

本文提出视角感知教学(PAT)知识蒸馏框架,通过提示调优块和区域感知注意力解决异构架构间的特征蒸馏问题,在CIFAR、ImageNet和COCO上验证了其优越性。

摘要:

知识蒸馏(KD)涉及将预训练的重型教师模型的知识迁移到较轻的学生模型,从而在保持相当有效性的同时降低推理成本。先前的KD技术通常假设教师模型和学生模型之间具有同质性。然而,随着技术的进步,出现了各种各样的架构,从最初的卷积神经网络(CNN)到视觉Transformer(ViT)和多层感知机(MLP)。因此,开发一种与任何架构兼容的通用KD框架已成为一个重要的研究课题。在本文中,我们介绍了一种视角感知教学(PAT)KD框架,以实现跨不同架构的特征蒸馏。我们的框架包含两个关键组件。首先,我们设计了结合学生反馈的提示调优块,使教师特征能够适应学生模型的学习过程。其次,我们提出了区域感知注意力机制,以缓解异构架构之间的视角不匹配问题。通过利用这两个模块,可以在异构架构之间实现中间特征的有效蒸馏。在CIFAR、ImageNet和COCO上的大量实验证明了所提出方法的优越性。我们的代码可在https://github.com/jimmylin0979/PAT.git获取。

英文摘要:

Knowledge distillation (KD) involves transferring knowledge from a pre-trained heavy teacher model to a lighter student model, thereby reducing the inference cost while maintaining comparable effectiveness. Prior KD techniques typically assume homogeneity between the teacher and student models. However, as technology advances, a wide variety of architectures have emerged, ranging from initial Convolutional Neural Networks (CNNs) to Vision Transformers (ViTs), and Multi-Level Perceptrons (MLPs). Consequently, developing a universal KD framework compatible with any architecture has become an important research topic. In this paper, we introduce a perspective-aware teaching (PAT) KD framework to enable feature distillation across diverse architectures. Our framework comprises two key components. First, we design prompt tuning blocks that incorporate student feedback, allowing teacher features to adapt to the student model's learning process. Second, we propose region-aware attention to mitigate the view mismatch problem between heterogeneous architectures. By leveraging these two modules, effective distillation of intermediate features can be achieved across heterogeneous architectures. Extensive experiments on CIFAR, ImageNet, and COCO demonstrate the superiority of the proposed method. Our code is available at https://github.com/jimmylin0979/PAT.git.

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

↑