Preprint
Knowledge Graphs

Online knowledge distillation via collaborative learning

Qiushan Guo, Xinjiang Wang, Yichao Wu, Zhipeng Yu, Ding Liang, Xiaolin Hu, P. Luo
January 1, 2020Computer Vision and Pattern Recognition376 citations

376

Citations

40

Influential Citations

Computer Vision and Pattern Recognition

Venue

2020

Year

Abstract

… This work presents an efficient yet effective online Knowledge Distillation method via … Unlike existing twostage knowledge distillation approaches that pre-train a DNN with large …

Analysis

Why This Paper Matters

Traditional knowledge distillation relies on a two-stage process: first, a large, high-capacity teacher model is trained, then a smaller student model is trained to mimic the teacher's outputs. This approach is computationally expensive and requires careful tuning of the teacher. This paper addresses these limitations by proposing an online distillation method where multiple student networks are trained collaboratively from scratch. This eliminates the need for a pre-trained teacher, significantly reducing training time and resources.

The significance lies in its practicality. In many real-world scenarios, training a large teacher is infeasible due to computational constraints. By enabling collaborative learning among a cohort of students, the method achieves competitive or better accuracy than traditional distillation while being more efficient. This makes knowledge distillation more accessible to a broader range of practitioners and applications.

Technical Contributions

The paper's key innovations include:

  • Online collaborative learning: Instead of a static teacher, a group of student networks are trained simultaneously. Each student receives gradients from its own loss and an additional loss that encourages agreement with the ensemble of peers.
  • Efficient knowledge transfer: The knowledge is shared through a collaborative loss that measures the divergence between each student's predictions and the ensemble prediction, promoting mutual learning.
  • No pre-trained teacher: The method eliminates the need for a separate teacher training phase, reducing the overall training cost.
  • Flexible architecture: The framework can be applied to various network architectures and does not require a specific design for the student cohort.

Results

The paper reports experiments on CIFAR-100 and ImageNet datasets. The proposed method outperforms traditional knowledge distillation (e.g., KD) and other online distillation methods. For instance, on CIFAR-100, the collaborative learning approach achieves higher top-1 accuracy than a single student trained with standard supervision, and also surpasses the accuracy of students trained with a pre-trained teacher. On ImageNet, the method shows consistent improvements while maintaining computational efficiency. The results demonstrate that collaborative learning can effectively transfer knowledge among peers, leading to better generalization.

Significance

This work has significant implications for model compression and efficient deep learning. By removing the dependency on a large teacher, it lowers the barrier to applying knowledge distillation in resource-constrained environments. The collaborative learning paradigm also opens new research directions, such as exploring optimal peer architectures and training strategies. The method's efficiency and effectiveness make it a valuable contribution to the field, potentially influencing future work on online and collaborative learning techniques.