Unifying Cross-Lingual Transfer across Scenarios of Resource Scarcity

Alan Ansell, Marinela Parovic, Ivan Vulic, Anna Korhonen, Edoardo M. Ponti

Introduction

While Massively Multilingual Transformers (MMTs) like XLM-R have revolutionized natural language processing by supporting approximately 100 languages, they still leave the vast majority of the world's 7,000+ languages behind. For these low-resource languages, labeled task data is often non-existent. This paper introduces a unified "recipe" for cross-lingual transfer (XLT) that combines parameter-efficient language adaptation, machine translation, and few-shot learning. By integrating these techniques into a single framework, the authors achieve performance gains of up to 24 points over standard zero-shot baselines across 20 diverse, low-resource languages.

The Challenge of Extreme Resource Scarcity

Practitioners working with low-resource languages typically rely on a handful of isolated techniques: zero-shot transfer from high-resource sources, small sets of few-shot examples, or synthetic data generated via machine translation (MT). However, these methods are rarely studied in combination. This research addresses the gap by exploring how these modular components interact and providing a practical guide for effective cross-lingual transfer when dealing with varying levels of data availability.

A Unified Recipe for Cross-Lingual Transfer

The proposed framework consists of a modular, three-step approach designed to maximize the utility of available resources:

  1. Language Adaptation (LA): The base MMT (XLM-R) is specialized to the target language using Parameter-Efficient Fine-Tuning (PEFT). The authors compare Adapters and Sparse Fine-Tunings (SFTs), training these small modules on available monolingual data.
  2. NMT Adaptation and Translation: Source task data is translated into target languages using the NLLB (No Language Left Behind) model. For languages unsupported by NLLB, the authors demonstrate that the MT model can be adapted using minimal parallel data (e.g., 5,000 to 17,000 sentences from religious texts).
  3. Joint Multi-Source Training: A single task module is trained on a mixture of original source data, machine-translated target data, and upsampled few-shot "gold" examples. Upsampling ensures the model prioritizes high-quality human labels over noisier translations.

Experimental Evaluation

The recipe was evaluated on two primary benchmarks covering 20 languages:

  • AmericasNLI: Natural Language Inference for 10 indigenous languages of the Americas (e.g., Quechua, Nahuatl).
  • NusaX: Sentiment Analysis for 10 local Indonesian languages (e.g., Javanese, Buginese).

Many of these languages were entirely unseen by the base XLM-R model during its initial pre-training, making language adaptation a critical first step.

Key Results and Analysis

The unified approach yielded dramatic improvements. In the AmericasNLI benchmark, average accuracy rose from 47.7% to 62.0%. Similarly, NusaX F1 scores increased from 74.7% to 84.8%.

Detailed performance breakdown for the AmericasNLI task across 10 indigenous languages. The unified recipe (FS + TTRAIN-ALL) consistently outperforms individual transfer methods, particularly when using Sparse Fine-Tuning (SFT).

Analysis of Transfer Components

Several key insights emerged from the ablation studies:

  • Techniques are Complementary: Machine translation and few-shot learning provide additive benefits. The best results are achieved when both are used in tandem with language adaptation.
  • SFT vs. Adapters: Sparse Fine-Tuning (SFT) consistently outperformed standard Adapters by 2–3 points across different shot counts and tasks.
  • Scaling with Data: Performance scales predictably with the number of few-shot examples, but the quality of the data is paramount. Upsampling gold examples is essential to prevent the model from being overwhelmed by synthetic translation noise.
Average performance scaling across different shot counts (K). The chart illustrates the consistent performance lead of SFT over Adapters and the steady gains achieved as more target-language examples are introduced.

Conclusion

This research demonstrates that high-performance cross-lingual transfer is possible even for languages with extreme resource scarcity. By treating language adaptation, translation, and few-shot learning as complementary modules, practitioners can significantly bridge the performance gap. Future work will explore extending this recipe to sequence labeling tasks and investigating more advanced NMT adaptation techniques like back-translation.

Summary updated

BibTeX
@inproceedings{ansell2023unifying,
  author = {Alan Ansell and Marinela Parovic and Ivan Vulic and Anna Korhonen and Edoardo M. Ponti},
  title = {{Unifying Cross-Lingual Transfer across Scenarios of Resource Scarcity}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.242},
}
Figure