Improving Language Plasticity via Pretraining with Active Forgetting

Yihong Chen, Kelly Marchisio, Roberta Raileanu, David Ifeoluwa Adelani, Pontus Stenetorp +2 more
7/3/2023
cs.CLcs.LGcs.NE

No official code found. Best implementation: facebookresearch/language-model-plasticity (21 stars, last commit 2026-03-12).

Abstract

Pretrained language models (PLMs) are today the primary model for natural language processing. Despite their impressive downstream performance, it can be difficult to apply PLMs to new languages, a barrier to making their capabilities universally accessible. While prior work has shown it possible to address this issue by learning a new embedding layer for the new language, doing so is both data and compute inefficient. We propose to use an active forgetting mechanism during pretraining, as a simple way of creating PLMs that can quickly adapt to new languages. Concretely, by resetting the embedding layer every K updates during pretraining, we encourage the PLM to improve its ability of learning new embeddings within a limited number of updates, similar to a meta-learning effect. Experiments with RoBERTa show that models pretrained with our forgetting mechanism not only demonstrate faster convergence during language adaptation but also outperform standard ones in a low-data regime, particularly for languages that are distant from English.

View on arXivView PDF

Code Implementations(1)

Official code for the paper Improving Language Plasticity via Pretraining with Active Forgetting, NeurIPS 2023

214C++, LuaOct 26, 20237 months agoNOASSERTION

Similar Papers

Cite this paper

@article{chen2023improving,
  title  = {Improving Language Plasticity via Pretraining with Active Forgetting},
  author = {Yihong Chen and Kelly Marchisio and Roberta Raileanu and David Ifeoluwa Adelani and Pontus Stenetorp and Sebastian Riedel and Mikel Artetxe},
  year   = {2023},
  eprint = {2307.01163},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.01163v3},
  journal = {NEURIPS 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/2307.01163.svg)](https://codeofpaper.com/paper/2307.01163)

Discussion