cs.ITAug 26, 2026

Conditional Total Correlation and the Serial Depth of Adaptive Parallel Sampling

Authors: Chuling Wen, Weijie Liang, Jian Lu

Organizations: Shenzhen Key Laboratory of Advanced Machine Learning and Applications, School of Mathematical Sciences, Shenzhen University, Shenzhen 518060, China · National Center for Applied Mathematics Shenzhen (NCAMS), Shenzhen 518055, China

Abstract

Motivated by parallel decoding in masked diffusion models, we study adaptive parallel sampling of discrete vectors: in each round, a deterministic policy selects unrevealed coordinates on the basis of the values observed so far, and the selected coordinates are sampled independently from their exact conditional marginals. Approximation error is measured by forward Kullback-Leibler divergence, and serial depth is the minimum target-averaged number of rounds meeting a prescribed error budget. Our central result is an exact identity: the divergence of every policy equals the expected conditional total correlation accumulated over its reveal rounds, so conditional total correlation is the exact information cost of within-round parallelism. The identity yields zero-error schedules for finite-order Markov chains with round complexity proportional to the Markov order and logarithmic in sequence length, a matching logarithmic characterization of the Bernoulli walk at every fixed error budget, and a linear-versus-logarithmic separation between left-to-right and hierarchical reveal orders. Uniform random permutations require linearly many expected rounds at every fixed budget; their hard-cap round-error tradeoff is an exact integer-composition problem whose fixed-round asymptotics and joint-scaling frontier we determine. Uniform balanced binary strings have depth of order squared logarithm, and binary one-hot blocks have square-root depth, with rectangular versions realizing every polynomial exponent up to one half. These results separate serial depth from entropy and negative log-likelihood, and establish conditional-dependence structure as a fundamental determinant of parallelizability. Experiments with a masked diffusion language model show that the pseudo-cost distinguishes deployed decoding rules and that its policy rankings agree closely with the quality of self-sampled outputs.

Figures & tables

Explore similar work

Oct 9, 2026cs.LG

KL Before and After Mixing: A Round-Complexity Separation in Parallel Sampling

A parallel sampler can choose at random which coordinates to generate together. For a target pp and the output law qUq_U of a schedule UU drawn afresh for each output, we compare the schedule-averaged divergence EUDKL(p∥qU)\mathbb{E}_U D_{\mathrm{KL}}(p\|q_U) with the output-law divergence DKL(p∥EUqU)D_{\mathrm{KL}}(p\|\mathbb{E}_U q_U), in nats. Rounds commit independent draws from exact conditional marginals frozen at the round's start, each output's schedule is drawn before sampling from a finite mixture of schedules, and every scheduled round is charged. For the uniform distribution on binary strings of even length nn with n/2n/2 ones, the least expected number of rounds at a fixed tolerance ε>0\varepsilon>0 is Θε((log⁡n)2)Θ_\varepsilon((\log n)^2) under the first criterion but (e−ε+o(1))log⁡2ln⁡n(e^{-\varepsilon}+o(1))\log_2\ln n under the second, and the double-logarithmic order is attainable with the same round count on every run. For this target, a count-state recursion gives the exact least output divergence at every round cap over all causal randomized policies. The separation extends to weighted fixed-count targets with bounded weight ratios and quota fractions bounded away from zero and one, without permutation symmetry, and to the full-support Beta(1,1)(1,1)--Bernoulli target, where the sharp expected cost under the output-law criterion is (e−ε/2+o(1))log⁡2log⁡2n(e^{-\varepsilon}/2+o(1))\log_2\log_2n, attained with rare nn-round runs. Prior work implies the order of the schedule-averaged cost on the balanced target and its Oε((log⁡n)2)O_\varepsilon((\log n)^2) upper bounds on both extensions.
Oct 6, 2026cs.DS

Lower Bounds for Parallel Diffusion Sampling

Standard diffusion samplers generate samples through repeated evaluations of a learned score function. Parallel sampling methods seek to accelerate generation by trading additional evaluations for fewer sequential rounds. This raises the question of how much sequential dependence is unavoidable, even when many score queries can be made simultaneously. We establish the first polynomial parallel-round lower bounds for diffusion sampling with approximate scores. Specifically, we prove (1) a Ω~(d1/3)\widetildeΩ(d^{1/3})-round lower bound for sampling smooth, near-isotropic Gaussian mixtures in RdR^d, and (2) an Ω(d)Ω(d)-round lower bound for uniform sampling from anisotropic axis-aligned boxes contained in the unit ball. Both bounds hold for arbitrary randomized algorithms making polynomially many queries per round at arbitrary locations and noise levels, with inverse-polynomial score error and constant total variation accuracy. The linear bound is tight for our box family. Our constructions use fixed approximate score oracles that enforce sequential access to hidden information while satisfying the accuracy guarantee at every noise level.
Sep 29, 2026cs.LG

Counterfactual Probing for Parallel Unmasking with Hidden Forest Structure

Masked generative models offer parallel token prediction, but accurate parallel sampling must account for dependencies among tokens. When dependencies are unknown, finding safe batches also costs model evaluations. We study whether total evaluations, including discovery, can be sublinear in sequence length NN; sublinear sequential depth then follows. We consider discrete distributions with hidden forest structure, accessed through a fixed approximate conditional oracle. Under explicit regularity conditions and uniform Hellinger error bounds, for any fixed target accuracy ε∈(0,1/8]\varepsilon\in(0,1/8] and sufficiently large NN, our sampler achieves seed-averaged total-variation error at most ε\varepsilon, with total masked-state submissions and sequential depth both bounded by O~(NCε−a)\widetilde{O}(N^C \varepsilon^{-a}) for constants 0<C<10<C<1 and a>0a>0. These guarantees use polynomial vocabulary size and an edge-response lower bound set by NN and ε\varepsilon. The sampler shares evaluations of hypothetical reveals across dependence tests to identify safe parallel batches without requiring full recovery of the hidden forest. A tunable parameter trades probing cost against irreversible commit rounds. In the same class, any admissible irreversible product-commit sampler attaining the same seed-averaged accuracy requires Ω(Ncεb)Ω(N^c \varepsilon^b) counterfactual submissions or commit rounds in the worst case, for constants c,b>0c,b>0.