SAKD: Sparse attention knowledge distillation

被引:4
作者
Guo, Zhen [1 ,2 ]
Zhang, Pengzhou [1 ]
Liang, Peng [2 ]
机构
[1] Commun Univ China, State Key Lab Media Convergence & Commun, Dingfuzhuang East St 1, Beijing 100024, Peoples R China
[2] China Unicom Smart City Res Inst, Shoutinanlu 9, Beijing 100024, Peoples R China
关键词
Knowledge distillation; Attention mechanisms; Sparse attention mechanisms;
D O I
10.1016/j.imavis.2024.105020
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Deep learning techniques have gained significant interest due to their success in large model scenarios. However, large models often require massive computational resources, which can challenge end devices with limited storage capabilities. Transferring knowledge from big to small models and achieving similar results with limited resources requires further research. Knowledge distillation techniques, which involve using teacher-student models to migrate large model capabilities to small models, have been widely used in model compression and knowledge transfer. In this paper, a novel knowledge distillation approach is proposed, which utilizes the sparse attention mechanism (SAKD). SAKD computes attention using student features as queries and teacher features as key values and performs sparse attention values by random deactivation. Then, this sparse attention value is used to reweight the feature distance of each teacher-student feature pair to avoid negative transfer. Comprehensive experiments demonstrate the effectiveness and generality of our approach. Moreover, our SAKD method outperforms previous state-of-the-art methods on image classification tasks.
引用
收藏
页数:8
相关论文
共 50 条
[11]   Knowledge Distillation with Attention for Deep Transfer Learning of Convolutional Networks [J].
Li, Xingjian ;
Xiong, Haoyi ;
Chen, Zeyu ;
Huan, Jun ;
Liu, Ji ;
Xu, Cheng-Zhong ;
Dou, Dejing .
ACM TRANSACTIONS ON KNOWLEDGE DISCOVERY FROM DATA, 2022, 16 (03)
[12]   Self-knowledge distillation based on dynamic mixed attention [J].
Tang, Yuan ;
Chen, Ying .
Kongzhi yu Juece/Control and Decision, 2024, 39 (12) :4099-4108
[13]   B-AT-KD: Binary attention map knowledge distillation [J].
Wei, Xing ;
Liu, Yuqing ;
Li, Jiajia ;
Chu, Huiyong ;
Zhang, Zichen ;
Tan, Feng ;
Hu, Pengwei .
NEUROCOMPUTING, 2022, 511 :299-307
[14]   Multilevel parallel attention knowledge distillation for multimodal biometric recognition [J].
Lu, Kaikui ;
Wu, Ruizhi ;
Bao, Ergude .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2025, 154
[15]   Boosting the Performance of Lightweight HAR Models with Attention and Knowledge Distillation [J].
Agac, Sumeyye ;
Incel, Ozlem Durmaz .
2024 INTERNATIONAL CONFERENCE ON INTELLIGENT ENVIRONMENTS, IE 2024, 2024, :1-8
[16]   Fast and Scalable Recommendation Retrieval Model with Mixed Attention and Knowledge Distillation [J].
Androsov, Dmytro .
INTELLIGENT DATA ENGINEERING AND AUTOMATED LEARNING - IDEAL 2024, PT I, 2025, 15346 :244-253
[17]   KDAS: KNOWLEDGE DISTILLATION VIA ATTENTION SUPERVISION FRAMEWORK FOR POLYP SEGMENTATION [J].
Quoc-Huy Trinh ;
Minh-Van Nguyen ;
Phuoc-Thao Vo Thi .
2024 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA AND EXPO, ICME 2024, 2024,
[18]   KNOWLEDGE DISTILLATION WITH CATEGORY-AWARE ATTENTION AND DISCRIMINANT LOGIT LOSSES [J].
Jiang, Lei ;
Zhou, Wengang ;
Li, Houqiang .
2019 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA AND EXPO (ICME), 2019, :1792-1797
[19]   Radar Signal Recognition Method Based on Knowledge Distillation and Attention Map [J].
Qu Zhiyu ;
Li Gen ;
Deng Zhian .
JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY, 2022, 44 (09) :3170-3177
[20]   Compact Cloud Detection with Bidirectional Self-Attention Knowledge Distillation [J].
Chai, Yajie ;
Fu, Kun ;
Sun, Xian ;
Diao, Wenhui ;
Yan, Zhiyuan ;
Feng, Yingchao ;
Wang, Lei .
REMOTE SENSING, 2020, 12 (17)