Distributionally Robust Multilingual Machine Translation

Chunting Zhou, Daniel Levy, Xian Li, Marjan Ghazvininejad, Graham Neubig

Abstract

Training a single model to translate dozens of languages often leaves low-resource languages in the dust because high-resource data dominates the learning process. This paper introduces $χ$-IBR, a framework that uses Distributionally Robust Optimization (DRO) to automatically balance language importance during training. By treating training as a game between a learner and an adversary, the model achieves superior translation quality across the board—improving not just for rare languages, but often for high-resource ones as well.

The Challenge of Data Imbalance

Multilingual Neural Machine Translation (MNMT) is efficient but faces a massive "data imbalance" problem. If English-to-French has 100 million sentences and English-to-Kazakh has 10,000, a standard model trained on the average loss (Empirical Risk Minimization) will ignore Kazakh to perfect French.

The industry standard fix is "temperature-based sampling," where researchers manually oversample rare languages. However, this is a blunt instrument: it requires tedious hyperparameter tuning, stays fixed throughout training, and only considers data quantity, ignoring how difficult a specific language might be to learn.

Methodology: χ-IBR

The authors propose moving from simple averaging to Distributionally Robust Optimization (DRO). In this setup, training is a minimax game: the model tries to minimize loss, while an "adversary" tries to find a distribution of language weights that makes the model look as bad as possible.

Figure 1: Visualization of the training trajectory and language weight distribution shifting from the initial training distribution towards a more balanced state.

Key innovations include:

  • χ²-Group DRO: Standard DRO is often too "conservative," focusing only on the single hardest language. The authors use a χ²-divergence uncertainty set, which allows the adversary to shift weights more flexibly, considering the losses of all languages rather than just the worst one.
  • Iterated Best Response (IBR): Most DRO algorithms use "primal-dual" updates that reweight gradients. However, Transformers are sensitive to gradient scaling. Instead, the authors propose χ-IBR, which re-samples the entire training dataset at the start of each epoch based on the adversary's current weights. This keeps the optimization stable and adds zero computational overhead.
  • Baseline Subtraction: To prevent the model from over-focusing on languages that are inherently "impossible" to get low loss on, they subtract a baseline loss (from a standard ERM model) to focus the adversary on where the model has the most room to improve.

Experimental Setup

The researchers evaluated their method on two major benchmarks:

  1. TED Talk Corpus: 58 languages, including "Related" subsets (e.g., Azeri, Belarusian) and "Diverse" subsets (e.g., Bosnian, Marathi, Hindi, Korean).
  2. WMT Dataset: A larger-scale set featuring high-resource languages (German, French) and low-resource languages (Tamil, Turkish).

Results

χ-IBR consistently outperformed both standard ERM and MultiDDS (a complex meta-learning baseline) across almost all language pairs. On the WMT dataset, χ-IBR achieved an average BLEU score of 25.06 (any-to-English), compared to 23.99 for standard ERM.

Figure 4: Translation quality improvements (ΔBLEU) for low and high-resource languages across different datasets for both any-to-English and English-to-any directions.

One of the most surprising findings was that better balancing didn't just help the "poor" languages—it often improved the "rich" ones too. This suggests that by forcing the model to learn difficult or rare patterns, it develops better internal representations that facilitate "cross-lingual transfer" back to high-resource tasks.

Discussion and Conclusion

Unlike fixed heuristics, the "adversary" in χ-IBR changes its strategy as the model learns. It might focus on a difficult high-resource language early on and shift to a low-resource language later. The adversary doesn't just look at how much data a language has; it looks at the actual loss. For example, the model might struggle with Korean (typologically distant from English) more than a lower-resource but "easier" language. χ-IBR catches this; manual sampling does not.

While χ-IBR works well for language-level groups, extending this to even more granular groups (like specific domains or dialects) remains an open challenge. Additionally, the choice of the "baseline loss" is important; using a poor baseline can lead the model to overfit on tiny datasets. Future work could involve learning these baselines dynamically.

Summary updated

BibTeX
@inproceedings{zhou2021distributionally,
  author = {Chunting Zhou and Daniel Levy and Xian Li and Marjan Ghazvininejad and Graham Neubig},
  title = {{Distributionally Robust Multilingual Machine Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.458},
}
Figure