Dynamic Data Selection for Neural Machine Translation

Marlies van der Wees, Arianna Bisazza, Christof Monz

Abstract

Intelligent selection of training data has proven a successful technique to simultaneously increase training efficiency and translation performance for phrase-based machine translation (PBMT). With the recent increase in popularity of neural machine translation (NMT), we explore in this paper to what extent and how NMT can also benefit from data selection. While state-of-the-art data selection (Axelrod et al., 2011) consistently performs well for PBMT, we show that gains are substantially lower for NMT. Next, we introduce dynamic data selection for NMT, a method in which we vary the selected subset of training data between different training epochs. Our experiments show that the best results are achieved when applying a technique we call gradual fine-tuning, with improvements up to +2.6 BLEU over the original data selection approach and up to +3.1 BLEU over a general baseline.

Introduction

In the domain of Phrase-Based Machine Translation (PBMT), data selection is a standard technique used to optimize models by training on a small, high-quality subset of a larger, often noisy, general corpus. This approach typically yields smaller, faster models with minimal impact on quality. However, Neural Machine Translation (NMT) is significantly more sensitive to data volume and diversity. Early experiments indicated that applying static data selection to NMT—where a fixed subset is used throughout training—often leads to a substantial drop in performance. NMT requires a broad vocabulary and high data density to effectively learn word embeddings and attention mechanisms. This research aims to bridge this gap, providing the efficiency of data selection without the performance penalties inherent in NMT.

Methodology: Dynamic Data Selection

The authors propose a shift from "static" selection to "dynamic" selection. Instead of using a single fixed subset, the training data is varied across epochs. Sentences are ranked using Bilingual Cross-Entropy Difference (CED), which scores the relevance of general corpus sentence pairs to a specific target domain (e.g., medical text or movie subtitles).

Two primary dynamic strategies are explored:

  1. Sampling: In each epoch, the model is trained on a new subset of data sampled according to relevance scores. This ensures the model eventually sees the majority of the data while focusing on the most relevant portions.
  2. Gradual Fine-tuning: This is the core contribution of the paper. The model begins training on the full dataset (or a large portion of it). Every few epochs, the training set is reduced, retaining only the top-ranked sentences. By the final stages of training, the model focuses exclusively on a highly concentrated, domain-relevant subset.
Overview of dynamic data selection strategies: sampling and gradual fine-tuning.

Experimental Results

The effectiveness of these methods was tested on a German→English translation task across four distinct domains: EMEA (medical), Movies, TED talks, and WMT (news).

Initial results using static selection (Axelrod et al., 2011) highlighted the challenge for NMT. As shown in the performance charts below, while PBMT often exceeds its baseline with a small fraction of data, NMT performance typically lags behind the full-data baseline until a significant portion of the bitext is included.

BLEU scores across four domains comparing NMT and PBMT with various static data selection strategies.

The introduction of gradual fine-tuning significantly altered these dynamics. Key findings include:

  • Performance Gains: Gradual fine-tuning outperformed static selection by up to +2.6 BLEU and exceeded the full-data baseline by up to +3.1 BLEU (specifically in the TED talks domain).
  • Efficiency: The most effective models reached peak performance in approximately 18–20% of the training time required for the complete-bitext baseline.
  • Vocabulary Coverage: Dynamic methods significantly improved the coverage of the test set vocabulary compared to static selection, preventing the model from overfitting to a narrow subset too early.

Conclusion

Dynamic data selection, particularly through gradual fine-tuning, acts as an implicit curriculum for NMT. It allows the model to learn general language features in early epochs ("exploration") before specializing in domain-specific patterns ("exploitation"). While the method is highly effective for specialized domains, its impact is more limited in broad domains like news (WMT), where the distinction between relevant and irrelevant data is less clear. Future work may involve automating the tuning of data retention rates and applying these dynamic selection principles to modern Transformer-based architectures.

Summary updated

BibTeX
@inproceedings{wees2017dynamic,
  author = {Marlies van der Wees and Arianna Bisazza and Christof Monz},
  title = {{Dynamic Data Selection for Neural Machine Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1147},
}
Figure