Introduction
Knowledge Distillation (KD) is a critical technique for deploying deep learning models on resource-constrained devices. It involves training a compact "student" network to replicate the performance of a larger, pre-trained "teacher" network. Traditional KD methods typically rely on matching output logits or intermediate feature maps using distance-based metrics. However, these approaches often struggle when the teacher and student have disparate architectures, as rigid structural alignment does not account for the different ways models process information.
Methodology: MIMKD
The authors introduce MIMKD (Mutual Information Maximization Knowledge Distillation), a framework designed to overcome the limitations of distance-based alignment by maximizing the mutual information (MI) between the internal representations of the teacher and student.
MIMKD operates at three distinct levels of abstraction:
- Global Information Maximization: Ensures the student's final feature vector captures the same high-level semantic concepts as the teacher's.
- Local Information Maximization: Forces the student to recognize complex patterns in local image regions that the teacher deems important for classification.
- Feature Information Maximization: Encourages the student to mimic the teacher’s hierarchical feature extraction process by aligning intermediate layers.
A significant contribution of this work is the use of a Jensen-Shannon Divergence (JSD) based objective for the local and feature-level MI. While contrastive methods like CRD rely on the infoNCE bound—which requires large batches of negative samples—the JSD bound is stable even with a single negative sample. This allows MIMKD to provide granular, region-specific supervision without the prohibitive memory overhead typically associated with contrastive learning.
Experimental Results
The researchers evaluated MIMKD across several standard benchmarks, including CIFAR-100 and ImageNet. The results demonstrate that MIMKD consistently outperforms state-of-the-art distillation methods, particularly in cross-architecture scenarios.
On CIFAR-100, distilling a ResNet-50 teacher into a ShuffleNetV2 student improved accuracy from 69.8% to 74.55%, outperforming previous methods by nearly 1%. Furthermore, as illustrated in the performance-efficiency trade-off (Figure 1), a simple 4-layer CNN distilled with MIMKD can rival the performance of more complex architectures like ShuffleNetV2 while maintaining significantly lower inference latency. On the large-scale ImageNet dataset, a ResNet-18 student distilled from a ResNet-34 reached 70.32% accuracy, a +1.44% gain over the baseline.
Discussion and Limitations
MIMKD's effectiveness lies in its "information over distance" philosophy. By focusing on what the teacher knows rather than how its neurons are structured, the student gains more transferable and robust features. This is evidenced by the student's superior performance on transfer learning tasks such as STL-10 and TinyImageNet.
Despite its strengths, the method has limitations. The JSD bound, while efficient, may be less tight than the infoNCE bound, potentially missing some mutual information. Performance is also sensitive to the weighting of the three MI objectives and the architecture of the discriminator networks. Finally, like all KD methods, there is a risk of transferring the teacher's inherent biases to the student, a topic the authors suggest for future investigation.
Summary updated