Progressive Prompts: Continual Learning for Language Models

Anastasia Razdaibiedina, Yuning Mao, Rui Hou, Madian Khabsa, Mike Lewis +1 more
1/29/2023
cs.CLcs.AIcs.LG

No official code found. Best implementation: arazd/ProgressivePrompts (97 stars, Apache-2.0, last commit 2023-04-24).

Abstract

We introduce Progressive Prompts - a simple and efficient approach for continual learning in language models. Our method allows forward transfer and resists catastrophic forgetting, without relying on data replay or a large number of task-specific parameters. Progressive Prompts learns a new soft prompt for each task and sequentially concatenates it with the previously learned prompts, while keeping the base model frozen. Experiments on standard continual learning benchmarks show that our approach outperforms state-of-the-art methods, with an improvement >20% in average test accuracy over the previous best-preforming method on T5 model. We also explore a more challenging continual learning setup with longer sequences of tasks and show that Progressive Prompts significantly outperforms prior methods.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Progressive Prompts: Continual Learning for Language Models

9714Shell, PythonNov 2, 20223 years agoApache-2.0
continual-learningllmsnlpprompt-tuning

Similar Papers

Cite this paper

@article{razdaibiedina2023progressive,
  title  = {Progressive Prompts: Continual Learning for Language Models},
  author = {Anastasia Razdaibiedina and Yuning Mao and Rui Hou and Madian Khabsa and Mike Lewis and Amjad Almahairi},
  year   = {2023},
  eprint = {2301.12314},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.12314v1},
  journal = {ICLR 2023 2023}
}

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

Discussion