Overcoming Catastrophic Forgetting in Zero-Shot Cross-Lingual Generation

Tu Vu, Aditya Barua, Brian Lester, Daniel Cer, Mohit Iyyer, Noah Constant

Abstract

In this paper, we explore the challenging problem of performing a generative task in a target language when labeled data is only available in English, using summarization as a case study. We assume a strict setting with no access to parallel data or machine translation and find that common transfer learning approaches struggle in this setting, as a generative multilingual model fine-tuned purely on English catastrophically forgets how to generate non-English. Given the recent rise of parameter-efficient adaptation techniques, we conduct the first investigation into how one such method, prompt tuning (Lester et al., 2021), can overcome catastrophic forgetting to enable zero-shot cross-lingual generation. Our experiments show that parameter-efficient prompt tuning provides gains over standard fine-tuning when transferring between less-related languages, e.g., from English to Thai. However, a significant gap still remains between these methods and fully-supervised baselines. To improve cross-lingual transfer further, we explore several approaches, including: (1) mixing in unlabeled multilingual data, and (2) explicitly factoring prompts into recombinable language and task components. Our approaches can provide further quality gains, suggesting that robust zero-shot cross-lingual generation is within reach.

Introduction

While large multilingual language models (LMs) like mT5 have achieved remarkable success in cross-lingual classification tasks, cross-lingual generation (XGEN) remains a significant hurdle. The primary obstacle is "catastrophic forgetting": when a model is fine-tuned on a specific task in English, it often loses its ability to generate coherent text in other languages. At inference time, a model trained to summarize English articles may produce English summaries for non-English inputs, or even generate unintelligible output.

The framework for zero-shot cross-lingual summarization, where a model is trained on English and tested on target languages like Thai.

This study investigates how to maintain a model's multilingual generative capabilities without relying on parallel data or machine translation. We focus on zero-shot summarization, where the model must summarize articles in a target language (e.g., Thai) having only seen summarization examples in English.

Methodology

To combat catastrophic forgetting, we evaluate several strategies:

  1. Prompt Tuning: Unlike standard model tuning, which updates all parameters, prompt tuning freezes the underlying LM and only trains a small set of "soft prompt" tokens. This preserves the model's original multilingual knowledge.
  2. Model Scaling: We examine models from 300M (Small) to 13B (XXL) parameters to determine if increased capacity acts as a buffer against forgetting.
  3. Unlabeled Data Mixing: We incorporate unsupervised "span corruption" tasks in the target language during English fine-tuning to reinforce the model's familiarity with the target language's structure.
  4. Factorized Prompts (FP): We propose splitting the prompt into a language-specific module and a task-specific module. This allows for "plug-and-play" adaptation, where an English language module can be swapped for a target language module at inference time.

Experimental Setup

We utilize WIKILINGUA-0, a new benchmark for zero-shot summarization across 18 languages. To ensure fair evaluation across diverse scripts, we introduce SP-ROUGE, a metric using SentencePiece tokenization rather than space-based word definitions, which are unsuitable for languages like Thai or Chinese.

Key Results and Discussion

The Impact of Scale

Our findings indicate that model scale is a primary defense against forgetting. As shown in Figure 4, smaller models (Small, Base) almost entirely lose the ability to generate non-English text when fine-tuned on English. However, at the XXL scale, the model's internal representations are robust enough that prompt tuning can effectively steer the model while maintaining high language accuracy (LID).

Performance (SP-RG) and language retention (LID) across different model sizes and prompt lengths.

Prompt Tuning vs. Model Tuning

For distant languages like Thai, prompt tuning at the XXL scale significantly outperforms standard model tuning, achieving a +7.3 SP-ROUGE gain. Qualitative analysis reveals that while model tuning often results in "code-switching" (mixing English into the target language), prompt tuning is more likely to stay within a single language, even if it occasionally defaults to English.

The Paradox of Capacity

We observed a trade-off regarding prompt length. While longer prompts (more tokens) generally improve performance on the source English task, they also increase the risk of the model over-specializing and forgetting other languages. Our results suggest a "sweet spot" (typically around 10-100 tokens) that balances task performance with multilingual retention.

Conclusion

This work demonstrates that parameter-efficient prompt tuning, combined with massive model scaling and prompt factorization, provides a viable path for zero-shot cross-lingual generation. While a performance gap remains compared to fully supervised models, these techniques significantly mitigate catastrophic forgetting. Future research should explore more complex adaptation methods to further close the gap with supervised baselines across a wider range of generative tasks.

Summary updated

BibTeX
@inproceedings{vu2022overcoming,
  author = {Tu Vu and Aditya Barua and Brian Lester and Daniel Cer and Mohit Iyyer and Noah Constant},
  title = {{Overcoming Catastrophic Forgetting in Zero-Shot Cross-Lingual Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.630},
}
Figure