Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Control

About

Despite the growing success of diffusion models in continuous-valued domains (e.g., images), similar efforts for discrete domains such as text have yet to match the performance of autoregressive language models. In this work, we present SSD-LM -- a diffusion-based language model with two key design choices. First, SSD-LM is semi-autoregressive, iteratively generating blocks of text, allowing for flexible output length at decoding time while enabling local bidirectional context updates. Second, it is simplex-based, performing diffusion on the natural vocabulary space rather than a learned latent space, allowing us to incorporate classifier guidance and modular control using off-the-shelf classifiers without any adaptation. We evaluate SSD-LM on unconstrained text generation benchmarks, and show that it matches or outperforms strong autoregressive GPT-2 models across standard quality and diversity metrics, while vastly outperforming diffusion-based baselines. On controlled text generation, SSD-LM also outperforms competitive baselines, with an extra advantage in modularity.

Xiaochuang Han, Sachin Kumar, Yulia Tsvetkov• 2022

Related benchmarks

TaskDatasetResultRank
Unconditional Text GenerationROCStories
MAUVE15.2
27
Unconditional Text GenerationOpenWebText (test)
LLAMA2 Score73.3
21
Text GenerationQQP
BS83.8
12
Text GenerationXsum
ROUGE-129.6
12
Text GenerationQuasar-T
BS63
11
Text ContinuationOne Billion Words 1K random samples (test)
R-110
10
Text ContinuationWikiSource 1K random samples (test)
ROUGE-115.3
10
Text ContinuationWikipedia 1K random samples (test)
R-1 Score15.1
10
Text ContinuationTinyStories 1K random samples (test)
R-128
10
Text GenerationParaDetox
BLEU Score65.1
9
Showing 10 of 11 rows

Other info

Follow for update