Skip to main content
QUICK REVIEW

[Paper Review] Likelihood-Based Diffusion Language Models

Ishaan Gulrajani, Tatsunori Hashimoto|arXiv (Cornell University)|May 30, 2023
Topic ModelingComputer Science3 citations
TL;DR

This paper introduces Plaid 1B, a likelihood-based diffusion language model that outperforms GPT-2 124M in zero-shot likelihood across six standard benchmarks. By developing a novel algorithmic framework, analyzing compute-optimal scaling laws distinct from autoregressive models, and leveraging increased compute, the authors achieve state-of-the-art likelihood performance for diffusion-based language modeling.

ABSTRACT

Despite a growing interest in diffusion-based language models, existing work has not shown that these models can attain nontrivial likelihoods on standard language modeling benchmarks. In this work, we take the first steps towards closing the likelihood gap between autoregressive and diffusion-based language models, with the goal of building and releasing a diffusion model which outperforms a small but widely-known autoregressive model. We pursue this goal through algorithmic improvements, scaling laws, and increased compute. On the algorithmic front, we introduce several methodological improvements for the maximum-likelihood training of diffusion language models. We then study scaling laws for our diffusion models and find compute-optimal training regimes which differ substantially from autoregressive models. Using our methods and scaling analysis, we train and release Plaid 1B, a large diffusion language model which outperforms GPT-2 124M in likelihood on benchmark datasets and generates fluent samples in unconditional and zero-shot control settings.

Motivation & Objective

  • To close the likelihood gap between autoregressive and diffusion-based language models by enabling nontrivial likelihoods in diffusion models.
  • To develop a scalable, likelihood-based training framework for diffusion language models that supports fluent and controllable generation.
  • To identify compute-optimal training regimes for diffusion models that differ fundamentally from autoregressive models.
  • To train and release a large-scale diffusion model, Plaid 1B, that surpasses GPT-2 124M in likelihood on standard benchmarks.
  • To validate the effectiveness of algorithmic improvements through compute-matched ablations and scaling law analysis.

Proposed method

  • Use a variational diffusion model (VDM) framework with continuous noise scheduling over embedded token sequences.
  • Apply an invertible token-wise embedding function to map discrete tokens into continuous latent space.
  • Define a forward diffusion process that gradually adds Gaussian noise to the embedded sequence using a monotonic noise schedule.
  • Learn a denoiser neural network $\hat{x}_{\theta}(z_t)$ to approximate the reverse process $p_{\theta}(z_{(i-1)/T} | z_{i/T})$ via maximum likelihood.
  • Train the model using variational lower bound (VLB) optimization to maximize the log-likelihood of the data.
  • Derive and apply compute-optimal scaling laws specific to diffusion models, differing from standard autoregressive scaling rules.

Experimental results

Research questions

  • RQ1Can diffusion-based language models achieve nontrivial likelihoods on standard language modeling benchmarks?
  • RQ2What algorithmic improvements are necessary to make likelihood-based diffusion language models competitive with autoregressive models?
  • RQ3How do scaling laws for diffusion language models differ from those of autoregressive models?
  • RQ4What compute-optimal training regime enables the best likelihood performance for diffusion language models?
  • RQ5Can a large-scale diffusion model outperform a widely used autoregressive model like GPT-2 124M in zero-shot likelihood?

Key findings

  • Plaid 1B, a 1.1 billion parameter diffusion language model, outperforms GPT-2 124M in zero-shot likelihood across six standard benchmarks.
  • The model achieves state-of-the-art likelihood performance among diffusion-based language models, demonstrating that nontrivial likelihoods are attainable.
  • Compute-matched ablations validate the effectiveness of the proposed algorithmic framework, including noise scheduling and denoising training objectives.
  • Scaling laws for Plaid models show predictable log-likelihood improvement with increased compute, but with a different optimal compute regime than autoregressive models.
  • Plaid 1B generates fluent and controllable text in both unconditional and zero-shot control settings, confirming its practical utility.
  • The authors release code and pretrained models at https://github.com/igul222/plaid, enabling reproducibility and further research.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.