{"id": "http://arxiv.org/abs/2607.04428v1", "title": "dOPSD: On-Policy Self-Distillation for Diffusion Language Models", "abstract": "Diffusion large language models (dLLMs) generate text by iteratively denoising a masked sequence, offering a parallel alternative to autoregressive models, but eliciting strong reasoning through post-training remains difficult: supervised fine-tuning is off-policy and suffers from exposure bias, while reinforcement learning gives only sparse, sequence-level rewards and is hard to apply without tractable sequence likelihoods. On-policy self-distillation (OPSD) offers a promising alternative, using one model as both student and teacher to provide dense, token-level, on-policy supervision, but its effectiveness hinges on giving the teacher privileged information (PI) - typically an instance-specific ground-truth reference unavailable at inference - so the student ends up distilling a weak PI-free consensus policy that yields little improvement on dLLM reasoning. We introduce dOPSD, which instead derives the teacher's privilege directly from the student's own denoising trajectory, evaluating masked positions using later, more-decoded steps of that same trajectory rather than an external label, so the teacher's advantage emerges from the model's own decoding process; on Dream and LLaDA, dOPSD improves both in-domain math reasoning and out-of-domain code generation, outperforming supervised and on-policy baselines.", "published_at": "2026-07-05T17:47:29+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2607.04428v1", "source_hash": "b1859c9a6273f42c3cdb029e8d2e4bbcd612c22d55e574133ac942329bdfb53e", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion", "reasoning", "post-training", "code-generation"], "code_url": "https://github.com/tuandattt/dOPSD", "has_code": true, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.04531v1", "http://arxiv.org/abs/2609.04010v1", "http://arxiv.org/abs/2609.00495v1"], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "explanations": {}, "full_article_summary": {"format": "research_guide_v14", "analysis_scope": "full_article_map_reduce", "source_hash": "b1859c9a6273f42c3cdb029e8d2e4bbcd612c22d55e574133ac942329bdfb53e", "source_url": "https://arxiv.org/abs/2607.04428v1", "source_version": "v1", "revision_id": "4b2248d77709ac647fc22647c5963d930932f8b00b38cf10c1b998d433ac2d2f", "canonical_text_hash": "30291f69f8f21c1c6ac6216c1e8cd5dbb2716ee2159be96bed502ab57b5a4d66", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "dOPSD — убедительный метод самодистилляции для диффузионных языковых моделей: он стабильно улучшает математическое рассуждение и обобщение на генерацию кода на Dream и LLaDA. Преимущество подтверждено на указанных бенчмарках, но не следует считать его универсальным без проверки на других моделях и режимах декодирования.", "en": "dOPSD is a convincing self-distillation method for diffusion language models: it consistently improves mathematical reasoning and transfer to code generation on Dream and LLaDA. The advantage is supported on the reported benchmarks, but should not be treated as universal without testing other models and decoding regimes."}, "main_idea": {"ru": "Использовать более поздние, частично декодированные состояния собственной траектории денойзинга модели как привилегированного учителя для ранних замаскированных состояний. Это адаптирует on-policy самодистилляцию к диффузионной генерации без архитектурных изменений и без эталонных цепочек рассуждений.", "en": "Use later, partially decoded states from the model’s own denoising trajectory as privileged teachers for earlier masked states. This adapts on-policy self-distillation to diffusion generation without architectural changes or reference reasoning traces."}, "claims": {"ru": "Метод улучшает Dream GSM8K с 81.41 до 83.04, MATH500 с 38.97 до 42.20, HumanEval с 52.54 до 56.71 и MBPP с 57.43 до 58.49; на LLaDA MATH500 растёт с 31.24 до 36.00, а GSM8K — с 71.23 до 72.87, при также более высоких результатах на коде. Среди проверенных методов dOPSD единственным последовательно улучшал математику и код. Лучше всего работали forward KL, полный горизонт учителя и τ=0.5; удаление проверки правильности роллаута сохраняло улучшение, но уменьшало его.", "en": "The method improves Dream GSM8K from 81.41 to 83.04, MATH500 from 38.97 to 42.20, HumanEval from 52.54 to 56.71, and MBPP from 57.43 to 58.49; on LLaDA, MATH500 rises from 31.24 to 36.00 and GSM8K from 71.23 to 72.87, with code scores also increasing. Among tested methods, dOPSD was the only one that consistently improved both math and code. Forward KL, the full teacher horizon, and τ=0.5 performed best; removing rollout verification preserved gains but reduced them."}, "mechanism": {"ru": "Состояние студента берётся из реального шага декодирования, где доля маскированных позиций превышает τ; это удерживает обучение на inference-траектории. Для каждой ещё маскированной позиции учитель усредняет предсказания последующих состояний, в которых позиция остаётся маскированной; при необходимости используется конечное состояние. Целевой сигнал — токенный generalized Jensen–Shannon divergence, с лучшими результатами у forward-KL-компоненты. Уже декодированные позиции исключаются. При наличии проверяемого ответа неправильные роллауты отбрасываются; без эталонного ответа допускаются все роллауты. Архитектура не меняется, но требуется один дополнительный проход учителя для каждого различающегося оставшегося шага траектории. Обучение использует около 12 тысяч задач MixChain-Z-PRM12K с проверяемыми финальными ответами и не требует эталонного CoT. Для воспроизведения: (1) сэмплировать реальный промежуточный роллаут; (2) выбрать позиции, остающиеся маскированными; (3) собрать предсказания будущих состояний; (4) усреднить их и вычислить токенную дистилляцию; (5) при наличии ответа отфильтровать неправильный роллаут; (6) обучить модель с настройками τ=0.5 и полного горизонта учителя. Dream использует entropy remasking при температуре 0.1, LLaDA — нативное greedy low-confidence remasking; обе модели делают один diffusion-шаг на сгенерированный токен.", "en": "The student state is sampled from an actual decoding step whose masked fraction exceeds τ, keeping training on the inference trajectory. For each still-masked position, the teacher averages predictions from later states in which that position remains masked; an endpoint state is used when needed. The target is token-level generalized Jensen–Shannon divergence, with the forward-KL component performing best. Already decoded positions are excluded. When a checkable answer exists, incorrect rollouts are discarded; without a reference answer, all rollouts may be distilled. The architecture is unchanged, but one extra teacher forward pass is required per distinct remaining trajectory step. Training uses roughly 12K MixChain-Z-PRM12K problems with checkable final answers and does not require reference CoT. Reproduction: (1) sample a genuine intermediate rollout; (2) select positions that remain masked; (3) collect predictions from future states; (4) average them and compute token-level distillation; (5) filter incorrect rollouts when an answer is available; (6) train with τ=0.5 and the full teacher horizon. Dream uses temperature-0.1 entropy remasking, while LLaDA uses native greedy low-confidence remasking; both use one diffusion step per generated token."}, "evidence": {"ru": "На Dream-7B-Instruct и LLaDA-8B-Instruct оценивались GSM8K, MATH500, HumanEval и санитизированный MBPP с single-sample Acc@1 или pass@1. Численные результаты показывают устойчивое улучшение dOPSD относительно базовых и on-policy методов в перечисленных условиях. Абляции поддерживают выбор forward KL, полного горизонта и τ=0.5; улучшение сохраняется без проверки роллаутов, но проверка усиливает его. На трёх качественных задачах LLaDA dOPSD избежал ошибок единиц, знаков и величин, тогда как базовые методы ошибались или не выдавали ответа. Превосходство за пределами этих двух моделей, четырёх наборов данных и заданных режимов декодирования не установлено.", "en": "Dream-7B-Instruct and LLaDA-8B-Instruct were evaluated on GSM8K, MATH500, HumanEval, and sanitized MBPP using single-sample Acc@1 or pass@1. The numerical results show consistent dOPSD improvements over baseline and on-policy methods under the reported conditions. Ablations support forward KL, the full horizon, and τ=0.5; gains persist without rollout verification, while verification strengthens them. In three qualitative LLaDA examples, dOPSD avoided unit, sign, and magnitude errors that defeated baselines or caused missing answers. Superiority beyond these two models, four datasets, and the specified decoding regimes is not established."}, "applicability": {"ru": "Метод особенно применим к masked-diffusion языковым моделям с траекторией последовательного денойзинга, проверяемыми финальными ответами и задачами, где полезно переносить информацию из будущих состояний. Он подходит для математического постобучения с переносом на код и не требует разметки промежуточных рассуждений.", "en": "The method is especially applicable to masked-diffusion language models with sequential denoising trajectories, checkable final answers, and tasks where information from future states can be useful. It fits mathematical post-training with transfer to code and does not require intermediate reasoning annotations."}, "limitations": {"ru": "Дополнительные проходы учителя увеличивают вычисления пропорционально числу различных оставшихся шагов траектории. Проверка роллаута требует доступного проверяемого ответа и потому не универсальна. Источник не устанавливает переносимость на другие диффузионные архитектуры, более широкий набор задач, многосэмпловые метрики или режимы, отличные от указанных Dream и LLaDA.", "en": "Extra teacher passes increase computation in proportion to the number of distinct remaining trajectory steps. Rollout verification requires an available checkable answer and is therefore not universal. The source does not establish transfer to other diffusion architectures, a broader task set, multi-sample metrics, or regimes beyond the specified Dream and LLaDA settings."}, "next_action": {"ru": "Провести малую проверку переносимости: (1) выбрать ещё одну masked-diffusion модель и задачи без проверяемых ответов; (2) обучить одинаковые базовый on-policy метод и dOPSD с τ=0.5; (3) сравнить forward KL с полным горизонтом против альтернативных настроек; (4) измерить качество, стоимость дополнительных проходов и долю невалидных роллаутов; (5) проверить, сохраняется ли преимущество на математике и коде.", "en": "Run a small transfer study: (1) select another masked-diffusion model and tasks without checkable answers; (2) train matched on-policy and dOPSD baselines with τ=0.5; (3) compare forward KL with the full horizon against alternative settings; (4) measure quality, extra-pass cost, and invalid-rollout rate; (5) test whether the advantage persists on math and code."}}, "source_coverage": {"canonical_text_hash": "30291f69f8f21c1c6ac6216c1e8cd5dbb2716ee2159be96bed502ab57b5a4d66", "covered_chunks": 5, "map_input_digest": "9b47487fa86278ed30d9f93ba10e880036a5861c390de9f3c7806fe53b1ee85a", "prompt_version": "full-article-research-guide-v14", "revision_id": "4b2248d77709ac647fc22647c5963d930932f8b00b38cf10c1b998d433ac2d2f", "total_chunks": 5}}, "resources": {"version": "paper-resources-v1", "source_hash": "b1859c9a6273f42c3cdb029e8d2e4bbcd612c22d55e574133ac942329bdfb53e", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": "## Page 1\n\n### dOPSD: On-Policy Self-Distillation for Diffusion Language Models\n\n### Phuong Tuan Dat1, Qi Li1, Xinchao Wang1∗\n\n1National University of Singapore\n{phuongtuandat, liqi}@u.nus.edu, xinchao@nus.edu.sg\n\nhttps://github.com/tuandattt/dOPSD\n\n### Abstract\n\nDiffusion large language models (dLLMs) generate text by\niteratively denoising a masked sequence, offering a paral-\nlel alternative to autoregressive models, but eliciting strong\nreasoning through post-training remains difficult: supervised\nfine-tuning is off-policy and suffers from exposure bias, while\nreinforcement learning gives only sparse, sequence-level re-\nwards and ", "url": "https://github.com/tuandattt/dOPSD", "kind": "code", "span": [0, 640], "evidence_hash": "94a75beee0d0426c111a8e9b22199abf43dcc0fbfb83779cf1293791f99b40f9"}]}, "slug": "2607.04428-dopsd-on-policy-self-distillation-for-diffusion-language-models"}