Manuscript Offprint

arXiv:2610.17397

JustOPD: On-Policy Distillation from Autoregressive to Diffusion Language Models

Zikun Zhang, Jiayuan Sheng, David D. Yao, Wenpin Tang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

On-policy distillation (OPD) is a post-training approach for large language models (LLMs) that enables a student model to learn a teacher model's distribution from sequences sampled from the student's own policy. Despite its promising capability, OPD for diffusion language models (DLMs) remains underexplored and existing studies primarily focuses on DLM-to-DLM distillation. The limited availability of strong teacher DLMs and the flexible generation order of DLMs impose additional technical challenges as well. However, it remains unclear how to effectively distill knowledge from a strong autoregressive language model (ARM) into a weaker DLM, given the mismatch between the left-to-right decoding of ARMs and the flexible decoding order of DLMs. Inspired by Ni et al. (2026), we propose JustOPD, an ARM-to-DLM on-policy distillation method that uses autoregressive rollouts during training to align the student's generation process with the ARM teacher's left-to-right decoding. This alignment enables effective distillation from ARM teachers while preserving the DLM's flexible generation-order capability at inference time. Experiments using Qwen3-14B as the teacher and Dream-7B as the student demonstrate that JustOPD consistently improves mathematical reasoning performance over the base DLM across multiple divergence choices.

1 Introduction

On-policy distillation (OPD) (Agarwal et al., 2024; Lu and Lab, 2025) has recently emerged as a key component of LLM post-training, where the student learns directly from the teacher's distribution on responses sampled from the student's own policy, while the teacher provides dense supervision signals for these student-generated responses. For autoregressive language models (ARMs), OPD is relatively straightforward, as the student and teacher can be chosen from the same model family (e.g., the Qwen3 series), leveraging the many strong and readily available open-source ARMs. Moreover, the fixed left-to-right, token-by-token generation process of ARMs naturally aligns the generation trajectories of the student and teacher, making ARM-to-ARM OPD fundamentally compatible.

In contrast, applying OPD to mask-based diffusion language models (DLMs) introduces additional challenges. In particular, the arbitrary-order generation process of DLMs requires careful consideration of the student's generation trajectory, while strong and readily available DLM teachers remain scarce. Ren et al. (2026) first studied DLM-to-DLM distillation by querying a stronger teacher DLM with the partially denoised sequences generated by the student, which naturally accommodates the arbitrary generation order of DLMs. However, explicitly recording and replaying the generation trajectory of each student sample can be computationally expensive, particularly for long sequences. Furthermore, restricting the teacher to be a DLM limits the scalability and

*Department of Industrial Engineering and Operations Research, Columbia University, New York, NY 10027. Emails: zz3367@columbia.edu, js6646@columbia.edu, yao@columbia.edu, wt2319@columbia.edu.

generality of this approach, given the scarcity of strong, open-source DLMs. Overall, the flexibility of arbitrary-order generation introduces substantial complexity to DLM post-training, particularly in aligning the student’s generation trajectory with that of the teacher.

Given the limited availability of strong DLM teachers, an appealing alternative is to distill knowledge from a well-trained ARM into a weaker DLM. This direction is particularly promising because ARMs are substantially more mature and widely adopted in the LLM community, with a large number of high-performing models available for distillation. Moreover, ARM-to-DLM distillation offers an attractive way to combine the complementary strengths of the two paradigms: ARMs generally achieve stronger generation quality, while DLMs enable parallel token generation and can substantially reduce generation latency compared with ARMs under comparable hardware and engineering optimization. However, transferring knowledge from an ARM to a DLM is fundamentally challenging due to their incompatible generation paradigms. An ARM is trained with a causal mask and generates tokens strictly from left to right, conditioning each token on a complete prefix, while a DLM progressively denoises a sequence and can predict tokens in an arbitrary order. As a result, the partially denoised sequences at intermediate denoising steps encountered by a DLM do not generally correspond to valid prefixes under the ARM's training distribution, making it unclear how an ARM teacher can provide meaningful supervision throughout the DLM's denoising process. This mismatch motivates the development of effective ARM-to-DLM distillation methods.

To bridge this gap, we propose to enforce left-to-right rollout generation for the DLM during training, so that the intermediate student states remain valid prefixes that can be directly processed by an ARM teacher. This idea is inspired by JustGRPO (Ni et al., 2026), which observes that arbitrary-order generation during reinforcement learning (RL) rollouts may hinder the reasoning capability of DLMs: the model may generate easier future tokens with high confidence before resolving the more difficult tokens that depend on them. JustGRPO therefore adopts autoregressive-style rollouts during RL training and demonstrates substantial performance gains. Motivated by these observations, we similarly leverage autoregressive rollouts during OPD, which we term JustOPD, to bridge the generation-paradigm gap between ARMs and DLMs, while preserving the flexible arbitrary-order generation capability of DLMs at inference time. We conduct experiments by choosing Dream-7B (Ye et al., 2025) as the base student DLM and Qwen3-14B (Yang et al., 2025) as the teacher ARM, because Dream-7B uses a full-attention diffusion model but initialized from a pretrained ARM checkpoint (Qwen2.5-7B weights). Our experiment results on several mathematical reasoning benchmarks (GSM8K and MATH500) demonstrate the effectiveness of JustOPD.

References (58)