Synthetic and Natural Noise Both Break Neural Machine Translation

Yonatan Belinkov, Yonatan Bisk · OpenReview

Abstract

Character-based neural machine translation (NMT) models alleviate out-of-vocabulary issues, learn morphology, and move us closer to completely end-to-end translation systems. Unfortunately, they are also very brittle and easily falter when presented with noisy data. In this paper, we confront NMT models with synthetic and natural sources of noise. We find that state-of-the-art models fail to translate even moderately noisy texts that humans have no trouble comprehending. We explore two approaches to increase model robustness: structure-invariant word representations and robust training on noisy texts. We find that a model based on a character convolutional neural network is able to simultaneously learn representations robust to multiple kinds of noise.

Introduction

Humans possess a remarkable ability to process noisy text. Whether it is a simple typo or a complex scrambling of internal letters, human readers can often maintain comprehension. In contrast, modern Neural Machine Translation (NMT) systems, which achieve state-of-the-art performance on clean, professionally edited corpora, exhibit extreme fragility. When these systems encounter real-world noise—such as keyboard slips or misspellings—their performance often collapses into unintelligible output. This study quantifies this fragility across various architectures and explores methods to bridge the gap between human and machine robustness.

Methodology

The researchers evaluated three primary NMT architectures: Char2Char (a fully character-level model), Nematus (a sub-word unit model using Byte-Pair Encoding), and CharCNN (a model utilizing a Convolutional Neural Network over characters to generate word embeddings).

These models were tested against synthetic noise (Swap, Mid, Rand, and Keyboard typos) and natural noise sourced from real-world human errors, such as Wikipedia edits and language learner essays across French (FR), German (DE), and Czech (CS). To improve robustness, the authors investigated structure-invariant representations and adversarial training on noisy datasets.

The Fragility of NMT Systems

A core finding of the research is the extreme sensitivity of standard NMT models to even minor perturbations. Even character-based models, which theoretically process every letter, are highly dependent on character order. As the percentage of noisy tokens in the input increases, translation quality, measured by BLEU scores, drops precipitously.

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

For instance, a vanilla French CharCNN model's BLEU score plummeted from 42.54 on clean text to 1.71 on randomized text. Commercial systems like Google Translate similarly struggled, showing over 60% performance drops when faced with natural human errors.

Mechanisms of Robustness: The CharCNN

The study identifies the character-level CNN as a uniquely capable architecture for learning robustness. When trained on an "ensemble" of noise types, the CNN filters adapt their internal representations. Specifically, when faced with scrambled text, the filters learn to have low variance, effectively "averaging" character information to become order-invariant.

Variance of CNN filter activations across different noise types and languages, illustrating how the model adapts to different error patterns.

Training on a diverse mix of noise (Ensemble training) proved significantly more effective than training on a single noise type. The robust CharCNN was even able to translate the famous scrambled "Cambridge University" meme into coherent English, a task where standard models produced nonsense.

Conclusion

While adversarial training and CNN architectures provide a path toward robustness, natural noise remains a significant challenge. Synthetic noise models do not yet fully capture the phonetic and linguistic complexities of human error. Future research should focus on linguistically informed noise generation to create NMT systems that truly mirror the resilient nature of human language processing.

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