CDLM: Consistency Diffusion Language Models For Faster Sampling

Minseo Kim, Chenfeng Xu, Coleman Hooper, Harman Singh, Ben Athiwaratkun, Ce Zhang, Kurt Keutzer, Amir GholamiarXiv 2025 · DOI

Introduction

Diffusion Language Models (DLMs) offer a promising alternative to standard autoregressive (AR) generation by refining entire sequences in parallel. However, they have historically suffered from high latency due to the requirement for hundreds of iterative refinement steps and the inability to utilize Key-Value (KV) caching with bidirectional attention. Consistency Diffusion Language Models (CDLM) address these bottlenecks by combining consistency training with a novel block-wise causal architecture.

Methodology: Bridging the Efficiency Gap

CDLM introduces two primary innovations to accelerate inference: consistency-guided distillation and cache-friendly block causality.

Consistency-Guided Distillation

Drawing inspiration from consistency models in image generation, CDLM trains a "student" model to map intermediate denoising states directly to more finalized states. This allows the model to skip numerous refinement steps, effectively finalizing multiple tokens per step rather than just one.

Block-Wise Causal Architecture

To enable KV caching, CDLM replaces full bidirectional attention with a block-wise causal mask. In this structure, tokens within a specific decoding block maintain bidirectional context, but can only attend to previous blocks. This makes the model compatible with standard KV caching for all finalized blocks, reducing per-step computational complexity.

The CDLM generation process utilizes block-wise causality and consistency distillation to jump across the denoising trajectory.

The training process employs a three-objective loss function: a distillation loss from a bidirectional teacher, a consistency loss for trajectory stability, and a standard DLM masked-denoising loss to maintain base generation quality.

Experimental Setup

The model was evaluated on complex reasoning tasks including mathematics and code generation. Training utilized the Bespoke-Stratos-17k and DParallel datasets. Performance was benchmarked against GSM8K, MATH, HumanEval, and MBPP.

Key Results: Unprecedented Speedups

CDLM demonstrates significant improvements in both latency and throughput. The model achieved a 3.6× to 14.5× reduction in latency compared to vanilla DLM baselines like Dream-7B and LLaDA-8B.

CDLM significantly outperforms both vanilla DLMs and standard autoregressive models in tokens per second across various benchmarks.

On the GSM8K benchmark, CDLM-Dream reached 51.7 tokens per second (TPS), outperforming autoregressive models such as Qwen2.5-7B and Llama-3.1-8B. Crucially, these speed gains do not come at the cost of accuracy; CDLM maintained or improved performance on coding tasks, such as reaching a score of 50.0 on HumanEval.

Discussion and Future Directions

The success of CDLM highlights the potential of "middle-ground" hardware utilization. While AR models are often memory-bound and vanilla DLMs are compute-bound, CDLM's block-parallelism optimizes weight loading without the overhead of full bidirectional attention.

Future work includes expanding the distillation corpus to general-purpose language tasks and exploring "on-policy" training where the teacher corrects the student's errors in real-time. As larger DLM backbones emerge, the CDLM framework is expected to scale effectively, further narrowing the gap between diffusion and autoregressive models.

Summary updated

BibTeX
@misc{kim2025cdlm,
  author = {Minseo Kim and Chenfeng Xu and Coleman Hooper and Harman Singh and Ben Athiwaratkun and Ce Zhang and Kurt Keutzer and Amir Gholami},
  title = {{CDLM: Consistency Diffusion Language Models For Faster Sampling}},
  year = {2025},
  eprint = {2511.19269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.19269},
}
Figure