LAMOL: LAnguage MOdeling for Lifelong Language Learning

Fan-Keng Sun, Cheng-Hao Ho, Hung-Yi Lee
9/7/2019
cs.CLcs.AI

Official code: chho33/LAMOL (95 stars, Python, MIT, last commit 2020-08-28).

Abstract

Most research on lifelong learning applies to images or games, but not language. We present LAMOL, a simple yet effective method for lifelong language learning (LLL) based on language modeling.

Show full abstract

LAMOL replays pseudo-samples of previous tasks while requiring no extra memory or model capacity. Specifically, LAMOL is a language model that simultaneously learns to solve the tasks and generate training samples. When the model is trained for a new task, it generates pseudo-samples of previous tasks for training alongside data for the new task. The results show that LAMOL prevents catastrophic forgetting without any sign of intransigence and can perform five very different language tasks sequentially with only one model. Overall, LAMOL outperforms previous methods by a considerable margin and is only 2-3% worse than multitasking, which is usually considered the LLL upper bound. The source code is available at https://github.com/jojotenya/LAMOL.

View on arXivView PDF

Code Implementations(1)

chho33/LAMOLOfficial100%
MIT

Code for LAMOL: LAnguage MOdeling for Lifelong Language Learning

9513Python, ShellNov 7, 20196 years agoMIT

Similar Papers

Cite this paper

@article{sun2019lamol,
  title  = {LAMOL: LAnguage MOdeling for Lifelong Language Learning},
  author = {Fan-Keng Sun and Cheng-Hao Ho and Hung-Yi Lee},
  year   = {2019},
  eprint = {1909.03329},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.03329}
}

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

Discussion