Improving Language Plasticity via Pretraining with Active Forgetting
Yihong Chen, Kelly Marchisio, Roberta Raileanu, David Ifeoluwa Adelani, Pontus Stenetorp, Sebastian Riedel, Mikel Artetxe
TL;DR
This work tackles the challenge of rapidly adapting pretrained language models (PLMs) to new languages by introducing an active forgetting mechanism during pretraining. By periodically resetting the token embedding layer (and optimizer states), the PLM experiences episodic learning that increases its linguistic plasticity, enabling faster and more data-efficient rewiring to unseen languages. Empirical results with RoBERTa-base show that forgetting-pretrained models achieve large gains in low-data cross-lingual transfer tasks (XNLI, MLQA, XQuAD) and converge faster during adaptation, with the largest benefits for languages distant from English. The findings suggest forgetting as a principled tool to enhance cross-language transfer and model reusability, with potential extension to other pretraining regimes and modalities.
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.
