How Much Dependency Can a Marginal Rule See? Total Correlation in Diffusion LM Parallel Decoding

Dovud Asadov, Rustambek Urokov, Qobiljon Toshnazarov, Abduaziz Kayumov, Mardon Hazratov, Husanboy MansuraliyevarXiv 2026

TL;DR

Masked diffusion language models generate text rapidly by guessing multiple words simultaneously, risking awkward mashups like "New Angeles" instead of "New York" or "Los Angeles." In theory, looking at each word's individual probability distribution (its marginal) cannot tell you how dependent those words are on each other—yet on real trained models, simple marginal uncertainty bounds actually predict this lost dependency to within about a single bit! Along the way, the authors uncover a silent, catastrophic indexing bug waiting to trap anyone evaluating open-source diffusion models without checking their logit alignments.

What Problem Does This Paper Address?

Autoregressive language models generate text one token at a time, which is safe but slow. Masked diffusion language models (dLLMs) start with a blank canvas of masks and fill in chunks of tokens in parallel over a few steps.

Parallelism comes with a catch. Imagine two adjacent blanks that should either be "New York" or "Los Angeles" with 50/50 probability. Looking at each slot in isolation (its marginal distribution), slot one is a fair coin between "New" and "Los", and slot two is a fair coin between "York" and "Angeles". Sample them independently in parallel, and half the time you get "New Angeles" or "Los York."

The exact information lost by ignoring how tokens depend on one another is called conditional total correlation ($\mathrm{C}$). Most fast decoders decide which tokens are safe to commit in parallel using rules based only on per-position marginals (like token confidence or entropy). Mathematically, marginals cannot determine $\mathrm{C}$—two independent fair coins look identical to two coupled ones—they can only place an upper bound $W$ on it. However, real decoders don't face adversarial math puzzles; they face distributions learned from real language. The authors ask: On real dLLMs, how much of $\mathrm{C}$ can actually be predicted from the marginals alone?

Methods

To measure $\mathrm{C}$ on real models—specifically the 7B Dream-Coder and 8B LLaDA families (base and instruct)—the authors build an estimator ($\widehat{\mathrm{C}}$) over 4-token (and 8-token) blocks in two settings: infill (context on both sides) and suffix (continuing a prompt where everything after is masked).

  • Estimating $\mathrm{C}$: A single forward pass gives the summed marginal entropies ($B$). To get the joint entropy, they reveal the masked block one token at a time across $M=64$ random orders, applying the chain rule of probability, and subtract the average joint entropy from $B$.
  • Marginal Predictors & Rules: They fit $k$-NN and ridge regression predictors on top-8 token probabilities and entropies to see how well marginals predict $\widehat{\mathrm{C}}$. They also test six standard decoding heuristics: confidence, top-2 margin, and negative entropy, each aggregated either by gating on the weakest token (min rules) or averaging across the block (pooled rules).
  • A 3-Gate Readout Protocol: Before trusting any numbers, they introduce three sanity checks to verify logit indexing, batch reproducibility, and greedy text generation—catching a major discrepancy between model families.
  • Inconsistency Analysis: Because neural network conditionals don't always form a mathematically consistent joint distribution, they derive an exact identity comparing $\widehat{\mathrm{C}}$ against the true Kullback–Leibler (KL) divergence cost of a parallel commit.

Datasets

No models were trained in this study. For evaluation, the authors used:

  • Real text & code: 128-token windows of English prose and Python code (comprising 247 to 516 candidate blocks per checkpoint and regime).
  • Synthetic benchmark: 355 candidate sets from the list-operation tasks of ParallelBench, where exact analytical $\mathrm{C}$ is known in closed form, used to validate the estimator and test whether synthetic findings transfer to real models.

Key Insights and Ideas

  • Real language uses half the uncertainty bound: While real token blocks could have anywhere from zero to $W$ bits of dependency, they don't spread out randomly. Real blocks consistently cluster around half of their theoretical upper bound ($\approx 0.51 W$). Knowing how uncertain the individual slots are gets you most of the way to knowing how coupled they are!
Figure 2: Suffix regime only. The infill settings are in Table 1. (a) Measured bC against the bound W = B −maxi H(Yi) of (3). The dashed line is C = W and the dotted line is the median fraction of W outside Dream-instruct. (b) The best marginal-only prediction against measured bC, out-of-fold.
  • Pooling beats weakest-link gating: Standard threshold decoders gate a parallel commit by its least confident position. Yet when ranking blocks by $\widehat{\mathrm{C}}$, averaging a statistic across the whole block (pooled rules) beat min rules in every single comparison.
  • Synthetic benchmarks can mislead: On ParallelBench's synthetic tasks, the top-2 margin crushes confidence at ranking dependency. On real checkpoints, that advantage completely evaporates.
  • The silent off-by-one trap: Dream retains the shifted logit indexing of its autoregressive backbone (index $i$ predicts token $i+1$), while LLaDA predicts masked tokens in place (index $i$ predicts token $i$). Reading Dream at index $i$ doesn't crash your code—it returns plausible-looking numbers that silently inflate inconsistency metrics up to $41\times$ and erase or reverse real correlations!
Figure 1: (a) The offset gate: log-probability of the hidden true tokens, read at index p + δ. Stars mark the convention the gate selects: Dream and LLaDA select opposite ones. (b) The offset ablation, with only the readout changed. Chain-rule deviation inflates 14 to 41× on both Dream checkpoints. Under each pair, ρ is the correlation between confidence and decoding error at the wrong and at the measured offset.

Key Results

  • 1-bit prediction accuracy: Across LLaDA (base/instruct) and Dream-base, the best marginal-only predictor estimates $\widehat{\mathrm{C}}$ with an out-of-fold RMSE residual of 0.74 to 1.17 bits—1.8 to $3.7\times$ better than a uniform-bound reference. A single-parameter linear scaling of the bound ($f \cdot W$) nearly matches the best 40-candidate ML sweep on LLaDA-base (0.74 and 1.07 bits).
  • 24-for-24 win rate for pooling: Pooled rules outperform min rules across all 8 settings $\times$ 3 statistics, boosting Spearman rank correlation $|\rho|$ by 0.066 to 0.235 (reaching $\rho = -0.83$ to $-0.94$ outside Dream-instruct).
  • The Dream-instruct exception: Dream-Coder Instruct struggles on English prose (outside its code training domain), yielding higher prediction residuals (1.62–1.84 bits overall; 2.23–2.58 bits on prose) and severe conditional inconsistency where true parallel KL cost exceeds $\widehat{\mathrm{C}}$ by 4.4 to 5.6 bits. On other models, $\widehat{\mathrm{C}}$ ranks blocks faithfully ($\rho \ge 0.90$) while sitting 0.4–1.1 bits below exact KL on prose/suffixes.
  • Readout bug impact: Reading Dream at offset $0$ instead of $-1$ inflates chain-rule deviation from 0.18–0.59 bits to 6.9–8.3 bits ($14\text{--}41\times$) and flips the rank correlation between confidence and decoding error on Dream-instruct from $-0.69$ to $+0.19$.

Limitations and Future Work

  • Fixed sets vs. end-to-end decoding: Evaluating how well a rule predicts $\widehat{\mathrm{C}}$ on fixed contiguous blocks of 4 or 8 tokens does not prove that a pooled or dependency-aware rule yields faster or better end-to-end text generation. Answering that requires a matched-compute decoding study.
  • Estimator limits under inconsistency: When a model's conditionals don't compose into a valid joint distribution, $\widehat{\mathrm{C}}$ isn't a true divergence—it can dip slightly negative and understate the true KL cost of committing tokens.
  • Scope: Predictors only used single-step top-8 probabilities and entropies (ignoring multi-step stability rules), and instruct models were evaluated on raw text without chat templates to keep inputs identical to base models.

Summary updated

Abstract

A masked diffusion language model is fast because it commits several tokens per step. Each token is sampled from its own marginal, so the dependency between the tokens is lost, and the size of that loss is the conditional total correlation C of the committed set. Most decoders choose the set from per-position marginals, which can bound C but cannot determine it. We ask how well they predict it. We estimate C for fixed candidate sets on four masked diffusion LMs from two families. On three of the four, the best marginal-only predictor is off by about one bit (0.74 to 1.17), 1.8 to 3.7 times less than a baseline that knows only the bound, and most of this accuracy comes from the bound itself. On a subset, our estimate ranks sets like the exact KL cost of a parallel commit, but sits a median 0.4 to 1.1 bits below it on prose and when the rest of the text is still masked. Dream-instruct is the exception, mainly on prose, where its conditionals are least self-consistent. Among six common marginal rules, pooling over the set beats gating on its weakest position in all 24 paired comparisons. The measurement needs a validated readout: Dream and LLaDA place a position's prediction at different logit indices, and the wrong index inflates an inconsistency diagnostic 14 to 41 times. We give three checks that measure the convention. Our results concern predicting C for a fixed set, not what a dependency-aware decoder gains.
BibTeX
@misc{asadov2026how,
  author = {Dovud Asadov and Rustambek Urokov and Qobiljon Toshnazarov and Abduaziz Kayumov and Mardon Hazratov and Husanboy Mansuraliyev},
  title = {{How Much Dependency Can a Marginal Rule See? Total Correlation in Diffusion LM Parallel Decoding}},
  year = {2026},
  eprint = {2611.31990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31990},
}
Figure