T3D: Few-Step Diffusion Language Models via Trajectory Self-Distillation with Direct Discriminative Optimization
Tunyu Zhang, Xinxi Zhang, Ligong Han, Haizhou Shi, Xiaoxiao He, Zhuowei Li, Hao Wang, Kai Xu, Akash Srivastava, Hao Wang, Vladimir Pavlovic, Dimitris N. Metaxas
TL;DR
This work tackles the latency bottleneck of diffusion-based language models by introducing T3D, a trajectory self-distillation framework that trains a few-step student from teacher rollout trajectories using a mode-seeking Direct Discriminative Optimization objective. By combining trajectory-level supervision with a discriminative, likelihood-ratio loss and an on-policy training regime, T3D reduces factorization error in the reverse diffusion and stabilizes learning under tight step budgets. Theoretical analysis shows trajectory distillation lowers conditional dependence and TC, while experiments across reasoning and code-generation benchmarks demonstrate improved few-step accuracy and preserved full-step performance, even under dynamic decoding. Overall, T3D narrows the gap to full-step diffusion, enabling efficient, practical few-step DLLMs with broad applicability.
Abstract
Diffusion large language models (DLLMs) have the potential to enable fast text generation by decoding multiple tokens in parallel. However, in practice, their inference efficiency is constrained by the need for many refinement steps, while aggressively reducing the number of steps leads to a substantial degradation in generation quality. To alleviate this, we propose a trajectory self-distillation framework that improves few-step decoding by distilling the model's own generative trajectories. We incorporate Direct Discriminative Optimization (DDO), a reverse-KL objective that promotes mode-seeking distillation and encourages the student to concentrate on high-probability teacher modes. Across benchmarks, our approach consistently outperforms strong few-step baselines and standard training under tight step budgets. Although full-step decoding remains superior, we substantially narrow the gap, establishing a strong foundation towards practical few-step DLLMs. The source code is available at https://github.com/Tyrion58/T3D.
