DeltaLM: Encoder-Decoder Pre-training for Language Generation and Translation by Augmenting Pretrained Multilingual Encoders

Shuming Ma, Li Dong, Shaohan Huang, Dongdong Zhang, Alexandre Muzio, Saksham Singhal, Hany Hassan Awadalla, Xia Song, Furu Wei · OpenReview

Abstract

DeltaLM ($\Delta$LM) is a novel pre-training framework designed to bridge the gap between Natural Language Understanding (NLU) and Natural Language Generation (NLG) by "upcycling" off-the-shelf multilingual encoders into full encoder-decoder models. By introducing a specialized interleaved decoder architecture and utilizing both monolingual and bilingual data for pre-training, DeltaLM achieves state-of-the-art performance on various generation tasks while significantly reducing computational costs compared to training from scratch.

1. Introduction

The current landscape of Natural Language Processing (NLP) is characterized by a structural divide. Pretrained encoders like BERT and RoBERTa excel at NLU tasks but lack the generative capabilities required for machine translation or summarization. Conversely, training high-quality encoder-decoder models (e.g., BART, T5) from scratch is prohibitively expensive. DeltaLM addresses this by treating the decoder as a task-specific layer added to a pretrained encoder, effectively leveraging existing NLU models for NLG.

2. Methodology

The core philosophy of DeltaLM is to maximize the utility of pretrained multilingual encoders (e.g., InfoXLM) by using them to initialize both the encoder and the decoder of a generative model.

2.1 Interleaved Decoder Architecture

A standard Transformer decoder consists of self-attention, cross-attention, and feed-forward network (FFN) sub-layers. This structure creates a mismatch with standard encoders, which lack cross-attention. To resolve this, DeltaLM introduces an interleaved decoder structure: [Self-Attention $\rightarrow$ FFN $\rightarrow$ Cross-Attention $\rightarrow$ FFN].

The overall framework of DeltaLM, showing how a pretrained multilingual encoder initializes both the encoder and decoder components.

This design allows for a direct mapping of weights from a pretrained encoder. Specifically, odd-numbered encoder layers initialize the self-attention and bottom FFN of the decoder, while even-numbered layers initialize the cross-attention and top FFN. This eliminates the need for random initialization of the cross-attention layers, avoiding the "cold start" problem.

Comparison between a vanilla decoder and the proposed interleaved decoder architecture used in DeltaLM.

2.2 Pre-training Objectives

DeltaLM is pre-trained using two primary tasks:

  1. Span Corruption: Applied to monolingual data to learn general language modeling.
  2. Translation Span Corruption: Applied to bilingual parallel data. The model must reconstruct masked spans in a target sentence given the source sentence, forcing it to learn cross-lingual alignments.

3. Experiments and Datasets

The model was pre-trained on 6TB of monolingual text (100 languages) and 88GB of bilingual parallel data (77 languages). Evaluation was conducted across several benchmarks, including WMT-10 for machine translation, WikiLingua for cross-lingual summarization, and XQG-Zh for question generation.

4. Key Results

DeltaLM demonstrates superior performance and efficiency:

  • Efficiency: DeltaLM converged in just one week using 32 V100 GPUs, a fraction of the resources required for models like mBART (2.5 weeks on 256 GPUs).
  • Translation Performance: On the WMT-10 benchmark, DeltaLM achieved an average gain of +2.7 BLEU points on X$\rightarrow$En tasks.
  • Parameter Efficiency: Despite having only 360M parameters, DeltaLM outperformed larger models such as mBART (610M) and M2M-100 (1.2B).
  • Zero-Shot Capabilities: The model showed strong cross-lingual transfer, significantly outperforming XLM and XNLG in zero-shot summarization tasks.

5. Conclusion

DeltaLM provides a highly efficient and effective framework for building multilingual generation models by augmenting existing encoders. Its interleaved decoder architecture ensures structural consistency, leading to faster convergence and better performance. Future work includes scaling the model size and exploring its applicability to multi-modal tasks.

Summary updated

BibTeX
@misc{ma2021deltalm,
  author = {Shuming Ma and Li Dong and Shaohan Huang and Dongdong Zhang and Alexandre Muzio and Saksham Singhal and Hany Hassan Awadalla and Xia Song and Furu Wei},
  title = {{DeltaLM: Encoder-Decoder Pre-training for Language Generation and Translation by Augmenting Pretrained Multilingual Encoders}},
  year = {2021},
  eprint = {2106.13736},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.13736},
}
Figure