A Reparameterized Discrete Diffusion Model for Text Generation

Lin Zheng, Jianbo Yuan, Lei Yu, Lingpeng Kong
2/11/2023
cs.CLcs.LG

No official code found. Best implementation: HKUNLP/reparam-discrete-diffusion (108 stars, Apache-2.0, PyTorch, last commit 2023-02-14).

Abstract

This work studies discrete diffusion probabilistic models with applications to natural language generation. We derive an alternative yet equivalent formulation of the sampling from discrete diffusion processes and leverage this insight to develop a family of reparameterized discrete diffusion models. The derived generic framework is highly flexible, offers a fresh perspective of the generation process in discrete diffusion models, and features more effective training and decoding techniques. We conduct extensive experiments to evaluate the text generation capability of our model, demonstrating significant improvements over existing diffusion models.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Reparameterized Discrete Diffusion Models for Text Generation

1085C, C++Feb 9, 20233 years agoApache-2.0
diffusion-modelsfairseqlanguage-modelmachine-learningnatural-language-processing+4 more

Similar Papers

Cite this paper

@article{zheng2023reparameterized,
  title  = {A Reparameterized Discrete Diffusion Model for Text Generation},
  author = {Lin Zheng and Jianbo Yuan and Lei Yu and Lingpeng Kong},
  year   = {2023},
  eprint = {2302.05737},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.05737v3}
}

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/2302.05737.svg)](https://codeofpaper.com/paper/2302.05737)

Discussion