Abstract
Modern machine translation (MT) systems are highly sensitive to orthographical errors, often failing when encountering real-world typos. This paper demonstrates that training models on a "synthetic noise cocktail"—specifically including character-level deletions and insertions—significantly enhances robustness to natural typos. Crucially, this improvement comes with minimal degradation in performance on clean text. While effective for spelling mistakes, the approach does not generalize to the stylistic variations found in social media text.
Introduction
Machine translation models are typically trained on perfectly edited corpora. However, real-world inputs, such as text from mobile devices, frequently contain spelling mistakes. Modern MT systems using subword tokenization (e.g., Byte-Pair Encoding) or character-level encoders are notoriously brittle to such noise; a single typo can alter tokenization and lead to catastrophic translation failure. Previous attempts to address this using synthetic noise like character swaps often failed to generalize to natural human typos or degraded performance on clean text.
Methodology
The authors employ a standard Transformer-based translation model with a CNN-based character encoder. The core innovation is a dynamic data augmentation strategy applied during training. For every token, there is a 60% probability it remains clean and a 10% probability for each of four character-level mutations:
- Deletion: Removing a random character.
- Insertion: Adding a random character.
- Substitution: Replacing a character with a random one.
- Swap: Swapping two adjacent characters.
Unlike prior work focusing on swaps and substitutions, this approach emphasizes deletions and insertions. These operations alter word length and character distances, presenting a unique and necessary challenge for character encoders to learn robust representations.
Experimental Results
The models were evaluated on clean text (IWSLT 2016) and naturally noisy text derived from Wikipedia edit histories and corrected essays across German (de), French (fr), and Czech (cs) to English (en).
As shown in the results, the baseline model's performance drops significantly when faced with natural noise. For example, in the German-English task with 100% noise probability, BLEU scores plummeted from 34.20 to 12.49. Training with synthetic noise recovered a massive portion of this loss, boosting the score to 23.34 (a 50% recovery). Importantly, performance on clean text remained stable, with fluctuations typically under 1 BLEU point.
Analysis: The Importance of Deletions and Insertions
A key insight of this research is that not all noise types are equally beneficial. Ablation studies revealed that character deletion is the most effective mutation for mimicking natural human errors, followed by insertion.
Prior failures in robustness research can likely be attributed to the omission of these specific noise types. By including them, the model learns to handle real-world typos without requiring a precise match of the natural noise distribution during training.
Discussion and Limitations
While the synthetic noise cocktail effectively addresses orthographical errors, it fails to improve performance on social media text (MTNT dataset). This suggests that social media "noise" is primarily a stylistic variation—involving slang, grammar changes, and new vocabulary—rather than simple spelling mistakes. Future work must address these higher-level stylistic deviations to achieve true robustness in informal contexts. Additionally, replacing random substitutions with keyboard-aware or phonetically-informed substitutions could further refine the model's performance.
Summary updated