Skip to main content
QUICK REVIEW

[Paper Review] Score-based Continuous-time Discrete Diffusion Models

Haoran Sun, Lijun Yu|arXiv (Cornell University)|Nov 30, 2022
Model Reduction and Neural NetworksPhysics and Astronomy7 citations
TL;DR

This paper introduces Score-based Continuous-time Discrete Diffusion Models (SDDM), extending score-based generative modeling to categorical discrete data via a continuous-time Markov jump process. It proposes categorical ratio matching for unbiased score estimation and analytical reverse sampling, achieving state-of-the-art performance on image and music generation benchmarks with fewer sampling steps.

ABSTRACT

Score-based modeling through stochastic differential equations (SDEs) has provided a new perspective on diffusion models, and demonstrated superior performance on continuous data. However, the gradient of the log-likelihood function, i.e., the score function, is not properly defined for discrete spaces. This makes it non-trivial to adapt extcolor{\cdiff}{the score-based modeling} to categorical data. In this paper, we extend diffusion models to discrete variables by introducing a stochastic jump process where the reverse process denoises via a continuous-time Markov chain. This formulation admits an analytical simulation during backward sampling. To learn the reverse process, we extend score matching to general categorical data and show that an unbiased estimator can be obtained via simple matching of the conditional marginal distributions. We demonstrate the effectiveness of the proposed method on a set of synthetic and real-world music and image benchmarks.

Motivation & Objective

  • To extend score-based generative modeling to categorical discrete variables, where traditional score functions are undefined due to non-differentiability.
  • To formulate a continuous-time diffusion process for discrete data using stochastic jump processes and continuous-time Markov chains.
  • To develop a tractable, unbiased learning objective—categorical ratio matching—for estimating the reverse process in discrete spaces.
  • To enable efficient and accurate reverse sampling via analytical simulation based on conditional marginal distributions.
  • To demonstrate the method's effectiveness on synthetic, image, and music generation tasks with improved sample quality and sampling efficiency.

Proposed method

  • Proposes a continuous-time Markov jump process to model the reverse denoising process in discrete spaces, enabling a coherent SDE formulation.
  • Introduces categorical ratio matching as a score-based learning objective that generalizes Hyvärinen's ratio matching to categorical data.
  • Derives an unbiased estimator for the score function by matching conditional marginal distributions, avoiding ELBO approximations.
  • Develops an analytical reverse sampling method based on implicit modeling of conditional marginals, enabling exact simulation without numerical integration.
  • Introduces a novel 'hollow' neural architecture that improves efficiency and modeling capacity for high-dimensional discrete data.
  • Employs a predictor-corrector scheme for numerical sampling when analytical sampling is not feasible, ensuring robustness.

Experimental results

Research questions

  • RQ1Can score-based modeling be meaningfully extended to categorical discrete data, where the score function is not differentiable?
  • RQ2How can a continuous-time diffusion process be formulated for discrete variables using stochastic jump processes?
  • RQ3What learning objective enables unbiased, tractable estimation of the reverse process in discrete spaces?
  • RQ4Can analytical reverse sampling be derived for discrete continuous-time diffusion models, and how does it compare to numerical methods?
  • RQ5How does the proposed method perform on real-world discrete data benchmarks such as images and music, especially with reduced sampling steps?

Key findings

  • On CIFAR-10, SDDM achieves a Fréchet Inception Distance (FID) of 13.29 with only 100 sampling steps, outperforming D3PM (62.15 FID) under the same conditions.
  • With 250 sampling steps, SDDM achieves an FID of 12.50 and Inception Score (IS) of 8.80, significantly better than D3PM (FID: 32.61, IS: 7.71).
  • On monophonic music generation, SDDM achieves a Hellinger Distance of 0.3736 ± 0.0024 and a Proportion of Outliers of 0.1093 ± 0.0016, outperforming prior methods.
  • The analytical sampler in SDDM maintains high-quality generation even with as few as 20 steps (FID: 21.06), showing superior robustness compared to D3PM.
  • The proposed 'hollow' Transformer architecture enables effective modeling of high-dimensional discrete data like music sequences with 129 tokens.
  • Categorical ratio matching enables unbiased learning without relying on ELBO approximations, improving estimation quality over previous discrete diffusion methods.

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.