Self-supervised and Supervised Joint Training for Resource-rich Machine Translation

Yong Cheng, Wei Wang, Lu Jiang, Wolfgang Macherey

Introduction

While self-supervised pre-training has revolutionized low-resource machine translation, it often fails to move the needle for resource-rich languages. This paper introduces $F_2$-XEnDec, a novel single-stage joint training approach that "interbreeds" monolingual and parallel sentences using a crossover encoder-decoder. This method successfully unlocks the power of self-supervised learning for high-resource translation tasks, achieving a new state-of-the-art on the highly competitive WMT'14 English-French benchmark.

The Challenge of Resource-Rich Translation

In Neural Machine Translation (NMT), the standard recipe for leveraging unlabeled (monolingual) data is a two-stage process: pre-train the model on a massive monolingual corpus using a self-supervised objective (like denoising), then fine-tune it on labeled parallel data. This works wonders for low-resource languages.

However, in resource-rich scenarios—where millions of parallel sentences are already available—this two-stage approach falls flat. The model often suffers from catastrophic forgetting during fine-tuning, or the weak self-supervised signals are simply dominated by the massive amount of supervised data. The authors tackle the challenge of how to effectively combine self-supervised and supervised learning in a single stage so that abundant monolingual data can actually improve already-strong NMT models.

Methods: The Crossover Encoder-Decoder

To deeply fuse supervised and self-supervised signals, the authors propose a biologically inspired mechanism called the Crossover Encoder-Decoder (XEnDec). Instead of processing sentences independently, XEnDec takes two training examples (called "parents") and interbreeds them:

  1. Source Shuffling: It creates a new, virtual source sentence by randomly shuffling words from the two parent source sentences using a Bernoulli mask.
  2. Target Mixing: The decoder generates a virtual target sentence by mixing the embeddings of the parent target sentences, weighted by the attention/alignment matrices learned by the model.
Architecture of XEnDec and F2-XEnDec

The full training pipeline, $F_2$-XEnDec, operates in two "generations" during a single training stage:

  • $F_1$ Generation: Applies XEnDec to two different noisy views of the same monolingual sentence, creating a self-supervised loss.
  • $F_2$ Generation: Takes the output of $F_1$ and crosses it with a ground-truth parallel sentence, creating a deep, instance-level fusion of supervised and self-supervised signals.

The final model is optimized jointly on the standard translation loss, the $F_1$ loss, and the $F_2$ loss.

Key Insights

  • Two-stage training is a dead end for high-resource NMT: The authors empirically show that standard pre-training followed by fine-tuning yields virtually identical (or slightly worse) results compared to training a Transformer from scratch on resource-rich datasets.
  • Instance-level fusion beats loss-level fusion: Simply adding a self-supervised loss term (like MASS or BART) to a supervised loss provides only marginal gains. $F_2$-XEnDec works better because it forces the network to untangle mixed monolingual and parallel features inside the model's forward pass.
  • Back-translation is just another type of noise: Treating back-translated data as a noise source for the monolingual parent in XEnDec increases noise diversity and stacks constructively with their method, rather than being redundant.
  • Implicit Regularization: By forcing the decoder to predict a coherent target sentence from a partially shuffled source sentence, the model becomes significantly more robust to input perturbations.

Results and Performance

The authors evaluated their approach on two standard, highly competitive resource-rich benchmarks: WMT'14 English-German (4.5M parallel sentences) and WMT'14 English-French (36M parallel sentences), alongside massive monolingual Newscrawl datasets.

Main BLEU results on WMT14 En-De and En-Fr
  • Significant BLEU gains: On WMT'14 En-De, the method achieved 31.60 BLEU (a +2.13 improvement over the vanilla Transformer and +0.72 over the strongest baseline). On En-Fr, it hit 45.15 BLEU (+1.78 over vanilla).
  • New State-of-the-Art: When combining $F_2$-XEnDec with back-translation, the model reached a massive 46.19 BLEU on WMT'14 English-French, setting a new SOTA.
  • Robustness: The resulting models were evaluated against artificial noise (code-switching and dropped words). $F_2$-XEnDec models experienced significantly lower performance drops compared to standard Transformers, proving highly resilient to messy, real-world inputs.

Limitations and Future Work

While powerful, the method does come with trade-offs. Because it requires multiple forward passes and on-the-fly noise generation, training speed drops to about 60% to 80% of a standard Transformer's speed. Additionally, the authors noted a data scaling plateau: increasing the monolingual corpus size beyond 5x the parallel corpus size didn't yield further improvements with their current model architecture. Future work may explore larger-scale corpora using higher-capacity models to break this plateau, as well as designing more expressive noise functions for the crossover mechanism.

Summary updated

BibTeX
@inproceedings{cheng2021self,
  author = {Yong Cheng and Wei Wang and Lu Jiang and Wolfgang Macherey},
  title = {{Self-supervised and Supervised Joint Training for Resource-rich Machine Translation}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=YJYAQljEOHX},
}
Figure