How to Learn in a Noisy World? Self-Correcting the Real-World Data Noise on Machine Translation

Yan Meng, Di Wu, Christof MonzarXiv 2024 · OpenReview

Abstract

Massive web-mined parallel datasets are the lifeblood of modern Neural Machine Translation (NMT), yet they are frequently contaminated by semantic misalignment. This noise poses a significant challenge to training robust systems. In this paper, we investigate the impact of realistic, hard-to-detect misalignment noise by proposing a simulation process controlled by semantic similarity. Our analysis reveals that traditional pre-filters often fail to capture these subtle errors, necessitating more granular handling of data noise. We introduce a self-correction approach that leverages a model's evolving "self-knowledge" to revise training supervision over time. By utilizing the Error L2-Norm (el2n) metric and a dynamic trust schedule, our method significantly improves performance across eight translation tasks, particularly in low-resource and high-noise scenarios.

Introduction

The "garbage in, garbage out" principle remains a primary hurdle for NMT. While web-crawling provides the scale necessary for deep learning, it introduces semantic misalignment—sentence pairs that are linguistically related but semantically distinct. For example, a German sentence regarding a "hunting accident" might be incorrectly paired with an English sentence about "alcohol poisoning."

Existing strategies to combat this typically fall into two categories: pre-filtering (deleting suspicious pairs before training) and data truncation (ignoring high-loss tokens during training). However, pre-filters often miss "hard noise" that shares partial semantic overlap, and truncation can be detrimental in low-resource settings where every token provides critical linguistic signal. This paper proposes a shift from discarding data to revising it through a self-correction mechanism.

Methodology

1. Realistic Noise Simulation

Standard research often simulates noise by randomly shuffling sentences, a method that creates easily detectable outliers. To better mimic real-world web-mined data, we developed a simulation process that selects misaligned targets based on semantic similarity. This creates "hard noise" that challenges both human annotators and automated filters, providing a more rigorous testing ground for NMT robustness.

2. The Self-Correction Framework

Our core contribution is a mechanism that allows the model to "edit its own textbook" as it learns. This is achieved through three key components:

  • The el2n Metric: Rather than relying on simple training loss, which can be ambiguous, we use the Error L2-Norm (el2n). This metric measures the distance between the model’s full probability distribution and the ground truth. As training progresses, the el2n distributions for clean and noisy data diverge significantly, making it a superior indicator of misalignment.
  • Dynamic Trust Schedule: A model is initially "naive" and must trust the provided ground truth to learn basic linguistic structures. As the model’s confidence grows, the system gradually shifts its trust from the potentially noisy ground truth toward the model’s own predictions.
  • Softmax Sharpening: To ensure the model provides clear supervision during the correction phase, we apply a dynamic temperature $\tau$ to sharpen its probability distributions, preventing the revised labels from becoming overly diffuse.

Experimental Results

Performance on Real-World Data

We evaluated our approach on both synthetic datasets (WMT2017) and real-world web-mined corpora, including ParaCrawl V7.1 and CCAligned V1.0. The experiments covered seven language pairs, including low-resource languages like Swahili, Khmer, and Belarusian.

Our self-correction method achieved gains of up to 2.1 BLEU points over standard baselines. Notably, it consistently outperformed established pre-filters like LASER and COMET. In high-noise environments (e.g., 50% simulated noise), the method remained robust, whereas traditional truncation methods often saw performance degradation due to excessive data loss.

The Value of Revision

In low-resource settings, the advantage of self-correction became even more apparent. While truncation methods often throw away valuable vocabulary signals hidden within noisy sentences, self-correction retains the sentence structure while adjusting the target labels to match the model's emerging understanding of the language. This allows the model to extract maximal information from every available pair.

Discussion and Limitations

While self-correction offers a powerful alternative to filtering, it is not without limitations. The method relies on an initial phase of "clean" learning; if the starting data is excessively noisy, the model may fail to develop the foundational self-knowledge required to begin correcting itself (Early Stage Bias). Additionally, calculating el2n and managing dynamic schedules introduces slight computational overhead compared to static filtering.

Future work will explore the applicability of self-correction in other generative domains, such as text summarization and creative writing, where the definition of "ground truth" is often even more fluid than in translation.

Conclusion

By moving beyond simple data exclusion, self-correction allows NMT models to navigate the inherent noise of the web. By leveraging the el2n metric and a dynamic trust schedule, we demonstrate that models can effectively use their own internal logic to refine noisy supervision, leading to more accurate and robust translation systems in the real world.

Summary updated

BibTeX
@misc{meng2024how,
  author = {Yan Meng and Di Wu and Christof Monz},
  title = {{How to Learn in a Noisy World? Self-Correcting the Real-World Data Noise on Machine Translation}},
  year = {2024},
  eprint = {2407.02208},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.02208},
}
Figure