English

Comparative Knowledge Distillation

Machine Learning 2023-11-07 v1 Artificial Intelligence

Abstract

In the era of large scale pretrained models, Knowledge Distillation (KD) serves an important role in transferring the wisdom of computationally heavy teacher models to lightweight, efficient student models while preserving performance. Traditional KD paradigms, however, assume readily available access to teacher models for frequent inference -- a notion increasingly at odds with the realities of costly, often proprietary, large scale models. Addressing this gap, our paper considers how to minimize the dependency on teacher model inferences in KD in a setting we term Few Teacher Inference Knowledge Distillation (FTI KD). We observe that prevalent KD techniques and state of the art data augmentation strategies fall short in this constrained setting. Drawing inspiration from educational principles that emphasize learning through comparison, we propose Comparative Knowledge Distillation (CKD), which encourages student models to understand the nuanced differences in a teacher model's interpretations of samples. Critically, CKD provides additional learning signals to the student without making additional teacher calls. We also extend the principle of CKD to groups of samples, enabling even more efficient learning from limited teacher calls. Empirical evaluation across varied experimental settings indicates that CKD consistently outperforms state of the art data augmentation and KD techniques.

Keywords

Cite

@article{arxiv.2311.02253,
  title  = {Comparative Knowledge Distillation},
  author = {Alex Wilf and Alex Tianyi Xu and Paul Pu Liang and Alexander Obolenskiy and Daniel Fried and Louis-Philippe Morency},
  journal= {arXiv preprint arXiv:2311.02253},
  year   = {2023}
}

Comments

arXiv admin note: text overlap with arXiv:2310.13011

R2 v1 2026-06-28T13:11:14.049Z