概括性
计算机科学
蒸馏
特征(语言学)
人工智能
机器学习
钥匙(锁)
知识转移
学习迁移
化学
心理学
语言学
哲学
知识管理
计算机安全
有机化学
心理治疗师
作者
Zhen Guo,Pengzhou Zhang,Liang Peng
标识
DOI:10.1016/j.imavis.2024.105020
摘要
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI