AdapterDistillation: Non-Destructive Task Composition with Knowledge Distillation

Junjie Wang, Yicheng Chen, Wangshu Zhang, Sen Hu, Teng Xu +1 more
12/26/2023
cs.LG

No confident code implementation found for this paper.

Abstract

Leveraging knowledge from multiple tasks through introducing a small number of task specific parameters into each transformer layer, also known as adapters, receives much attention recently. However, adding an extra fusion layer to implement knowledge composition not only increases the inference time but also is non-scalable for some applications. To avoid these issues, we propose a two-stage knowledge distillation algorithm called AdapterDistillation. In the first stage, we extract task specific knowledge by using local data to train a student adapter. In the second stage, we distill the knowledge from the existing teacher adapters into the student adapter to help its inference. Extensive experiments on frequently asked question retrieval in task-oriented dialog systems validate the efficiency of AdapterDistillation. We show that AdapterDistillation outperforms existing algorithms in terms of accuracy, resource consumption and inference time.

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{wang2023adapterdistillation,
  title  = {AdapterDistillation: Non-Destructive Task Composition with Knowledge Distillation},
  author = {Junjie Wang and Yicheng Chen and Wangshu Zhang and Sen Hu and Teng Xu and Jing Zheng},
  year   = {2023},
  eprint = {2312.16261},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.16261v1}
}

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

Discussion