NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling

Tianyu Xie, Shuchen Xue, Zijin Feng, Tianyang Hu, Jiacheng Sun, Zhenguo Li, Cheng Zhang

Masked Diffusion Models (MDMs) have emerged as a compelling alternative to autoregressive models for generating complex discrete data like text and categorical images. By predicting multiple dimensions of a data point simultaneously rather than sequentially, MDMs offer the promise of significantly faster generation. However, they suffer from a critical flaw: the assumption that data dimensions are independent during the denoising process.

Variational Autoencoding Discrete Diffusion (VADD) addresses this limitation by integrating a latent variable structure into the diffusion framework. This allows the model to capture complex inter-token correlations, enabling high-quality generation with far fewer sampling steps than traditional baselines.

The "Mean-Field" Problem in Masked Diffusion

During the denoising process, standard MDMs typically model the distribution of unmasked tokens as a product of independent categorical distributions. In essence, the model assumes that when it fills in several missing tokens at once, the choice for one token does not depend on the choice for another.

This "mean-field" assumption breaks down when attempting to generate data in just a few steps. Because the model fails to capture the intricate dependencies and correlations between dimensions, it often produces poor sample quality or "collapsed" results, where the model essentially averages out different possible valid outcomes into an incoherent mess.

The VADD Framework

To overcome the independence assumption, VADD marries the framework of Variational Autoencoders (VAEs) with discrete diffusion through several key innovations:

  1. Latent Variable Modeling: Instead of relying on a direct, independent denoising distribution, VADD defines the backward transition as a latent variable model. It introduces a global latent variable, $z$, which acts as a "high-level controller." This shared context implicitly captures the correlations between all dimensions being unmasked simultaneously.
  2. The Recognition Model: To make training computationally tractable, VADD introduces an auxiliary recognition model (an encoder). This model learns to approximate the posterior of the latent variable given both the clean data and the current noisy state.
  3. DELBO Optimization: The model is trained by maximizing a novel surrogate loss called the Double Evidence Lower Bound (DELBO). This ensures that the denoising model and the recognition model are optimized jointly, akin to standard VAE training.
  4. Architecture Integration: For text generation, VADD utilizes a Transformer-based architecture modified with Adaptive Layer Normalization (AdaLN), allowing the latent variable $z$ to shift and scale token embeddings throughout the network. For image generation, a similar AdaLN approach is applied to a UNet backbone.

Results and Insights

VADD was evaluated across three distinct domains: 2D toy data, pixel-level image generation, and text generation. The results demonstrate that smarter denoising steps—guided by a latent variable—can drastically reduce the total number of steps required for high-quality generation.

Multimodality Mastery on 2D Toy Data

The "aha moment" of VADD is most visible in its handling of highly multimodal 2D distributions, such as Checkerboard and Swissroll datasets.

Comparison of 1-step generation on 2D toy data.

When restricted to a single denoising step ($T=1$), standard MDMs fail to generate the structured patterns, producing a blurry, averaged output. VADD, however, uses its latent variable to commit to specific modes (e.g., specific cells of the checkerboard), producing sharp, accurate samples in just one step.

Image and Text Generation

VADD consistently outperforms MDM baselines, particularly in "low-step" regimes where inference speed is the priority:

  • CIFAR-10 Images: With only 10 sampling steps, VADD achieved an FID score of 170.3, nearly doubling the performance of the MDM baseline (FID 334.3). Even at 100 steps, VADD maintained a significant lead (50.5 vs. 76.5).
  • Text Generation (LM1B): VADD achieved a test perplexity of 20.53, outperforming the MDM baseline (27.70). Remarkably, it even surpassed a 5M-iteration autoregressive Transformer baseline (20.86) despite only being trained for 1M iterations.
  • Zero-Shot Text: On benchmark datasets like Lambada and WikiText, VADD demonstrated superior generalization compared to other masked diffusion models like SEDD and RADD.

Limitations and Future Directions

While VADD significantly improves sample quality and step efficiency, it comes with trade-offs. Training VADD is roughly 1.5x more computationally expensive than a standard MDM because it requires running both the denoising and recognition models simultaneously. Furthermore, the model currently relies on a simple standard Gaussian prior for the latent variable $z$. This "uninformed" prior can lead to the "prior hole" problem, where regions in the latent space do not map to valid data.

Future work may explore more complex, "informed" priors that depend on the current noise level or time step, as well as alternative loss functions like score divergence to mitigate the increased training costs.

Summary updated

BibTeX
@inproceedings{xie2026variational,
  author = {Tianyu Xie and Shuchen Xue and Zijin Feng and Tianyang Hu and Jiacheng Sun and Zhenguo Li and Cheng Zhang},
  title = {{Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=yh7MV2V0ba},
}
Figure