Dynamically Composing Domain-Data Selection with Clean-Data Selection by "Co-Curricular Learning" for Neural Machine Translation

Wei Wang, Isaac Caswell, Ciprian Chelba

Introduction

The performance of Neural Machine Translation (NMT) systems has historically scaled with the volume of training data. However, as researchers move toward massive, web-crawled datasets like Paracrawl, the quality of individual sentence pairs becomes highly variable. These datasets present a dual challenge: they are often "noisy"—containing misalignments or non-linguistic artifacts—and they frequently exhibit a "domain mismatch" with the intended target task.

This paper introduces Co-Curricular Learning, a dynamic framework designed to navigate these two dimensions simultaneously. By treating data selection as a multi-objective optimization problem and employing an iterative refinement process, the authors demonstrate significant improvements in translation quality on large-scale, real-world data.

The Dual Challenge: Noise and Domain Mismatch

In traditional NMT pipelines, data selection is often treated as a static preprocessing step. However, web-scraped data is inherently unpredictable.

  1. Domain Mismatch: A model trained on general web text may struggle with specialized terminology in domains like medicine or law.
  2. Noise: Scraped data is frequently "dirty," containing untranslated segments, gibberish, or incorrect pairings.

While Curriculum Learning (CL) has been used to introduce "easier" or "cleaner" examples first, most existing methods treat domain and noise as independent variables. This paper argues that these dimensions interact dynamically. For instance, selecting for domain relevance without filtering for noise can lead a model to learn domain-specific vocabulary from corrupted examples, undermining its overall accuracy.

Methodology: Co-Curricular Learning

The core contribution of this work is the "co-curriculum," which fuses independent data selection schedules. The authors explored two primary architectures for this fusion:

  • Mixed Co-Curriculum: A simple additive approach where scores from domain-relevance and denoising models are combined.
  • Cascaded Co-Curriculum: A hierarchical approach where the system first filters for a baseline of cleanliness and then selects for domain relevance from that refined subset.

The cascaded approach proved superior, suggesting that data quality is hierarchical; a certain level of "cleanliness" is required before domain-specific nuances can be effectively learned.

EM-Style Optimization

To further refine the selection process, the authors implemented an Expectation-Maximization (EM) style procedure. In this loop, the NMT model's own performance is used to iteratively improve the denoising scorer. This creates a bootstrapping effect: higher-quality data selection produces a better model, which in turn becomes more adept at identifying noise in the next iteration.

The EM-style optimization procedure for iteratively refining the denoising scorer and the NMT model.

Experimental Setup and Results

The researchers evaluated Co-Curricular Learning using the Paracrawl English→French dataset (300 million pairs) and the WMT14 English→French dataset (40 million pairs). They tested the resulting models on two distinct domains: IWSLT15 (TED talks) and WMT14 (news articles).

Performance Gains

The co-curricular framework yielded substantial improvements in translation quality across the board. On the noisy Paracrawl dataset, the method improved the baseline by over 2.5 BLEU points and outperformed standard domain-selection techniques by 1.4 to 1.6 BLEU points.

One of the most striking results was observed with shallow models (3 layers). For these smaller architectures, which are typically more sensitive to data noise, the EM-style optimization led to a massive jump of 8–10 BLEU points compared to the baseline.

BLEU score improvements across successive EM iterations for the IWSLT15 and WMT14 test sets.

Closing the Oracle Gap

A key finding of the study was that the co-curriculum approach performed nearly as well as "Oracle" systems. These Oracle systems are trained on perfectly clean, in-domain data—a resource that is typically unavailable or prohibitively expensive in real-world applications. By effectively "cleaning" and "sorting" the noisy web data, the proposed method bridges the gap between massive, noisy datasets and high-quality, curated corpora.

Discussion and Insights

The study revealed several critical insights into the nature of data selection in NMT:

  • Regularization Effect: The iterative bootstrapping process acts as a form of regularization. By smoothing the data schedule, it prevents models from overfitting to noisy patterns early in training.
  • Data-Quality Transfer: The authors observed that a curriculum optimized for one domain often improves data relevance for others. This suggests that the "denoising" component of the curriculum provides a universal benefit that amplifies the effectiveness of domain-specific learning.

Conclusion

Co-Curricular Learning offers a powerful solution for training NMT models on the vast but messy landscape of web-crawled data. By dynamically composing domain and cleanliness criteria, the framework allows models to learn more efficiently and accurately. Future research may extend this framework to multitask learning environments, where models must navigate multiple domains and data qualities simultaneously without human intervention.

Summary updated

BibTeX
@inproceedings{wang2019dynamically,
  author = {Wei Wang and Isaac Caswell and Ciprian Chelba},
  title = {{Dynamically Composing Domain-Data Selection with Clean-Data Selection by "Co-Curricular Learning" for Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1123},
}
Figure