From Zero to Hero: On the Limitations of Zero-Shot Language Transfer with Multilingual Transformers

Anne Lauscher, Vinit Ravishankar, Ivan Vulic, Goran Glavas

Introduction

Massively multilingual transformers (MMTs) like mBERT and XLM-R have become the standard for zero-shot cross-lingual transfer. The goal is to train a model on a high-resource language (typically English) and deploy it across thousands of others without additional labeling. However, this study reveals that the zero-shot paradigm is often brittle, particularly for languages typologically distant from English or those with limited pretraining data. We demonstrate that a "few-shot" approach—adding a minimal amount of target-language supervision—can dramatically "unlock" these models' latent capabilities.

Methodology

The study evaluates mBERT and XLM-R across five tasks: POS tagging, Dependency Parsing (DEP), Named Entity Recognition (NER), Natural Language Inference (NLI), and Question Answering (QA). Two analytical lenses were applied:

  1. Meta-Regression: Analyzing how linguistic features (URIEL database) and pretraining corpus size predict zero-shot performance.
  2. Sequential Fine-Tuning: Models were first fine-tuned on English, then further fine-tuned on $k$ target-language examples (where $k \in [2, 1000]$).

The Power of Few-Shot Transfer

The most significant finding is the efficacy of minimal supervision. While zero-shot performance often fails for distant languages, adding as few as 10 annotated sentences can lead to massive performance leaps.

Performance gains across tasks and languages when moving from zero-shot (0) to few-shot (10, 100, 1000) settings.

As shown in the figure above, the transition from 0 to 10 examples provides a substantial "nudge" that helps the model map its task-specific knowledge to the target language's structure. For Dependency Parsing, adding 10 sentences improved scores by 13-17 points on average. This suggests that MMTs already possess a rich multilingual space and merely require a small signal to align task knowledge with a new language.

Syntax vs. Semantics

The drivers of transfer success vary by task type. Success in low-level syntactic tasks (POS, DEP) is primarily dictated by linguistic similarity to the source language. In contrast, high-level semantic tasks (NLI, QA) are more dependent on the volume of data available during the model's initial pretraining phase for that specific target language.

Strategic Data Selection

Not all few-shot examples are created equal. For syntactic tasks like Dependency Parsing, the selection of training examples significantly impacts performance.

Heatmap showing DEP performance for different sampling strategies (longest, random, shortest sentences) across varying numbers of few-shot examples.

Selecting longer sentences for the few-shot set is more effective than selecting shorter ones. Longer sentences typically contain more complex structural information, providing a richer learning signal for the model to grasp the syntactic nuances of the target language.

Conclusion and Cost-Benefit Analysis

The strict "zero-shot" constraint often acts as a self-imposed limitation that ignores the high efficiency of minimal supervision. A ballpark cost analysis suggests that for a task like Dependency Parsing, spending just $3-$5 to annotate 10 sentences can yield a 30-40 point gain in UAS for distant languages. Future work should explore transferring from typologically closer source languages and the use of noisier, non-gold data in truly low-resource settings. Ultimately, MMTs are rapid learners; a tiny investment in target-language data can transform a model from a zero-shot failure to a few-shot hero.

Summary updated

BibTeX
@inproceedings{lauscher2020from,
  author = {Anne Lauscher and Vinit Ravishankar and Ivan Vulic and Goran Glavas},
  title = {{From Zero to Hero: On the Limitations of Zero-Shot Language Transfer with Multilingual Transformers}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.363},
}
Figure