Abstract
Neural Machine Translation (NMT) models are notoriously data-hungry, yet they are highly sensitive to the quality of the parallel corpora used for training. While high-quality human-annotated data is scarce, noisy "comparable corpora" are abundant. Standard approaches often involve aggressive filtering, which risks losing valuable linguistic information. This paper proposes a knowledge distillation framework that allows NMT models to learn from noisy data without performance degradation. By employing a teacher model trained on clean data to guide a student model trained on a mixture of clean and noisy data, we achieve significant BLEU score improvements across multiple language pairs.
Introduction
The performance of NMT systems depends heavily on the availability of large-scale parallel data. However, for most language pairs, the available data is often "noisy"—containing misalignments, partial translations, or non-linguistic noise. Previous research indicates that simply adding this noisy data to a training set can degrade model performance. While filtering techniques are commonly used to mitigate this, they are often complex and may discard useful linguistic context.
Methodology: Knowledge Distillation for Noisy Data
We propose a teacher-student framework based on Knowledge Distillation (KD) to "tame" noisy datasets. The process involves three main stages:
- Teacher Training: A standard NMT model is trained using only a small, high-quality "clean" dataset.
- Student Training: A second model (the student) is trained on a combined dataset consisting of both the clean data and the larger noisy corpus.
- Dual Loss Guidance: During training, the student minimizes a combined loss function. It aims to predict the ground-truth target words (Standard Loss) while simultaneously matching the probability distribution—the "soft targets"—produced by the teacher model for the same input (Distillation Loss).
By mimicking the teacher’s distribution, the student learns to identify which parts of the noisy data are reliable. The teacher’s soft labels act as a "sanity check," helping the student ignore errors in the noisy target labels while still benefiting from the broader vocabulary and syntactic variety present in the larger corpus.
Experimental Setup
The approach was evaluated on three language pairs with different data characteristics:
- Arabic-English: 325k clean pairs vs. 1.1M noisy pairs.
- Chinese-English: 550k clean pairs vs. 550k noisy pairs.
- German-English: 5.1M clean pairs vs. 5.1M noisy pairs (using raw Paracrawl data).
Key Results
The distillation approach consistently outperformed both clean-only baselines and naive data augmentation.
- Arabic-English: The KD approach achieved a BLEU score of 62.3, a +4.6 point gain over the clean-only baseline.
- Chinese-English: KD provided a +0.8 BLEU improvement, whereas naive addition of noisy data caused a -0.8 drop.
- German-English: In a high-noise scenario, KD recovered a -1.1 BLEU loss from standard training and yielded a +0.4 gain over the clean baseline.
The effectiveness of the method is sensitive to the weight ($\lambda$) assigned to the distillation loss versus the standard cross-entropy loss. As shown in the figures below, an optimal balance (typically around $\lambda=0.5$) is required to maximize translation quality.
Discussion and Insights
Knowledge distillation offers several advantages over traditional data cleaning:
- Information Preservation: Unlike filtering, distillation allows the model to retain noisy sentence pairs that might still contain useful linguistic features.
- Efficiency: Compared to back-translation, which requires expensive decoding of millions of sentences, distillation is a more direct regularization method during the training phase.
- Soft Labeling: The teacher's output provides a nuanced signal. If a target sentence is noisy, the teacher's low-confidence distribution prevents the student from overfitting to the error.
Limitations and Future Work
While effective, the current study was limited to LSTM-based architectures. Future work should explore the application of this framework to Transformer-based models. Additionally, the student's performance is inherently guided by the quality of the teacher; if the clean data is insufficient to train a strong teacher, the benefits of distillation may diminish. Combining distillation with intelligent filtering remains a promising avenue for further research.
Summary updated