Discrete Diffusion Playground: A 2D Benchmark for Discrete Generative Models

Justin Shao, Sihyun Park, David Ryan Koes, Maria Chikina
11/8/2026
cs.LG
benchmark-datasetdiffusion-flow

Official code: shaojus/DiscreteDiffusionPlayground (0 stars, Python, last commit 2026-07-29).

Abstract

Discrete diffusion is a promising framework for categorical generative modeling, but current evaluation protocols often fail to reveal whether models have actually learned the target distribution. We introduce the Discrete Diffusion Playground, a diagnostic benchmark that converts known 2D continuous distributions into binary token sequences through an exact discretized bijection.

Show full abstract

This creates a rare setting in which models are trained on discrete sequences, but generated samples can be decoded back into 2D and compared directly against a known ground-truth distribution. The benchmark spans smooth Gaussian mixtures and tilted checkerboards with sharp boundaries, disconnected support, and coordinate-dependent structure, allowing it to expose failures that are invisible in standard proxy metrics. It supports exact grid divergences, Wasserstein distances, density visualizations, and nonparametric two-sample tests, providing both quantitative evaluation and interpretable failure diagnosis. Using this testbed, we show that masked diffusion models can learn meaningful adaptive reveal orders but remain less stable than autoregressive baselines on smooth targets and largely fail on tilted checkerboards, where autoregressive models preserve the target geometry. Control experiments with reversed and interleaved token orderings show that autoregressive performance is not explained by favorable bit order alone. The Playground provides a simple but stringent benchmark for stress-testing discrete generative models and for developing evaluation metrics that detect real distributional mismatch rather than proxy performance. Our code is available at https://github.com/shaojus/DiscreteDiffusionPlayground .

View on arXivView PDF

Code Implementations(1)

01Python, ShellOct 24, 20254 months ago

Similar Papers

Cite this paper

@article{shao2026discrete,
  title  = {Discrete Diffusion Playground: A 2D Benchmark for Discrete Generative Models},
  author = {Justin Shao and Sihyun Park and David Ryan Koes and Maria Chikina},
  year   = {2026},
  eprint = {2611.11068},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.11068v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.11068.svg)](https://codeofpaper.com/paper/2611.11068)

Discussion