Introduction
Standard self-training for Neural Machine Translation (NMT) often relies on randomly sampling monolingual data, which is inefficient. This paper proposes an uncertainty-based sampling strategy that selects the most "informative" sentences—those the model is least confident about—while penalizing extremely noisy outliers. This approach leads to significant gains in translation quality and rare-word prediction.
In NMT, "self-training" is a popular data augmentation technique: a large corpus of monolingual source text is translated using a "teacher" model to create synthetic parallel data, and then a "student" model is trained on the combined set. The bottleneck is that monolingual data is often massive, making it computationally expensive to translate everything. Random sampling is sub-optimal because randomly selected sentences often follow "easy" patterns the model already knows. To improve, the student model needs "informative" examples—sentences that are difficult or ambiguous—to fill gaps in its knowledge.
Uncertainty-Based Sampling (UNCSAMP)
The authors introduce a way to measure the uncertainty of a monolingual sentence without needing a reference translation.
- Bilingual Dictionary Extraction: Using existing authentic parallel data (bitext) and word-alignment tools, they build a bilingual dictionary mapping source words to target words with associated probabilities.
- Uncertainty Metric: For any monolingual sentence, uncertainty is calculated by averaging the word-level entropy of its constituent words based on the dictionary. High entropy signals complex or ambiguous patterns.
- Sampling Strategy: The authors found that the most uncertain sentences often result in poor-quality translations from the teacher, causing "confirmation bias." They implement a penalty for sentences exceeding a maximum uncertainty threshold and use a power rate to sharpen the distribution toward high-uncertainty but "translatable" sentences.
The "Goldilocks" Zone of Difficulty
There is a clear relationship between uncertainty and performance. Training on "easy" (low uncertainty) sentences provides negligible gains. Training on "uncertain" sentences provides the most benefit. However, "excessively uncertain" sentences actually hurt performance because the teacher model's translations become too unreliable. This creates a "Goldilocks" zone where moderate-to-high uncertainty is ideal.
Linguistic Correlations
High-uncertainty sentences tend to be longer and contain significantly more rare words. By focusing on these, the model naturally improves its handling of the "long tail" of language. Analysis shows that as uncertainty increases, sentence length and word rarity also increase, while coverage tends to decrease.
Key Results
The proposed UNCSAMP method consistently outperformed random sampling (RANDSAMP) and other sophisticated baselines across large-scale benchmarks like WMT En⇒De and En⇒Zh.
- En⇒De: Achieved a +1.1 BLEU improvement over random sampling using a Transformer-Big model.
- En⇒Zh: Achieved a +0.6 BLEU improvement over random sampling.
- Targeted Improvement: For "high-uncertainty" test sentences, the approach showed a 10.9% relative improvement in BLEU over the baseline.
- Rare Words: The method significantly boosted the prediction accuracy (F-measure) of low-frequency words on the target side.
Conclusion and Future Work
While the sampling strategy is smarter, the student remains limited by the teacher's quality. If the teacher is weak, the synthetic data will be weak. Additionally, the method relies on a bilingual dictionary derived from word alignments, which may be less reliable in very low-resource scenarios. Future work may explore how different decoding strategies interact with uncertainty-based selection to further reduce confirmation bias.
Summary updated