HyperAIHyperAI

Command Palette

Search for a command to run...

DiffusionPOND: Scalable and Online Reinforcement Learning for Few-step Diffusion Models

Zhenglin Cheng Peng Sun Jun Xie Jiacheng Liu Jiaming Liu Jiaqi Wang Tao Lin

Abstract

Reinforcement learning (RL) directly on few-step generators reduces rollout cost and avoids the reward degradation incurred when multi-step RL is followed by distillation. However, existing few-step RL methods still rely on pretrained teachers, composite training objectives, reward gradients or learned proxies, or explicit policy likelihoods. To eliminate these dependencies, we introduce DiffusionPOND, an online RL framework for few-step generators based solely on distribution matching over rollouts from the evolving policy. Using black-box rewards, DiffusionPOND ranks rollouts into positive and negative distributions and matches a mixture of the online and negative distributions to the positive target, pulling the generator toward high-reward outputs while pushing it away from low-reward ones. In text-to-image RL at four function evaluations (NFE = 4) on SD3.5-M-Turbo, DiffusionPOND leads few-step baselines on six of seven metrics and ranks among the top two methods on five of seven metrics against 40-step RL baselines. In text-to-video RL at NFE = 4 on Wan2.1, DiffusionPOND outperforms both multi-step and few-step baselines at 1.3B with a VBench score of 84.25, and scales to 14B to improve Gemini-judged test-set video quality by 20.1% over the four-step initialization and 10.9% over the 50-step base model. Scaling further to 33B MiniMax-H3 for joint audio–video RL at NFE = 6, DiffusionPOND effectively reinforces the Pika initialization and achieves competitive performance among open-source few-step H3 models. Beyond bidirectional generators, DiffusionPOND also directly reinforces autoregressive video models, providing a simple and scalable RL framework across few-step generative paradigms.

One-sentence Summary

Researchers from Zhejiang University et al. propose DiffusionPOND, an online reinforcement learning framework for few-step generators that uses black-box reward distribution matching to rank rollouts into positive and negative distributions, aligns a mixture of the online and negative distributions to the positive target without pretrained teachers, reward gradients, or policy likelihoods, and improves text-to-image and text-to-video generation at NFE=4\mathrm{NFE} = 4NFE=4 while scaling to 33B audio-video and autoregressive models.

Key Contributions

  • The paper introduces DiffusionPOND, an online reinforcement learning framework for few-step generators that relies solely on distribution matching over rollouts from the evolving policy and removes dependencies on pretrained teachers, reward gradients or proxies, and explicit policy likelihoods.
  • Using black-box rewards, DiffusionPOND ranks rollouts into positive and negative distributions and matches a mixture of the online and negative distributions to the positive target distribution, producing positive attraction and positive-negative contrast that pull the generator toward high-reward outputs and push it away from low-reward outputs.
  • At NFE = 4, DiffusionPOND improves all seven metrics on SD3.5-M-Turbo, leads few-step baselines on six of seven metrics, and ranks among the top two methods on five of seven metrics against 40-step RL baselines. In video RL at NFE = 4 on Wan2.1, it reaches a VBench score of 84.25 at 1.3B, improves 14B Gemini-judged test-set video quality by 20.1% over the four-step initialization and 10.9% over the 50-step base model, and scales to 33B MiniMax-H3 joint audio-video RL and direct reinforcement of autoregressive video models.

Introduction

Reinforcement learning for generative models matters for aligning image, video, and audio-visual generators with reward signals, but direct multi-step diffusion RL incurs high sampling cost, and distilling a reinforced model can erase some reward gains. Prior multi-step flow RL methods often assume the generator predicts an instantaneous velocity field along an ODE, whereas distilled few-step generators make direct multi-step jumps, so reusing those objectives can be unstable or restrict the distillation objective; existing few-step RL approaches also tend to combine external teachers, reward backpropagation or learned proxies, and policy likelihoods. The authors introduce DiffusionPOND, a teacher-free online RL framework for few-step generators that uses reward-ranked rollouts from an EMA reference policy, trains auxiliary critics to estimate noisy scores, and matches an online-negative mixture to a positive target. This yields a single distribution-matching generator update with attraction and contrast dynamics, applicable across diverse distilled generators without velocity-field constraints.

Method

The authors formulate online reinforcement learning as an iterative distribution transport problem. A few-step generator x0=Gθ(z,c)\mathbf{x}_0 = G_\theta(\mathbf{z}, \mathbf{c})x0​=Gθ​(z,c) induces an output policy πθ\pi_\thetaπθ​ over generated samples conditioned on c\mathbf{c}c. Unlike reward-gradient methods, the framework only receives scalar reward evaluations. In each round, a reference generator produces rollouts that are selected into high-reward and low-reward batches, defining a positive target distribution π+\pi^+π+ and an optional negative contrast distribution π−\pi^-π−.

The method extends distribution matching distillation to an online reward-guided setting. Instead of matching the generator distribution directly to a fixed teacher, the authors match an online-negative mixture

πmix=(1−ρ)πθ+ρπ−,0≤ρ≤1,\pi_{\mathrm{mix}} = (1-\rho)\pi_\theta + \rho \pi^-, \quad 0 \le \rho \le 1,πmix​=(1−ρ)πθ​+ρπ−,0≤ρ≤1,

to the positive distribution π+\pi^+π+. This transports the generator toward high-reward outputs while using low-reward outputs as contrastive repulsion.

To estimate the required noisy scores, the method trains two auxiliary critics. For a clean sample x0\mathbf{x}_0x0​, the noised sample is formed as

xt=(1−t)x0+tz′,t∼U(0,1),z′∼N(0,I).\mathbf{x}_t = (1-t)\mathbf{x}_0 + t\mathbf{z}', \quad t \sim \mathcal{U}(0,1), \quad \mathbf{z}' \sim \mathcal{N}(\mathbf{0}, \mathbf{I}).xt​=(1−t)x0​+tz′,t∼U(0,1),z′∼N(0,I).

A critic vϕ\mathbf{v}_\phivϕ​ is then trained with the auxiliary denoising loss

Laux(ϕ;π)=Ex0∼π,t,z′[∥vϕ(xt,t)−(z′−x0)∥22].\mathcal{L}_{\mathrm{aux}}(\boldsymbol{\phi}; \pi) = \mathbb{E}_{\mathbf{x}_0 \sim \pi, t, \mathbf{z}'} \left[ \left\| \mathbf{v}_{\boldsymbol{\phi}}(\mathbf{x}_t, t) - (\mathbf{z}' - \mathbf{x}_0) \right\|_2^2 \right].Laux​(ϕ;π)=Ex0​∼π,t,z′​[∥vϕ​(xt​,t)−(z′−x0​)∥22​].

The positive critic vϕ+\mathbf{v}_{\phi_+}vϕ+​​ is trained on samples from π+\pi^+π+. The mixture critic vϕmix\mathbf{v}_{\phi_{\mathrm{mix}}}vϕmix​​ is trained on detached online samples and negative samples according to

Lauxmix(ϕmix)=(1−ρ)Laux(ϕmix;πθ)+ρLaux(ϕmix;π−).\mathcal{L}_{\mathrm{aux}}^{\mathrm{mix}}(\boldsymbol{\phi}_{\mathrm{mix}}) = (1-\rho) \mathcal{L}_{\mathrm{aux}}(\boldsymbol{\phi}_{\mathrm{mix}}; \pi_\theta) + \rho \mathcal{L}_{\mathrm{aux}}(\boldsymbol{\phi}_{\mathrm{mix}}; \pi^-).Lauxmix​(ϕmix​)=(1−ρ)Laux​(ϕmix​;πθ​)+ρLaux​(ϕmix​;π−).

These critics provide score estimates for the positive and mixture distributions.

The generator is updated by matching the noisy mixture marginal πmix,t\pi_{\mathrm{mix},t}πmix,t​ to the noisy positive marginal πt+\pi_t^+πt+​. The scaled distribution matching objective is

Lρ(θ)=Et[λ(t)1−ρDKL(πmix,t∥πt+)],\mathcal{L}_{\rho}(\boldsymbol{\theta}) = \mathbb{E}_{t} \left[ \frac{\lambda(t)}{1-\rho} D_{\mathrm{KL}} \left( \pi_{\mathrm{mix},t} \| \pi_t^+ \right) \right],Lρ​(θ)=Et​[1−ρλ(t)​DKL​(πmix,t​∥πt+​)],

with noise-level weighting

λ(t)=2t2(1−t)2.\lambda(t) = \frac{2t^2}{(1-t)^2}.λ(t)=(1−t)22t2​.

In practice, the generator update uses a stop-gradient surrogate. Given an online sample x0=Gθ(z,c)\mathbf{x}_0 = G_\theta(\mathbf{z}, \mathbf{c})x0​=Gθ​(z,c), the sample is re-noised to xt\mathbf{x}_txt​, and both critics are queried at the same point. The generator loss is

LG(θ)=E[∥x0−sg(x0+d)∥22],\mathcal{L}_G(\boldsymbol{\theta}) = \mathbb{E} \left[ \left\| \mathbf{x}_0 - \mathrm{sg} \left( \mathbf{x}_0 + \mathbf{d} \right) \right\|_2^2 \right],LG​(θ)=E[∥x0​−sg(x0​+d)∥22​],

where

d=t[vϕmix(xt,t)−vϕ+(xt,t)].\mathbf{d} = t \left[ \mathbf{v}_{\boldsymbol{\phi}_{\mathrm{mix}}}(\mathbf{x}_t, t) - \mathbf{v}_{\boldsymbol{\phi}_+}(\mathbf{x}_t, t) \right].d=t[vϕmix​​(xt​,t)−vϕ+​​(xt​,t)].

The authors normalize d\mathbf{d}d in the stopped target and truncate generator backpropagation through the noising process.

The score difference can be decomposed into an attraction term and a contrast term. Writing ωt\omega_tωt​ for the local negative fraction,

ωt=ρπt−(xt)πmix,t(xt),\omega_t = \frac{\rho \pi_t^-(\mathbf{x}_t)} {\pi_{\mathrm{mix},t}(\mathbf{x}_t)},ωt​=πmix,t​(xt​)ρπt−​(xt​)​,

the descent direction satisfies

s+,tsmix,t=(1−ωt)(s+,tsθ,t)+ωt(s+,ts−,t).\mathbf{s}_{+,t} \mathbf{s}_{\mathrm{mix},t} = (1-\omega_t) \left( \mathbf{s}_{+,t} \mathbf{s}_{\theta,t} \right) + \omega_t \left( \mathbf{s}_{+,t} \mathbf{s}_{-,t} \right).s+,t​smix,t​=(1−ωt​)(s+,t​sθ,t​)+ωt​(s+,t​s−,t​).

Thus the update simultaneously performs online-to-positive attraction and positive-negative contrast while moving only the online component. At ρ=0\rho=0ρ=0, the update reduces to standard online-to-positive attraction, while as ρ→1\rho \to 1ρ→1, it approaches pure contrast between positive and negative distributions.

For stability, the positive and negative distributions are built from a reference generator GθˉG_{\bar{\theta}}Gθˉ​ and remain fixed within each update round. After generator updates, the reference generator is updated via exponential moving average,

θˉ←βθˉ+(1−β)θ.\bar{\theta} \leftarrow \beta \bar{\theta} + (1-\beta)\theta.θˉ←βθˉ+(1−β)θ.

The authors also use a four-to-one critic-to-generator update ratio, taking four gradient steps on both the positive and mixture critics for each generator step. To reduce generation overhead, online rollouts are replayed during generator updates and re-noised with fresh time steps and noise, rather than regenerating outputs at every step.

Experiment

DiffusionPOND is evaluated across text-to-image, text-to-video, joint audio-video, and autoregressive video generation, using few-step rollouts against multi-step and few-step reinforcement learning baselines with trajectory-level preference optimization. The results show that directly reinforcing few-step generators achieves strong or best performance on image and video benchmarks while reducing sample and GPU costs, and the method generalizes across distilled video generators, larger models, and autoregressive causal generators. Baseline methods exhibit reward hacking, instability, or degradation from distillation, whereas ablations indicate that larger candidate pools, stable EMA targeting, intermediate positive-negative mixture weights, and random-step replay improve training, with no need for a fixed teacher anchor.

Multi-step image RL methods initialized from SD3.5-M consistently improve OCR accuracy, CLIP Score, and ImageReward over the base model. DiffusionNFT achieves the strongest compositional alignment, while Flow-GRPO leads on preference and aesthetic metrics; DiffusionART's final compositional alignment sits near baseline despite strong OCR and CLIP/ImageReward. Overall, no single method dominates all reported metrics. All reported multi-step RL methods raise OCR accuracy well above the SD3.5-M baseline while also improving CLIP Score and ImageReward. DiffusionNFT reaches the highest GenEval among the listed methods, but its PickScore, HPSv2.1, and Aesthetic Score fall below the base model. Flow-GRPO posts the best PickScore, HPSv2.1, Aesthetic Score, and ImageReward among the multi-step methods, and improves GenEval over the baseline. DiffusionART's final GenEval is near the SD3.5-M baseline despite strong OCR and the highest CLIP Score, consistent with a peak earlier in training.

The comparison shows that multi-step RL alone yields strong reward scores, but distilling that model to four steps reduces both PickScore and ImageReward. Distillation alone produces the lowest scores, while applying few-step RL after distillation substantially improves reward quality and even slightly exceeds the multi-step RL PickScore. Multi-step RL followed by distillation loses reward quality relative to multi-step RL, with a clear PickScore decline. Distillation alone produces the lowest PickScore and ImageReward among the compared orderings. Few-step RL after distillation improves PickScore by roughly 7% and ImageReward by roughly 156% over distillation alone. Distill then few-step RL reaches a PickScore slightly above multi-step RL while using four-step inference.

On Wan2.1-T2V-1.3B, ReFL and Flow-GRPO Fast improve VBench and total reward only slightly over the base model, while standard DiffusionNFT falls substantially below it. The best DiffusionNFT checkpoint recovers strongly and achieves the highest VBench among the listed multi-step methods. The cited discussion indicates that multi-step RL suffers from exposure bias, whereas few-step RL on the rCM initialization may reduce this issue. ReFL and Flow-GRPO Fast provide modest gains over the base model in VBench and total reward, with Flow-GRPO Fast showing stronger quality than ReFL and the base model. DiffusionNFT underperforms the base model before checkpoint selection, but its best checkpoint attains the highest VBench and improves reward components over the nonselected DiffusionNFT run.

Across the three compared video generator objectives, reinforcement learning improves reward in every case. The MeanFlow + DMD generator starts from the strongest reward before RL and reaches the highest final reward after RL, while the sCM + DMD generator shows the largest absolute gain. The trajectory-regression generator improves substantially but remains the lowest-scoring after RL. All three generator objectives improve after RL, with the sCM + DMD objective showing the largest absolute reward gain. The MeanFlow + DMD objective achieves the best final reward, while the trajectory-regression objective remains the weakest despite clear improvement.

The table reports pairwise quality evaluation on Wan2.1-T2V-14B across prompt alignment, structural coherence, temporal coherence, and visual naturalness. Few-step variants run at 4 NFE while the reference uses 50×2 NFE, and the strongest few-step results surpass the reference on all reported quality dimensions. The largest gains appear in visual naturalness and temporal coherence. Few-step inference uses only 4 NFE, a small fraction of the 50×2 reference cost. The best few-step scores exceed the Wan2.1-14B reference across prompt alignment, structural coherence, temporal coherence, and visual naturalness. Visual naturalness and temporal coherence show the largest improvements over the reference, while prompt alignment improves more modestly.

The experiments evaluate multi-step image RL from SD3.5-M, different distillation and RL orderings, Wan2.1-T2V video objectives, and few-step video inference against a 50×2 reference. For images, multi-step RL consistently improves OCR, CLIP Score, and ImageReward, with no single method dominating, while distillation alone degrades reward quality and few-step RL after distillation recovers quality at lower inference cost. For video, RL improves reward across generator objectives, and strong few-step variants surpass the high-cost reference on all reported quality dimensions, especially temporal coherence and visual naturalness. Overall, targeted RL and few-step post-distillation training improve alignment and efficiency, though method rankings vary by metric.