Target Conditioned Sampling: Optimizing Data Selection for Multilingual Neural Machine Translation

Xinyi Wang, Graham Neubig

Abstract

Multilingual Neural Machine Translation (MNMT) leverages shared representations across languages to improve performance on low-resource languages (LRLs). However, the "curse of multilinguality" suggests that adding unrelated data can degrade performance through interference. We introduce Target Conditioned Sampling (TCS), a method that intelligently selects training data from multi-parallel corpora. By sampling target sentences and then conditionally selecting source sentences based on similarity to the LRL, TCS optimizes the training distribution. Our experiments on the TED 58-language dataset show improvements of up to 2 BLEU points over competitive baselines with minimal computational overhead.

Introduction

Neural Machine Translation (NMT) typically requires vast amounts of parallel data, which is unavailable for many of the world's languages. While multilingual training allows for cross-lingual transfer, simply pooling all available data often introduces noise from unrelated language pairs. For instance, training an Azerbaijani-English model might benefit from Turkish data but be hindered by unrelated languages like Vietnamese. The core challenge lies in identifying and selecting the most relevant data from a massive multilingual pool to support a specific LRL.

Target Conditioned Sampling (TCS)

The proposed TCS method addresses data selection by maintaining "target invariance." Since the goal is to optimize translation into a specific target language (e.g., English), the distribution of target sentences should remain consistent regardless of the source language.

TCS operates in two stages:

  1. Target Sampling: A target sentence is sampled from the available pool.
  2. Conditional Source Sampling: Given the target sentence, a source language is chosen from the set of available translations.

To guide the source selection, the authors employ similarity measures:

  • Vocab Overlap: Measures shared character n-grams between the candidate source and the LRL.
  • Language Models (LM): Evaluates the likelihood of a candidate source sentence using a small LM trained on the LRL.

Two variants were tested: TCS-Deterministic (TCS-D), which always picks the most similar source, and TCS-Stochastic (TCS-S), which samples sources based on a probability distribution derived from similarity scores.

Experimental Setup

The methodology was evaluated using the TED 58-language-to-English dataset. The study focused on four LRLs with varying data availability: Azerbaijani (aze), Belarusian (bel), Galician (glg), and Slovak (slk).

Table 1: Statistics for the low-resource languages (LRL) and their most related high-resource languages (HRL) used in the study.

Baselines included bilingual models (Bi), models trained on all 58 languages (All), and models using English-English "copied" data.

Results and Analysis

TCS consistently outperformed the baselines across the evaluated languages. Notably, TCS-S (Stochastic) using language-level similarity measures yielded the most significant gains.

Table 2: BLEU scores for various data selection methods. TCS-S with language-level similarity (LM-lang or Vocab-lang) consistently achieves the highest performance across all target languages.

Key findings include:

  • Language-level vs. Sentence-level: Similarity calculated at the language level proved more robust than sentence-level metrics, which were often too noisy in low-resource settings.
  • Superiority over "All" Baseline: Intelligently selecting data with TCS was more effective than using the entire 58-language corpus, confirming that data quality and relevance are more critical than sheer volume.
  • Efficiency: TCS adds negligible computational overhead compared to other data selection techniques that require extensive pre-training or complex scoring mechanisms.

Conclusion

Target Conditioned Sampling offers a simple yet effective way to optimize data selection for multilingual NMT. By focusing on target-side consistency and source-side similarity, it enables better knowledge transfer for low-resource languages. While currently dependent on multi-parallel data, future work could extend these principles to broader, non-parallel web-crawled corpora.

Summary updated

BibTeX
@inproceedings{wang2019target,
  author = {Xinyi Wang and Graham Neubig},
  title = {{Target Conditioned Sampling: Optimizing Data Selection for Multilingual Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1583},
}
Figure