LFPT5: A Unified Framework for Lifelong Few-shot Language Learning Based on Prompt Tuning of T5

By Chengwei Qin, Shafiq R. Joty. 2021

136 citations recorded by the source corpus.

Existing approaches to lifelong language learning rely on plenty of labeled data for learning a new task, which is hard to obtain in most real scenarios. Considering that humans can continually learn new tasks from a handful of examples, we expect the models also to be able to generalize well on new few-shot tasks without forgetting the previous ones. In this work, we define this more challenging yet practical problem as Lifelong Few-shot Language Learning (LFLL) and propose a unified framework for it based on prompt tuning of T5. Our framework called LFPT5 takes full advantage of PT's strong few-shot learning ability, and simultaneously trains the model as a task solver and a data generator. Before learning a new domain of the same task type, LFPT5 generates pseudo (labeled) samples of previously learned domains, and later gets trained on those samples to alleviate forgetting of previous knowledge as it learns the new domain. In addition, a KL divergence loss is minimized to achieve label consistency between the previous and the current model. While adapting to a new task type, LFPT5 includes and tunes additional prompt embeddings for the new task. With extensive experiments, we demonstrate that LFPT5 can be applied to various different types of tasks and significantly outperform previous methods in different LFLL settings.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Prompting & Reasoning, Meta & Continual Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Han-Jia Ye
  2. De-chuan Zhan
  3. Da-Wei Zhou
  4. Zixuan Ke
  5. Bin Liu
  6. Hang Su
  7. Jun Zhu
  8. Ziwei Liu

In Computer Vision and Pattern Recognition

  1. Han-Jia Ye
  2. De-chuan Zhan
  3. Jun Zhu
  4. Da-Wei Zhou
  5. Hang Su
  6. Ziwei Liu
  7. Zixuan Ke
  8. Bin Liu

In Prompting & Reasoning

  1. Bin Liu
  2. Zixuan Ke
  3. Chengwei Qin
  4. Liyuan Wang
  5. Jun Zhu
  6. De-chuan Zhan
  7. Xuanjing Huang
  8. Michihiro Yasunaga

In Meta & Continual Learning

  1. Zixuan Ke
  2. Bin Liu
  3. Han-Jia Ye
  4. De-chuan Zhan
  5. Da-Wei Zhou
  6. Liyuan Wang
  7. Xingxing Zhang
  8. Hang Su

Citations in the corpus