Abstract
Discrete diffusion language models (dLLMs) have emerged as a parallel alternative to auto-regressive (AR) models, yet they often require hundreds of denoising steps to achieve high-quality text generation. We introduce Discrete Diffusion Divergence Instruct (DiDi-Instruct), a novel distillation framework that accelerates dLLMs by up to 64x. By framing distillation as a policy-gradient problem and employing an auxiliary discriminator, DiDi-Instruct enables the training of few-step student models that surpass their 1024-step teachers in perplexity and coherence. Notably, the framework is highly efficient, requiring only one hour of training on a single GPU.
Introduction
Large Language Models (LLMs) typically rely on auto-regressive (AR) generation, which produces tokens sequentially from left to right. This process creates a significant inference bottleneck. Discrete diffusion language models (dLLMs) address this by starting with a fully masked sequence and iteratively denoising tokens in parallel. However, the high number of Network Function Evaluations (NFEs) required for quality output limits their practical utility.
Previous attempts to distill slow teacher dLLMs into fast student models have struggled with the non-differentiable nature of discrete text. Standard continuous diffusion techniques do not translate directly, often resulting in complex multi-stage training curriculums that fail to match AR performance at low step counts. DiDi-Instruct overcomes these barriers by aligning student and teacher distributions across all noise levels in a single-stage process.
Methods
DiDi-Instruct utilizes a policy-gradient formulation to bypass the non-differentiability of discrete tokens. The framework consists of three primary components: a student model, a frozen teacher model, and an auxiliary discriminator.
The auxiliary discriminator is trained to distinguish between noisy sequences generated by the teacher and those from the student. The student is then updated using a reward signal derived from the discriminator's output. To maintain stability and prevent "mode collapse," the authors employ Score Function Decomposition, forcing the student to match intermediate noisy states rather than jumping directly from noise to clean text.
At inference time, the framework employs a Reward-Guided Ancestral Sampler (RGAS). This sampler uses the discriminator to guide the generation process, improving output quality in early steps and serving as a re-ranker in later stages.
Results
The framework was evaluated on the OpenWebText dataset and several zero-shot benchmarks. DiDi-Instruct demonstrates a remarkable ability to maintain high text quality at extremely low step counts.
As shown in Figure 1, the 1024-step teacher model achieves a perplexity (PPL) of 38.53. The DiDi-Instruct student surpasses this benchmark in just 16 steps (PPL 30.99) and reaches 18.4 PPL at 128 steps. This represents a 64x speedup with superior quality.
Efficiency and Generalization
Training is exceptionally efficient; distilling a 169M parameter model takes approximately one hour on a single H100 GPU, compared to over 20 GPU hours for competing methods. Zero-shot evaluations on datasets like WikiText, LAMBADA, and PubMed confirm that the model retains general knowledge and does not suffer from catastrophic forgetting during distillation. Furthermore, the method generalizes to non-textual discrete data, producing high-quality protein sequences on the UniRef50 dataset in as few as 8 steps.
Conclusion
DiDi-Instruct provides a robust and efficient recipe for accelerating discrete diffusion models. By successfully applying reinforcement learning techniques to the distillation of dLLMs, it achieves state-of-the-art performance with minimal computational overhead. Future work will focus on addressing VRAM constraints to scale this framework to billion-parameter models, potentially establishing a new standard for high-speed generative AI.
Summary updated