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

Justin Shao, Sihyun Park, David Ryan Koes, Maria ChikinaarXiv 2026 · arXiv

TL;DR

The Discrete Diffusion Playground is a new diagnostic benchmark that bridges the gap between discrete sequence modeling and interpretable 2D geometry. By mapping known continuous distributions to binary strings, it allows researchers to visualize exactly where discrete generative models fail—revealing that while autoregressive models are surprisingly robust, many current discrete diffusion variants struggle to capture sharp boundaries and complex joint dependencies.

What Problem Does This Paper Address?

Evaluating generative models for discrete data (like text, proteins, or molecules) is notoriously difficult. In high-dimensional spaces, we often rely on "proxy" metrics like perplexity or FID scores. While useful, these metrics are indirect; they don't tell us if a model has truly captured the underlying geometry, mode structure, or support of a distribution. A model might achieve a great loss while completely missing a "hole" in the data or blurring a sharp boundary.

The authors argue that we need a "transparent" setting where the ground truth is analytically known and visualizable. They propose a 2D testbed where discrete models are trained on binary sequences that represent coordinates on a grid. This allows for a direct "apples-to-apples" comparison between the model's learned distribution and the true mathematical target.

Methods

The benchmark follows a four-stage pipeline to create a dataset:

  1. Sample: Draw points $(x, y)$ from a 2D continuous distribution.
  2. Quantize: Map these points onto a finite grid (e.g., $256 \times 256$).
  3. Encode: Convert grid coordinates into binary strings (standard binary or Gray-code).
  4. Concatenate: Combine the $x$ and $y$ strings into a single discrete sequence for training.
Figure 1: The Playground maps 2D samples to quantized binary sequences for discrete model training.

Because the mapping is a bijection, any sequence generated by a model can be decoded back into a 2D point. The authors evaluate several state-of-the-art model families:

  • Autoregressive (AR) Transformers: The standard baseline.
  • Discrete Diffusion Variants: Including SEDD (score-based), MDLM, MD4 (masked diffusion), and ReMDM (remasking dynamics).

Evaluation is performed using exact grid-based metrics like Forward/Reverse KL Divergence and MSE, as well as transport-style metrics like Wasserstein distance.

Datasets

The "Playground" includes two primary types of distributions designed to stress-test models in different ways:

  • Mixtures of Gaussians (GMM): Tests the ability to handle smooth, multi-modal densities.
  • Rotated Checkerboards (4x4 and 8x8): A much harder task featuring sharp boundaries and disconnected support. This tests if a model can respect "invalid" regions and capture the joint dependencies required by the rotation.

Key Insights and Ideas

  • The Robustness of Autoregressive Models: One of the most surprising findings is that AR models are incredibly dominant in this setting. Even when the authors "sabotaged" the AR model by reversing and interleaving the bit order (disrupting the natural coarse-to-fine hierarchy), the model still converged to high-fidelity results. This suggests AR's advantage isn't just a "lucky" bit ordering, but a fundamental strength in learning these dependencies.
  • Diffusion's "Boundary Blurring": While masked diffusion models can capture the general "cloud" of a distribution, they often "leak" probability mass into empty regions. On the checkerboard task, they frequently failed to maintain sharp edges, producing diffuse samples where the AR model remained crisp.
  • The "Marginal" Trap: The authors found that some models, particularly SEDD, could learn the 1D marginal distributions (the $x$ and $y$ shapes) quite well but failed to coordinate them into the correct 2D joint distribution. This results in samples leaking into the "white squares" of the rotated checkerboard.
  • Metric Sensitivity: The paper highlights that MSE (Mean Squared Error) can be a deceptive metric. Models can have similar MSEs while having vastly different KL divergences, meaning MSE often misses localized but important distributional errors like mode-dropping or support leakage.

Key Results

Quantitatively, the Autoregressive (AR) model consistently achieved the lowest (best) KL divergence across both GMM and checkerboard tasks.

Scaling on the Gaussian mixture benchmark for forward KL, reverse KL, and MSE.

As shown in the scaling plots, while all models improve with more parameters, the AR model reaches a stable, low-error regime much faster than diffusion variants. In the checkerboard task, the performance gap is even more pronounced; SEDD, in particular, showed degraded performance at larger model sizes on the 4x4 rotated checkerboard, suggesting that simply adding capacity doesn't solve the underlying sampling/denoising failures.

Limitations and Future Work

The authors are clear that the Playground is a diagnostic tool, not a replacement for large-scale benchmarks like ImageNet or WikiText. The binary sequences are highly structured and synthetic, which might not perfectly predict performance on natural language or complex molecular graphs.

Future work could involve:

  • Finding specific settings or "inductive biases" where discrete diffusion actually outperforms AR.
  • Using the Playground to develop new discrete diffusion samplers or loss functions that better preserve sharp boundaries.
  • Extending the benchmark to higher-dimensional but still analytically tractable "toy" problems.

Summary updated

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. 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 .
BibTeX
@misc{shao2026discrete,
  author = {Justin Shao and Sihyun Park and David Ryan Koes and Maria Chikina},
  title = {{Discrete Diffusion Playground: A 2D Benchmark for Discrete Generative Models}},
  year = {2026},
  eprint = {2611.11068},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11068},
}
Figure