Synthetic and Natural Noise Both Break Neural Machine Translation

Yonatan Belinkov, Yonatan Bisk

Introduction

While character-based Neural Machine Translation (NMT) models excel at handling complex grammar, morphology, and rare words, they are incredibly fragile. This paper demonstrates that even minor typos or letter swaps—which humans navigate with ease—can cause state-of-the-art translation systems to collapse. However, by training models on a diverse "ensemble" of synthetic and natural noise, researchers can build systems that are significantly more resilient to the messy reality of human language.

The Fragility of NMT Systems

Most NMT systems are trained on "clean" data, such as official proceedings or professionally translated subtitles. Consequently, they are "brittle": they assume every character is in its rightful place. In the real world, language is noisy, filled with typos, keyboard slips, and misspellings.

The authors point to the famous "Cambridge University" meme—where words remain readable to humans as long as the first and last letters are correct—to illustrate the robustness of human cognitive processing. In stark contrast, a system like Google Translate produces total gibberish when fed a noisy version of the same text. The gap between human robustness and machine fragility is the core challenge addressed in this research.

BLEU score degradation as the percentage of noisy tokens increases for Nematus and Char2Char models.

Architectures and Mitigation Strategies

The researchers tested three main NMT architectures:

  1. char2char: A model that maps sequences of characters directly to other characters.
  2. Nematus: A popular toolkit using Byte-Pair Encoding (BPE), which breaks words into sub-word units.
  3. charCNN: A model that uses a Convolutional Neural Network to create word representations from characters.

To fix the fragility of these systems, the authors explored two primary mitigation strategies:

  • Structure-Invariant Representations: They created a model called meanChar, which represents a word by simply averaging its character embeddings. Because it ignores order entirely, it is "immune" to scrambling, though it struggles with baseline translation quality.
  • Black-Box Adversarial Training: They "poisoned" the training data with various types of noise to teach the model how to handle errors. The most successful approach was Ensemble Training, where the model was exposed to a random mix of different noise types during training.

Experimental Setup and Datasets

The study focused on translating French, German, and Czech into English using the IWSLT 2016 (TED talks) corpus. They categorized noise into two groups:

  • Synthetic Noise: Created algorithmically (e.g., swapping adjacent letters, randomizing the middle of a word, or simulating keyboard typos).
  • Natural Noise: Harvested from real-world human errors found in Wikipedia edit histories (WiCoPaCo for French), language learner corpora (MERLIN and RWSE for German), and annotated essays (CzeSL for Czech).

Key Insights

  • The "Cambridge" Effect is a Machine's Nightmare: While humans barely slow down when reading scrambled text, NMT performance (measured by BLEU score) drops to near zero when words are fully randomized.
  • Natural Noise is "Smarter" than Synthetic Noise: Human errors aren't just random swaps. They are often phonetic (writing "zieht" instead of "sieht") or morphological (wrong verb conjugation). Models trained only on synthetic swaps fail to generalize to these "natural" human mistakes.
  • CNNs Can Learn to "Average": By analyzing the internal weights of the charCNN, the authors found that when trained on random noise, the filters learn to have very low variance. Essentially, the model learns to mathematically "sum" or "average" the characters in a word to find its meaning, effectively ignoring the scrambled order.
Variance of charCNN filters across different noise training conditions. Notice the low variance for random noise.
  • Ensembles are Essential: Training on just one type of noise (like keyboard typos) makes the model good at that specific error but leaves it vulnerable to others. A "multivitamins" approach—training on a mix of all noise types—provides the best overall protection.

Experimental Results

  • Baseline Collapse: On clean French-to-English text, the charCNN scored 42.54 BLEU. When the middle of words was randomized, that score plummeted to 9.71.
  • Commercial Vulnerability: Even Google Translate saw massive drops on natural noise, falling from 43.3 to 16.7 BLEU on French. Using a spell-checker helped but didn't close the gap, especially for morphologically complex languages like Czech.
  • The Power of Robust Training: A charCNN trained on an ensemble of noise types achieved an average score of 35.70 across all noise conditions in French, maintaining a respectable 36.97 even on clean text. This demonstrates that models can gain significant robustness without sacrificing much "vanilla" performance.

Limitations and Future Directions

The authors acknowledge that their synthetic noise generation is still quite primitive. It does not fully capture the phonetic or syntactic nuances of how humans actually make mistakes. They suggest that future work should focus on creating more "linguistically informed" artificial noise—simulating errors based on how words sound or how they are grammatically structured. Additionally, they note that natural noise datasets are currently too small and limited to a few languages, calling for the creation of larger, noisier benchmarks for the NMT community.

Summary updated

BibTeX
@inproceedings{belinkov2018synthetic,
  author = {Yonatan Belinkov and Yonatan Bisk},
  title = {{Synthetic and Natural Noise Both Break Neural Machine Translation}},
  booktitle = {International Conference on Learning Representations},
  year = {2018},
  url = {https://openreview.net/forum?id=BJ8vJebC-},
}
Figure