Cooperative Knowledge Distillation: A Learner Agnostic Approach
Michael Livanos, Ian Davidson, Stephen Wong
TL;DR
The paper addresses the limitations of traditional, single-teacher knowledge distillation by proposing cooperative distillation, a learner-agnostic framework where multiple models act as both teachers and students. It transfers only the relevant knowledge by generating quintessential counterfactuals targeted to each model's deficiencies, enabling cross-architecture and cross-feature-space distillation without sharing raw data. The method is formalized through deficiency-aware sets $S_i$ and $R_{i \rightarrow j}$, and counterfactual generation via $y' = f_i(x) + \alpha(y - f_i(x))$ with $\alpha = 0.5$, achieving strong improvements across diverse experiments and settings. This approach is particularly impactful for privacy-sensitive domains, offering scalable, model-agnostic distillation when data sharing is restricted yet model exchange is feasible.
Abstract
Knowledge distillation is a simple but powerful way to transfer knowledge between a teacher model to a student model. Existing work suffers from at least one of the following key limitations in terms of direction and scope of transfer which restrict its use: all knowledge is transferred from teacher to student regardless of whether or not that knowledge is useful, the student is the only one learning in this exchange, and typically distillation transfers knowledge only from a single teacher to a single student. We formulate a novel form of knowledge distillation in which many models can act as both students and teachers which we call cooperative distillation. The models cooperate as follows: a model (the student) identifies specific deficiencies in it's performance and searches for another model (the teacher) who encodes learned knowledge into instructional virtual instances via counterfactual instance generation. Because different models may have different strengths and weaknesses, all models can act as either students or teachers (cooperation) when appropriate and only distill knowledge in areas specific to their strengths (focus). Since counterfactuals as a paradigm are not tied to any specific algorithm, we can use this method to distill knowledge between learners of different architectures, algorithms, and even feature spaces. We demonstrate that our approach not only outperforms baselines such as transfer learning, self-supervised learning, and multiple knowledge distillation algorithms on several datasets, but it can also be used in settings where the aforementioned techniques cannot.
