Abstract
Modern Neural Machine Translation (NMT) systems, while highly effective, remain remarkably brittle to small input perturbations. This paper introduces AdvAug, a novel adversarial data augmentation method designed to enhance both the robustness and generalization of NMT models. By leveraging Vicinal Risk Minimization (VRM), AdvAug generates "virtual" training examples through smooth interpolations of adversarial examples in the continuous embedding space. Experimental results across multiple benchmarks demonstrate that AdvAug significantly outperforms standard Transformer baselines and existing adversarial training techniques, achieving gains of up to 4.9 BLEU points on Chinese-English translation without requiring additional training corpora.
Introduction
Despite the success of NMT, state-of-the-art models often fail when faced with minor variations in input, such as synonym replacements or small grammatical shifts. This lack of stability is primarily attributed to two factors: data scarcity, where training sets cannot encompass the vast space of possible sentence perturbations, and overfitting, where expressive NMT architectures memorize specific training pairs rather than learning robust semantic mappings.
Previous attempts to address this through discrete noise injection (e.g., word swaps) often result in unnatural sentences that may inadvertently alter the original meaning. AdvAug addresses these limitations by operating in the continuous embedding space to create a smooth "vicinity" of training data.
Methodology: Adversarial Interpolation
AdvAug is built on the principle of Vicinal Risk Minimization (VRM). Instead of training solely on discrete points in the dataset, the model is trained on a neighborhood (vicinity) around those points. The core innovation lies in the use of two specific vicinity distributions:
- Adversarial Vicinity ($P_{adv}$): The system identifies discrete adversarial examples using gradient-based methods to find words that confuse the model. It then interpolates between the embeddings of these adversarial variants to create a smooth search ball of virtual sentences.
- Authentic Vicinity ($P_{aut}$): Similar to the mixup technique, this involves interpolating between different authentic sentence pairs from the training set.
Technical Implementation
- Embedding Space Interpolation: By working in the continuous space, AdvAug allows for "fractional" word representations, creating a more stable training signal than discrete word replacements.
- Consistency Loss: The training objective minimizes the KL-divergence between the model’s predictions on virtual sentences and the original clean sentences, forcing the model to maintain semantic consistency.
- Curriculum Learning: To prevent the model from being overwhelmed by noise, a training schedule gradually increases the focus on difficult adversarial examples.
Experimental Results
The researchers evaluated AdvAug on three major benchmarks: NIST Chinese-English (1.2M pairs), IWSLT 2016 English-French (0.23M pairs), and WMT14 English-German (4.5M pairs).
Performance Gains
As shown in the table below, AdvAug provides substantial improvements over the standard Transformer and previous state-of-the-art adversarial methods. On the NIST Chinese-English task, the combination of $L_{aut} + L_{adv}$ yielded a peak improvement of 4.92 BLEU points (MT05) over the baseline.
Robustness and Overfitting
Beyond raw performance, AdvAug demonstrates superior resistance to overfitting. While standard NMT models often see performance degradation in later training stages, AdvAug models remain stable. Furthermore, when tested against synthetic noise (replacing 15% of words with synonyms), AdvAug maintained a BLEU score of 41.76, whereas the standard Transformer's performance dropped to 35.71.
Conclusion and Future Work
AdvAug represents a significant step forward in making NMT systems more robust and generalizable. By training on a smooth manifold of virtual adversarial examples, it effectively regularizes the model without the need for external data. While the method increases training time by approximately 3.3x due to gradient calculations, the resulting gains in translation quality and stability are substantial. Future research may explore the application of adversarial interpolation to other sequence-to-sequence tasks such as abstractive summarization and dialogue systems.
Summary updated