IDLM: Inverse-distilled Diffusion Language Models

David Li, Nikita Gushchin, Dmitry Abulkhanov, Eric Moulines, Ivan Oseledets, Maxim Panov, Alexander Korotin

Diffusion models have revolutionized continuous-domain generation, such as images and audio. However, their application to natural language has been comparatively turbulent. While Diffusion Language Models (DLMs) offer compelling advantages—most notably the ability to generate entire sequences simultaneously rather than token-by-token—they suffer from a critical bottleneck: inference speed. Generating a single coherent sentence often requires hundreds or even thousands of iterative refinement steps.

A recent paper, "IDLM: Inverse-distilled Diffusion Language Models," introduces a principled methodology to distill these slow "teacher" models into highly efficient "students." The result is a massive acceleration in inference speed without sacrificing the quality or diversity of the generated text.

The Core Problem: Distillation in Discrete Spaces

In continuous domains, diffusion processes can be accelerated by "distilling" a multi-step trajectory into a few-step process. Text, however, is inherently discrete. Standard calculus cannot easily interpolate between discrete tokens like "cat" and "dog." This fundamental difference introduces two major hurdles for distilling DLMs:

  1. Theoretical Uncertainty: Does a "distillation" objective have a single, correct solution in a discrete space? Without a uniqueness guarantee, optimization algorithms risk converging on suboptimal local minima.
  2. Practical Instability: How can a model backpropagate through discrete token choices? Standard deep learning relies on continuous gradients, making the selection of a specific word a non-differentiable operation.

Existing approaches, such as consistency distillation, often fail to capture the full joint distribution of text when pushed to very few steps, resulting in repetitive or degraded outputs.

Methodology: Inverse Distillation for Text

To overcome these challenges, the authors adapt Inverse Distillation—a technique originally developed for continuous diffusion—to the discrete setting.

The "Inverse" Logic

Standard training asks: "Which model best fits this data?" Inverse Distillation flips the paradigm, asking: "Which data distribution would make this specific teacher model optimal?" The IDLM objective minimizes the gap between the teacher's performance on student-generated samples and the theoretical best performance any model could achieve on those same samples.

Overcoming Theoretical and Practical Hurdles

To make this approach viable for text, the authors introduce several key innovations:

  • The Uniqueness Proof (Theorem 3.1): The paper provides a mathematical guarantee that the IDLM objective possesses a unique global optimum where the student distribution perfectly matches the target data distribution. This theoretical "green light" ensures valid optimization.
  • Simplex Relaxation: To enable differentiability, the generator outputs a "soft" distribution (a point on the probability simplex) rather than a hard, one-hot token vector.
  • Process-Specific Fixes:
  • For Masked Diffusion (where tokens are gradually unmasked), IDLM employs the "SUBS" parameterization, which acts as a stop-gradient to stabilize training.
  • For Uniform Diffusion (where tokens can change multiple times), the authors utilize a Gaussian reparameterization to maintain differentiable paths through the discrete space.

Key Insights and Mechanisms

IDLM's success is driven by several underlying mechanisms that distinguish it from prior work:

  • Trajectory Matching vs. Marginal Matching: Rather than matching the teacher's output at isolated time steps, IDLM matches the entire diffusion trajectory. This path-level matching helps the student internalize the "rhythm" of the teacher's refinement process.
  • Attraction-Repulsion Dynamics: The IDLM loss functions as an attraction-repulsion mechanism. The teacher model "attracts" the student toward high-quality tokens, while an auxiliary model "repels" the student from samples that are over-represented or "too easy" for the student's current distribution.
  • Sequence-Level Mixtures: By using a shared latent variable to generate the entire sequence, the student learns to treat text as a coherent "mixture" of sequences rather than a chain of independent token transitions. This preserves global coherence even at very low step counts.

Empirical Results

The authors evaluated IDLM across multiple datasets, including OpenWebText (unconditional generation) and TinyGSM/GSM8K (conditional math word problems). The results demonstrate a significant leap forward for fast diffusion:

  • Massive Speedups: On the OpenWebText benchmark, IDLM successfully reduced a 1024-step teacher (MDLM) to just 16 steps—a $64\times$ speedup—while maintaining nearly identical perplexity and text diversity.
  • Outperforming the Teacher: In conditional generation tasks (TinyGSM), the 128-step IDLM-MDLM achieved 19.86% accuracy, surpassing the original 1024-step teacher model (18.0%).
  • Extreme Efficiency in Uniform Diffusion: For the "Duo" model family, IDLM-DCD achieved high-quality generation in as few as 4 to 8 steps, representing a staggering $128\times$ to $256\times$ reduction in computational overhead.

Limitations and Future Directions

While IDLM represents a major milestone for Diffusion Language Models, the authors identify several avenues for future research:

  • Scaling Up: Current experiments focus on models ranging from 169M to 863M parameters. Future work must verify if these distillation gains hold for LLM-scale models with billions of parameters.
  • The One-Step Challenge: Generating high-quality text in exactly one step remains elusive for masked diffusion, primarily due to a lack of rich initial randomness. More complex noise schedules may be required to achieve this "holy grail."
  • Broader Downstream Tasks: While IDLM shows promise in math reasoning, further evaluation across diverse tasks like summarization and translation is needed to confirm its general-purpose utility.

Summary updated

BibTeX
@inproceedings{li2026idlm,
  author = {David Li and Nikita Gushchin and Dmitry Abulkhanov and Eric Moulines and Ivan Oseledets and Maxim Panov and Alexander Korotin},
  title = {{IDLM: Inverse-distilled Diffusion Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=bS8qU2wJxu},
}
Figure