DiffusionOPD: A Unified Perspective of On-Policy Distillation in Diffusion Models

Quanhao Li, Junqiu Yu, Kaixun Jiang, Yujie Wei, Zhen Xing +5 more
5/14/2026
50 citations
cs.LGcs.CV
diffusion-flowrldistillation

No official code found. Best implementation: ali-vilab/DiffusionOPD (196 stars, Python, Apache-2.0, last commit 2026-07-20).

Abstract

Reinforcement learning has emerged as a powerful tool for improving diffusion-based text-to-image models, but existing methods are largely limited to single-task optimization. Extending RL to multiple tasks is challenging: joint optimization suffers from cross-task interference and imbalance, while cascade RL is cumbersome and prone to catastrophic forgetting.

Show full abstract

We propose DiffusionOPD, a new multi-task training paradigm for diffusion models based on Online Policy Distillation (OPD). DiffusionOPD first trains task-specific teachers independently, then distills their capabilities into a unified student along the student own rollout trajectories. This decouples single-task exploration from multi-task integration and avoids the optimization burden of solving all tasks jointly from scratch. Theoretically, we lift the OPD framework from discrete tokens to continuous-state Markov processes, deriving a closed-form per-step KL objective that unifies both stochastic SDE and deterministic ODE refinement via mean-matching. We formally and empirically demonstrate that this analytic gradient provides lower variance and better generality compared to conventional PPO-style policy gradients. Extensive experiments show that DiffusionOPD consistently surpasses both multi-reward RL and cascade RL baselines in training efficiency and final performance, while achieving state-of-the-art results on all evaluated benchmarks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[SIGGRAPH Asia 2026] DiffusionOPD: A Unified Perspective of On-Policy Distillation in Diffusion Models

1962Python, ShellMay 26, 20264 months agoApache-2.0

Similar Papers

Cite this paper

@article{li2026diffusionopd,
  title  = {DiffusionOPD: A Unified Perspective of On-Policy Distillation in Diffusion Models},
  author = {Quanhao Li and Junqiu Yu and Kaixun Jiang and Yujie Wei and Zhen Xing and Pandeng Li and Ruihang Chu and Shiwei Zhang and Yu Liu and Zuxuan Wu},
  year   = {2026},
  eprint = {2605.15055},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.15055v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.15055.svg)](https://codeofpaper.com/paper/2605.15055)

Discussion