Table of Contents
Fetching ...

Adaptation to Intrinsic Dependence in Diffusion Language Models

Yunxiao Zhao, Changxiao Cai

TL;DR

This work analyzes diffusion language models (DLMs) that generate text tokens in parallel by unmasking subsets of positions during sampling. It introduces a distribution-agnostic, randomized unmasking framework with two concrete schemes that adapt to the target data’s intrinsic dependence measured by total correlation (TC) and dual total correlation (DTC). Theoretical guarantees show KL convergence rates scaling with $ ext{TC}(X)$ or $ ext{DTC}(X)$, modulo logarithmic terms, in the practically important regime $K<L$, and without distribution-specific knowledge or hyperparameter tuning. Empirically, the results demonstrate that randomized unmasking sizes can yield substantial speedups for low-complexity distributions, offering principled guidance for designing DLM inference schedules with structure-adaptive benefits.

Abstract

Diffusion language models (DLMs) have recently emerged as a promising alternative to autoregressive (AR) approaches, enabling parallel token generation beyond a rigid left-to-right order. Despite growing empirical success, the theoretical understanding of how unmasking schedules -- which specify the order and size of unmasked tokens during sampling -- affect generation quality remains limited. In this work, we introduce a distribution-agnostic unmasking schedule for DLMs that adapts to the (unknown) dependence structure of the target data distribution, without requiring any prior knowledge or hyperparameter tuning. In contrast to prior deterministic procedures that fix unmasking sizes, our method randomizes the number of tokens revealed at each iteration. We show that, for two specific parameter choices, the sampling convergence guarantees -- measured by Kullback-Leibler (KL) divergence -- scale as $\widetilde O(\mathsf{TC}/K)$ and $\widetilde O(\mathsf{DTC}/K)$ respectively. Here, $K$ is the number of iterations, and $\mathsf{TC}$ and $\mathsf{DTC}$ are the total correlation and dual total correlation of the target distribution, capturing the intrinsic dependence structure underlying the data. Importantly, our guarantees hold in the practically relevant parallel-sampling regime $K<L$ where $L$ is the token sequence length. These results significantly improve upon prior convergence theories and yield substantial sampling acceleration for low-complexity distributions. Overall, our findings unveil the adaptivity of DLMs to intrinsic data structures and shed light on the benefit of randomized unmasking sizes in inference schedule design.

Adaptation to Intrinsic Dependence in Diffusion Language Models

TL;DR

This work analyzes diffusion language models (DLMs) that generate text tokens in parallel by unmasking subsets of positions during sampling. It introduces a distribution-agnostic, randomized unmasking framework with two concrete schemes that adapt to the target data’s intrinsic dependence measured by total correlation (TC) and dual total correlation (DTC). Theoretical guarantees show KL convergence rates scaling with or , modulo logarithmic terms, in the practically important regime , and without distribution-specific knowledge or hyperparameter tuning. Empirically, the results demonstrate that randomized unmasking sizes can yield substantial speedups for low-complexity distributions, offering principled guidance for designing DLM inference schedules with structure-adaptive benefits.

Abstract

Diffusion language models (DLMs) have recently emerged as a promising alternative to autoregressive (AR) approaches, enabling parallel token generation beyond a rigid left-to-right order. Despite growing empirical success, the theoretical understanding of how unmasking schedules -- which specify the order and size of unmasked tokens during sampling -- affect generation quality remains limited. In this work, we introduce a distribution-agnostic unmasking schedule for DLMs that adapts to the (unknown) dependence structure of the target data distribution, without requiring any prior knowledge or hyperparameter tuning. In contrast to prior deterministic procedures that fix unmasking sizes, our method randomizes the number of tokens revealed at each iteration. We show that, for two specific parameter choices, the sampling convergence guarantees -- measured by Kullback-Leibler (KL) divergence -- scale as and respectively. Here, is the number of iterations, and and are the total correlation and dual total correlation of the target distribution, capturing the intrinsic dependence structure underlying the data. Importantly, our guarantees hold in the practically relevant parallel-sampling regime where is the token sequence length. These results significantly improve upon prior convergence theories and yield substantial sampling acceleration for low-complexity distributions. Overall, our findings unveil the adaptivity of DLMs to intrinsic data structures and shed light on the benefit of randomized unmasking sizes in inference schedule design.
Paper Structure (65 sections, 129 equations, 3 figures)

This paper contains 65 sections, 129 equations, 3 figures.

Figures (3)

  • Figure 1: Empirical mean unmasking size vs. iteration index $k$: (a) TC-adaptive scheme $\pi_\mathsf{tc}$; (b) DTC-adaptive scheme $\pi_\mathsf{dtc}$. The total number of iterations is $K = 1000$ and the sequence length is $L = 2000$.
  • Figure 2: Expected KL error of the TC-adaptive unmasking scheme $\pi_\mathsf{tc}$: (a) KL error vs. iteration number $K$ for codimension $L-d=5$; (b) KL error vs. TC for number of iterations $K=500$. Sequence length $L=2000$ and alphabet size $q=2048$.
  • Figure 3: Expected KL error of the DTC-adaptive unmasking scheme $\pi_\mathsf{dtc}$: (a) KL error vs. iteration number $K$ for dimension $d=5$; (b) KL error vs. DTC for number of iterations $K=500$. Sequence length $L=2000$ and alphabet size $q=2048$.

Theorems & Definitions (1)

  • proof