Introduction
Standard Neural Machine Translation (NMT) models are typically trained using Maximum Likelihood Estimation (MLE). While effective, MLE suffers from two primary limitations: exposure bias and objective mismatch. Exposure bias occurs because the model is trained on ground-truth words but must rely on its own previous predictions during inference. Objective mismatch arises because MLE optimizes for word-level accuracy, whereas the ultimate goal is high-quality sentence-level translation. While metrics like BLEU are used for evaluation, they are often too rigid to capture semantic nuances.
To address these issues, this paper introduces Adversarial-NMT, a novel training paradigm that leverages the adversarial framework popularized by Generative Adversarial Networks (GANs). By co-training a translation model (the generator) with a 2D-CNN (the adversary), the system learns to produce translations that are indistinguishable from human-written ones.
The Adversarial-NMT Framework
The proposed framework consists of two competing modules: a Generator ($G$) and an Adversary ($D$). The Generator is a standard RNN-based encoder-decoder model with an attention mechanism, tasked with producing a translation $y'$ given a source sentence $x$. The Adversary is an elaborately designed 2D Convolutional Neural Network (CNN) that evaluates the quality of the generated translation.
The goal of the generator is to produce translations high-quality enough to "fool" the adversary into believing they are human-generated. Conversely, the adversary is trained to distinguish between machine-generated hypotheses and human-written reference translations.
The 2D-CNN Adversary
A key innovation of this work is the design of the adversary. Unlike previous approaches that used separate CNNs for source and target sentences, this model constructs an "image-like" representation by concatenating word embeddings of the source and target sentences. This allows the CNN to capture the direct interaction and alignment between word pairs across languages in its early layers.
By operating on this interaction space, the adversary can judge if the translation accurately reflects the meaning of the source sentence, rather than merely checking for fluency in the target language. This provides a "smoother" and more semantically aware reward signal compared to rigid n-gram metrics like BLEU.
Training via Reinforcement Learning
Because text generation involves discrete tokens, standard backpropagation cannot be used to train the generator through the discriminator. Instead, the authors employ Reinforcement Learning (REINFORCE). In this setup, the generator acts as an agent, the translation is the action, and the reward is the probability assigned by the adversary that the translation is human-made.
To ensure training stability, several strategies are implemented:
- Pre-training: Both $G$ and $D$ are pre-trained on standard datasets before adversarial training begins.
- Mixed Objectives: During training, the model randomly alternates between the adversarial objective and the standard MLE objective to prevent the reinforcement learning process from diverging.
- Moving Average Baseline: A moving average of historical rewards is used to reduce the high variance typically associated with policy gradient methods.
Experimental Results
The authors evaluated Adversarial-NMT on two major benchmarks: English-to-French (En$\rightarrow$Fr) using a subset of the WMT 2014 corpus, and German-to-English (De$\rightarrow$En) using the IWSLT 2014 dataset.
On the En$\rightarrow$Fr task, Adversarial-NMT achieved a BLEU score of 34.78, significantly outperforming strong baselines such as Minimum Risk Training (MRT). Beyond automated metrics, a blind human evaluation study on Amazon Mechanical Turk revealed that evaluators preferred Adversarial-NMT translations over MRT translations 59.4% of the time. Furthermore, the training process proved efficient; the adversarial approach required approximately 20 hours on the De$\rightarrow$En task, outperforming other RL-based NMT methods.
Conclusion and Future Work
Adversarial-NMT demonstrates that incorporating an adversarial objective can lead to more natural and accurate translations by bridging the gap between word-level optimization and sentence-level quality. The interaction-based 2D CNN adversary provides a sophisticated mechanism for evaluating cross-lingual alignment.
Future research directions include scaling the model to larger vocabularies using sub-word units like Byte Pair Encoding (BPE) and applying the adversarial framework to modern self-attention architectures like the Transformer. Additionally, the interaction-based adversary holds promise for other sequence-to-sequence tasks, such as document summarization and image captioning.
Summary updated