arXiv(opens in a new tab)cs.LGAug 2026Cited by 6 papers on PaperVantage

Manuscript Offprint

arXiv:2608.13520

The data geometry of masking diffusion: Certified-optimal schedules via unmasking growth complexity

Martin J. Wainwright

Abstract

We study masking diffusion for discrete sampling and introduce a path-resolved measure of data geometry called the unmasking growth complexity (UGC). Its local increments directly control Kullback–Leibler (KL) discretization error, yielding a unified analysis of Bernoulli-subset and fixed-cardinality unmasking schemes. In log-reveal-odds coordinates, this structure yields optimized single-block and multi-block schedules, and quantifies the gains from adapting computational effort to data geometry. Crucially, we show how UGC increments can be estimated from samples via KL increments along coupled reveal trajectories. This leads to certified-optimal samplers that achieve a prescribed KL error with high probability and iteration complexity within a constant factor of the corresponding oracle procedure. Collapsing the UGC path yields the aggregate UGC mass, which connects to classical multivariate dependence measures, and complexity measures from previous analyses of discrete diffusion. In the fine-partition limit, the squared integral of the square-root UGC density determines the sharp leading-order optimal Euler discretization error. Examples exhibit substantial dimension-dependent gains over coarse schedules, including Ω~(d)\widetilde{\Omega}(\sqrt{d}) improvements achievable with a constant number of adaptively placed blocks.

1 Introduction

The problem of sampling from a high-dimensional distribution is fundamental in nature, and has a wide range of applications. Efficient sampling algorithms underpin the utility of Monte Carlo approximation [39, 42]; support uncertainty quantification in Bayesian models [18, 6]; and lie at the heart of generative AI [40, 16, 54, 13]. Recent years have witnessed tremendous practical and theoretical advances in the use of diffusion sampling algorithms, which generate samples via a sequence of “denoising” operations [45, 46, 23, 47, 14, 12, 5]. Initial work in the area focused on sampling from continuous distributions in d, in which case the denoising step corresponds to estimating a signal embedded in Gaussian noise [23, 47]. A more recent line of work, and the general focus of this paper, has focused on sampling from discrete distributions, using various kinds of denoising processes [24, 3, 9, 31, 44, 43, 15, 17].

In this paper, we study the problem of sampling a random vector Z∈(A)dZ\in(\mathcal{A})^{d}, where A\mathcal{A} is a discrete alphabet, and dd is the ambient dimension. While various samplers have been devised, we focus on unmasking samplers, which traverse a path from a fully unobserved vector, denoted by Z∗=(⋆,…,⋆)Z^{*}=(\star,\ldots,\star) with ⋆\star meaning masked or unobserved, back to a sample Z∼PZZ\sim\mathbb{P}_{Z} from the target distribution. The path is traversed via a sequence of unmasking operations, in which a subset of the masked coordinates are revealed. Unmasking algorithms differ in the form and sequence by which these unmasking steps take place. Unmasking and closely related mask-based generative samplers have proven effective across a range of applications, including machine translation [19], image and video synthesis [11, 55], text-to-image generation [10], speech synthesis [52], language modeling [43, 33], and protein design [51].

References (34)