DiLaDiff: Distilled Latent-Augmented Diffusion for Language Modeling

Jean-Marie Lemercier, Tomas Geffner, Karsten Kreis, Morteza Mardani, Arash Vahdat, Ante Jukić

TL;DR

DiLaDiff introduces a hybrid continuous-discrete diffusion framework for language modeling that captures global token correlations via a continuous latent space. By distilling the continuous latent trajectories using MeanFlow, it achieves a 7× speedup over standard masked diffusion baselines while significantly improving text generation quality.

What Problem Does This Paper Address?

While diffusion models have revolutionized generative modeling for continuous data like images and audio, adapting them to discrete text sequences remains a major challenge. Current state-of-the-art discrete diffusion models, such as Masked Diffusion Language Models (MDLMs), generate text by iteratively predicting and unmasking tokens.

To make inference computationally tractable, these models assume that tokens are conditionally independent at each step. However, because natural language is highly correlated, this independence assumption introduces a severe model mismatch—especially early in the generation process when very little context is available. As a result, decoding multiple tokens in parallel leads to incoherent sentences, forcing a harsh trade-off between generation quality and throughput.

Methods

To resolve this trade-off, the authors propose a three-stage framework that combines the benefits of continuous latent modeling with robust discrete token decoding:

  1. Latent-Augmented Masked Diffusion: They train a text auto-encoder where a Perceiver-inspired encoder compresses contextual BERT hidden states into a continuous latent space. Crucially, the discrete token-space decoder is initialized from a pre-trained MDLM and is conditioned on this continuous latent vector.
  2. Latent Diffusion Model (LaDiff): A continuous diffusion model is trained to learn the prior over the encoder's latent distribution, capturing global semantic correlations.
  3. Consistency Distillation (DiLaDiff): To minimize continuous diffusion overhead, they use MeanFlow to distill the continuous probability-flow ODE trajectories of the latent space into a fast, few-step student model.
Figure 1: DiLaDiff: hybrid continuous-discrete diffusion with self-distilled latent. The latent space is crafted with encoder Eϕ and decoder xθ and learned a posteriori with a diffusion process with denoiser zψ. The latent diffusion trajectories are further self-distilled with MeanFlow student uη(zτ,τ,r).

Datasets

The models were trained and evaluated on the OpenWebText corpus. Sentences were packed to a sequence length of $L = 1024$ tokens and processed using the standard bert-base-uncased tokenizer (vocabulary size of 30,522).

Key Insights and Ideas

  • Breaking the Independence Trap: Conditioning the token-level discrete denoiser on a global continuous latent vector ($z$) implicitly reintroduces token dependencies. The latent space handles the global semantic structure, allowing the discrete decoder to safely generate tokens in parallel without falling into incoherence.
  • The Smoothness-Capacity Trade-off: Continuous text representations are notoriously difficult for diffusion models to learn. Optimizing purely for text reconstruction makes the latent space sparse and disjointed. The authors show that heavy regularization—including coordinate-wise normalization, random feature/latent masking, noise injection, and latent channel dropout—is absolutely essential to make the latent space smooth enough for a diffusion prior to model successfully.
  • Continuous Distillation Advantage: Directly distilling discrete token-space diffusion models is highly complex. By shifting the global generation task to a continuous latent space, the authors can leverage powerful, principled continuous distillation techniques like MeanFlow, reducing latent generation to a negligible fraction of the total compute time.

Key Results

  • Quality vs. Speed Breakthrough: The non-distilled model (LaDiff) significantly outperforms the baseline MDLM in unconditional generation quality while accelerating inference by a factor of 7× at a batch size of 32.
  • Ultra-Fast Latent Sampling: Through MeanFlow distillation, DiLaDiff generates high-quality latents in just 5 steps compared to the 200 steps required by its teacher (LaDiff), making latent generation time virtually negligible compared to the discrete decoding phase.
  • Quantitative Performance: On OpenWebText evaluation, LaDiff achieves a Generative Perplexity (GenPPL) of 62.9 and a MAUVE score of 0.82, a substantial improvement over the standard MDLM baseline (90.5 GenPPL, 0.74 MAUVE).
Figure 2: Speed-Quality Pareto frontier, for batch size BS = 32. Labels next to points denote the number of discrete decoding steps Ndisc. ζ is the temperature for scaling the discrete decoder’s logits.

Limitations and Future Work

  • Teacher-Student Gap: Although DiLaDiff drastically reduces the number of sampling steps, it does not completely match the topline generation performance of its teacher, LaDiff.
  • Discrete Decoding Bottleneck: The authors only distilled the continuous latent diffusion component, leaving the discrete decoder undistilled. Consequently, the overall generation speed remains bottlenecked by the number of discrete decoding steps required. Combining this approach with discrete distillation techniques is an open direction.
  • Heuristic Regularization: The data augmentation and regularization techniques used to smooth the auto-encoder's latent space are largely heuristic and could benefit from more principled architectural or theoretical formulations.

Summary updated

BibTeX
@inproceedings{lemercier2026diladiff,
  author = {Jean-Marie Lemercier and Tomas Geffner and Karsten Kreis and Morteza Mardani and Arash Vahdat and Ante Jukić},
  title = {{DiLaDiff: Distilled Latent-Augmented Diffusion for Language Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=l1EueDpKBW},
}
Figure