Learning Policies for Multilingual Training of Neural Machine Translation Systems

Gaurav Kumar, Philipp Koehn, Sanjeev KhudanpurarXiv 2021

Introduction

Training Neural Machine Translation (NMT) systems for low-resource languages is a significant challenge due to the scarcity of parallel corpora. Multilingual NMT (MNMT) addresses this by leveraging data from high-resource languages to improve performance on related low-resource pairs. However, the order and frequency with which different language pairs are presented to the model—the training curriculum—critically impact final performance. This paper investigates automated methods for learning these curricula, moving beyond static, hand-designed heuristics.

The Challenge of Observation Sparsity

Standard curriculum learning often relies on rigid upsampling or mixing strategies. While dynamic agents (like reinforcement learning agents) could theoretically learn better policies, they face "observation sparsity." A single NMT training run provides very few feedback signals for an agent to learn a robust sampling policy. This work explores how to overcome this sparsity to learn dynamic data-sampling policies from scratch.

Methodology

The authors frame curriculum learning as a selection task between two "bins": a high-resource pair (Hindi-English) and a low-resource pair (Nepali-English). Three primary strategies were evaluated:

  1. Grid-Search: A brute-force exploration of fixed sampling ratios (0% to 100%).
  2. Pruned Tree-Search: A dynamic approach where the training is divided into phases. The best sampling ratio for each phase is determined by searching and branching from the best previous model state.
  3. Contextual Multi-Arm Bandits (MABs): An RL approach where agents select bins based on the model's current state. To solve observation sparsity, the authors employ multiple concurrent MAB agents that pool their experiences.
The MAB-based training loop architecture, showing how agents select actions based on model observations and receive rewards from validation performance.

The MAB agents observe sentence-level log-likelihoods on a "prototype batch" and are rewarded based on improvements in validation perplexity.

Experimental Setup

The study utilized the FLORES dataset for Nepali-English (563K sentences) and the IIT Bombay corpus for Hindi-English (1.6M sentences). Performance was measured using BLEU scores on validation and test sets.

Key Results

The experimental results demonstrate that learned curricula can match or exceed established baselines. Notably, the MAB-learned curriculum achieved performance comparable to the strongest hand-tuned heuristics without requiring manual intervention.

Comparison of BLEU scores across various baselines, searched curricula, and agent-learned curricula.

Key findings include:

  • Baselines: Training solely on Nepali-English yielded 7.71 BLEU. A standard multilingual random baseline significantly improved this to 14.88 BLEU.
  • Agent Performance: The best MAB configuration (10 concurrent agents) reached 14.87 BLEU, effectively automating the discovery of a high-performing curriculum.
  • Fine-tuning Synergy: The highest overall score (15.10 BLEU) was achieved by using a searched curriculum as an initialization for subsequent fine-tuning on the low-resource language.

Conclusion and Future Work

This research proves that reinforcement learning agents can successfully learn data-sampling policies for MNMT when the observation sparsity problem is addressed through concurrent training. While simple static ratios remain strong, automated curricula offer a scalable path for massively multilingual models where manual tuning is infeasible. Future work will focus on extending these methods to systems with many more language pairs.

Summary updated

BibTeX
@misc{kumar2021learning,
  author = {Gaurav Kumar and Philipp Koehn and Sanjeev Khudanpur},
  title = {{Learning Policies for Multilingual Training of Neural Machine Translation Systems}},
  year = {2021},
  eprint = {2103.06964},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.06964},
}
Figure