dUltra: Ultra-Fast Diffusion Language Models via Reinforcement Learning
Shirui Chen, Jiantao Jiao, Lillian J. Ratliff, Banghua Zhu
TL;DR
This work addresses the slow sampling of masked diffusion language models by introducing dUltra, an on-policy reinforcement learning framework that jointly learns a lightweight unmasking planner with a base MDLM. Using Group Relative Policy Optimization and a multi-objective reward that includes verifiable task performance, distillation guidance, and efficiency, dUltra learns per-token unmasking probabilities that increase parallelism while preserving output quality. Empirically, it outperforms state-of-the-art heuristic and off-policy distillation baselines on math and coding benchmarks, with substantial reductions in the number of denoising steps, and reveals task-dependent unmasking patterns that resemble a blend of autoregressive and parallel strategies. The results suggest a viable path toward diffusion supremacy by coupling on-policy learning with mode-filter-aware planning for MDLMs.
Abstract
Masked diffusion language models (MDLMs) offer the potential for parallel token generation, but most open-source MDLMs decode fewer than 5 tokens per model forward pass even with sophisticated sampling strategies. As a result, their sampling speeds are often comparable to AR + speculative decoding schemes, limiting their advantage over mainstream autoregressive approaches. Existing distillation-based accelerators (dParallel, d3LLM) finetune MDLMs on trajectories generated by a base model, which can become off-policy during finetuning and restrict performance to the quality of the base model's samples. We propose \texttt{dUltra}, an on-policy reinforcement learning framework based on Group Relative Policy Optimization (GRPO) that learns unmasking strategies for efficient parallel decoding. dUltra introduces an unmasking planner head that predicts per-token unmasking likelihoods under independent Bernoulli distributions. We jointly optimize the base diffusion LLM and the unmasking order planner using reward signals combining verifiable reward, distillation reward, and the number of unmasking steps. Across mathematical reasoning and code generation tasks, dUltra improves the accuracy--efficiency trade-off over state-of-the-art heuristic and distillation baselines, moving towards achieving ``diffusion supremacy'' over autoregressive models.
