Text Generation with Diffusion Language Models: A Pre-training Approach with Continuous Paragraph Denoise

Zhenghao Lin, Yeyun Gong, Yelong Shen, Tong Wu, Zhihao Fan +3 more
12/22/2022
cs.CLcs.LG
diffusion-flow

Official code: microsoft/ProphetNet (745 stars, Python, MIT, last commit 2024-07-25).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

A research project for natural language generation, containing the official implementations by MSRA NLC team.

745119Python, ShellFeb 17, 20202 years agoMIT

Similar Papers

Cite this paper

@article{lin2022text,
  title  = {Text Generation with Diffusion Language Models: A Pre-training Approach with Continuous Paragraph Denoise},
  author = {Zhenghao Lin and Yeyun Gong and Yelong Shen and Tong Wu and Zhihao Fan and Chen Lin and Nan Duan and Weizhu Chen},
  year   = {2022},
  eprint = {2212.11685},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.11685}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.11685.svg)](https://codeofpaper.com/paper/2212.11685)

Discussion