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 条
[21]   Extensions in channel and class dimensions for attention-based knowledge distillation [J].
Zhou, Liangtai ;
Zhang, Weiwei ;
Zhang, Banghui ;
Guo, Yufeng ;
Wang, Junhuang ;
Li, Xiaobin ;
Zhu, Jianqing .
COMPUTER VISION AND IMAGE UNDERSTANDING, 2025, 257
[22]   SheepNet: Rapid Sheep Face Recognition Based on Attention and Knowledge Distillation [J].
Shi, Binqin ;
Wang, Yaojun ;
Jia, Lu ;
Wang, Yichen ;
Qu, Can .
PATTERN RECOGNITION AND COMPUTER VISION, PT III, PRCV 2024, 2025, 15033 :244-258
[23]   Apple Leaf Disease Diagnosis Based on Knowledge Distillation and Attention Mechanism [J].
Dong, Qin ;
Gu, Rongchen ;
Chen, Shuting ;
Zhu, Jinxin .
IEEE ACCESS, 2024, 12 :65154-65165
[24]   RA-KD: Random Attention Map Projection for Knowledge Distillation [J].
Zhang, Linna ;
Chen, Yuehui ;
Cao, Yi ;
Zhao, Yaou .
ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, ICIC 2023, PT IV, 2023, 14089 :587-596
[25]   A Light-Weight CNN for Object Detection with Sparse Model and Knowledge Distillation [J].
Guo, Jing-Ming ;
Yang, Jr-Sheng ;
Seshathiri, Sankarasrinivasan ;
Wu, Hung-Wei .
ELECTRONICS, 2022, 11 (04)
[26]   Application of sparse S transform network with knowledge distillation in seismic attenuation delineation [J].
Liu, Nai-Hao ;
Zhang, Yu-Xin ;
Yang, Yang ;
Liu, Rong-Chang ;
Gao, Jing-Huai ;
Zhang, Nan .
PETROLEUM SCIENCE, 2024, 21 (04) :2345-2355
[27]   Research on knowledge distillation algorithm based on Yolov5 attention mechanism [J].
Cheng, Shengjie ;
Zhou, Peiyong ;
Liu, Yu ;
Ma, Hongji ;
Aysa, Alimjan ;
Ubul, Kurban .
EXPERT SYSTEMS WITH APPLICATIONS, 2024, 240
[28]   Adaptive Video Anomaly Detection by Attention-Based Relational Knowledge Distillation [J].
Asal, Burcak ;
Can, Ahmet Burak .
IEEE ACCESS, 2025, 13 :117170-117185
[29]   SiamPKHT: Hyperspectral Siamese Tracking Based on Pyramid Shuffle Attention and Knowledge Distillation [J].
Qian, Kun ;
Wang, Shiqing ;
Zhang, Shoujin ;
Shen, Jianlu .
SENSORS, 2023, 23 (23)
[30]   Photovoltaic hot spot detection method incorporating knowledge distillation and attention mechanisms [J].
Hao S. ;
Wu Y. ;
Ma X. ;
Li T. ;
Wang H. .
Guangxue Jingmi Gongcheng/Optics and Precision Engineering, 2023, 31 (24) :3640-3650