Abstract
Multilingual Neural Machine Translation (MNMT) models often struggle with "off-target" translation during zero-shot tasks, where the model fails to produce output in the requested target language. This paper investigates a "Guided Alignment" strategy that supervises cross-attention heads to focus on word alignments and input language tags. By incorporating $\alpha$-entmax for sparse attention, the proposed method significantly improves zero-shot performance and training stability across multiple benchmarks.
Introduction
Multilingual models are designed to handle translation across numerous language pairs within a single architecture. Typically trained on English-centric data, these models are expected to perform "zero-shot" translation between non-English pairs (e.g., French to German) without explicit parallel training data for those specific directions. However, standard MNMT architectures frequently suffer from two critical issues:
- Off-target translation: The model ignores the target language tag (e.g.,
<2de>) and defaults to a high-resource language like English. - Training Instability: Zero-shot performance can vary wildly between training runs using different random seeds, making results unpredictable.
Methodology: Guided Alignment
The authors propose supervising a specific cross-attention head (located in the 4th layer of a 6-layer Transformer decoder) to adhere to specific alignment patterns. This "Guided Alignment" aims to ground the decoder's generation process in the source text and the target language requirement.
Alignment Strategies
Three primary supervision flavors were evaluated:
- (a) Standard Word Alignment: The attention head is forced to map source tokens to their corresponding target tokens.
- (b) Language Label Alignment: Every target token is encouraged to attend to the language tag in the source sequence, serving as a constant reminder of the target language.
- (c) Union Alignment: A combination of both word and language tag alignment.
Sparse Attention with $\alpha$-entmax
To improve the effectiveness of supervision, the researchers replaced the standard softmax function in the supervised attention head with 1.5-entmax. Unlike softmax, which assigns non-zero probability to all tokens, entmax allows for exact zeros. This sparsity aligns better with the nature of word alignments, where a target word typically corresponds to only one or two source words, leading to a cleaner and more focused supervision signal.
Experimental Results
The method was tested on three benchmarks: TED Talks (small/imbalanced), WMT-2018 (high-resource), and OPUS-100 (massive/diverse).
Performance Gains
The "Union" strategy (Method C) yielded the most significant improvements. On the TED Talks dataset, zero-shot BLEU scores rose from a baseline of 6.81 to 11.94. Crucially, target language identification accuracy ($ACC_{zero}$) improved from 72.38% to 97.25%, effectively solving the off-target issue in this setting.
Enhanced Stability
A key finding was the reduction in variance. In WMT-2018 experiments, the standard deviation of BLEU scores across different random seeds dropped from 0.61 to 0.12. This suggests that alignment supervision makes the optimization landscape more robust for zero-shot directions.
Discussion and Conclusion
The results indicate that the language tag acts as a "North Star" for the decoder. Forcing the model to reference this tag at every generation step prevents it from "forgetting" the target language. While the method significantly mitigates off-target issues, challenges remain for extremely large-scale datasets like OPUS-100. Future research will explore the impact of this supervision on unsupervised attention heads and its performance in "complete" multilingual setups that include non-English parallel data.
Summary updated