[Paper Review] Text Generation with Diffusion Language Models: A Pre-training Approach with Continuous Paragraph Denoise
This paper introduces GENIE, a large-scale pre-trained diffusion language model that generates text by iteratively denoising random noise into coherent sequences using a diffusion-based decoder. It proposes a novel continuous paragraph denoise (CPD) pre-training objective, achieving competitive performance with autoregressive models and improved generation diversity on XSum, CNN/DailyMail, Gigaword, and CommonGen benchmarks.
In this paper, we introduce a novel dIffusion language modEl pre-training framework for text generation, which we call GENIE. GENIE is a large-scale pretrained diffusion language model that consists of an encoder and a diffusion-based decoder, which can generate text by gradually transforming a random noise sequence into a coherent text sequence. To pre-train GENIE on a large-scale language corpus, we design a new continuous paragraph denoise objective, which encourages the diffusion-decoder to reconstruct a clean text paragraph from a corrupted version, while preserving the semantic and syntactic coherence. We evaluate GENIE on four downstream text generation benchmarks, namely XSum, CNN/DailyMail, Gigaword, and CommonGen. Our experimental results show that GENIE achieves comparable performance with the state-of-the-art autoregressive models on these benchmarks, and generates more diverse text samples. The code and models of GENIE are available at https://github.com/microsoft/ProphetNet/tree/master/GENIE.
Motivation & Objective
- To develop a large-scale pre-trained diffusion language model for sequence-to-sequence text generation.
- To address the limitations of autoregressive models, such as exposure bias and slow generation, by leveraging non-autoregressive diffusion generation.
- To design a novel pre-training objective that enhances paragraph-level coherence and denoising capability.
- To evaluate the effectiveness of diffusion-based generation on standard text generation benchmarks and analyze model behavior.
- To improve generation diversity while maintaining high fluency and coherence through diffusion-based refinement.
Proposed method
- GENIE employs an encoder-decoder architecture, where a bidirectional encoder processes the input and a diffusion-based decoder generates the output from noisy latent representations.
- The diffusion decoder iteratively denoises a random Gaussian noise sequence into a coherent text sequence over multiple time steps using a reverse diffusion process.
- A novel pre-training objective called continuous paragraph denoise (CPD) is introduced, requiring the model to reconstruct clean paragraphs from corrupted versions while preserving semantic and syntactic structure.
- The CPD objective is formulated as a denoising task where the model predicts the noise added at each time step, conditioned on the context and the noisy input.
- The model is pre-trained end-to-end on large-scale unlabeled text corpora using the CPD objective to learn robust representations.
- During inference, the model generates text by starting from random noise and applying a reverse diffusion process guided by the encoder’s hidden states.
Experimental results
Research questions
- RQ1Can a diffusion-based language model achieve competitive performance with state-of-the-art autoregressive models in text generation tasks?
- RQ2Does the proposed continuous paragraph denoise (CPD) pre-training objective improve the model’s ability to reconstruct coherent and semantically accurate text?
- RQ3How does the number of diffusion steps affect the quality and diversity of generated text?
- RQ4To what extent does pre-training on large-scale corpora enhance the generalization and generation quality of diffusion language models?
- RQ5Can the diffusion-based generation framework produce more diverse outputs compared to autoregressive baselines?
Key findings
- GENIE achieves competitive performance on four major text generation benchmarks: XSum, CNN/DailyMail, Gigaword, and CommonGen, matching or exceeding state-of-the-art autoregressive models in automatic evaluation metrics.
- The model demonstrates significant improvements in generation diversity, as measured by automatic evaluation metrics, indicating that diffusion-based generation enables more varied outputs.
- The continuous paragraph denoise (CPD) pre-training objective effectively enhances the model’s ability to restore coherent and semantically accurate text from corrupted inputs.
- Increasing the number of inverse diffusion steps improves generation quality, with performance stabilizing at 1000 steps; fewer steps lead to significant degradation.
- Uniform sampling during pre-training outperforms loss-aware sampling in terms of downstream performance, suggesting that uniform sampling supports better knowledge learning across all time steps.
- The ablation study confirms that both pre-training steps and diffusion steps have a significant impact on model performance, with longer pre-training and sufficient diffusion steps yielding optimal results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.