E2S2: Encoding-Enhanced Sequence-to-Sequence Pretraining for Language Understanding and Generation
Qihuang Zhong, Liang Ding, Juhua Liu, Bo Du, Dacheng Tao
TL;DR
The paper tackles the under-exploited encoder in seq2seq pretrained language models by introducing encoding-enhanced seq2seq pretraining (E2S2). It adds two encoder-side self-supervisions—a locally denoising objective $ L_{de}$ and a global contrastive objective $ L_{cl}$—to the standard reconstruction losses, forming the overall objective $ L_{all}= L^*_{nll}+ L_{nll}+\lambda_{de}\nL_{de}+\lambda_{cl}\nL_{cl}$. Empirical results on GLUE, CoLA, CoNLL2014, CNN/DM, XSum, SAMSum, and various dialogue datasets show consistent improvements over vanilla seq2seq pretraining (e.g., +1.1% average on GLUE, +2.3% on CoLA, +1.75% $F_{0.5}$ on CoNLL2014) and demonstrate compatibility with backbones like BART and T5. Analyses indicate that E2S2 enhances encoder representations across surface, syntactic, and semantic aspects, explaining the downstream gains in both understanding and generation tasks. The work suggests a general, model-agnostic path for elevating seq2seq pretraining via encoder-focused self-supervision and motivates future exploration of automated prompts and scaling to larger models.
Abstract
Sequence-to-sequence (seq2seq) learning is a popular fashion for large-scale pretraining language models. However, the prior seq2seq pretraining models generally focus on reconstructive objectives on the decoder side and neglect the effect of encoder-side supervision, which we argue may lead to sub-optimal performance. To verify our hypothesis, we first empirically study the functionalities of the encoder and decoder in seq2seq pretrained language models, and find that the encoder takes an important but under-exploitation role than the decoder regarding the downstream performance and neuron activation. Therefore, we propose an encoding-enhanced seq2seq pretraining strategy, namely E2S2, which improves the seq2seq models via integrating more efficient self-supervised information into the encoders. Specifically, E2S2 adopts two self-supervised objectives on the encoder side from two aspects: 1) locally denoising the corrupted sentence (denoising objective); and 2) globally learning better sentence representations (contrastive objective). With the help of both objectives, the encoder can effectively distinguish the noise tokens and capture high-level (i.e., syntactic and semantic) knowledge, thus strengthening the ability of seq2seq model to accurately achieve the conditional generation. On a large diversity of downstream natural language understanding and generation tasks, E2S2 dominantly improves the performance of its powerful backbone models, e.g., BART and T5. For example, upon BART backbone, we achieve +1.1% averaged gain on the general language understanding evaluation (GLUE) benchmark and +1.75% F_0.5 score improvement on CoNLL2014 dataset. We also provide in-depth analyses to show the improvement stems from better linguistic representation. We hope that our work will foster future self-supervision research on seq2seq language model pretraining.
