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

Efficient-DLM: From Autoregressive to Diffusion Language Models, and Beyond in Speed

Yonggan Fu, Lexington Whalen, Zhifan Ye, Xin Dong, Shizhe Diao, Jingyu Liu, Chengyue Wu, Hao Zhang, Enze Xie, Song Han, Maksim Khadkevich, Jan Kautz, Yingyan Celine Lin, Pavlo Molchanov

Abstract

Standard autoregressive (AR) language models generate text sequentially, creating a significant bottleneck for inference speed. Diffusion Language Models (dLMs) offer a promising alternative by enabling parallel token generation, but they suffer from poor learning efficiency when trained from scratch. Efficient-DLM introduces a principled framework for converting pretrained AR models into dLMs. By utilizing a novel block-wise attention pattern and position-dependent masking, Efficient-DLM preserves the pretrained knowledge of AR models while unlocking up to 4.7× higher throughput and superior accuracy compared to existing state-of-the-art dLMs.

The Bottleneck of Autoregressive Generation

Large Language Models (LLMs) traditionally rely on autoregressive generation, producing text one token at a time from left to right. While highly accurate, this sequential process is computationally expensive and slow, particularly for long sequences.

Diffusion Language Models (dLMs) address this by generating multiple tokens in parallel. However, training dLMs from scratch is notoriously difficult and resource-intensive. Previous attempts to "convert" existing AR models into dLMs often struggled because the conversion process forced the model to use fully bidirectional attention. This caused the model's internal weights to drift significantly from their pretrained state, leading to catastrophic forgetting. Furthermore, a gap existed between how these models were trained (masking tokens randomly) and how they were used at inference time (generating tokens with a left-to-right bias).

Methodology: A Principled Recipe for Conversion

To overcome these hurdles, researchers developed a methodology to transform pretrained AR models into efficient dLMs without losing their foundational knowledge. The approach relies on three core components:

  1. Block-wise Attention with Clean Context: Instead of global bidirectional attention, sequences are divided into blocks. During training, each block attends only to its own noisy tokens and the clean (already denoised) tokens from previous blocks. This preserves the original AR model's causality and weight distribution, preventing catastrophic forgetting while enabling KV caching for faster inference.
  2. Position-Dependent Token Masking: Even in parallel generation, dLMs naturally resolve earlier tokens before later ones. To bridge the training-inference gap, Efficient-DLM employs a masking strategy that assigns higher masking probabilities to tokens at the end of a block. This forces the model to learn harder "later" dependencies during training, better mimicking test-time behavior.
  3. Removing Token Shift: Unlike AR models that predict the next token ($x_{t+1}$), Efficient-DLM predicts the masked token at its current position. Removing the simultaneous burden of denoising and shifting improves overall performance.

Experimental Setup

The researchers initialized Efficient-DLM using the Qwen2.5 and Qwen3 families (1.5B, 4B, and 8B parameters). Continuous pretraining was conducted on a 300B–500B token mix of high-quality datasets.

The models were evaluated across 12 diverse tasks—spanning coding (HumanEval, MBPP), mathematics (GSM8K, Minerva), factual knowledge (MMLU), and commonsense reasoning (ARC, Hellaswag, PIQA)—as well as the Massive Text Embedding Benchmark (MTEB) to test bidirectional encoding strengths.

Key Results and Insights

  • Superior Accuracy-Throughput Trade-offs: Efficient-DLM-8B achieved +5.4% higher accuracy than the previous state-of-the-art dLM (Dream-7B) while delivering 4.7× higher throughput. Remarkably, it also outperformed its AR source model, Qwen3-4B, by +2.7% in accuracy and 2.8× in throughput.
  • Embedding Excellence: Because dLMs utilize bidirectional information within blocks, they excel at text embedding. Efficient-DLM outperformed Qwen models of the same size by nearly 10% on average on the MTEB benchmark.
  • Inference-Time Flexibility: A single Efficient-DLM model offers adjustable generation strategies. By tweaking a "confidence threshold" at inference time, users can dynamically trade off between maximum speed (highly parallel generation) and maximum accuracy (more sequential generation) without needing to retrain the model.

Limitations and Future Work

While Efficient-DLM significantly accelerates generation, its throughput advantages are most pronounced at smaller batch sizes where memory bandwidth is the primary bottleneck. At very large batch sizes (e.g., 32+), the overhead of the diffusion sampling process can cause dLMs to lag behind highly optimized AR serving systems.

Future research will explore linear attention mechanisms to further enhance efficiency for long-context windows and develop more advanced positional priors for the denoising process.

Summary updated

BibTeX
@inproceedings{fu2026efficient,
  author = {Yonggan Fu and Lexington Whalen and Zhifan Ye and Xin Dong and Shizhe Diao and Jingyu Liu and Chengyue Wu and Hao Zhang and Enze Xie and Song Han and Maksim Khadkevich and Jan Kautz and Yingyan Celine Lin and Pavlo Molchanov},
  title = {{Efficient-DLM: From Autoregressive to Diffusion Language Models, and Beyond in Speed}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=ynRnOqI2W8},
}
Figure