English

Self-conditioned Embedding Diffusion for Text Generation

Computation and Language 2022-11-09 v1 Machine Learning

Abstract

Can continuous diffusion models bring the same performance breakthrough on natural language they did for image generation? To circumvent the discrete nature of text data, we can simply project tokens in a continuous space of embeddings, as is standard in language modeling. We propose Self-conditioned Embedding Diffusion, a continuous diffusion mechanism that operates on token embeddings and allows to learn flexible and scalable diffusion models for both conditional and unconditional text generation. Through qualitative and quantitative evaluation, we show that our text diffusion models generate samples comparable with those produced by standard autoregressive language models - while being in theory more efficient on accelerator hardware at inference time. Our work paves the way for scaling up diffusion models for text, similarly to autoregressive models, and for improving performance with recent refinements to continuous diffusion.

Keywords

Cite

@article{arxiv.2211.04236,
  title  = {Self-conditioned Embedding Diffusion for Text Generation},
  author = {Robin Strudel and Corentin Tallec and Florent Altché and Yilun Du and Yaroslav Ganin and Arthur Mensch and Will Grathwohl and Nikolay Savinov and Sander Dieleman and Laurent Sifre and Rémi Leblond},
  journal= {arXiv preprint arXiv:2211.04236},
  year   = {2022}
}

Comments

15 pages