Improving Language Plasticity via Pretraining with Active Forgetting

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.

Paper

References (72)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer LV8K7/10 · confidence 4/52023-06-27

Summary

This paper proposes active forgetting, a rather straightforward method that resets the embedding layer every K updates during pretraining, to quickly adapt PLMs to new languages. Through experiments on different language pairs with RoBERTa, the authors claim that the proposed method can induce faster convergence and better performance when the languages are distant from English.

Strengths

- This paper is well-written in general, with a clear motivation and some novelty. - It is appreciated that the author conduct experiments on many languages from similar languages like German to distant languages like Thai. - The method itself is counter-intuitive, as it resets the embedding layer periodically which intuitively can be bad for PLMs, but effective to improve the cross-lingual transfer. - The authors give in-depth analysis and insights into their proposed method, which I believe is interesting to the community.

Weaknesses

Some figures are inconsistent and visually not good. For example, the upper three subfigures in Figure 4 have a visually bad axis scale. Some values are rounded to integers while some are not, as in Figure 6. The authors should carefully redraw and prettify them in the camera-ready version.

Questions

- In the abstract, the paper claims that it is data and compute inefficient to learn a new embedding layer. But this paper does not address this problem, since a new embedding layer for new languages still has to be learned. Therefore I don't think it is necessary to mention that in the abstract. - The paper claims the method ensures high sample efficiency. How does the experiment support this? - Forgetting is “generally” a bad thing for PLMs, but this work counter-intuitively shows that active forgetting can be beneficial for cross-lingual transfer. The authors are encouraged to give more intuition or explore the reasons behind this phenomenon, in a cross-lingual perspective. - For the experiment w.r.t. RQ3, the authors show that active forgetting is particularly helpful when the new languages are (typological) different from the pretraining language. However, I see also an important possible influencer: the script. The authors are encouraged to also explore if scripts can influence the transfer performance under active forgetting. - The frequency of active forgetting is set to K=1000. As this is an important hyperparameter, I would encourage the authors to justify their choice. - I would be very interested to see a plot of loss over updates during language adapting. I would expect the loss to go down in general but fluctuate a lot every time when active forgetting is used. - It’s natural to think that this active forgetting could be used in other parts of the models instead of merely on embeddings. Therefore it would be very interesting to explore: active forgetting on which part of the models is the most effective?

Rating

7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

4 excellent

Presentation

3 good

Contribution

3 good

Limitations

The authors include a section of Limitations in the paper, where they mention that this paper only focuses on the simplest forgetting, which is only applied to the embeddings.

Reviewer 1FBf6/10 · confidence 4/52023-06-30

Summary

The paper proposed an active forgetting mechanism for PLMs pre-training for cross-lingual transfers and adaptations. The authors propose a multi-stage adaptation framework for better cross-lingual transfer/adaption: 1) First, by resetting embedding layers every K update during pre-training for monolingual RoBERTa model; 2) Second, by adapting parameters separately (embeddings vs backbone) for language-specific knowledge and task-specific knowledge (language+task adaptation). The paper shows the proposed mechanism helps faster convergence during cross-lingual transfers and adaptation as well as achieving better downstream task performances.

Strengths

* The paper shows an interesting empirical finding that resetting partial parameters (in this case embeddings) during pre-training in English leads to better transfers/adaptation in cross-lingual settings. * The paper is clear-written and the proposed method is effective empirically for cross-lingual transfers.

Weaknesses

- Although the proposed method achieved good performances in downstream tasks, this work lacks proper ablation experiments on showing the gain is from resetting during pre-training, vs the gain of adapting/resetting parameters separately during the language+task adaptation stage. I.e. the paper should include the results of the following 4 types of experiments: * Standard pre-training + standard adaptation * Forgetting pre-training + standard adaptation * Standard pre-training + language/task adaption * Forgetting pre-training + language/task adaption - Practically, efficiency (parameters and training) could be an issue with the language adaptation + task adaptation issue.

Questions

* See weaknesses. * Have you tried resetting other parameters during pre-training? What about other PLMs? e.g. Does deBERT style training affect the results? * References: 1. Chen Liu, Jonas Pfeiffer, Anna Korhonen, Ivan Vulić, and Iryna Gurevych. Delving Deeper into Cross-lingual Visual Question Answering. Findings of EACL, 2023 → Partial resetting, and re-initialization of parameters for cross-lingual generalization in VL setting. 2. Vijaya Raghavan T Ramkumar, Elahe Arani, Bahram Zonooz, Learn, Unlearn and Relearn: An Online Learning Paradigm for Deep Neural Networks, TMLR, 2023 → Selective parameters resetting for continual learning (online and few-shot).

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Limitations

n/a

Reviewer Divy7/10 · confidence 3/52023-07-06

Summary

This work introduces a training technique that leverages actively resetting token embedding to improve zero-shot language transfer. Experiments on RoBERTa show consistent improvement in multiple languages, distant languages in particular.

Strengths

1. Simple and innovative approach. 2. Consistent improvement across languages and tasks. 3. Insightful analysis.

Weaknesses

1. Only experimented on one pretrained model.

Questions

How sensitive is this method to the choice of forgetting frequency?

Rating

7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

3 good

Limitations

N/A

Reviewer TTi16/10 · confidence 4/52023-07-07

Summary

This paper follows the language adaptation procedure of MonoTrans (Artetxe et al., 2020), and proposes a new pre-training method with active forgetting. By resetting the embedding layer every K updates during training, the language model learns to learn the new embedding fast, similar to a meta-learning effect. The paper conducted experiments on several languages, and evaluate the adapted models on zero-shot XNLI, MLQA and XQuAD. Unlike the experimental setting of MonoTrans, the paper considers a low-resource pre-training setting where an "unseen" language has as few as 5 million tokens for the adaptation step. The results show that the pre-trained models with active forgetting pre-training converge quickly during language adaptation, and outperform the baseline models.

Strengths

The paper studies an important research question, i.e., language adaptation in a low-resource setting. Since the success of language models relies on large-scale pre-training, how to adapt the language models to low-resource languages without large-scale training data is beneficial for low-resource NLP research. The proposed active forgetting is simple and effective for the following language adaptation step. Experiments demonstrate that it outperforms baseline models for zero-shot classification and question answering tasks.

Weaknesses

- I am confused about goals and means: - The goal of language adaptation / MonoTrans (Artetxe et al., 2020) is to transfer existing high-resource language models (English in particular) to unseen languages, and the method is to learn language-specific word embeddings, i.e., language adaptation. - The goal of this paper seems to improve language adaptation results, rather than the goal behind language adaptation. The key is, transferring the currently existing models rather than pre-training new models. I understand the proposed method can benefit language adaptation. However, it greatly limits the scope, only the pre-trained models with the active forgetting can have this effect, i.e., currently existing pre-trained models are out of scope. - Experimental setup. As mentioned in L273, the paper claims that multilingual pre-trained language models have issues that they need large corpora. Since many studies have shown that multilingual models have cross-lingual transferability, training multilingual language models in the low-resource setting should be a baseline. - It would be great to provide the pre-training loss curves, showing how active forgetting affects the pre-training procedure. - (Minor) L192, Page7 footnote, missing ".". Figure 6, "XNLI Accuracy vs Adaptation Steps" is too small.

Questions

- If active forgetting even requires a re-pretraining step, how to adapt currently existing pre-trained models without re-training them?

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

2 fair

Presentation

2 fair

Contribution

3 good

Limitations

N/A

Reviewer ar7w4/10 · confidence 4/52023-07-09

Summary

This paper presents an embedding forgetting mechanism for pre-training, aimed at enhancing robustness in downstream shift embedding fine-tuning. Focusing on the low-resource regime, the study conducts experiments on 10 simulated low-resource languages across three tasks: XNLI, XQUAD, and MLQA.

Strengths

(1) This paper introduces a simple yet effective method, akin to a form of regularization, for improving the multilingual capabilities of a PLM. It demonstrates impressive performance when adapting to downstream X-tasks. (2) The writing is clear, and the illustrative figures are informative.

Weaknesses

(1) The paper is somewhat limited in scope, as it only applies to low-resource multilingual tasks within the framework of Artetxe et al. [2020]. (2) To propose a simple yet effective method, I believe solid experiments or rigorous proof are necessary; however, both are missing. In the experimental section, there is a lack of comprehensive ablation studies (e.g., why set low-resource data at 5M? Is this the real scenario in the multilingual setting? Why not use actual low-resource data instead of simulating one, considering that real low-resource data is different from sampled ones? How does the update frequency affect the results?). (3) The paper lacks comparisons with other established methods, such as multilingual pre-training, multilingual adapters, and multilingual regularization techniques, among others.

Questions

(1) Did you try different hyper-parameters for standard PLM and forgetting PLM when fine-tuning? (2) Did you tie the weights of embedding and LM head? Thanks for authors' detailed rebuttal, which addressed most of my concerns. However, the weaknesses are still existing. I'll keep my score.

Rating

4: Borderline reject: Technically solid paper where reasons to reject, e.g., limited evaluation, outweigh reasons to accept, e.g., good evaluation. Please use sparingly.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Limitations

The authors have discussed the limitations.

Authorsrebuttal2023-08-10

### Multilingual Pretraining We ran additional experiments with multilingual pretraining as suggested by the reviewers. Here is how we did it - For a fair comparion, we trained a multilingual RoBERTa-base with the same model size as our monolingual model. We also subsample the multilingual corpus, CC100, to ensure that the pretraining corpus is of the same size as our monolingual pretraining corpus. - Language Emb/Task Body Adaptation refers to separately adapting embeddings with 5M tokens of _Thai_ unlabelled data and adapting body with English NLI data. - Task Full Model Adaptation refers to adapting the full model with English NLI data - Note that **_Thai_ is already included in multilingual CC100 (6B tokens in the original dataset, 720M tokens in our subsampled dataset)** We can see that multilingual pretraining indeed helps cross-lingual transfer *when the language is in the pretraining data*. On the other hand, we can also observe that forgetting indeed lifts the adaptation performance: - Comparing Row 2 and Row 5 (59.7 vs 60.0), we can see that even with as little as 5M unsupervised data, **the Forget model is almost as competitive as its multilingual counterpart, despite only pretrained on monolingual data.** - Comparing Row 3 and Row 4 (49.4 vs 55.0), we can see that, **forgetting also helps adapt multilingual pretrained models**. - Comparing Row 1 and Row 2 (35.3 vs 59.7), we can see that **forgetting helps monolingual pretrained models a lot** XLM-R (base) outperform best our multilingual pretrained baselines (72.4 vs 60.0). This is no surprise due to its large pretraining corpus (10x our multilingual corpora) and model size (2x our multilingual model). We hope these results can help reviewers ground our numbers better. ----- | Pretrain Corpus | #Languages In Pretraining Corpus | #parameters | Pretraining Method | Adaptation Framework | Zero-shot Thai XNLI Acc | |--------------------------|----------------------------------|-------------|-------------------------|-----------------------------------|-------------------------| | 300GB English CC100 | 1 | 125M | Standard-RoBERTa (base) | Language Emb/Task Body Adaptation | 35.3 | | 300GB English CC100 | 1 | 125M | Forget-RoBERTa (base) | Language Emb/Task Body Adaptation | 59.7 | | 300GB Multilingual CC100 | 100 | 125M | Standard-RoBERTa (base) | Language Emb/Task Body Adaptation | 49.4 | | 300GB Multilingual CC100 | 100 | 125M | Forget-RoBERTa (base) | Language Emb/Task Body Adaptation | 55.0 | | 300GB Multilingual CC100 | 100 | 125M | Standard-RoBERTa (base) | Task Full Model Adaptation | 60.0 | | 2.5TB Multilingual CC100 | 100 | 270M | XLM-RoBERTa (base) | Task Full Model Adaptation | 72.4 |

Reviewer 1FBf2023-08-16

Thank you very much for providing clarifications and additional supporting results. Would you please comment more on the infrastructure you used for training and training time? Will you open source your code and data to ensure reproducibility?

Authorsrebuttal2023-08-16

Thank you for the recognition of our rebuttal. For you questions: > Would you please comment more on the infrastructure you used for training and training time? Sure. We run our experiments on a HPC cluster, where each node has $8$ GPUs, $500$ GB CPU memory and $80$ cores. Our main experimental GPUs are Tesla V100s, $32$ GB GPU memory, as described in Sec 4 of our paper. Our software infrastructure is pytorch and fairseq. We use FP16 training. Each successful pretraining run (one hyper-parameter configuration) takes $24-32$ hours on $32$ V100s, ~ $1000$ GPU hours. The $32$ GPUs are spread on $4$ nodes with $8$ gpus on each node. Each language adaptation run takes the same time as one pretraining run except that we have to do it for all the languages. Each task adaptation run takes $6-12$ hours on $1$ V100 for each of the three tasks. > Will you open source your code and data to ensure reproducibility? Yes, we will open-source code. As for data, we use [CC100](https://data.statmt.org/cc-100/) for our pretraining and language adaptation (pretrained on English then adapted to a target language), which are publicly available. Our evaluation data are also public benchmarks: MLQA, XQuAD, XNLI. We will release relevant preprocessing scripts on these datasets for fostering reproducibility.

Reviewer 1FBf2023-08-17

Thank you very much for the additional details. The rebuttal addressed most of my concerns, hence I raised the score to reflect this.

Reviewer Divy2023-08-18

Thanks for the explanation.

Reviewer TTi12023-08-20

Thanks for addressing my concerns about the re-pretraining issue and the experimental setup. I have updated the score.

Program Chairsdecision2023-09-21

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC