Abstract
Knowledge distillation deploys complex machine learning models in resource-constrained environments by training a smaller student model to emulate internal representations of a complex teacher model. However, the teacher's representations can also encode nuisance or additional information not relevant to the downstream task. Distilling such irrelevant information can actually impede the performance of a capacity-limited student model. This observation motivates our primary question: What are the information-theoretic limits of knowledge distillation? To this end, we leverage Partial Information Decomposition to quantify and explain the transferred knowledge and knowledge left to distill for a downstream task. We theoretically demonstrate that the task-relevant transferred knowledge is succinctly captured by the measure of redundant information about the task between the teacher and student. We propose a novel multi-level optimization to incorporate redundant information as a regularizer, leading to our framework of Redundant Information Distillation (RID). RID leads to more resilient and effective distillation under nuisance teachers as it succinctly quantifies task-relevant knowledge rather than simply aligning student and teacher representations.
Introduction
Knowledge Distillation (KD) has become a cornerstone technique for model compression, enabling the deployment of high-performance neural networks on mobile and edge devices. The standard paradigm involves a "teacher" model transferring its learned representations to a smaller "student" model. Traditionally, this transfer is achieved by minimizing a distance metric or maximizing mutual information between the teacher's and student's internal states.
However, this approach assumes that all information within the teacher is beneficial. In reality, teacher models often capture "nuisance" information—features that are specific to the teacher's training data or architecture but irrelevant to the target task. For a student with limited parameters, attempting to learn this noise is counterproductive. This paper introduces a framework to isolate and distill only the task-relevant knowledge.
Quantifying Knowledge with Partial Information Decomposition
To solve the problem of nuisance information, the authors employ Partial Information Decomposition (PID). PID is an information-theoretic framework that decomposes the total information provided by two sources (Teacher $T$ and Student $S$) about a target variable (Task $Y$) into four distinct components, or "atoms":
- Unique Information in Teacher ($Uni(Y:T \setminus S)$): Knowledge the teacher possesses about the task that the student has not yet acquired.
- Unique Information in Student ($Uni(Y:S \setminus T)$): Knowledge the student has learned independently of the teacher.
- Redundant Information ($Red(Y:T,S)$): The shared knowledge both models have about the task. This represents the "Transferred Knowledge."
- Synergistic Information ($Syn(Y:T,S)$): Information about the task that can only be extracted by considering the teacher and student representations simultaneously.
By focusing on maximizing Redundant Information, we ensure the student prioritizes the specific knowledge the teacher has about the task $Y$, rather than blindly mimicking the teacher's entire representation $T$.
Redundant Information Distillation (RID)
The proposed framework, Redundant Information Distillation (RID), implements this theory through a two-phase optimization process. Since calculating PID directly is computationally prohibitive, the authors derive an optimizable lower bound based on "intersection information."
- Phase 1: Task-Aware Filtering. The framework first identifies task-relevant features in the teacher. It trains "filters" ($f_t$) on the teacher's representations to maximize their mutual information with the labels $Y$. This effectively isolates the "signal" from the "nuisance."
- Phase 2: Redundancy Maximization. The student is then trained to match these filtered representations. By aligning the student's output with the teacher's task-relevant features, the framework maximizes the redundant information between them regarding the target task.
Experimental Results and Resilience
The researchers evaluated RID against standard benchmarks like CIFAR-10, CIFAR-100, and ImageNet, comparing it to state-of-the-art methods like Variational Information Distillation (VID).
The most significant finding is RID's resilience to "nuisance teachers." In a controlled experiment, the authors distilled knowledge from an untrained (randomly initialized) teacher. Standard methods like VID failed catastrophically in this scenario because they forced the student to mimic the teacher's random noise. On CIFAR-100, VID's accuracy dropped to 20%, far below the 43% baseline of a student trained without any teacher. In contrast, RID maintained 41% accuracy, effectively ignoring the uninformative teacher.
Similar results were observed in transfer learning tasks (ImageNet to CUB-200-2011), where RID achieved 33% accuracy with an untrained teacher, while VID plummeted to 11%.
Conclusion
RID provides a theoretically grounded approach to knowledge distillation by leveraging Partial Information Decomposition. By defining transferred knowledge as redundant information about a task, RID avoids the pitfalls of distilling nuisance information. This makes the distillation process significantly more robust, particularly when the teacher model is noisy or the student's capacity is highly constrained. Future work may extend these PID-based metrics to multi-teacher ensembles and dataset distillation.
Summary updated