English

AdapterDistillation: Non-Destructive Task Composition with Knowledge Distillation

Machine Learning 2023-12-29 v1

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.

Keywords

Cite

@article{arxiv.2312.16261,
  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},
  journal= {arXiv preprint arXiv:2312.16261},
  year   = {2023}
}

Comments

EMNLP2023: Industry Track

R2 v1 2026-06-28T14:02:29.261Z