Teacher-student complementary sample contrastive distillation

Neural Netw. 2024 Feb:170:176-189. doi: 10.1016/j.neunet.2023.11.036. Epub 2023 Nov 17.

Abstract

Knowledge distillation (KD) is a widely adopted model compression technique for improving the performance of compact student models, by utilizing the "dark knowledge" of a large teacher model. However, previous studies have not adequately investigated the effectiveness of supervision from the teacher model, and overconfident predictions in the student model may degrade its performance. In this work, we propose a novel framework, Teacher-Student Complementary Sample Contrastive Distillation (TSCSCD), that alleviate these challenges. TSCSCD consists of three key components: Contrastive Sample Hardness (CSH), Supervision Signal Correction (SSC), and Student Self-Learning (SSL). Specifically, CSH evaluates the teacher's supervision for each sample by comparing the predictions of two compact models, one distilled from the teacher and the other trained from scratch. SSC corrects weak supervision according to CSH, while SSL employs integrated learning among multi-classifiers to regularize overconfident predictions. Extensive experiments on four real-world datasets demonstrate that TSCSCD outperforms recent state-of-the-art knowledge distillation techniques.

Keywords: Deep learning; Knowledge distillation; Model regularization; Sample hardness; Transfer learning.

MeSH terms

  • Data Compression*
  • Humans
  • Knowledge
  • Learning
  • Students