Data-Efficient Autoregressive-to-Diffusion Language Models via On-Policy Distillation

Xingyu Su, Jacob Helwig, Shubham Parashar, Atharv Chagi, Lakshmi Jotsna, Degui Zhi, James Caverlee, Dileep Kalathil, Shuiwang JiarXiv 2026

TL;DR

Transforming autoregressive language models (ARLMs) into diffusion language models (DLMs) typically requires massive datasets to overcome severe distribution shifts. This paper introduces OPDLM, a method that uses on-policy self-distillation to train a student diffusion model on its own decoding trajectories while preserving the original ARLM's knowledge. This approach achieves competitive performance across diverse benchmarks while using up to 7,000× fewer training tokens, effectively reframing diffusion conversion as a lightweight post-training step.

What Problem Does This Paper Address?

Diffusion Language Models (DLMs)—specifically Masked Diffusion Language Models (MDLMs)—are gaining traction because they allow for flexible, multi-token parallel decoding during inference. However, training them from scratch requires trillions of tokens. To save compute, recent methods attempt to convert pretrained autoregressive models (like standard causal LLMs) into DLMs by replacing causal attention with bidirectional attention and continuing training.

Unfortunately, this conversion introduces two major distribution shifts:

  1. Knowledge-Retention Mismatch: Switching from a next-token prediction objective to a diffusion masking objective can cause the model to forget the vast world knowledge and reasoning capabilities it acquired during pretraining.
  2. Training–Inference State Mismatch: Standard DLMs are trained on sequences with uniformly random masked tokens. However, at inference time, they generate text along specific trajectories dictated by confidence-based decoding heuristics. This means the model never actually trains on the types of states it encounters during real-world generation.

Methods

The authors propose On-Policy Diffusion Language Models (OPDLM) to solve both mismatches simultaneously through a framework called On-Policy Distillation (OPD).

Here is how the training loop works at each step:

  • On-Policy Rollout: The student model (initialized from a pretrained ARLM but modified with blockwise-causal/bidirectional attention) generates its own reverse diffusion decoding trajectory. This yields intermediate, partially masked states ($x_t$) and a final, fully unmasked terminal sequence ($x_0$).
  • ARLM Teacher Supervision: A frozen copy of the original ARLM acts as the teacher. Because an ARLM cannot process masked tokens, OPDLM uses the student's terminal sequence ($x_0$) to construct clean, unmasked causal prefixes for the teacher. The teacher is queried on these prefixes to provide full token-level target distributions (logits).
  • Distillation Loss: The student is trained via KL divergence to match the teacher's logits, but only on the states visited during its own on-policy rollout.
OPDLM Training Framework

To stabilize early training—where long student rollouts can be highly incoherent—the authors implement a Rollout-Length Curriculum. Training starts with short sequence lengths and progressively scales up to a maximum length of 4,000 tokens as the student improves.

Datasets

OPDLM does not require raw pretraining text; it only requires prompts. The authors curated a lightweight training corpus of ~62,000 prompts spanning four domains:

  • Math (20,222 samples): Sourced from DAPO and Nemotron-v2-Math.
  • Code (21,594 samples): Sourced from TACO, KodCode-Light-RL, and AceCode.
  • Science (10,000 samples): Sourced from Nemotron-v2-STEM.
  • Chat (10,000 samples): Sourced from Nemotron-v2-Chat.

For evaluation, the models were tested on standard benchmarks including MMLU, MMLU-Pro, GPQA-Diamond, IFEval, GSM8K, MATH-500, AIME-24/25, HumanEval, and MBPP.

Key Insights and Ideas

  • Post-Training vs. Pretraining: This work demonstrates that ARLM-to-DLM conversion can be treated as a lightweight post-training alignment phase (akin to SFT or RLHF) rather than an expensive continued pretraining phase.
  • The Power of On-Policy Data: Ablation studies revealed that training on the model's own generated trajectories is the primary driver of performance. Replacing on-policy data with offline teacher-generated data led to noticeable performance drops.
  • Zero-Shot Capability Retention: Because the student model distills the full logit distribution of the teacher, it retains capabilities completely absent from the 62K training prompts. For example, despite seeing zero multilingual data during conversion, OPDLM retained the base model's multilingual proficiency. It also retained the ability to perform extended reasoning (using <think> tags) when prompted at evaluation time.

Key Results

  • Unprecedented Data Efficiency: OPDLM-8B requires only 0.066 billion training tokens and $4.2 \times 10^{18}$ FLOPs. This represents a 15× to 7,000× reduction in training tokens compared to established DLM baselines like LLaDA (1,500B tokens) or SDAR (55B tokens), establishing a new Pareto frontier for diffusion models.
OPDLM establishes a new Pareto frontier on AIME-24
  • Downstream Performance: Despite the radical reduction in data, OPDLM-8B achieved highly competitive results, scoring 14.7% on the rigorous AIME-24 math benchmark (outperforming SDAR-8B's 10.0% and Fast-dLLM-v2-7B's 10.0%).
  • Flexible Inference Throughput: By lowering the decoding confidence threshold or increasing the block size during inference, OPDLM can dynamically scale its throughput from 1 token per step up to ~3.5 tokens per step, offering a direct trade-off between speed and accuracy.

Limitations and Future Work

  • Coding Deficit: While OPDLM excels at math and general knowledge, it underperforms on certain coding benchmarks (like HumanEval and MBPP) relative to the strongest baselines. The authors attribute this to the limited diversity and size of their 62K prompt dataset.
  • Scaling Reasoning Distillation: The authors successfully trained a task-specific "thinking" variant (OPDLM-MATH-Thinking) that achieved 50% on AIME-24, but this chain-of-thought distillation was restricted to mathematics. Expanding extended reasoning distillation to general-domain datasets remains an open challenge.
  • Cross-Family Distillation Anomalies: The main experiments relied on self-distillation (e.g., Qwen-8B teaching Qwen-8B). Preliminary tests showed that naively using a larger teacher (like Qwen-32B) did not automatically improve student performance, indicating that teacher-student size and family mismatches require more careful study.

Summary updated

BibTeX
@misc{su2026data,
  author = {Xingyu Su and Jacob Helwig and Shubham Parashar and Atharv Chagi and Lakshmi Jotsna and Degui Zhi and James Caverlee and Dileep Kalathil and Shuiwang Ji},
  title = {{Data-Efficient Autoregressive-to-Diffusion Language Models via On-Policy Distillation}},
  year = {2026},
  eprint = {2606.06712},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.06712},
}
Figure