PANDA: Prompt Transfer Meets Knowledge Distillation for Efficient Model Adaptation

Qihuang Zhong, Liang Ding, Juhua Liu, Bo Du, Dacheng Tao
8/22/2022
cs.CL
distillationlora-peft-merging

Official code: WHU-ZQH/PANDA (16 stars, Python, Apache-2.0, last commit 2023-03-28).

Abstract

Prompt Transfer (PoT) is a recently-proposed approach to improve prompt-tuning, by initializing the target prompt with the existing prompt trained on similar source tasks. However, such a vanilla PoT approach usually achieves sub-optimal performance, as (i) the PoT is sensitive to the similarity of source-target pair and (ii) directly fine-tuning the prompt initialized with source prompt on target task might lead to forgetting of the useful general knowledge learned from source task.

Show full abstract

To tackle these issues, we propose a new metric to accurately predict the prompt transferability (regarding (i)), and a novel PoT approach (namely PANDA) that leverages the knowledge distillation technique to alleviate the knowledge forgetting effectively (regarding (ii)). Extensive and systematic experiments on 189 combinations of 21 source and 9 target datasets across 5 scales of PLMs demonstrate that: 1) our proposed metric works well to predict the prompt transferability; 2) our PANDA consistently outperforms the vanilla PoT approach by 2.3% average score (up to 24.1%) among all tasks and model sizes; 3) with our PANDA approach, prompt-tuning can achieve competitive and even better performance than model-tuning in various PLM scales scenarios. We have publicly released our code in https://github.com/WHU-ZQH/PANDA.

View on arXivView PDF

Code Implementations(1)

WHU-ZQH/PANDAOfficial100%
Apache-2.0

PANDA: Prompt Transfer Meets Knowledge Distillation for Efficient Model Adaptation

160Python, ShellOct 10, 20223 years agoApache-2.0
knowledge-distillationparameter-efficient-tuning

Similar Papers

Cite this paper

@article{zhong2022panda,
  title  = {PANDA: Prompt Transfer Meets Knowledge Distillation for Efficient Model Adaptation},
  author = {Qihuang Zhong and Liang Ding and Juhua Liu and Bo Du and Dacheng Tao},
  year   = {2022},
  eprint = {2208.10160},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.10160}
}

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

Discussion