Embedding Compression for Teacher-to-Student Knowledge Transfer

Yiwei Ding, Alexander Lerch
2/9/2024
cs.LG

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Common knowledge distillation methods require the teacher model and the student model to be trained on the same task. However, the usage of embeddings as teachers has also been proposed for different source tasks and target tasks. Prior work that uses embeddings as teachers ignores the fact that the teacher embeddings are likely to contain irrelevant knowledge for the target task. To address this problem, we propose to use an embedding compression module with a trainable teacher transformation to obtain a compact teacher embedding. Results show that adding the embedding compression module improves the classification performance, especially for unsupervised teacher embeddings. Moreover, student models trained with the guidance of embeddings show stronger generalizability.

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. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

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

Cite this paper

@article{ding2024embedding,
  title  = {Embedding Compression for Teacher-to-Student Knowledge Transfer},
  author = {Yiwei Ding and Alexander Lerch},
  year   = {2024},
  eprint = {2402.06761},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.06761v1}
}

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/2402.06761.svg)](https://codeofpaper.com/paper/2402.06761)

Discussion