计算机科学 > 计算机视觉与模式识别
[提交于 2021年8月29日 (v1),最后修订于 2021年8月29日 (此版本, v2)]
标题:Cross-Layer Distillation with Semantic Calibration
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Knowledge distillation is a technique to enhance the generalization ability of a student model by exploiting outputs from a teacher model. Recently, feature-map based variants explore knowledge transfer between manually assigned teacher-student pairs in intermediate layers for further improvement. However, layer semantics may vary in different neural networks and semantic mismatch in manual layer associations will lead to performance degeneration due to negative regularization. To address this issue, we propose Semantic Calibration for cross-layer Knowledge Distillation (SemCKD), which automatically assigns proper target layers of the teacher model for each student layer with an attention mechanism. With a learned attention distribution, each student layer distills knowledge contained in multiple teacher layers rather than a specific intermediate layer for appropriate cross-layer supervision. We further provide theoretical analysis of the association weights and conduct extensive experiments to demonstrate the effectiveness of our approach. Code is avaliable at \url{https://github.com/DefangChen/SemCKD}.
提交历史
来自:Defang Chen[v2] 2021年8月29日 星期日 07:40:05 UTC