Skip to main content
QUICK REVIEW

[Paper Review] Online Knowledge Distillation with Diverse Peers

Defang Chen, Jian-Ping Mei|arXiv (Cornell University)|Dec 1, 2019
Domain Adaptation and Few-Shot LearningComputer Science28 references4 citations
TL;DR

This paper proposes OKDDip, a two-level online knowledge distillation framework that enhances model performance without a pre-trained teacher by using diverse auxiliary peers and a group leader. It employs an attention-based mechanism to assign dynamic, asymmetric weights during first-level distillation, preserving peer diversity and improving generalization, while second-level distillation transfers ensemble knowledge to a single inference-ready model, outperforming state-of-the-art methods with no added training or inference cost.

ABSTRACT

Distillation is an effective knowledge-transfer technique that uses predicted distributions of a powerful teacher model as soft targets to train a less-parameterized student model. A pre-trained high capacity teacher, however, is not always available. Recently proposed online variants use the aggregated intermediate predictions of multiple student models as targets to train each student model. Although group-derived targets give a good recipe for teacher-free distillation, group members are homogenized quickly with simple aggregation functions, leading to early saturated solutions. In this work, we propose Online Knowledge Distillation with Diverse peers (OKDDip), which performs two-level distillation during training with multiple auxiliary peers and one group leader. In the first-level distillation, each auxiliary peer holds an individual set of aggregation weights generated with an attention-based mechanism to derive its own targets from predictions of other auxiliary peers. Learning from distinct target distributions helps to boost peer diversity for effectiveness of group-based distillation. The second-level distillation is performed to transfer the knowledge in the ensemble of auxiliary peers further to the group leader, i.e., the model used for inference. Experimental results show that the proposed framework consistently gives better performance than state-of-the-art approaches without sacrificing training or inference complexity, demonstrating the effectiveness of the proposed two-level distillation framework.

Motivation & Objective

  • To address the challenge of model homogenization in group-based online knowledge distillation, where peers quickly converge to similar behaviors.
  • To improve generalization in teacher-free distillation by maintaining diversity among student peers during training.
  • To design an efficient two-level distillation framework that transfers knowledge from diverse peers to a single group leader for inference.
  • To eliminate the need for a pre-trained teacher model while achieving performance competitive with or better than teacher-guided KD.

Proposed method

  • OKDDip uses multiple auxiliary peers and one group leader, with first-level distillation performed among peers using an attention-based mechanism to generate individualized aggregation weights.
  • Each peer computes its own target distribution by applying attention-based weights to predictions from other peers, promoting distinct target distributions and enhancing diversity.
  • The attention mechanism dynamically assigns importance to peers, allowing high-quality predictions to influence others more strongly and reducing negative impacts from poorly optimized peers.
  • Second-level distillation transfers knowledge from the ensemble of diverse peers to the group leader, which is used for inference, ensuring efficiency.
  • The framework integrates knowledge distillation losses from both peer-level and group-leader-level training, with no increase in training or inference complexity.
  • The method is evaluated across CIFAR-10, CIFAR-100, and ImageNet-2012 using ResNet-based architectures, demonstrating robustness across settings.

Experimental results

Research questions

  • RQ1Can online knowledge distillation achieve high performance without relying on a pre-trained teacher model?
  • RQ2How can peer diversity be preserved during group-based distillation to avoid early saturation and homogenization?
  • RQ3What is the impact of asymmetric, attention-based aggregation on distillation performance and model generalization?
  • RQ4Does a two-level distillation framework—first among peers and then to a group leader—improve performance compared to single-level peer distillation?
  • RQ5Can a teacher-free distillation method outperform teacher-guided KD in terms of accuracy and efficiency?

Key findings

  • OKDDip outperforms state-of-the-art online knowledge distillation methods on CIFAR-10, CIFAR-100, and ImageNet-2012, with consistent accuracy gains across all datasets.
  • The ablation study shows that removing the attention-based mechanism (w/o SA) increases error rates by 2.61% on CIFAR-100, demonstrating its critical role in maintaining diversity.
  • Using simple averaging (w/o SA, mean) for aggregation leads to a 0.72% performance drop due to peer homogenization, confirming the benefit of dynamic weighting.
  • Removing asymmetry in attention weights (w/o SA, asymmetry) increases error by 0.42%, proving that asymmetric attention helps mitigate negative influence from weaker peers.
  • Ablating the second-level distillation (w/o two-level) increases error by 2.16%, confirming its necessity for effective knowledge transfer to the final inference model.
  • When a pre-trained teacher is available, OKDDip+KD (teacher-assisted) outperforms standard KD and baseline models, approaching teacher-level accuracy, yet teacher-free OKDDip still surpasses teacher-guided KD on CIFAR-10 and CIFAR-100.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.