What is Lost in Knowledge Distillation?

Manas Mohanty, Tanya Roosta, Peyman Passban
11/7/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Deep neural networks (DNNs) have improved NLP tasks significantly, but training and maintaining such networks could be costly. Model compression techniques, such as, knowledge distillation (KD), have been proposed to address the issue; however, the compression process could be lossy. Motivated by this, our work investigates how a distilled student model differs from its teacher, if the distillation process causes any information losses, and if the loss follows a specific pattern. Our experiments aim to shed light on the type of tasks might be less or more sensitive to KD by reporting data points on the contribution of different factors, such as the number of layers or attention heads. Results such as ours could be utilized when determining effective and efficient configurations to achieve optimal information transfers between larger (teacher) and smaller (student) models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mohanty2023what,
  title  = {What is Lost in Knowledge Distillation?},
  author = {Manas Mohanty and Tanya Roosta and Peyman Passban},
  year   = {2023},
  eprint = {2311.04142},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.04142v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.04142.svg)](https://codeofpaper.com/paper/2311.04142)

Discussion