ELLE: Efficient Lifelong Pre-training for Emerging Data

Yujia Qin, Jiajie Zhang, Yankai Lin, Zhiyuan Liu, Peng Li +2 more
3/12/2022
cs.CLcs.AI

Official code: thunlp/ELLE (31 stars, Python, last commit 2022-04-14).

Abstract

Current pre-trained language models (PLM) are typically trained with static data, ignoring that in real-world scenarios, streaming data of various sources may continuously grow. This requires PLMs to integrate the information from all the sources in a lifelong manner.

Show full abstract

Although this goal could be achieved by exhaustive pre-training on all the existing data, such a process is known to be computationally expensive. To this end, we propose ELLE, aiming at efficient lifelong pre-training for emerging data. Specifically, ELLE consists of (1) function preserved model expansion, which flexibly expands an existing PLM's width and depth to improve the efficiency of knowledge acquisition; and (2) pre-trained domain prompts, which disentangle the versatile knowledge learned during pre-training and stimulate the proper knowledge for downstream tasks. We experiment ELLE with streaming data from 5 domains on BERT and GPT. The results show the superiority of ELLE over various lifelong learning baselines in both pre-training efficiency and downstream performances. The codes are publicly available at https://github.com/thunlp/ELLE.

View on arXivView PDF

Code Implementations(1)

thunlp/ELLEOfficial100%
312Python, CMar 6, 20224 years ago

Similar Papers

Cite this paper

@article{qin2022elle,
  title  = {ELLE: Efficient Lifelong Pre-training for Emerging Data},
  author = {Yujia Qin and Jiajie Zhang and Yankai Lin and Zhiyuan Liu and Peng Li and Maosong Sun and Jie Zhou},
  year   = {2022},
  eprint = {2203.06311},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.06311}
}

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

Discussion