Source-linked AI summary

Minimax Optimality of Score-Entropy Discrete Diffusion

Cholyeon Cho, Yuchen Wu

arXiv:2608.20635v1stat.MLcs.LG

TL;DR

Finite-sample limits for concrete score estimation remain less understood than sampling and discretization errors in discrete diffusion theory. This paper proves minimax bounds and develops an estimator for uniform and masking diffusions, showing that SEDD can achieve near-optimal KL sampling error under suitable initialization and discretization.

  • Problem

    Prior theory largely assumes small score-estimation error, leaving the finite-sample statistical complexity of concrete score estimation insufficiently characterized.

  • Method

    The paper studies uniform and masking discrete diffusions, proving a minimax lower bound and constructing an MLE-based thresholding estimator under bounded neighboring density ratios.

  • Results

    With accurate initialization and sufficiently fine discretization, minimizing score-entropy achieves near-optimal sampling error measured by KL divergence between target and output distributions.

  • Takeaways & Limitations

    For both uniform and masking discrete diffusions, neighboring density ratios are naturally controlled, yielding nearly matching minimax bounds for aggregated score-estimation error.

  • Takeaways & Limitations

    The single-score minimax lower and upper bounds differ by a factor depending on the neighboring density-ratio bound, and the rate scales with ambient rather than intrinsic dimension.

Abstract

from arXiv · show

Discrete diffusion models have demonstrated strong performance across a range of datasets, including natural language data and graph-structured data. Among many variants, score-entropy discrete diffusion (SEDD) has achieved particularly strong empirical results. In SEDD, new samples are generated by iteratively evaluating a sequence of concrete score functions, which are learned by minimizing a score-entropy loss. While much of the prior theoretical literature on discrete diffusion has focused on the sampling efficiency of SEDD under the assumption of small score estimation error, recent work has begun to investigate the finite-sample properties of score estimation itself. In this work, we take a different route by investigating the fundamental statistical limits of concrete score estimation. We focus on uniform and masking discrete diffusions, two of the most widely adopted discrete diffusion models. We establish a minimax lower bound under the score-entropy loss, and propose an MLE-based thresholding estimator that matches this lower bound up to constant and polylogarithmic factors that depend on neighboring density ratios. We further show that, for any target distribution, this density ratio is naturally controlled under both uniform and masking discrete diffusion models, yielding nearly matching minimax lower and upper bounds for the aggregated score estimation error. Our results imply that, with appropriate initialization and discretization, SEDD can achieve nearly optimal minimax sample complexity, as measured by the KL divergence between the target and generated distributions.

1 Introduction

Discrete diffusion models use forward and reverse processes on discrete state spaces, with SEDD learning concrete density-ratio scores through score-entropy minimization. This work addresses the finite-sample statistical complexity of score estimation and its implications for SEDD sampling.

  • Motivation: Discrete diffusion models use continuous-time Markov chains over discrete states to diffuse a target distribution and reconstruct it through a learned reverse process.Concrete score functions are collections of density ratios p_t(y)/p_t(x).
  • SEDD: SEDD learns concrete density ratios by minimizing a score-entropy loss rather than the score-matching objective used in continuous diffusion.The loss can be optimized through an empirically tractable denoising score-matching formulation.
  • Research gap: Prior theory largely controlled sampling and discretization errors while assuming sufficiently accurate score estimates; this paper instead characterizes finite-sample score-estimation complexity.The contribution complements recent finite-sample analyses of neural-network and discrete-flow-matching estimators.
  • Contributions: The paper establishes a minimax lower bound for single-score estimation and proposes an MLE-based thresholding estimator matching it up to constant and poly-logarithmic factors.The analysis concerns distributions with bounded neighboring density ratios and treats the problem as high-dimensional discrete distribution estimation.
  • Implication: With accurate initialization and sufficiently fine discretization, minimizing score-entropy yields near-optimal sampling error measured by KL divergence between target and output distributions.The overall sampling error decomposition includes initialization, discretization, and score-estimation terms.

2 Preliminaries on discrete diffusion models

The paper formulates uniform and masking discrete diffusion as Markov processes over distinct discrete state spaces. Their reverse chains require concrete scores, which are estimated from data before discretization and sampling.

  • State spaces: Uniform diffusion uses state space [S]^d, whereas masking diffusion uses ([S] ∪ {mask})^d with a special mask symbol.Both models are defined through Markov processes over their respective state spaces.
  • Forward process: The forward process is a continuous-time Markov chain initialized at the target distribution p_0 and governed by time-indexed transition rate matrices.The matrices specify nonnegative off-diagonal transition rates and diagonal rates determined by outgoing transitions.
  • Forward process: Transition rates determine the infinitesimal probability of moving from state x to state y, while the resulting distributions p_t satisfy a Kolmogorov equation.The process is right-continuous and evolves according to its rate matrices.
  • Reverse process: The reverse CTMC depends on concrete score functions p_t(y)/p_t(x), so these density ratios must be estimated before generating samples.In practice, score-entropy loss uses weights derived from the forward transition rate matrix.
  • Sampling implementation: Practical sampling discretizes the reverse CTMC into finite steps and may early-stop at T − δ to prevent numerical instability.The discretization error can be reduced with sufficiently fine discretization.

3 Main results

The paper characterizes minimax score-entropy estimation for discrete diffusion and shows that an MLE-based thresholding estimator nearly matches the lower bound. For aggregated estimation, controlled neighboring density ratios yield nearly matching bounds that translate into near-minimax KL error for SEDD.

  • Problem setting: The minimax risk for concrete-score estimation is studied over finite product spaces using the aggregated score-entropy loss and bounded neighboring density ratios.The setting covers uniform and masking discrete diffusion, with the score estimating local density ratios between neighboring states.
  • Single-score minimax bounds: A minimax lower bound is established by reducing local score-ratio estimation to binary testing problems under a Poissonized sampling construction.Each neighboring density ratio requires distinguishing nearby Poisson distributions, producing local error of order 1/n that aggregates over the state space.
  • Single-score minimax bounds: An MLE-based thresholding estimator matches the single-score minimax lower bound up to constant and poly-logarithmic factors.The estimator uses empirical counts and thresholds the score estimate for neighboring states.
  • Single-score minimax bounds: When the neighboring density-ratio bound ζ is treated as constant, the lower and upper bounds differ only by poly-logarithmic factors.The gap widens as ζ increases, so the near-matching guarantee depends on controlling this ratio.
  • Aggregated score-entropy loss: For uniform and masking diffusions, intermediate-distribution density ratios are automatically controlled over time, yielding aggregated score-entropy bounds differing by at most poly-logarithmic factors.This control applies for any target distribution and mitigates the difficulty caused by unbounded local ratios.
  • Aggregated score-entropy loss: The score-estimation contribution to the KL guarantee scales as eO(|X|/n), and sufficiently fine discretization with accurate initialization transfers this rate to the final generated distribution.The resulting KL distribution estimation rate is near-minimax, with initialization and discretization errors chosen no larger than the score-estimation term.

4 Numerical experiments

The experiments support the theory across uniform and masking discrete diffusion: sampling error scales linearly with aggregated score error, MLE thresholding error decreases with sample size, and both errors worsen as the state space grows.

  • 4.1 KL sampling error scales linearly with the aggregated score: The KL divergence between target and output distributions exhibits a clear linear dependence on aggregated score estimation error for both diffusion types.The experiment uses uniform diffusion in the left panel and masking diffusion in the right panel.
  • 4.1 KL sampling error scales linearly with the aggregated score: Uniform discrete diffusion achieves significantly smaller error than masking diffusion because its state space is substantially smaller.The uniform space is {0, 1}^10, whereas masking uses {0, 1, mask}^10.
  • 4.2 MLE thresholding achieves optimal sample complexity: MLE thresholding produces aggregated score estimation error that scales approximately inversely with sample size.This observation is reported as confirmation of the theoretical findings in Section 3.2.
  • 4.3 Dependence on the state space size: At fixed n = 20,000,000, both score-estimation and sampling errors increase as the state-space size |X| = 2^d grows.Figure 3 varies the state-space dimension while holding the sample size fixed.
  • 4.3 Dependence on the state space size: The aggregated score estimation error rises from approximately 5.79 × 10^-6 at |X| = 2^5 to 0.793 at |X| = 2^20.The corresponding endpoint KL divergence increases from approximately 0.052 to 1.080.

5 Discussion

The paper establishes nearly matching minimax guarantees for concrete score estimation and argues that SEDD can achieve near-optimal sampling complexity under controlled diffusion settings. It also identifies gaps involving density-ratio dependence and ambient-dimensional scaling.

  • 5 Discussion: Theorems 3.1–3.3 establish minimax bounds for score-entropy estimation, with MLE thresholding matching the lower bound up to constants and polylogarithmic factors.For uniform and masking diffusions, neighboring density ratios can be controlled, yielding nearly matching aggregated-error bounds.
  • 5 Discussion: With sufficiently accurate initialization and discretization, SEDD achieves optimal minimax sample complexity measured by KL divergence between target and output distributions.The paper presents this as a consequence of its aggregated score estimation results.
  • 5 Discussion: The single-score lower and upper bounds still differ by a factor depending on the upper bound of the neighboring density ratio.Whether this dependence can be removed remains unclear.
  • 5 Discussion: Without structural assumptions on the target distribution, the minimax rate scales with ambient dimension rather than intrinsic dimension.Extending the analysis to low-dimensional structure is identified as an important future direction.

A.1 Proof of Theorem 3.1

The proof represents probability distributions over the state space as finite-dimensional vectors satisfying nonnegativity and normalization constraints.

  • A.1 Proof of Theorem 3.1: Probability distributions over X are treated as |X|-dimensional vectors with non-negative entries summing to one.This representation is used throughout the proof.

Step I: Poissonized model and product prior

The lower-bound proof uses a Poissonized sampling model and a product prior, reducing score estimation to pairwise problems based on neighboring-state counts. It then bounds the resulting Bayes risk by analyzing these pairwise contributions.

  • Step I: Poissonized model and product prior: The proof introduces a carefully chosen product prior over distributions and uses concentration to relate sampled parameters to proper distributions.The prior is selected to support a Bayes-risk lower-bound argument.
  • Step I: Poissonized model and product prior: Under Poissonization, neighboring-state counts form sufficient statistics for estimating each density ratio.For each pair (x, y), the relevant counts are modeled as independent Poisson variables with means n p_x and n p_y.
  • Step I: Poissonized model and product prior: The Bayes risk decomposes into pairwise risks because the score estimators are specified independently for each neighboring pair.This decomposition enables separate lower bounds for each pairwise estimation problem.
  • Step I: Poissonized model and product prior: The pairwise analysis averages over parameters taking values (1 ± η)/|X| and bounds the corresponding Poisson-model risk.The construction uses Poisson means λ± = n(1 ± η)/|X|.
  • Step I: Poissonized model and product prior: The proof applies inequalities involving minima, Bregman divergence, and neighboring pairs to derive successive bounds on the pairwise and full Bayes risks.The resulting inequalities are substituted back through the proof to obtain the lower-bound conclusion.

Step II: Connecting the Poissonized model to the original model.

This step transfers risk bounds from the Poissonized count model to the original multinomial model, using randomized total counts and density-ratio estimators. The resulting bounds establish a nearly minimax multinomial estimator.

  • Model connection: The original model observes i.i.d. multinomial samples, while the Poissonized model uses independent counts with means n p_x.The proof connects these models through the random total count and multinomial conditioning.
  • Estimator structure: Estimators for neighboring density ratios can be restricted to functions of the sufficient statistics (N_x,N_y).The proof focuses on estimating r_y,x = p_y/p_x from the corresponding count pair.
  • Risk comparison: A nearly minimax Poissonized estimator g_δ,m is used as the starting point for the multinomial-risk comparison.The risks are defined separately under multinomial and Poisson sampling before being related.
  • Risk comparison: Projecting density-ratio estimates onto [ζ^-1, ζ] preserves the relevant Bayes-risk analysis under the prior.The bounded neighboring-ratio class supplies the projection interval.

A.2 Proof of Theorem 3.2

The proof establishes a high-probability control of score-ratio estimation by separating sufficiently frequent coordinates from low-count cases. Binomial concentration and integration over δ then yield the stated risk bound.

  • Concentration: Binomial concentration controls counts for coordinates with p_x at least 24 log(n/δ)/n.The resulting event holds simultaneously over neighboring pairs with sufficiently large probabilities.
  • Concentration: For high-probability coordinates, the proof bounds the ratio-estimation error on the event that counts do not fall below the logarithmic threshold.The exceptional event for each coordinate has probability at most 2δ^2/n^2.
  • Case split: When either neighboring probability is small, the ratio constraint implies the other probability is also at most 24ζ log(n/δ)/n.This handles low-probability pairs separately from the concentration regime.
  • Conclusion: Combining the high- and low-probability cases gives a bound holding with probability at least 1−δ.The final expected-risk statement is obtained by integrating out δ.

A.3 Proof of Lemma 3.1

This proof analyzes neighboring-state density ratios for uniform and absorbing masking diffusions. It uses the forward marginal structure to show that the relevant ratio is controlled by the time-dependent transition coefficients.

  • Uniform diffusion: Under uniform diffusion, neighboring states differ in exactly one coordinate, while the forward process evolves independently across coordinates.The proof groups states according to the differing coordinate and applies the explicit marginal kernel.
  • Uniform diffusion: The uniform forward marginals decompose as p_t(x)=s_tA+u_tB+u_tR and p_t(y)=u_tA+s_tB+u_tR.Here x and y are neighboring states differing in one coordinate.
  • Uniform diffusion: The proof shows that the neighboring marginal ratio is at most s_t/u_t.After cancellation, nonnegative A and R and the ordering s_t≥u_t establish the comparison.
  • Masking diffusion: For absorbing diffusion, a neighbor is formed by replacing one masked coordinate with a non-mask token.The proof parameterizes the unmasked and masked coordinate sets before applying the exact masking marginal formula.
  • Masking diffusion: The masking calculation identifies the second factor in the marginal expression as a conditional probability.This supplies the probabilistic interpretation used in the ratio analysis.
Loading 2608.20635v1…