The UMD Neural Machine Translation Systems at WMT17 Bandit Learning Task

Amr Sharaf, Shi Feng, Khanh Nguyen, Kianté Brantley, Hal Daumé Iii

Abstract

We describe the University of Maryland machine translation systems submitted to the WMT17 German-English Bandit Learning Task. The task is to adapt a translation system to a new domain, using only bandit feedback: the system receives a German sentence to translate, produces an English sentence, and only gets a scalar score as feedback. Targeting these two challenges (adaptation and bandit learning), we built a standard neural machine translation system and extended it in two ways: (1) robust reinforcement learning techniques to learn effectively from the bandit feedback, and (2) domain adaptation using data selection from a large corpus of parallel data.

Introduction

Modern Neural Machine Translation (NMT) systems typically rely on massive supervised datasets of source-target pairs. However, real-world deployments often lack ground-truth references, receiving instead "bandit feedback"—scalar signals like user ratings. The WMT17 Bandit Learning Task formalizes this by requiring a system to adapt from general domains (news, parliamentary) to a specific e-commerce domain using only German source sentences and scalar rewards. The University of Maryland (UMD) system addresses this through a two-pronged approach: initial domain adaptation via data selection and subsequent online learning using Advantage Actor-Critic (A2C) reinforcement learning.

Domain Adaptation via Data Selection

Before engaging in bandit learning, the system must be initialized with a strong base model. UMD utilized the Moore and Lewis (2010) cross-entropy difference method for data selection. By training language models on a small set of in-domain (i.d.) monolingual data and a larger out-of-domain (o.o.d.) corpus, they scored and filtered the 4.5 million parallel sentences to retain only those most relevant to the e-commerce domain.

BLEU scores for various data selection configurations, demonstrating that filtering out-of-domain data improves performance.

As shown in the table above, "less is more" in domain adaptation. Training on a carefully filtered subset (e.g., 30% of the o.o.d. data with a 200k i.d. LM) yielded a score of 20.16 BLEU, significantly outperforming the 18.70 BLEU baseline trained on the full, unfiltered dataset. This filtering prevents the model from being overwhelmed by irrelevant stylistic or lexical distributions.

Reinforcement Learning with A2C

To learn from scalar feedback, UMD formulated translation as a Markov Decision Process and applied the Advantage Actor-Critic (A2C) algorithm. In this setup, the NMT model acts as the "actor" generating translations, while a separate attention-based model serves as the "critic" to predict expected rewards. The actor is updated using policy gradients based on the advantage—the difference between the actual reward received and the critic's prediction. This approach helps stabilize training by reducing the high variance inherent in standard policy gradient methods.

Results and Discussion

A critical observation in the RL phase is the "exploration dip." To discover higher-reward translations, the model must transition from greedy decoding to sampling from its probability distribution. This stochasticity initially causes a drop in translation quality.

BLEU score progression during A2C training, showing the initial exploration dip and subsequent recovery.

As illustrated in the figure above, the A2C model (orange) initially performs significantly worse than greedy decoding (blue) due to this forced exploration. However, after processing approximately 40,000 sentences of bandit feedback, the model recovers its performance and begins to show gradual improvements. This demonstrates that while RL is sample-inefficient, it can effectively leverage bandit signals to refine translation quality over time.

Limitations and Future Work

Despite the promising results in development, the official evaluation was hampered by implementation bugs in the batching logic, which caused sentences to be submitted out of order. Furthermore, the authors noted that the RL model's early performance might be slightly inflated due to the critic being pre-trained on development data. Future work includes investigating the scalability of RL to much larger bandit datasets and finding ways to integrate beam search—which provided a 0.5-0.7 BLEU boost in supervised settings—into the sampling-heavy RL framework.

Summary updated

Abstract

We describe the University of Maryland machine translation systems submitted to the WMT17 German-English Bandit Learning Task. The task is to adapt a translation system to a new domain, using only bandit feedback: the system receives a German sentence to translate, produces an English sentence, and only gets a scalar score as feedback. Targeting these two challenges (adaptation and bandit learning), we built a standard neural machine translation system and extended it in two ways: (1) robust reinforcement learning techniques to learn effectively from the bandit feedback, and (2) domain adaptation using data selection from a large corpus of parallel data.
BibTeX
@inproceedings{sharaf2017umd,
  author = {Amr Sharaf and Shi Feng and Khanh Nguyen and Kianté Brantley and Hal Daumé III},
  title = {{The UMD Neural Machine Translation Systems at WMT17 Bandit Learning Task}},
  booktitle = {WMT},
  year = {2017},
  doi = {10.18653/v1/w17-4778},
}
Figure