Abstract
Multilingual Neural Machine Translation (NMT) models are designed to translate between many languages using a single shared model. However, their "zero-shot" performance—translating between language pairs never seen together during training—is often remarkably poor. This paper identifies "positional correspondence" as a key bottleneck, where residual connections in the Transformer encoder force representations to remain tied to source-language word order. By removing residual connections in a single middle encoder layer, the authors achieve massive improvements in zero-shot quality, reaching gains of up to 18.5 BLEU points while maintaining supervised performance.
The Problem: Positional Correspondence
In a standard Transformer architecture, residual connections ($x + \text{Sublayer}(x)$) ensure that the $i$-th output of an encoder layer is heavily influenced by the $i$-th input token. While beneficial for gradient flow, this creates a "positional anchor" that forces the encoder to preserve the source language's specific word order.
Because different languages utilize different syntactic structures, these representations remain "language-specific." When a decoder trained on English-centric data encounters these structures during a zero-shot task (e.g., Dutch to Romanian), it often fails to generalize, frequently defaulting to the wrong target language (usually English).
Methodology: Architectural Disentanglement
The researchers from Maastricht University and Facebook AI propose "disentangling" this positional information through targeted architectural modifications in the middle of the encoder stack.
1. Removing Residual Connections
The primary intervention involves dropping the residual connection in the multi-head attention sub-layer of one middle encoder layer. This "breaks" the direct positional chain, allowing the model to reorder information and create a more abstract, semantic representation.
2. Position-Based Attention Queries
In standard self-attention, the "Query" is a projection of input tokens. The authors experimented with replacing these with fixed sinusoidal positional encodings. This forces the model to "pull" information from the input based on the requirements of the output position, rather than passively following the input sequence.
3. The "Middle Layer" Hypothesis
Crucially, these changes are most effective when applied to the middle of the encoder (e.g., layer 3 of a 5-layer stack). The bottom layers must remain position-aware to process raw input, while the top layers must stay stable to interface correctly with the decoder.
Experimental Setup and Results
The approach was evaluated across three diverse scenarios: IWSLT 2017 (multiway-aligned), Europarl v7 (high-resource), and PMIndia (low-resource, diverse scripts).
Massive BLEU Gains
On the Europarl dataset, zero-shot performance saw a dramatic jump from 8.2 to 26.7 BLEU. In many instances, this direct zero-shot approach outperformed "pivoting" (translating through English), which is the current industry standard but requires significantly more computation.
Representational Analysis
To verify that the model was indeed becoming more language-agnostic, the authors used Singular Vector Canonical Correlation Analysis (SVCCA) and language classifiers.
The analysis confirmed that hidden states in the modified model were significantly harder to identify by language, proving that the identity of the source language had been successfully "disentangled" from the underlying meaning.
Conclusion and Future Work
By addressing the "residual trap," this research provides a simple yet powerful method for improving zero-shot NMT. While very low-resource languages with different scripts (like those in PMIndia) still require heavy regularization such as variational dropout, the disentanglement of positional information represents a significant advancement in creating truly universal translation models. Future work will focus on further reducing "off-target" translations where the model occasionally outputs the wrong language.
Summary updated