Abstract
Deep Collective Knowledge Distillation (DCKD) introduces a paradigm shift in model compression by moving beyond the traditional teacher-student framework. By enabling multiple student models to learn from both a teacher and each other simultaneously, DCKD captures rich inter-class correlations often overlooked by a single, overconfident teacher. Utilizing a novel "Logit Max" collection method and reverse KL divergence, DCKD achieves state-of-the-art performance across various benchmarks, including ImageNet and CIFAR-100.
Introduction
Knowledge Distillation (KD) is a cornerstone technique for compressing large-scale neural networks into lightweight models suitable for edge devices. Traditionally, a "student" model is trained to mimic the "soft targets" or probability distributions of a pre-trained "teacher" model.
However, this approach has inherent limitations. A student constrained to only mimic a teacher is unlikely to surpass its performance. Furthermore, highly optimized teachers often exhibit extreme confidence, assigning near-zero probabilities to non-target classes. This "overconfidence" masks subtle secondary relationships between classes—such as the visual similarity between a "tank" and a "bridge"—which are crucial for building robust representations.
Methodology
The proposed Deep Collective Knowledge Distillation (DCKD) framework addresses these limitations through two primary innovations in the training objective.
Collective Knowledge via Logit Max
Unlike standard KD, DCKD trains multiple student models concurrently. For each student, a "collective knowledge" pool is synthesized from its peers. While previous mutual learning methods typically averaged peer outputs, DCKD employs Logit Max Collection. This method selects the maximum logit value for each class across all peer students, effectively preserving the "peaks" of class correlation that averaging tends to suppress.
Reverse Kullback-Leibler (KL) Divergence
Standard KD utilizes forward KL divergence to align student predictions with the teacher. DCKD introduces Reverse KL Divergence for peer-to-peer distillation. Mathematically, Reverse KL encourages higher entropy in the student's predictions. This prevents premature overconfidence, ensuring the student remains receptive to inter-class correlations and avoids vanishing gradient issues during the early stages of training.
Experimental Results
The efficacy of DCKD was validated on several benchmark datasets, including ImageNet, CIFAR-100, CIFAR-10, and Fashion-MNIST.
- ImageNet: A ResNet18 student trained via DCKD reached 72.27% top-1 accuracy, representing a 2.52% improvement over the baseline.
- CIFAR-100: In a distillation task from WRN-40-2 to WRN-16-2, DCKD achieved 76.85% accuracy, outperforming standard KD (75.78%).
- Lightweight Architectures: The method showed significant gains for extremely small models; for instance, ShuffleNetV1 saw an accuracy boost of 6.55% over the baseline.
Discussion and Insights
A key finding of this work is the "Tank-Bridge" revelation. Qualitative analysis shows that while a teacher model might correctly identify a "tank" with high certainty, it often ignores visual similarities to other classes.
Peer students, being less overconfident, often produce distributions that highlight these similarities. By integrating this collective peer knowledge, the student learns a more nuanced and generalized representation. Furthermore, the study suggests that diversity among students is beneficial, though the gains plateau beyond four concurrent students as they begin to converge in their predictions.
Conclusion
DCKD demonstrates that "one teacher is not enough" for optimal knowledge transfer. By leveraging the collective intelligence of peer students and employing Reverse KL divergence, DCKD significantly enhances the performance of compressed models. While the simultaneous training of multiple models increases computational overhead, the resulting accuracy gains make it a compelling approach for state-of-the-art model compression. Future research will explore the use of heterogeneous student architectures to further increase the diversity of the collective knowledge pool.
Summary updated