The Missing Ingredient in Zero-Shot Neural Machine Translation

Naveen Arivazhagan, Ankur Bapna, Orhan Firat, Roee Aharoni, Melvin Johnson, Wolfgang MachereyarXiv 2019

Introduction

Multilingual Neural Machine Translation (NMT) aims to create a single model capable of translating between any language pair. While these models excel at supervised tasks where parallel data is abundant, they often struggle with "zero-shot" translation—translating between language pairs they have never seen together during training. Historically, zero-shot performance has lagged significantly behind "pivoting" (e.g., translating French to English, then English to German), which introduces higher latency and error propagation.

This research identifies the core cause of this failure: language entanglement. Even with shared parameters, a model's internal representations tend to remain tied to the specific source language. This paper proposes explicitly forcing the encoder to create language-invariant representations through auxiliary losses, effectively bridging the gap between zero-shot and pivot-based translation.

Methodology: Forcing Representational Invariance

The authors treat zero-shot translation as a domain adaptation problem, where the goal is to make the model "language-blind" in its internal state. To achieve this, they introduce an auxiliary loss term, $\Omega$, alongside the standard cross-entropy (CE) translation loss.

Proposed architecture featuring an auxiliary loss $\Omega$ to enforce language-invariant representations.

Two primary methods were tested for the auxiliary loss:

  1. Adversarial Loss: A discriminator network attempts to identify the source language from the encoder's output. The encoder is trained to "fool" this discriminator, thereby scrubbing language-specific markers from the latent space.
  2. Cosine Similarity Loss (Pool-Cosine): This method explicitly minimizes the distance between the representations of parallel sentences (e.g., an English sentence and its French translation). By ensuring that semantically identical sentences have nearly identical vectors, the model develops a true "interlingua."

Experimental Setup

The approach was evaluated on two major benchmarks:

  • WMT14 (En-Fr-De): A large-scale dataset with 158M sentence pairs, used to determine if zero-shot could achieve parity with pivoting.
  • IWSLT 2017: A multi-way parallel dataset of TED talk transcripts in five languages (English, Dutch, German, Italian, and Romanian), testing the scalability of the method across 20 translation directions.

Key Results and Discussion

The results demonstrate that explicit representational alignment is the "missing ingredient" for high-quality zero-shot translation. On the WMT14 German $\leftrightarrow$ French task, the proposed methods improved zero-shot performance by nearly 9 BLEU points, reaching parity with pivoting for the first time.

Comparison of translation performance (BLEU) across vanilla, adversarial, and pool-cosine multilingual systems.

As shown in the results table, both the adversarial and pool-cosine methods significantly outperform the vanilla multilingual baseline in zero-shot scenarios ($de \rightarrow fr$ and $fr \rightarrow de$). Notably, the Pool-Cosine method proved to be as effective as adversarial training while being more stable and easier to implement. Furthermore, these improvements did not come at the cost of supervised performance; the models maintained or slightly improved their accuracy on language pairs seen during training (e.g., $en \rightarrow fr$).

Conclusion

By decoupling meaning from language-specific noise, this research provides a path toward truly universal translation models. The simplicity of the Pool-Cosine loss suggests that representational invariance is a powerful and accessible tool for improving NMT generalization. Future work may explore more complex discriminators or the application of these techniques in settings without a dominant pivot language like English.

Summary updated

BibTeX
@misc{arivazhagan2019missing,
  author = {Naveen Arivazhagan and Ankur Bapna and Orhan Firat and Roee Aharoni and Melvin Johnson and Wolfgang Macherey},
  title = {{The Missing Ingredient in Zero-Shot Neural Machine Translation}},
  year = {2019},
  eprint = {1903.07091},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.07091},
}
Figure