This paper from researchers at eBay and RWTH Aachen University tackles a persistent challenge in Neural Machine Translation (NMT): how to effectively translate between language pairs that lack direct training data (e.g., French to Czech) by using a "pivot" language (usually English).
TL;DR
The authors propose a novel end-to-end training framework for pivot-based translation that uses Reinforcement Learning (RL) to optimize the source-to-pivot model based on the final target-language performance. By incorporating a Non-Autoregressive Transformer (NAT), they overcome the computational bottlenecks of traditional joint training, allowing the system to learn from direct source-to-target feedback for the first time.
What Problem Does This Paper Address?
Translating between "low-resource" language pairs often requires a two-step process: translate from the source to a pivot language (Source $\rightarrow$ Pivot), then from the pivot to the target (Pivot $\rightarrow$ Target).
Standard approaches treat these as two independent tasks. However, this creates a "mismatch" problem: the Source $\rightarrow$ Pivot model is optimized to produce high-quality pivot text, not necessarily text that is easy for the second model to translate.
Technically, training these models jointly is difficult for two reasons:
- The Gradient Gap: You cannot propagate gradients through the discrete text (the "argmax" operation) generated by the first model.
- Computational Cost: Standard "autoregressive" models generate text one word at a time. Sampling enough hypotheses to perform Reinforcement Learning on a cascaded system would be prohibitively slow.
Methods
The authors introduce a two-pronged solution to enable joint optimization:
- Non-Autoregressive Pivot: They replace the standard autoregressive decoder in the Source $\rightarrow$ Pivot model with a Conditional Masked Language Model (CMLM). Unlike standard models, NATs generate all tokens in a sequence simultaneously. This makes sampling pivot hypotheses roughly 80 times faster than autoregressive models (73ms vs 5.7s per sample).
- Reinforcement Learning (REINFORCE): To bridge the gradient gap, they treat the Source $\rightarrow$ Pivot model as an agent in an RL setup. The model generates a pivot hypothesis, the Pivot $\rightarrow$ Target model translates it, and the system receives a "reward" based on how well the final translation matches the reference.
The architecture comparison is illustrated in Figure 1:
Datasets
The approach was validated on two non-English language pairs from the WMT 2019 translation task:
- French $\rightarrow$ German (Fr $\rightarrow$ De): 2.3M direct sentences.
- German $\rightarrow$ Czech (De $\rightarrow$ Cs): 230K direct sentences.
- Pivot Data: Large-scale pre-training was done on Source $\rightarrow$ English and English $\rightarrow$ Target pairs (ranging from 9M to 49M sentences).
Key Insights and Ideas
- The Pivot Quality Paradox: One of the most striking findings is that a better intermediate translation (higher Pivot BLEU) does not always lead to a better final translation (higher Target BLEU). As shown in Figure 2, the correlation between the two is surprisingly weak. This confirms that optimizing the first model specifically for the end task is necessary.
- Efficiency is Enabling: The move to NAT isn't just about speed; it's what makes RL training feasible. Without the parallel generation of the NAT, the "online" updates required for RL would take years of compute time.
- Reward Flexibility: The framework allows for different reward functions. While directly optimizing for BLEU scores yielded the best results, using Negative Cross-Entropy (Neg. CE) also showed significant improvements.
Key Results
The RL-tuned NAT models consistently outperformed the standard NAT pivot baselines:
- On French $\rightarrow$ German, RL improved the NAT baseline by up to 1.6 BLEU points.
- On German $\rightarrow$ Czech, improvements reached 0.9 BLEU points.
However, a significant "NAT tax" remains. Even with RL optimization, the NAT-based systems still lagged behind the traditional Autoregressive (AR) pivot baselines by about 0.5 to 0.8 BLEU points. This suggests that while the training method works, the underlying NAT architecture still has a performance gap to close compared to its autoregressive counterparts.
Limitations and Future Work
The primary limitation is the inherent performance gap of Non-Autoregressive models. While they are fast, they struggle to capture the complex dependencies that autoregressive models handle easily.
The authors suggest that future work should focus on:
- Improving length modeling and sampling strategies for the NAT components.
- Investigating ways to incorporate autoregressive models into the RL pipeline without the massive computational overhead.
- Applying this cascaded RL approach to other fields, such as speech translation, where hard decisions between components are currently a bottleneck.
Summary updated