Introduction
While pre-trained language models (PLMs) like BERT have revolutionized natural language processing, their integration into Neural Machine Translation (NMT) remains a complex challenge. Existing methodologies often rely on intricate initialization schemes or "BERT-fusing" techniques that inject PLM outputs into every layer of the NMT encoder. Furthermore, researchers face a trade-off between monolingual models, which offer deep linguistic knowledge but lack cross-lingual alignment, and multilingual models (e.g., mBERT, XLM-R), which suffer from the "curse of multilinguality"—diluted capacity across 100+ languages leading to sub-optimal translation performance.
This study investigates a simpler, more effective approach: leveraging a tailored bilingual model (BiBERT) combined with novel training strategies to achieve state-of-the-art (SOTA) results without architectural bloat.
Methodology
The proposed framework introduces three primary innovations designed to optimize the utility of contextualized embeddings for translation tasks.
1. BiBERT: The Bilingual Advantage
Instead of using monolingual or massively multilingual models, the authors developed BiBERT, a bilingual English-German BERT. Trained on the OSCAR corpus (approximately 146GB of English and 145GB of German text) with a shared vocabulary, BiBERT learns aligned representations across the language pair from the outset. This provides a "Goldilocks zone" of high-quality, task-specific alignment and depth.
2. Stochastic Layer Selection
Linguistic information is distributed across PLM layers, with lower layers capturing surface-level features and higher layers capturing semantic nuances. To prevent the NMT model from overfitting to a single layer's representation, the authors propose Stochastic Layer Selection. During training, one of the top $K$ layers is randomly selected for each batch. At inference, the average of these $K$ layers is used, providing a more robust and generalized representation.
3. Dual-Directional Translation
Utilizing BiBERT’s shared vocabulary, the researchers trained a single NMT model to handle both translation directions (En $\to$ De and De $\to$ En) simultaneously. This dual-directional training serves as a powerful form of data augmentation, forcing the encoder to build more versatile representations by processing the same sentences as both source and target.
Experimental Results
The models were evaluated on the IWSLT’14 (low-resource, 160K pairs) and WMT’14 (high-resource, 4.5M pairs) benchmarks. The results demonstrate that simply using BiBERT outputs as the input embedding layer—rather than fusing them into every encoder layer—is sufficient to surpass previous SOTA benchmarks.
Key Performance Metrics:
- IWSLT’14 (Low Resource): The model achieved 30.45 BLEU for En $\to$ De and 38.61 BLEU for De $\to$ En, significantly outperforming the previous SOTA of ~28.5 and 36.88, respectively.
- WMT’14 (High Resource): The approach reached 31.26 BLEU for En $\to$ De and 34.94 BLEU for De $\to$ En, establishing new benchmarks for models not utilizing back-translation.
Notably, the BiBERT-based model outperformed much larger models like XLM-R, despite XLM-R being trained on significantly more total data, highlighting the efficiency of bilingual specialization.
Discussion and Limitations
The success of Stochastic Layer Selection suggests that NMT encoders benefit from a "jittered" view of pre-trained representations, which prevents dependency on the specific quirks of a PLM's final layer. However, the approach has trade-offs. Training a dedicated BiBERT for every language pair is computationally expensive, and the use of a frozen BiBERT adds approximately 20% to training time and 13% to inference latency.
Future research may explore whether this approach scales to small clusters of languages (e.g., a trilingual BERT) to mitigate the computational cost of pair-specific models while avoiding the performance degradation seen in massively multilingual PLMs.
Summary updated