NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Denoising based Sequence-to-Sequence Pre-training for Text Generation

Liang Wang, Wei Zhao, Ruoyu Jia, Sujian Li, Jingming Liu

Abstract: Liang Wang, Wei Zhao, Ruoyu Jia, Sujian Li, Jingming Liu. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).

2019.

Introduction

In 2019, the field of Natural Language Processing (NLP) was transformed by the "pre-training revolution," spearheaded by models like BERT and GPT. While these models demonstrated remarkable capabilities, they were often optimized for specific sub-tasks: BERT utilized bidirectional encoders for classification and understanding, while GPT focused on unidirectional decoders for language modeling.

However, text generation tasks—such as abstractive summarization, translation, and grammatical error correction—require a balanced sequence-to-sequence (seq2seq) architecture. In these tasks, an encoder must deeply understand the source context while a decoder generates a fluent, relevant response. Previous pre-training methods often initialized only one half of this stack or trained them independently, failing to capture the full potential of transfer learning for generation. This paper introduces PoDA (Pre-training of Denoising Autoencoders), a unified strategy designed to bridge this gap by jointly pre-training the entire seq2seq architecture.

The PoDA Framework

The core of PoDA is a joint pre-training strategy that tasks the model with reconstructing original text from a corrupted version. This approach ensures that both the encoder and decoder learn to cooperate from the outset.

Architecture

The backbone of PoDA is a hybrid architecture combining Transformers with a Pointer-Generator mechanism. The model utilizes six layers each for the encoder and decoder to capture long-distance dependencies. A critical addition is the Pointer-Generator layer, which allows the model to either generate a word from a fixed vocabulary or "copy" a word directly from the input. This is particularly effective for handling out-of-vocabulary (OOV) words like proper nouns or technical terminology.

Figure 1: The PoDA architecture featuring a Transformer encoder-decoder backbone with a Pointer-Generator layer for copy attention.

Noising Strategy and Masked Loss

To build robustness, PoDA employs a sophisticated noising strategy involving three operations: shuffling, deleting, and replacing words. Unlike static noise models, PoDA uses a Beta distribution prior to sample noise intensity for each sentence, allowing the model to learn from a wide spectrum of corruption levels.

Furthermore, the model employs a Masked Loss function. Similar to BERT’s Masked Language Modeling, loss is calculated only on the tokens that were actually corrupted. This prevents the model from trivializing the task by simply copying uncorrupted segments of the input, forcing it to learn deeper linguistic structures.

Experimental Evaluation

The authors pre-trained PoDA on a massive corpus of 2.99 billion words from English Wikipedia and the Billion Word Benchmark. The model was then fine-tuned and evaluated on several key generation tasks:

  • Abstractive Summarization: Evaluated on CNN/Daily Mail (long-form) and Gigaword (headlines).
  • Grammatical Error Correction (GEC): Evaluated on CoNLL-2014 and JFLEG.

Key Results and Insights

PoDA achieved state-of-the-art results across these benchmarks. On the CNN/Daily Mail dataset, it reached a ROUGE-L score of 38.54, significantly outperforming the PGNet baseline (33.42). In GEC tasks, PoDA reached an $F_{0.5}$ score of 59.40 on CoNLL-2014, a substantial improvement over the 54.01 achieved by the same architecture without pre-training.

One of the most significant findings was the "Head Start" effect. Pre-training acts as a powerful accelerator for convergence. As shown in the validation perplexity curves, a PoDA-initialized model can reach superior performance in just 5 epochs, whereas a standard model requires 30 epochs to achieve comparable results.

Figure 6: Validation perplexity vs. epoch for CNN/Daily Mail and Gigaword, illustrating the significantly faster convergence of PoDA compared to training from scratch.

Additionally, PoDA demonstrated remarkable few-shot capabilities. With only 1,000 training examples, the model performed on par with baseline models trained on millions of examples, highlighting its utility in low-resource scenarios.

Conclusion and Future Work

PoDA demonstrates that joint denoising pre-training is essential for maximizing the performance of seq2seq models. While the model excels in fluency and grammatical correctness, qualitative analysis suggests that it can occasionally prioritize fluency over factual accuracy (hallucinations). Future research directions include extending this approach to cross-lingual pre-training and applying it to more complex tasks like dialogue generation and machine translation.

Summary updated

BibTeX
@inproceedings{wang2019denoising,
  author = {Liang Wang and Wei Zhao and Ruoyu Jia and Sujian Li and Jingming Liu},
  title = {{Denoising based Sequence-to-Sequence Pre-training for Text Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  url = {https://openreview.net/forum?id=JwcXZE5hUe8},
}
Figure