Overcoming Catastrophic Forgetting in Zero-Shot Cross-Lingual Generation

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

Introduction

Multilingual large language models (LLMs) like mT5 are pre-trained on massive datasets spanning hundreds of languages, developing a broad linguistic foundation. However, a significant challenge arises when these models are fine-tuned for specific generative tasks, such as summarization. Researchers from Google and UMass Amherst, in a paper presented at EMNLP 2022, address a frustrating hurdle: why do models that "know" 100 languages suddenly "forget" 99 of them the moment they learn to summarize in English?

While high-quality labeled data is often only available in English, fine-tuning on English examples frequently leads to "catastrophic forgetting." In this state, the model becomes so specialized in English that it loses its ability to generate coherent text in other languages, often producing garbled "code-switched" outputs or failing to generate in the target language entirely. This paper explores methods to maintain multilingual fluency while teaching models new tasks using only English examples—a paradigm known as Zero-Shot Cross-Lingual Generation (XGEN).

The Challenge of Zero-Shot Cross-Lingual Generation

The core problem is that standard model tuning updates all parameters, allowing the English-specific task data to overwrite the multilingual knowledge acquired during pre-training. For instance, when asked to summarize a Thai article, a model fine-tuned on English summaries might attempt to respond in English or a hybrid of both languages.

The XGEN framework: Training on English summarization and performing zero-shot inference on non-English languages.

To evaluate these challenges, the authors introduced WIKILINGUA-0, a benchmark covering 18 languages that requires models to summarize "how-to" guides. They also advocate for SP-ROUGE, a SentencePiece-based metric that provides a language-agnostic way to measure quality, particularly for non-space-delimited languages like Thai or Chinese.

Proposed Strategies to Combat Forgetting

The authors investigated three primary strategies to preserve multilingualism:

  • Prompt Tuning: Instead of updating billions of parameters, the pre-trained model is frozen. Only a small set of "soft prompt" tokens (virtual tokens prepended to the input) are trained. This architectural constraint prevents the core multilingual weights from being modified.
  • Unsupervised Data Mixing: During training, a small amount (e.g., 1%) of unlabeled data from the target language is mixed in using a "span corruption" task. This serves as a regularizer, reminding the model of the target language's structure.
  • Factorized Prompts (FP): This novel approach decomposes the soft prompt into a language sub-prompt and a task sub-prompt. These modules can be combined at inference time ("Summarization" + "Thai"), even if the specific combination was never seen during training.

Analysis: Scale and the Paradox of Capacity

The research highlights two critical factors in XGEN performance: model scale and prompt length.

Impact of model size and prompt length on performance (SP-RG) and language fluency (LID).

Scale as a Shield

Larger models are significantly more resistant to catastrophic forgetting. As shown in the experimental results, the 13B parameter "XXL" version of mT5 naturally maintains higher language fluency compared to smaller variants. At this scale, prompt tuning outperformed standard fine-tuning by a substantial +7.3 SP-ROUGE points on Thai summarization.

The Paradox of Capacity

There is a delicate balance regarding prompt length. While longer prompts provide more capacity for the model to learn the nuances of the summarization task, they also offer more "room" for the model to overfit to English. The data suggests a "sweet spot" (often around 10-100 tokens) where the prompt is long enough to be effective but short enough to prevent total language forgetting.

Key Results and Conclusion

The study demonstrates that prompt tuning, especially when combined with unsupervised data mixing, is a powerful tool for XGEN. Mixing in just 1% of unlabeled target-language data dramatically improved language accuracy for smaller models. Furthermore, the Factorized Prompt approach allowed models to generate in non-Latin scripts where they previously failed.

While a performance gap of 5-12 points remains between these zero-shot methods and models trained on target-language labels, these findings provide a robust roadmap for building generative AI that can serve a global, multilingual audience without requiring exhaustive labeled data for every language.

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