Abstract
Information Theoretic Representation Distillation (ITRD) is a novel framework that utilizes matrix-based entropy estimators to transfer knowledge from large teacher models to compact student models. By maximizing both feature correlation and mutual information without the need for expensive memory banks or negative sampling, ITRD achieves state-of-the-art performance with significantly lower training overhead compared to existing contrastive methods.
Introduction
The deployment of deep learning models on edge devices is often constrained by the massive size of high-performing architectures. Knowledge Distillation (KD) provides a solution by training a small "student" model to mimic a large, pre-trained "teacher." However, recent state-of-the-art KD methods, such as Contrastive Representation Distillation (CRD), have introduced significant computational costs, requiring massive memory banks of negative samples or expensive auxiliary tasks.
ITRD addresses these inefficiencies by introducing a mathematically grounded, computationally efficient approach. It focuses on distilling knowledge at the representation level—the layer just before final classification—preserving structural information that is typically lost when only considering final softmax predictions.
Methodology
The core of ITRD consists of two complementary losses inspired by Rényi’s $\alpha$-entropy, designed to align the student’s internal representations with those of the teacher.
Maximizing Correlation ($L_{corr}$)
This loss ensures that the student’s feature dimensions align with the teacher’s. It forces the diagonal of the cross-correlation matrix between teacher and student features toward one, ensuring the student captures the same underlying patterns as the teacher.
Maximizing Mutual Information ($L_{mi}$)
This loss focuses on intra-batch similarity, ensuring that the student model perceives relationships between samples in the same way the teacher does. Calculating mutual information typically requires expensive probability distribution estimation. ITRD bypasses this by using a matrix-based entropy functional and a "Frobenius norm proxy" (setting $\alpha=2$), allowing for fast maximization via simple matrix operations on modern GPUs.
Experimental Results
ITRD was evaluated across computer vision (CIFAR-100, ImageNet), Binary Neural Networks (BNNs), and Natural Language Processing (SQuAD 1.1).
State-of-the-Art Performance
On the CIFAR-100 dataset, ITRD outperformed or matched established methods like CRD and ReviewKD across 13 different teacher-student architecture pairs. The combination of $L_{corr}$ and $L_{mi}$ consistently yielded the best results, demonstrating the complementary nature of the two losses.
Efficiency and Versatility
Unlike contrastive methods that require thousands of negative samples, ITRD operates entirely within the current mini-batch. This leads to a superior accuracy-vs-training-speed trade-off. On ImageNet, ITRD provided higher accuracy than standard KD while maintaining high throughput.
In the domain of ultra-compressed models, ITRD helped a 1-bit ResNet-18 reach 94.1% accuracy on CIFAR-10, coming remarkably close to the full-precision teacher's 94.8%. In NLP tasks, ITRD outperformed specialized tools like DistilBERT when distilling BERT into smaller versions for reading comprehension.
Conclusion
ITRD demonstrates that high-quality knowledge transfer can be achieved without massive computational overhead. By leveraging information theory through efficient matrix-based estimators, it provides a scalable and effective solution for model compression. While future work may address hyperparameter sensitivity and "online" distillation, ITRD currently offers a compelling "sweet spot" between performance and efficiency.
Summary updated