Promises, Outlooks and Challenges of Diffusion Language Modeling
Justin Deschenaux, Caglar Gulcehre
TL;DR
This paper investigates diffusion-based text generation as an alternative to autoregressive models, focusing on Score Entropy Discrete Diffusion (SEDD). It reproduces and expands upon the main results of prior diffusion work, showing that SEDD can achieve perplexity and data-likelihood comparable to GPT-2 on standard benchmarks, while offering up to substantial latency reductions in inference. The study also highlights practical challenges, including the difficulty of caching with non-causal attention, mask-token inefficiencies, and fixed-generation lengths, and discusses directions to improve sampling efficiency and token-edit capabilities. Overall, diffusion language modeling emerges as a promising, flexible framework with competitive quality and unique advantages, although it requires further advances before it can consistently dethrone autoregressive models in practice.
Abstract
The modern autoregressive Large Language Models (LLMs) have achieved outstanding performance on NLP benchmarks, and they are deployed in the real world. However, they still suffer from limitations of the autoregressive training paradigm. For example, autoregressive token generation is notably slow and can be prone to \textit{exposure bias}. The diffusion-based language models were proposed as an alternative to autoregressive generation to address some of these limitations. We evaluate the recently proposed Score Entropy Discrete Diffusion (SEDD) approach and show it is a promising alternative to autoregressive generation but it has some short-comings too. We empirically demonstrate the advantages and challenges of SEDD, and observe that SEDD generally matches autoregressive models in perplexity and on benchmarks such as HellaSwag, Arc or WinoGrande. Additionally, we show that in terms of inference latency, SEDD can be up to 4.5$\times$ more efficient than GPT-2. While SEDD allows conditioning on tokens at abitrary positions, SEDD appears slightly weaker than GPT-2 for conditional generation given short prompts. Finally, we reproduced the main results from the original SEDD paper.
