Manuscript Offprint
arXiv:2608.24646On-Policy Self-Distillation in Diffusion Models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Reinforcement learning can align diffusion models with human preferences and task-specific objectives, but endpoint rewards do not specify how an intermediate denoising prediction should change. We introduce DiffusionOPSD as an on-policy self-distillation framework that converts image-level reward guidance into explicit targets for clean-output predictions at sampled queries. At each outer iteration, a frozen behavior policy generates trajectories and supplies query states and anchors. Reward gradients construct bounded positive and negative targets around each anchor. The trainable policy fits these targets as detached supervision through finite fitting before an exponential moving average update refreshes the behavior policy. This setup lets us measure target construction and finite realization separately. Controlled same-query experiments show that larger target-construction gains do not necessarily translate into larger realized gains after a single fitting update. Across SD3.5-M and the step-distilled Z-Image-Turbo, our approach achieves the best final held-out scores in 19 of 20 reward-matched settings across two backbones and ten evaluators. It outperforms the strongest competing method by up to 44.0% and reduces training GPU-hours relative to DiffusionNFT by 40% on SD3.5-M and 63% on Z-Image-Turbo. These results support on-policy self-distillation as an efficient and analyzable approach to diffusion post-training by converting image-level reward guidance into explicit and continually refreshed intermediate supervision and thereby opens a path toward more efficient and diagnosable alignment.
Date: Aug 26, 2026
Project Page: DiffusionOPSD
Correspondence: Wei Liu, E-mail

(a) Native Training Gain

(b) Held-Out Quality Gain
Figure 1 Training and held-out quality curves. Normalized gains are averaged across matched 10 reward and 2 backbone settings. DiffusionOPSD improves fastest and reaches the highest final gains.

DiffusionOPSD
Explore Yourself · ByteDance Seed Vision Team
New Diffusion Reinforcement Learning Paradigm
August, 2026
Camogli Beach,
Liguria, Italy
On-Policy Self-Distillation
in Diffusion Models
Figure 2 Samples generated by DiffusionOPSD from held-out text prompts.
1 Introduction
Diffusion and flow models are widely used for high-fidelity visual generation [20, 31, 35, 57]. Reinforcement learning is increasingly used to adapt these models to human preferences, semantic fidelity, aesthetics, and task-specific objectives [1, 2, 8, 14, 34, 41, 62, 70, 77]. Yet endpoint rewards create a structural mismatch between where supervision is observed and where the diffusion policy acts. Each sample is produced through a sequence of interdependent denoising predictions, whereas reward is observed only after the rollout endpoint is decoded [9, 55, 71, 72]. Improving the final outcome therefore requires translating outcome-level reward into actionable supervision for intermediate denoising queries.
This translation involves two coupled stages. Reward guidance must first construct a useful local target at a query. Finite model updates must then realize that target. Throughout the paper finite fitting denotes this model update procedure and finite realization denotes the reward change produced by that procedure. Finite realization is nontrivial because the same model is queried repeatedly across noise levels, so fitting a target at one query can alter predictions at many others. Even when a target improves reward locally, finite fitting may under-realize, rotate, or overshoot the intended change while amortizing supervision across queries. Separating target construction from finite realization reveals whether an update fails because reward guidance produces a poor target or because finite fitting does not realize it.
Existing methods expose reward information at different stages. FlowGRPO estimates trajectory credit from finite groups and approximate transition likelihood ratios [34]. Its update depends on sample budget, likelihood estimation, discretization, and rollout choices [7, 27, 63]. ReFL backpropagates a differentiable reward through a single late-state clean-output prediction obtained from a truncated-prefix rollout [62]. Its prefix is executed without gradients, one state is sampled uniformly from the final quarter of denoising calls, and training neither executes the suffix nor decodes the rollout endpoint. This yields a local update while coupling reward evaluation to model optimization. DiffusionNFT reweights rollout endpoints under a supervised diffusion objective [75]. It is efficient, but its target remains an endpoint rather than an explicit description of how the current prediction should improve. Control-based, score-based, and value-based formulations likewise show that the mapping from reward to target determines the effective optimization problem [36, 66, 74]. We instead construct a reward-improving target before updating the model, fit it as detached intermediate supervision, and rebuild it as the behavior policy changes.
We implement this idea with DiffusionOPSD, an on-policy self-distillation loop with three stages. First, a frozen behavior policy generates trajectories and supplies query states and clean-output anchors. At each sampled query, the velocity prediction is converted into an equivalent clean-output prediction that can be decoded and evaluated by an image-level reward. Second, reward ascent and descent construct bounded positive and negative targets around the behavior-policy anchor. Third, the trainable policy fits these targets as detached supervision under a finite update budget. The behavior policy is then refreshed by EMA before new trajectories, anchors, and targets are generated for the next iteration.
The positive target specifies a reward-improving prediction. The negative target acts as a repulsive reference through the negative fitting branch. A group-normalized endpoint-reward weight controls their relative fitting strength. Because target construction and parameter fitting are separated by stop-gradient, construction gain and realized gain can be measured at the same query under the same fixed suffix. We can therefore measure both the reward gain of the constructed target and the gain produced after fitting.
Across SD3.5-M and the step-distilled Z-Image-Turbo, DiffusionOPSD achieves the best final held-out score in 19 of 20 reward-matched settings spanning both backbones and all evaluators, with relative gains of up to 44.0% over the strongest competing method. It reduces training GPU-hours relative to DiffusionNFT by 40% and 63% on the two backbones. We further stress-test joint training on PickScore, CLIPScore, and HPSv2.1. One jointly trained DiffusionOPSD policy outperforms the corresponding DiffusionNFT policy on all three reward objectives while retaining most of the gains achieved by separate specialists.
The explicit targets also allow us to examine these stages separately. Target-construction studies show that the reward-gradient direction accounts for most of the gain, whereas replacing the rollout query state with a forward-noised control has little effect in the evaluated low-noise setting. In controlled same-query experiments, a target with a larger construction gain can produce a smaller realized gain after one fitting update. This reversal occurs without cross-query interference, so target construction and finite realization should be evaluated separately. We make the following contributions.
• Method. We introduce on-policy self-distillation for diffusion post-training. It constructs bounded positive and negative targets from image-level reward gradients, fits them as detached supervision, and rebuilds them as the behavior policy changes.
• Results. Across two backbones and ten evaluators, DiffusionOPSD obtains the best held-out score in 19 of 20 matched settings and reduces training GPU-hours relative to DiffusionNFT by 40% and 63%. A jointly trained policy also improves all three optimized rewards over DiffusionNFT.
• Analysis. Controlled same-query experiments show that a larger target-level reward gain does not necessarily produce a larger gain after fitting, so we measure target construction and finite realization separately.
2 Related Work
2.1 Reward-to-Target Interfaces
Reward-based diffusion post-training differs primarily in how outcome-level feedback is converted into supervision for a multi-step generative policy. Reward-weighted likelihood and preference objectives translate scores or comparisons into likelihood updates [2, 14, 21, 30, 59, 65], but only indirectly supervise individual denoising predictions. Policy-gradient methods instead use sampled advantages. FlowGRPO and DanceGRPO assign group-relative trajectory credit through reverse-process likelihood ratios [34, 64], while AWM expresses policy-gradient improvement through advantage-weighted score or flow matching [63]. These methods avoid constructing an explicit local improvement target and rely on sampled advantage estimates, while likelihood-ratio variants are additionally sensitive to likelihood estimation, sampler choice, and discretization [7, 27]. Differentiable-reward methods such as ReFL backpropagate a reward through a differentiable clean-output prediction at a sampled denoising state [10, 44, 62]. DiffusionNFT avoids trajectory-level backpropagation through endpoint-conditioned forward-process regression [75], yet its reward-selected endpoint does not specify how the current intermediate prediction should improve. Despite their different objectives, these methods leave the desired intermediate change implicit in advantage weights, parameter gradients, or endpoint supervision. DiffusionOPSD instead constructs bounded positive and negative clean-output targets at behavior-policy queries, fits them as detached supervision, and rebuilds them as the behavior policy changes.
2.2 On-Policy Distillation
Diffusion distillation traditionally transfers predictions from a stronger teacher to a faster student through progressive distillation, consistency training, latent consistency, distribution matching, or adversarial objectives [18, 39, 49, 50, 58, 68]. Few-step distillation can also be viewed as learning longer-range transitions of an underlying generative dynamics, while distribution-matching approaches need not preserve individual teacher trajectories [3, 67]. Dataset aggregation and on-policy imitation reduce distribution shift by collecting supervision on learner-induced states [47, 61]. Recent on-policy distillation methods extend this principle to generative models by matching external teacher predictions along student rollouts [15, 28, 29, 33, 76]. DiffusionOPSD does not require an externally improved teacher. It anchors each target at the behavior policy's own clean-output prediction, updates it with image-level reward gradients, and rebuilds it as the behavior policy changes.
2.3 Reward Gradients
Classifier guidance and classifier-free guidance modify diffusion fields during sampling through conditional score composition [11, 19]. Differentiable-reward methods including ReFL, DRaFT, AlignProp, and video reward-gradient alignment directly translate rewards on generated samples or partial trajectories into parameter updates [10, 12, 44, 45, 62]. Control-based, score-based, and value-based formulations further connect reward gradients to policy improvement in diffusion and flow models [16, 36, 74]. DiffusionOPSD instead uses reward gradients to construct detached targets at behavior-policy queries. Infinitesimal positive-target

Figure 3 Reward-to-policy paradigms. We contrast trajectory credit, late-state reward backpropagation, and endpoint supervision with our explicit intermediate targets constructed before finite fitting.
fitting shares the first-order direction of direct reward ascent at the anchor. Their finite optimization procedures differ. DiffusionOPSD constructs bounded targets, fits them without retaining the reward graph, and rebuilds them after the behavior policy changes.
3 Approach
DiffusionOPSD treats diffusion reward optimization as on-policy self-distillation. It converts image-level reward gradients into detached targets for intermediate predictions and rebuilds those targets as the behavior policy changes. Sec. 3.1 defines the clean-output coordinate used to decode and evaluate a prediction at a sampled query. Sec. 3.2 describes how a frozen behavior policy collects trajectories and supplies query states and anchors. Sec. 3.3 constructs bounded positive and negative targets from reward gradients. Sec. 3.4 fits these detached targets under a finite update budget. Sec. 3.5 completes the loop by refreshing the behavior policy and regenerating trajectories and targets. Fig. 4 summarizes the framework.
3.1 Clean-Output Prediction
Let be the trainable rectified-flow velocity field [31, 35], and let denote the velocity field of the behavior policy within the current iteration. For a prompt , noisy latent , and noise level , the query tuple is . Under the rectified-flow path , the velocity target is , and therefore
for every fixed query with . Thus is the clean-output prediction corresponding to the velocity prediction at that query. We reserve for a rollout endpoint latent, for a query state, and for the clean-output prediction at a fixed query. This prediction is decoder-evaluable through the local reward , where is the latent decoder [46].
The equivalence in Eq. (1) is algebraic rather than geometric because the map is not an isometry. At a fixed query,
Equation (2) shows that equal clean-output radii correspond to larger velocity displacements at lower . Throughout this section, “local” refers to predictions near at a fixed query. Conditioning still varies with the noise level.
We use three qualified reward names throughout the paper. The endpoint reward scores a rollout endpoint and determines the group-normalized fitting weight. The local reward , evaluated after decoding, scores a clean-output prediction and constructs the targets. The fixed-suffix reward measures construction and realized gains at the same query, before and after fitting, respectively. Unless otherwise stated, construction gain refers to the positive-target fixed-suffix gain. End-to-end held-out evaluation measures the resulting policy.

Figure 4 DiffusionOPSD Overview. The behavior policy collects low-noise queries, reward gradients construct bounded positive and negative targets, and the trainable policy fits the detached supervision. The updated behavior policy supplies new anchors for the next iteration. This procedure separates target construction from finite fitting.
3.2 Query Collection and Anchor
At outer iteration , the frozen behavior policy [43] samples trajectories for each prompt. A trajectory provides an endpoint , endpoint reward , and a low-noise query. Given a requested query noise level , the implementation selects
Equation (3) distinguishes the requested level from the selected schedule value . The query state and rollout endpoint are detached. The anchor is the clean-output prediction of the behavior policy
The anchor in Eq. (4) specifies the point around which reward constructs the positive and negative targets.
The query state is collected from a trajectory generated by the frozen behavior policy for the current outer iteration. This is the sense in which the method is on-policy. The behavior policy remains frozen during target construction and finite fitting. After fitting, it is updated by the behavior-policy exponential moving average. The forward-noised control replaces the rollout query state with a matched state at the same . Sec. 4.7 shows that this replacement has little effect in the evaluated low-noise setting.
Endpoint rewards determine a group-normalized fitting weight. Let index all sampled endpoints in outer iteration , let be the -th reward for prompt , and let be the mean over the complete rollout batch. The implementation centers each reward within its prompt group but uses one standard deviation
Algorithm 1 DiffusionOPSD training.
Require Initial trainable policy , reward , decoder , prompts , group size , requested query noise level , target radius , target steps , target-step multiplier , fitting budget , branch coefficient , shared clipping and loss scale , stabilizers , and behavior and checkpoint exponential moving average retentions .
1: Initialize , , and optimizer-update index .
2: for each outer iteration do
3: Select the current prompt batch .
4: for each prompt do
5: for do
6: Roll out frozen to obtain endpoint reward and detached query nearest .
7: end for
8: end for
9: Compute from per-prompt centered rewards and the global rollout-batch standard deviation using Eq. (5).
10: Initialize detached target dataset .
11: for each do
12: .
13: Construct and from using Eq. (6), applying Eq. (7) after every target step, then Eq. (9).
14: Add detached tuple to .
15: end for
16: for do
17: Accumulate fitting minibatches from and recompute their anchors with frozen .
18: Update with from Eq. (13).
19: and .
20: end for
21: .
22: end for
Output Checkpoint-averaged reward-aligned policy .
over the complete rollout batch. The resulting definitions are
(5)
Per-prompt centering removes prompt-level reward offsets, while the global rollout-batch standard deviation places all prompt groups on a common scale. The weight in Eq. (5) determines the relative strength of positive and negative fitting. It is distinct from the positive and negative targets.
3.3 Target Construction
Starting from , DiffusionOPSD uses stabilized normalized reward-gradient steps to construct positive and negative targets. We initialize and apply
(6)
for , with , where is a target-step multiplier and the default is . After every raw update in Eq. (6), we project the displacement back onto the trust-region ball.
Each normalized direction has norm at most one, and the projection cannot increase the distance from , so
For , including the default, the projection is inactive in exact arithmetic; for the stress-test configuration it explicitly preserves the same radius bound. The final detached objects are
Here sg denotes the stop-gradient operator. In Eq. (9), is the positive target intended to improve reward. The negative target is fitted only through the negative fitting branch and therefore acts as a repulsive reference for the trainable output.
For a single normalized step with ,
Equation (10) gives the local reward change for one normalized step. App Sec. B.3 extends it to the multi-step construction under smoothness. Finite fitting and end-to-end held-out policy performance are evaluated separately from this local construction result.
3.4 Finite Fitting
The trainable velocity field is evaluated once at the same query, , and forms positive and negative fitting branches around .
The fitting branches in Eq. (11) allow one shared output to encode attraction toward and rejection of . We use detached adaptive normalizers
With the normalizers in Eq. (12), we define the branch loss
Following DanceOPD's low-noise on-policy prediction-matching design [76], Eq. (13) uses squared fitting at a query collected from the behavior-policy trajectory. At a fixed query, this clean-output objective is exactly a pair of weighted velocity-MSE terms; App Sec. B.6 gives the equivalence. The shared fitting interface does not imply shared supervision. DanceOPD matches a frozen external teacher field, whereas DiffusionOPSD converts reward-ascent and reward-descent targets into induced positive and negative velocity targets and fits them through the two implicit branches. The implemented finite-fitting objective is , where is shared by reward normalization and branch-loss scaling. Changing it therefore changes both the clipping range and the fitting scale rather than acting as a pure learning-rate multiplier. Target construction and finite fitting are separated by stop-gradient.
Equation (14) fixes the query, anchor, weight, and targets during finite fitting. The decoder and reward are differentiated only with respect to the temporary clean-output variable used in Eq. (6); once the targets are built, finite fitting does not retain the reward, decoder, or sampling computation graph.
For fixed normalizers, let , , , , and . Completing the square yields the ideal output-space minimizer of the branch loss
In the locally symmetric case, let denote the nominal aggregate target displacement. It equals for one target step and when the normalized direction stays constant. Let be the common stabilized normalized reward-gradient direction. For and , Eq. (15) reduces to . The positive and negative fitting branches agree on the same reward-improving direction, so their mixture weights cancel at the ideal output-space optimum. The weight affects the preferred displacement when the target paths or adaptive normalizers are asymmetric, while finite fitting can introduce additional differences.
App Sec. B.5 gives the full branch geometry. Equation (15) describes the displacement preferred by the loss, while finite fitting may produce a different displacement in the updated model.
3.5 Online Training
At outer iteration i, the frozen behavior policy induces a query-state distribution . After collecting trajectories and constructing the targets described above, we obtain the detached dataset
Each tuple contains a prompt, a sampled query, its fitting weight, and the corresponding positive and negative targets. During fitting, is deterministically recomputed from the frozen behavior policy at the stored query. Thus the query, anchor, weight, and targets remain fixed while the trainable policy is updated.
Given , we apply a finite number of optimizer updates.
where is the number of optimizer updates within the current outer iteration. The operator Fit includes the implemented optimizer, parameterization, and batching procedure. We use a finite fitting operator rather than an arg min because the target dataset is not optimized to convergence.
After fitting, the behavior policy is updated by exponential moving average.
where u is the cumulative optimizer-update count. The EMA update is applied once after all fitting updates. In our canonical experiments, , so each outer iteration contains one optimizer update.
Table 1 Main comparison. Held-out evaluator scores on SD3.5-M and Z-Image-Turbo; higher is better. CFG denotes classifier-free guidance. √ denotes reward-specific checkpoints and × denotes one checkpoint evaluated across all columns. Bold and underline mark the best and second-best results within each one-stage block. ‡ marks rows with reported metrics where available; † marks two-stage on-policy distillation baselines, with 300 second-stage optimizer updates. Protocols are in App Sec. C.1 and C.2.
| Model | Reward-Specific Updates | Open-Sourced Evaluators | Internal Evaluators | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Pick | CLIP | HPSv2.1 | Aes | ImgR | HPSv3 | DeQA | AltCLIP | Point | Pair | |||
| ✕ | - | 22.42 | 0.287 | 0.280 | 5.60 | 0.76 | 1.93 | 4.17 | 0.366 | 0.089 | 0.168 | |
| ✕ | - | 22.91 | 0.289 | 0.288 | 5.50 | 0.96 | 5.04 | 4.26 | 0.393 | 0.171 | 0.361 | |
| ✕ | - | 22.84 | 0.295 | 0.274 | 5.71 | 0.96 | 6.71 | 4.41 | 0.376 | 0.179 | 0.323 | |
| ✕ | - | 20.51 | 0.237 | 0.204 | 5.13 | -0.58 | -6.47 | 3.30 | 0.276 | 0.026 | 0.069 | |
| + CFG | ✕ | - | 22.34 | 0.285 | 0.279 | 5.36 | 0.85 | 2.69 | 4.04 | 0.380 | 0.136 | 0.290 |
| + FlowGRPO | ✕ | >5k | 22.51 | 0.293 | 0.274 | 5.32 | 1.06 | 2.65 | 4.01 | 0.393 | 0.181 | 0.388 |
| ✕ | 2k | 22.41 | 0.290 | 0.280 | 5.32 | 0.95 | 2.67 | 4.06 | 0.387 | 0.151 | 0.314 | |
| ✕ | 4k | 23.50 | 0.280 | 0.316 | 5.90 | 1.29 | 7.08 | 4.15 | 0.397 | 0.162 | 0.325 | |
| + DiffusionNFT | ✕ | 1.7k | 23.80 | 0.293 | 0.331 | 6.01 | 1.49 | 7.48 | 4.34 | 0.398 | 0.111 | 0.296 |
| + DiffusionNFT | ✕ | 300 | 23.62 | 0.294 | 0.340 | 6.02 | 1.45 | 8.36 | 4.32 | 0.397 | 0.150 | 0.294 |
| + DiffusionOPSD | ✕ | 300 | 25.51 | 0.333 | 0.389 | 6.03 | 1.51 | 9.41 | 4.40 | 0.399 | 0.170 | 0.345 |
| + DanceOPD | ✕ | 300 | 23.06 | 0.272 | 0.322 | 5.98 | 1.23 | 7.24 | 4.34 | 0.378 | 0.127 | 0.219 |
| + DiffusionOPD | ✕ | 300 | 23.05 | 0.269 | 0.322 | 6.04 | 1.23 | 7.39 | 4.34 | 0.373 | 0.122 | 0.199 |
| + FlowOPD | ✕ | 300 | 22.62 | 0.263 | 0.300 | 5.98 | 0.92 | 5.00 | 4.20 | 0.353 | 0.101 | 0.166 |
| + ReFL | ✓ | 100 | 23.92 | 0.308 | 0.358 | 12.09 | 1.28 | 9.33 | 4.85 | 0.408 | 0.193 | 0.290 |
| + DiffusionNFT | ✓ | 100 | 23.43 | 0.298 | 0.336 | 9.11 | 1.46 | 9.14 | 4.76 | 0.412 | 0.199 | 0.323 |
| + DiffusionOPSD | ✓ | 100 | 24.94 | 0.340 | 0.390 | 12.08 | 1.76 | 13.34 | 4.94 | 0.450 | 0.214 | 0.465 |
| Z-Image-Turbo | ✕ | - | 22.86 | 0.276 | 0.296 | 5.41 | 0.96 | 6.19 | 4.44 | 0.392 | 0.213 | 0.422 |
| + FlowGRPO | ✓ | 100 | 22.96 | 0.275 | 0.305 | 5.46 | 1.01 | 7.11 | 4.51 | 0.394 | 0.217 | 0.420 |
| + ReFL | ✓ | 100 | 24.54 | 0.313 | 0.380 | 9.79 | 1.37 | 13.77 | 4.60 | 0.441 | 0.227 | 0.481 |
| + DiffusionNFT | ✓ | 100 | 22.28 | 0.280 | 0.277 | 6.07 | 0.58 | 1.58 | 3.37 | 0.363 | 0.166 | 0.357 |
| + DiffusionOPSD | ✓ | 100 | 25.15 | 0.320 | 0.390 | 10.74 | 1.79 | 14.44 | 4.78 | 0.451 | 0.243 | 0.551 |
The order of these operations is important. Within outer iteration , the behavior parameters remain frozen during trajectory collection, target construction, and all optimizer updates. Consequently, the query states and weights stored in , together with the recomputed anchors and detached targets , remain associated with the same behavior policy while the trainable parameters move from to . The EMA update in Eq. (18) is applied only after fitting and therefore does not alter the targets currently being optimized.
At outer iteration , the updated behavior policy generates new trajectories. These trajectories supply new query states and endpoint rewards, from which the method recomputes the fitting weights, clean-output anchors, and positive and negative targets. The resulting tuples form for the next round of finite fitting. The supervision is therefore rebuilt after each behavior-policy update rather than kept fixed throughout training.
Over successive outer iterations, the trainable policy fits a sequence of detached target datasets constructed around predictions of the corresponding behavior policies. The trainable policy realizes the current targets, while the updated behavior policy determines the queries and anchors used to construct the next ones. This cycle of trajectory collection, target construction, finite fitting, and behavior-policy refresh forms the online self-distillation loop summarized in Algorithm 1.
4 Experiments
We evaluate DiffusionOPSD through end-to-end effectiveness, training efficiency, and the separation of target construction from finite realization across SD3.5-M and the step-distilled Z-Image-Turbo. Sec. 4.1 reports final held-out quality, Sec. 4.2 measures training cost, and Sec. 4.3 examines native few-step and joint

Figure 5 Training dynamics. Across 71 single-reward runs, DiffusionOPSD shows the strongest normalized progress and reaches a median terminal position of 98%. The two joint-reward runs are shown separately.
multi-reward training. Sec. 4.4 and 4.5 evaluate target construction and finite realization, followed by qualitative results and ablations. App Sec. C.1 provides the full protocols. Throughout this section, a reward objective denotes the scalar reward or weighted reward combination used for training, while an evaluator denotes a metric used to score held-out samples.
4.1 Main Results
Evaluation protocol. We train reward-specific policies on SD3.5-M [13] and native 9-step Z-Image-Turbo [5] using Pick-a-Pic prompts [26], then evaluate held-out DrawBench prompts [48]. We compare locally trained FlowGRPO [34], ReFL [62], and DiffusionNFT [75] under backbone-specific training samplers and deterministic held-out sampling. Seven public evaluators and three internal preference models form the ten-objective suite. App Sec. C.1 gives the exact baseline losses, schedules, reference rows, and metric definitions.
Best reward-specific held-out scores across both backbones. Under the fully matched reward-specific protocol, DiffusionOPSD achieves the best final held-out score in 19 of 20 reward-matched settings across both backbones and all evaluators. On SD3.5-M, it leads nine of ten comparisons, with gains of 43.0% on HPSv3 and 44.0% on VLM-Pairwise; its Aesthetic score of 12.08 is 0.01 below ReFL's 12.09. On native 9-step Z-Image-Turbo, it leads all ten reward-matched evaluator comparisons, with gains of 9.7%, 30.7%, 4.9%, 3.9%, and 14.6% over the strongest baseline on Aesthetic, ImageReward, HPSv3, DeQA, and VLM-Pairwise, respectively. Tab. 1 reports the complete absolute scores and per-column competitors, showing strong gains across a standard backbone and a native few-step distilled model.
4.2 Training Efficiency
Substantially lower training cost. Fresh profiling of the current DiffusionOPSD source gives 28.2 and 149.8 GPU-hours per 100 updates on SD3.5-M and Z-Image-Turbo, reducing cost relative to DiffusionNFT by 40% and 63%. We compute these costs from measured per-step wall time on eight GPUs. Tab. 2 reports the timing, throughput, memory, and operation counts. Peak memory is not uniformly lower because the Z-Image-Turbo DiffusionOPSD run allocates more VRAM than DiffusionNFT.
Best held-out quality at matched training cost. DiffusionOPSD reaches the highest-quality point on nine of ten SD3.5-M frontiers in Fig. 8 and trails ReFL by only 0.01 on Aesthetic. In the standardized reference profiles, DiffusionOPSD uses 28.2 rather than ReFL's 47.7 GPU-hours per 100 updates on SD3.5-M, while ReFL uses 102.1 rather than DiffusionOPSD's 149.8 on Z-Image-Turbo. Despite its Z-Image-Turbo compute advantage, ReFL remains below DiffusionOPSD in final held-out quality across all ten reward-matched settings. The figure separately records cumulative cost from the reward-specific training runs and uses server-neutral policy-time proxies when reward-service layouts make raw wall time incomparable.

DiffusionOPSD DiffusionNFT bootstrap 95% CI
Figure 6 Joint three-reward dynamics. Held-out checkpoint curves for PickScore, CLIPScore, and HPSv2.1 show how the shared SD3.5-M policy changes before its final checkpoint. All three reward objectives improve through update 300, whereas DiffusionNFT's HPSv2.1 peaks at update 200 and then declines slightly.
4.3 Optimization Regimes
DiffusionOPSD sustains reward gains through the final update. Across the 71 single-reward runs, DiffusionOPSD attains the largest median shared-reference gain and has a median terminal position of 98% within each run's observed native-reward range in Fig. 5. The corresponding terminal positions are 97% for ReFL, 90% for DiffusionNFT, and 83% for FlowGRPO. DiffusionOPSD therefore retains nearly all of its within-run observed improvement and exceeds DiffusionNFT and FlowGRPO by 8 and 15 percentage points on this end-of-run measure. Fig. 7 shows that the pattern spans ten reward objectives and both backbones. This evidence measures optimization stability, while Tab. 1 measures final held-out quality.
Optimization remains effective with a native nine-step sampler. On Z-Image-Turbo, DiffusionOPSD leads all ten reward-matched comparisons in Tab. 1 and every quality-compute frontier in Fig. 8. Against the strongest competitor in each column, Aesthetic improves from 9.79 to 10.74, ImageReward from 1.37 to 1.79, HPSv3 from 13.77 to 14.44, DeQA from 4.60 to 4.78, and VLM-Pairwise from 0.481 to 0.551. These gains equal 9.7%, 30.7%, 4.9%, 3.9%, and 14.6%. DiffusionNFT instead falls below the unadapted backbone on eight of ten objectives, including HPSv3 at 1.58 versus 6.19 and DeQA at 3.37 versus 4.44. Step distillation compresses the trajectory into native transitions that need not correspond one to one with teacher trajectories [3, 67, 68]. This contrast is consistent with endpoint target mismatch under few-step adaptation, while DiffusionOPSD anchors its bounded targets at states visited by the native behavior policy.
A single policy preserves near-specialist quality on three rewards. The jointly trained 300-update DiffusionOPSD policy obtains PickScore 25.51, CLIPScore 0.333, and HPSv2.1 0.389, compared with 23.62, 0.294, and 0.340 for DiffusionNFT. The score gains are 1.89, 0.039, and 0.049, corresponding to relative improvements of 8.0%, 13.3%, and 14.4%. Compared with separate 100-update DiffusionOPSD specialists at 24.94, 0.340, and 0.390, the shared policy retains 113.0%, 92.9%, and 99.6% of their gains over the base model. It exceeds the PickScore specialist by 0.56, statistically matches the HPSv2.1 specialist with a gap of 0.001, and incurs a small but significant CLIPScore shortfall of 0.007. All three rewards continue improving through update 300 in Fig. 6, whereas DiffusionNFT's HPSv2.1 peaks at update 200 and decreases by approximately 0.001 at the final checkpoint. The shared DiffusionOPSD policy also exceeds the best two-stage OPD student scores of 23.06, 0.272, and 0.322 on the three objectives. Because the specialists use only 100 updates, this experiment tests compatibility with the evaluated weighted reward rather than state-of-the-art multi-objective optimization [73].
SD3.5-M
Z-Image-Turbo


HPSv2.1
Aesthetic
HPSv3
HPSv2.1
Aesthetic
ImageReward
HPSv3
ImageReward
HPSv3
DeQA
AltCLIP
DeQA
AltCLIP
PointWise
PairWise

PointWise
PairWise

DiffusionOPSD
ReFL
FlowGRPO
DiffusionNFT
mean ± logged reward dispersion
- ☐ - Pareto frontier
Figure 7 Native training rewards. DiffusionOPSD improves nearly every objective across both backbones, while DiffusionNFT falls below the base Z-Image-Turbo model on eight of ten objectives. Fine traces report logged within-prompt reward dispersion rather than confidence intervals.
SD3.5-M
Z-Image-Turbo


DiffusionOPSD
ReFL
FlowGRPO
DiffusionNFT
mean ± 1 SE
Pareto frontier
Figure 8 Held-out quality and compute. DiffusionOPSD reaches the highest held-out score on every Z-Image-Turbo frontier and on nine of ten SD3.5-M frontiers. The exception is SD3.5-M Aesthetic, where ReFL leads by 0.01. Markers show checkpoint means and bands show one standard error.
(a) Direction over training

(b) Query source over training

(c) Final versus native base
Figure 9 Ablation dynamics. Reward-gradient training improves throughout the run, while the rollout-residual target collapses and the forward-noised control remains close to the canonical query state.
4.4 Target Construction
Reward gradients are required for positive target gain. On 512 distinct held-out prompts at the same low-noise query, the DiffusionOPSD positive target increases fixed-suffix reward by 0.03511 and has local reward-gradient alignment 0.7094. The DiffusionNFT rollout endpoint instead changes reward by -0.03551 with alignment -0.000203. Matching its radius to the DiffusionOPSD target still yields a reward change of -0.01887 and the same near-zero alignment. The resulting DiffusionOPSD advantages are 0.07062 over the sampled endpoint and 0.05398 over its radius-matched version. Fig. 10 therefore attributes the construction gain to the reward-gradient direction rather than target radius.
The construction advantage persists after training. After 50 optimizer updates, the canonical target reaches held-out CLIPScore 0.3122 on 999 images from 200 prompts. No-op, matched-radius random-direction, and rollout-residual targets reach only 0.2363, 0.2303, and 0.1256. The corresponding absolute gaps are 0.0759, 0.0819, and 0.1866, while the residual variant collapses late in training. The trained endpoint separation therefore follows the target-level comparison in this experiment.
Query-state provenance has a much smaller effect. Replacing the rollout query state with a forward-noised control changes CLIPScore from 0.3122 to 0.3089. This is an absolute gap of 0.0033 and a relative drop of 1.1%, compared with gaps above 0.075 for the direction controls. The training curves in Fig. 9 show the same ordering. Reward direction is thus the dominant factor in this study, while exact low-noise query provenance is secondary. Sec. 4.7 and App Sec. C.8 give the matched screening protocol.
4.5 Finite Fitting
A better target can produce a worse finite update. On HPSv2.1, the reward-gradient target has construction gain 0.00245, while the matched-radius random target has gain -0.03251. After one fresh-AdamW update [37], however, their realized gains are -0.000740 and -0.000021. The random target therefore realizes 0.000719 more reward despite being 0.03496 worse before fitting. This ordering reverses on 62.3% of 512 prompts, with a prompt-bootstrap 95% confidence interval from 58.2% to 66.6%. On CLIPScore, the reversal rate is lower at 29.5%, with an interval from 25.6% to 33.4%. The contrast shows that the reversal rate is reward-dependent under this fitting protocol.
For a fixed query s, detached positive target , and actual output after fitting updates, let denote fixed-suffix reward. Construction and realization obey the exact identity
where is a signed fitting gap that can reflect under-realization, rotation, or overshoot. This identity separates the reward gain of the target from the fitting gap; it does not describe end-to-end training.
ReFL gives the largest isolated one-step reward gain. In the calibrated plain-SGD comparison on 512 same-query prompts, ReFL realizes reward gain 0.0005805, compared with 0.0004588 for bounded DiffusionOPSD


Figure 10 Target construction and finite fitting. The reward-gradient target gains 0.03511, while the DiffusionNFT endpoint loses 0.03551. After one fitting update, HPSv2.1 target ordering reverses on 62.3% of prompts, showing that construction gain does not determine one-update realization.
fitting. Its local reward-gradient alignment is also higher at 0.08078 versus 0.05340. The differences are 0.0001217 in realized gain and 0.02738 in alignment. Bounded DiffusionOPSD has lower off-direction drift at 0.3710 versus 0.3877 for ReFL. DiffusionNFT produces negative realized gain -0.0000333 and much higher drift 0.6494. The isolated probes restore parameters between prompts and exclude cross-query interference, negative-branch fitting, and behavior-policy updates. App Sec. C.6 provides the detailed protocols, while Sec. 4.1 evaluates the complete online loop.
4.6 Qualitative Results
Human evaluation favors DiffusionOPSD against every baseline. On 100 held-out prompts from the Z-Image-Turbo VLM-Pointwise setting, annotators prefer DiffusionOPSD over the base model, FlowGRPO, DiffusionNFT, and ReFL on 64%, 71%, 90%, and 61% of prompts. The result is strongest against DiffusionNFT, but remains above the majority threshold against the strongest baseline ReFL. The reward-matched VLM-Pointwise scores also place DiffusionOPSD first at 0.243, compared with 0.227 for ReFL, 0.217 for FlowGRPO, 0.213 for the base model, and 0.166 for DiffusionNFT. Most human wins are attributed to prompt alignment or visual quality in Fig. 16.
The visual gains concentrate on prompt fidelity and fine structure. Across the 20 fixed held-out prompts in Fig. 11 to 14, DiffusionOPSD more consistently preserves rendered text, requested object identity, motion, material attributes, and multi-object composition. DiffusionNFT often loses requested details or semantic structure, consistent with the 90% human preference for DiffusionOPSD in their direct comparison. ReFL produces stronger images than the other baselines, yet annotators still prefer DiffusionOPSD on 61% of prompts. The qualitative comparisons agree with the human study.
Component-level visuals agree with the quantitative ablations. At update 50, reward-gradient targets preserve requested entities and attributes more consistently than random and no-op controls across the 40-prompt pool in Fig. 23 and 24. The expanded evaluation gives CLIPScore values of 0.3122, 0.2303, and 0.2363 for these variants. The rollout and forward-noised query-state variants remain visually similar, matching expanded scores of 0.3122 and 0.3089. In contrast, increasing the branch coefficient to 10 lowers the expanded CLIPScore to 0.2949 and increasingly damages object identity, separation, and typography in Fig. 17 to 19. The qualitative and quantitative ablations show the same trends.
ReFL
DiffusionNFT
FlowGRPO
DiffusionOPSD

Prompt: Liquid-mercury 3D letters of “DiffusionOPSD”, placed on a dark reflective stage with volumetric spotlights and crisp product-render detail.

Prompt: Floodlit stadium football moment: striker mid bicycle-kick, roaring crowd, flags, turf spray, sweat droplets in the background, and motion blur effect.

Prompt: Stacked wooden animal totem with bear at the bottom, eagle in the middle and fish on top, with weathered paint, forest bokeh and warm light.

EARTH'S & EARTH
Earth
Layers
Prompt: Geology cross-section poster of Earth layers, including crust, mantle, outer and inner core, with detailed depths, temperatures and labels.

Prompt: High-speed macro of a water-droplet crown frozen mid-splash on a colorful surface, elegant and detailed.
Figure 11 Held-out qualitative comparisons. DiffusionOPSD preserves requested text, motion, composition, and fine detail more consistently than the baselines.
ReFL
DiffusionNFT
FlowGRPO
DiffusionOPSD

Prompt: 1940s train-station farewell: a couple embraces through steam and sepia backlight, with vintage clothing, cinematic nostalgia, and a station sign reading "OPSD".

Prompt: High-fashion model walking in an avant-garde metallic gown on a windswept dune under bright sunny golden-hour light, with dramatic fabric motion.

Prompt: Titanic dormant mech standing in a harbor, towering over cargo ships and cranes under dramatic overcast light.

Prompt: Miniature explorer camp on a mossy log imagined as a vast landscape, with dramatic macro lighting and a tiny explorer in the scene.

Prompt: Iridescent origami crane on a dark surface, with crisp paper folds highlighted by soft macro lighting.
Figure 12 Motion and composition. DiffusionOPSD retains requested subjects, layouts, and fine details more consistently than the baselines.
Prompt: 1950s American diner at night with chrome, neon, a roller-skating waitress, red Cadillac, warm Kodachrome nostalgia, and the restaurant name “RRACE” visible. Base ReFL DiffusionNFT FlowGRPO DiffusionOPSD Prompt: Aged-paper handwritten letter in flowing fountain-pen cursive, with wax seal, ink blots, warm candlelight, and a fountain pen placed in the lower-left corner. Prompt: Macro miniature scene: tiny fisherman on a pebble beside a blue-resin “lake” spilling from a bottle; whimsical and detailed. Prompt: Cinque Terre-style Italian coastal village with colorful cliff houses, turquoise sea, boats, laundry lines and warm afternoon light. Prompt: Futuristic fashion editorial: a woman in holographic fabrics and LED accents in a dark reflective studio, glossy and ultra-detailed. Figure 13 Additional held-out comparisons. DiffusionOPSD better preserves object identity, complex composition, and character detail across the additional prompts. 20
ReFL
DiffusionNFT
FlowGRPO
DiffusionOPSD

Prompt: 1970s bohemian road trip: sticker-covered VW van by a desert highway at sunset, with one woman and one man in a cowboy hat, in faded vintage film tones.

Prompt: Ornate sapphire tiara in a dim museum vitrine, blue stones and diamonds sparkling under spotlight with glass reflections.

Prompt: Water lily opening at dawn, frog on lily pad, dew, glowing pink petals, still pond reflection and soft mist.

Prompt: Surreal commuter, a man wearing a crossbody bag, calmly walking through a doorway cut into a frozen ocean wave, with impossible physics and cinematic light.

Prompt: Haute-couture runway moment: flowing feathered dress in motion, loose hair, sunset lighting, dramatic backlight and audience bokeh.
Figure 14 Material and scene detail. DiffusionOPSD better preserves requested materials, subjects, and compositions across the held-out prompts.
4.7 Ablations
Screening setup. We isolate DiffusionOPSD components on SD3.5-M with CLIPScore-only training for 50 optimizer updates. Each score is evaluated on 100 images from 20 fixed DrawBench prompts after deterministic 10-step DPM-Solver++ 2M data collection [38] and deterministic 40-step flow sampling. The canonical configuration obtains . Sec. 4.4 reports the expanded target-direction evaluation on 999 images, while the results here serve as matched component screening. App Sec. C.8 gives the full protocol.
Reward direction produces the largest ablation gap. In the matched screen, replacing the reward-gradient target with random, no-op, and rollout-residual targets lowers CLIPScore from 0.3117 to 0.2311, 0.2280, and 0.1456. The absolute losses are 0.0806, 0.0837, and 0.1661, substantially larger than any implementation-control gap in Fig. 15. Changing only the query source to a forward-noised state gives 0.3103, a loss of 0.0014. An alternative DiffusionNFT plus reward-gradient auxiliary loss reaches 0.3080, 0.3173, 0.3223, and 0.3152 at auxiliary weights 0.5, 1, 2, and 4. The weight-2 point is the highest score in this small screen, but its 0.0106 advantage over the canonical target replacement has not been confirmed on the full DrawBench protocol. These results identify the reward-gradient signal as essential while leaving the exact low-noise state source and target-loss form less constrained.
Most implementation choices remain close to the canonical score. Enabling endpoint checking changes CLIPScore from 0.3117 to 0.3102, while removing the negative branch gives 0.3137. Using one, two, or four reward-ascent steps gives 0.3130, 0.3117, and 0.3098. Target-step multipliers 0.5, 1, and 2 give 0.3038, 0.3117, and 0.3112, with the smaller multiplier producing the largest loss in this group. Increasing rollout function evaluations from 10 to 25 and 40 changes the score from 0.3117 to 0.3138 and 0.3080. First-order DPM and stochastic SDE rollout samplers reach 0.3136 and 0.3090, while removing old-policy decay gives 0.3161. Apart from the auxiliary-loss sweep, all of these point estimates remain within 0.0079 of the default. Additional endpoint checks, rollout evaluations, and ascent steps do not improve the score, so the canonical result does not rely on more expensive control variants.
Performance is stable across moderate settings but drops at the extremes. Query noise levels 0.278, 0.46, and 0.60 give 0.3117, 0.3166, and 0.3187, while noise level 0.90 drops to 0.2884. Target radii from 0.08 to 0.40 remain between 0.3108 and 0.3145, a spread of only 0.0037. Radius 0.02 falls to 0.2959, showing that overly conservative targets underperform. Branch coefficients 0.01, 0.1, 1, and 10 give 0.3046, 0.3163, 0.3117, and 0.2961. The default settings , , and therefore lie on stable regions rather than isolated peaks. High query noise, a very small target radius, and a branch coefficient of 10 are the main quantitative failure modes in Fig. 16.
CFG training creates inference-scale dependence without improving the best score. The CFG-free checkpoint scores 0.3117, 0.3108, and 0.3099 when evaluated at guidance scales 1, 4.5, and 6. Training at scale 4.5 changes these values to 0.2775, 0.3069, and 0.3060, while training at scale 6 gives 0.2634, 0.3076, and 0.3045. Conditional-only evaluation therefore falls by 11.0% and 15.5% after training at scales 4.5 and 6. Restoring inference guidance recovers most of the loss. For the scale-4.5 checkpoint, evaluation at 4.5 improves over evaluation at 1 by 0.0294, with a prompt-bootstrap 95% confidence interval from 0.0150 to 0.0471. Even with matched train and evaluation scales, the diagonal scores 0.3069 and 0.3045 remain 1.5% and 2.3% below the CFG-free point estimate. These diagonal gaps are comparable to standard errors from 0.0050 to 0.0056, and the training seeds are unmatched. The experiment therefore shows no benefit from CFG training but does not establish that CFG training is harmful. Swapped training and evaluation scales give 0.3108 versus 0.2775 at scale product 4.5 and 0.3099 versus 0.2634 at product 6. The response is therefore asymmetric and cannot be explained by the product of the two scales. No cell in the grid exceeds the CFG-free result, consistent with DiffusionNFT's online post-training design [75]. App Sec. C.9 compares this behavior with frozen-teacher CFG absorption in DanceOPD [76].
(a) Direction endpoint

(b) Implementation sensitivity

(c) CFG dependence

Figure 15 Endpoint and implementation checks. The reward-gradient target reaches 0.3117, compared with 0.2311, 0.2280, and 0.1456 for random, no-op, and rollout-residual targets. One-factor implementation controls cluster near the default, and no CFG configuration exceeds 0.3117.
(a) Robustness sweeps

(b) Human preference

(c) Reasons for OPSD wins

Prompt align. Visual quality Realism/artfacts Text/details
Figure 16 Robustness and human preference. Low-to-mid query noise and target radii from 0.08 to 0.40 remain near the default, while query noise 0.90 and branch coefficient 10 fall to 0.2884 and 0.2961. Annotators prefer DiffusionOPSD over the base model, FlowGRPO, DiffusionNFT, and ReFL on 64%, 71%, 90%, and 61% of prompts.
5 Conclusion
We introduced DiffusionOPSD, an on-policy self-distillation method for converting image-level reward guidance into supervision for intermediate denoising predictions. At each outer iteration, a frozen behavior policy supplies query states and clean-output anchors. Reward gradients construct bounded positive and negative targets around these anchors, and the trainable policy fits them as detached supervision. The behavior policy is then updated, and new trajectories and targets are generated for the next iteration. This design avoids treating an endpoint reward as direct supervision for every intermediate prediction and makes target construction and model fitting separately measurable. Across SD3.5-M and the step-distilled Z-Image-Turbo, DiffusionOPSD achieves the best final held-out score in 19 of 20 reward-matched settings across ten evaluators. It improves over the strongest competing method by up to 44.0% and reduces training GPU-hours relative to DiffusionNFT by 40% and 63% on the two backbones. A jointly trained policy also improves all three optimized rewards over DiffusionNFT, showing that the method can be applied to direct multi-reward training. Our experiments support on-policy self-distillation as an efficient approach to diffusion post-training that converts image-level reward guidance into explicit intermediate supervision, refreshes it as the policy evolves, and allows target construction and model fitting to be analyzed separately.
References
[1] Jinbin Bai, Wei Chow, Ling Yang, Xiangtai Li, Juncheng Li, Hanwang Zhang, and Shuicheng Yan. Humanedit: A high-quality human-rewarded dataset for instruction-based image editing. arXiv preprint arXiv:2412.04280, 2024.
[2] Kevin Black, Michael Janner, Yilun Du, Ilya Kostrikov, and Sergey Levine. Training diffusion models with reinforcement learning. In International Conference on Learning Representations, volume 2024, pages 4965–4987, 2024.
[3] Nicholas M. Boffi, Michael S. Albergo, and Eric Vanden-Eijnden. Flow map matching with stochastic interpolants: A mathematical framework for consistency models, 2025. URL https://arxiv.org/abs/2406.07507.
[4] Sébastien Bubeck. Convex optimization: Algorithms and complexity. Foundations and trends in Machine Learning, 8(3-4):231–357, 2015.
[5] Huanqia Cai, Sihan Cao, Ruoyi Du, Peng Gao, Aiming Hao, Steven Hoi, Zhaohui Hou, Shijie Huang, Dengyang Jiang, Yuming Jiang, et al. Z-image: An efficient image generation foundation model with single-stream diffusion transformer. arXiv preprint arXiv:2511.22699, 2025.
[6] Zhongzhi Chen, Guang Liu, Bo-Wen Zhang, Qinghong Yang, and Ledell Wu. Altclip: Altering the language encoder in clip for extended language capabilities. In Findings of the Association for Computational Linguistics: ACL 2023, pages 8666–8682, 2023.
[7] Jaemoo Choi, Yuchen Zhu, Wei Guo, Petr Molodyk, Bo Yuan, Jinbin Bai, Yi Xin, Molei Tao, and Yongxin Chen. Rethinking the design space of reinforcement learning for diffusion models: On the importance of likelihood estimation beyond loss design. arXiv preprint arXiv:2602.04663, 2026.
[8] Wei Chow, Linfeng Li, Lingdong Kong, Zefeng Li, Qi Xu, Hang Song, Tian Ye, Xian Wang, Jinbin Bai, Shilin Xu, et al. Editmgt: Unleashing potentials of masked generative transformers in image editing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 38038–38048, 2026.
[9] Wei Chow, Jiachun Pan, Yongyuan Liang, Mingze Zhou, Xue Song, Liyu Jia, Saining Zhang, Siliang Tang, Juncheng Li, Fengda Zhang, et al. Weave: Unleashing and benchmarking the in-context interleaved comprehension and generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 15343–15353, 2026.
[10] Kevin Clark, Paul Vicol, Kevin Swersky, and David Fleet. Directly fine-tuning diffusion models on differentiable rewards. In International Conference on Learning Representations, volume 2024, pages 4793–4822, 2024.
[11] Prafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. Advances in neural information processing systems, 34:8780–8794, 2021.
[12] Carles Domingo i Enrich, Michal Drozdzal, Brian Karrer, and Ricky TQ Chen. Adjoint matching: Fine-tuning flow and diffusion generative models with memoryless stochastic optimal control. In International Conference on Learning Representations, volume 2025, pages 53791–53846, 2025.
[13] Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, et al. Scaling rectified flow transformers for high-resolution image synthesis. In Forty-first international conference on machine learning, 2024.
[14] Ying Fan, Olivia Watkins, Yuqing Du, Hao Liu, Moonkyung Ryu, Craig Boutilier, Pieter Abbeel, Mohammad Ghavamzadeh, Kangwook Lee, and Kimin Lee. Dpok: Reinforcement learning for fine-tuning text-to-image diffusion models. Advances in neural information processing systems, 36:79858–79885, 2023.
[15] Zhen Fang, Wenxuan Huang, Yu Zeng, Yiming Zhao, Shuang Chen, Kaituo Feng, Yunlong Lin, Lin Chen, Zehui Chen, Shaosheng Cao, et al. Flow-opd: On-policy distillation for flow matching models. arXiv preprint arXiv:2605.08063, 2026.
[16] Kevin Frans, Seohong Park, Pieter Abbeel, and Sergey Levine. Diffusion guidance is a controllable policy improvement operator. arXiv preprint arXiv:2505.23458, 2025.
[17] Jack Hessel, Ari Holtzman, Maxwell Forbes, Ronan Le Bras, and Yejin Choi. Clipscore: A reference-free evaluation metric for image captioning. In Proceedings of the 2021 conference on empirical methods in natural language processing, pages 7514–7528, 2021.
[18] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
[19] Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.
[20] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840–6851, 2020.
[21] Vasant G Honavar. Dspo: Direct score preference optimization for diffusion model alignment. ICLR, 2025.
[22] Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685, 2021.
[23] Dengyang Jiang, Dongyang Liu, Zanyi Wang, Qilong Wu, Liuzhuozheng Li, Hengzhuang Li, Xin Jin, David Liu, Zhen Li, Bo Zhang, et al. Distribution matching distillation meets reinforcement learning. arXiv preprint arXiv:2511.13649, 2025.
[24] Sham Kakade and John Langford. Approximately optimal approximate reinforcement learning. In Proceedings of the nineteenth international conference on machine learning, pages 267–274, 2002.
[25] Tero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusion-based generative models. Advances in neural information processing systems, 35:26565–26577, 2022.
[26] Yuval Kirstain, Adam Polyak, Uriel Singer, Shahbuland Matiana, Joe Penna, and Omer Levy. Pick-a-pic: An open dataset of user preferences for text-to-image generation. Advances in neural information processing systems, 36:36652–36663, 2023.
[27] Jeongjae Lee, Jinho Chang, Jeongsol Kim, and Jong Chul Ye. Reward score matching: Unifying reward-based fine-tuning for flow and diffusion models. arXiv preprint arXiv:2604.17415, 2026.
[28] Quanhao Li, Junqiu Yu, Kaixun Jiang, Yujie Wei, Zhen Xing, Pandeng Li, Ruihang Chu, Shiwei Zhang, Yu Liu, and Zuxuan Wu. Diffusionopd: A unified perspective of on-policy distillation in diffusion models. arXiv preprint arXiv:2605.15055, 2026.
[29] Yuhan Li, Fangao Zeng, Sicong Kang, Mengfei Xu, Hao Zhou, Wei Li, Pipei Huang, and Bingbing Ni. Rl-native distillation: Exploiting scored trajectories for few-step image generation. arXiv preprint arXiv:2608.09226, 2026.
[30] Zhanhao Liang, Yuhui Yuan, Shuyang Gu, Bohan Chen, Tiankai Hang, Mingxi Cheng, Ji Li, and Liang Zheng. Aesthetic post-training diffusion models from generic preferences with step-by-step preference optimization. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 13199–13208. IEEE, 2025.
[31] Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747, 2022.
[32] Dongyang Liu, Peng Gao, David Liu, Ruoyi Du, Zhen Li, Qilong Wu, Xin Jin, Sihan Cao, Shifeng Zhang, Hongsheng Li, and Steven Hoi. Decoupled dmd: Cfg augmentation as the spear, distribution matching as the shield, 2025. URL https://arxiv.org/abs/2511.22677.
[33] Hongyu Liu, Chun Wang, Feng Gao, Xuanhua He, Yue Ma, Ziyu Wan, Yong Zhang, Xiaoming Wei, and Qifeng Chen. Opsd-v: On-policy self-distillation for post-training few-step autoregressive video generators. arXiv preprint arXiv:2607.08766, 2026.
[34] Jie Liu, Gongye Liu, Jiajun Liang, Yangguang Li, Jiaheng Liu, Xintao Wang, Pengfei Wan, Di Zhang, and Wanli Ouyang. Flow-grpo: Training flow matching models via online rl. Advances in neural information processing systems, 38:40783–40818, 2026.
[35] Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003, 2022.
[36] Zhen Liu, Tim Xiao, Carles Domingo i Enrich, Weiyang Liu, and Dinghuai Zhang. Value gradient guidance for flow matching alignment. Advances in Neural Information Processing Systems, 38:11372–11404, 2026.
[37] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
[38] Cheng Lu, Yuhao Zhou, Fan Bao, Jianfei Chen, Chongxuan Li, and Jun Zhu. Dpm-solver++: Fast solver for guided sampling of diffusion probabilistic models. Machine Intelligence Research, 22(4):730–751, 2025.
[39] Simian Luo, Yiqin Tan, Longbo Huang, Jian Li, and Hang Zhao. Latent consistency models: Synthesizing high-resolution images with few-step inference. arXiv preprint arXiv:2310.04378, 2023.
[40] Yuhang Ma, Xiaoshi Wu, Keqiang Sun, and Hongsheng Li. Hpsv3: Towards wide-spectrum human preference score. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pages 15086–15095. IEEE, 2025.
[41] David McAllister, Miika Aittala, Tero Karras, Janne Hellsten, Angjoo Kanazawa, Timo Aila, and Samuli Laine. Finite difference flow optimization for rl post-training of text-to-image models. arXiv preprint arXiv:2603.12893, 2026.
[42] Jorge Nocedal and Stephen J Wright. Numerical optimization. Springer, 2006.
[43] Boris T Polyak and Anatoli B Juditsky. Acceleration of stochastic approximation by averaging. SIAM journal on control and optimization, 30(4):838–855, 1992.
[44] Mihir Prabhudesai, Anirudh Goyal, Deepak Pathak, and Katerina Fragkiadaki. Aligning text-to-image diffusion models with reward backpropagation, 2023.
[45] Mihir Prabhudesai, Russell Mendonca, Zheyang Qin, Katerina Fragkiadaki, and Deepak Pathak. Video diffusion alignment via reward gradients. arXiv preprint arXiv:2407.08737, 2024.
[46] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In 2022 IEEE/CVF conference on computer vision and pattern recognition (CVPR), pages 10674–10685. ieee, 2022.
[47] Stéphane Ross, Geoffrey Gordon, and Drew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pages 627–635. JMLR Workshop and Conference Proceedings, 2011.
[48] Chitwan Saharia, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, et al. Photorealistic text-to-image diffusion models with deep language understanding. Advances in neural information processing systems, 35:36479–36494, 2022.
[49] Tim Salimans and Jonathan Ho. Progressive distillation for fast sampling of diffusion models. arXiv preprint arXiv:2202.00512, 2022.
[50] Axel Sauer, Dominik Lorenz, Andreas Blattmann, and Robin Rombach. Adversarial diffusion distillation. In European Conference on Computer Vision, pages 87–103. Springer, 2024.
[51] Christoph Schuhmann and Romain Beaumont. Laion-aesthetics. LAION. AI, 3, 2022.
[52] John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In International conference on machine learning, pages 1889–1897. Pmlr, 2015.
[53] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
[54] Team Seedream, Yunpeng Chen, Yu Gao, Lixue Gong, Meng Guo, Qiushan Guo, Zhiyao Guo, Xiaoxia Hou, Weilin Huang, Yixuan Huang, et al. Seedream 4.0: Toward next-generation multimodal image generation. arXiv preprint arXiv:2509.20427, 2025.
[55] Dingyuan Shi, Yong Wang, Hangyu Li, and Xiangxiang Chu. Preference alignment for diffusion model via explicit denoised distribution estimation. arXiv preprint arXiv:2411.14871, 2024.
[56] Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020.
[57] Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. arXiv preprint arXiv:2011.13456, 2020.
[58] Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. Consistency models. arXiv preprint arXiv:2303.01469, 2023.
[59] Bram Wallace, Meihua Dang, Rafael Rafailov, Linqi Zhou, Aaron Lou, Senthil Purushwalkam, Stefano Ermon, Caiming Xiong, Shafiq Joty, and Nikhil Naik. Diffusion model alignment using direct preference optimization.
In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 8228–8238. IEEE, 2024.
[60] Xiaoshi Wu, Yiming Hao, Keqiang Sun, Yixiong Chen, Feng Zhu, Rui Zhao, and Hongsheng Li. Human preference score v2: A solid benchmark for evaluating human preferences of text-to-image synthesis. arXiv preprint arXiv:2306.09341, 2023.
[61] Xingrun Xing, Haoqing Wang, Boyan Gao, Ziheng Li, and Yehui Tang. Trust region on-policy distillation. arXiv preprint arXiv:2606.01249, 2026.
[62] Jiazheng Xu, Xiao Liu, Yuchen Wu, Yuxuan Tong, Qinkai Li, Ming Ding, Jie Tang, and Yuxiao Dong. Imagereward: Learning and evaluating human preferences for text-to-image generation. Advances in Neural Information Processing Systems, 36:15903–15935, 2023.
[63] Shuchen Xue, Chongjian Ge, Shilong Zhang, Yichen Li, and Zhi-Ming Ma. Advantage weighted matching: Aligning rl with pretraining in diffusion models. arXiv preprint arXiv:2509.25050, 2025.
[64] Zeyue Xue, Jie Wu, Yu Gao, Fangyuan Kong, Lingting Zhu, Mengzhao Chen, Zhiheng Liu, Wei Liu, Qiushan Guo, Weilin Huang, et al. Dancegrpo: Unleashing grpo on visual generation. arXiv preprint arXiv:2505.07818, 2025.
[65] Kai Yang, Jian Tao, Jiafei Lyu, Chunjiang Ge, Jiaxin Chen, Weihan Shen, Xiaolong Zhu, and Xiu Li. Using human feedback to fine-tune diffusion models without any reward model. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 8941–8951. IEEE, 2024.
[66] Tong Yang, Moonkyung Ryu, Chih-Wei Hsu, Guy Tennenholtz, Yuejie Chi, Craig Boutlier, and Bo Dai. Diffusion controller: Framework, algorithms and parameterization. In Forty-third International Conference on Machine Learning, 2026.
[67] Tianwei Yin, Michaël Gharbi, Taesung Park, Richard Zhang, Eli Shechtman, Fredo Durand, and William T Freeman. Improved distribution matching distillation for fast image synthesis. In NeurIPS, 2024.
[68] Tianwei Yin, Michaël Gharbi, Richard Zhang, Eli Shechtman, Fredo Durand, William T Freeman, and Taesung Park. One-step diffusion with distribution matching distillation. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6613–6623. IEEE, 2024.
[69] Zhiyuan You, Xin Cai, Jinjin Gu, Tianfan Xue, and Chao Dong. Teaching large language models to regress accurate image quality scores using score distribution. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14483–14494. IEEE, 2025.
[70] Qifan Yu, Wei Chow, Zhongqi Yue, Kaihang Pan, Yang Wu, Xiaoyang Wan, Juncheng Li, Siliang Tang, Hanwang Zhang, and Yueting Zhuang. Anyedit: Mastering unified high-quality image editing for any idea. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 26125–26135. IEEE, 2025.
[71] Lei Zhang, Junjiao Tian, Zhipeng Fan, Kunpeng Li, Jialiang Wang, Weifeng Chen, Markos Georgopoulos, Felix Juefei-Xu, Yuxiang Bao, Julian McAuley, et al. Think in strokes, not pixels: Process-driven image generation via interleaved reasoning. arXiv preprint arXiv:2604.04746, 2026.
[72] Ziyi Zhang, Li Shen, Sen Zhang, Deheng Ye, Yong Luo, Miaojing Shi, Dongjing Shan, Bo Du, and Dacheng Tao. Aligning few-step diffusion models with dense reward difference learning. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2026.
[73] Canyu Zhao, Hao Chen, Yunze Tong, Yu Qiao, Jiacheng Li, and Chunhua Shen. Marble: Multi-aspect reward balance for diffusion rl. arXiv preprint arXiv:2605.06507, 2026.
[74] Hanyang Zhao, Haoxian Chen, Ji Zhang, David D Yao, and Wenpin Tang. Score as action: Fine-tuning diffusion generative models by continuous-time reinforcement learning. arXiv preprint arXiv:2502.01819, 2025.
[75] Kaiwen Zheng, Huayu Chen, Haotian Ye, Haoxiang Wang, Qinsheng Zhang, Kai Jiang, Hang Su, Stefano Ermon, Jun Zhu, and Ming-Yu Liu. Diffusionnft: Online diffusion reinforcement with forward process. In International Conference on Learning Representations, volume 2026, pages 134129–134150, 2026.
[76] Wei Zhou, Xiongwei Zhu, Zelin Xu, Bo Dong, Lixue Gong, Yongyuan Liang, Meng Chu, Leigang Qu, Lingdong Kong, Wei Liu, et al. Danceopd: On-policy generative field distillation. arXiv preprint arXiv:2606.27377, 2026.
[77] Yuanzhi Zhu, Xi Wang, Stéphane Lathuilière, and Vicky Kalogeiton. Diffusion reinforcement learning via centered reward distillation. arXiv preprint arXiv:2603.14128, 2026.
Appendix
A Author List
Wei Zhou ByteDance Seed; National University of Singapore
Xiongwei Zhu ByteDance Seed
Lingdong Kong National University of Singapore
Bo Chen ByteDance Seed
Lei Zhang University of California, San Diego
Yongyuan Liang University of Maryland, College Park
Xiaoxia Hou ByteDance Seed
Ye Tian The Hong Kong University of Science and Technology, Guangzhou
Xian Sun Duke University
Yingshuo Wang University of California, Berkeley
Linfeng Li National University of Singapore
Shengqiong Wu University of Oxford
Leigang Qu National University of Singapore
Feng Li The Hong Kong University of Science and Technology
Wei Liu ByteDance Seed
Julian McAuley University of California, San Diego
Tat-Seng Chua National University of Singapore
Corresponding author
B Mathematical Foundations
This appendix provides the mathematical and experimental details behind Sec. 3. We follow standard affine diffusion and flow parameterizations [20, 25, 31, 35, 56, 57]. The main distinction is between a positive or negative target constructed before fitting and the clean-output prediction produced after finite fitting. We therefore separate statements about coordinate validity, target construction, fixed-suffix reward, finite fitting, and end-to-end online training.
The derivations preserve the implemented normalized multi-step construction and positive and negative fitting objective. Ideal output-space optima are used only to characterize the loss. They are not claims that the trainable model reaches those optima under finite AdamW updates.
B.1 Affine Clean-Output Map
Many diffusion and flow samplers can be described by an affine path between a clean-output variable y and a noise variable .
Here is the velocity prediction produced by the model, and the dot denotes differentiation with respect to the time or noise coordinate. The variable y is the clean-output prediction used by DiffusionOPSD. To recover it from a velocity prediction, write Eq. (20) as a two-by-two linear system.
When , the inverse matrix is
Therefore
For the rectified-flow schedule, choose the path coordinate and write and . Hence and . Then
so the clean-output coordinate reduces to
This is the clean-output map used in Eq. (1). For other schedules, DiffusionOPSD only needs to replace Eq. (1) with Eq. (21); the target construction and branch objective remain unchanged.
At a fixed rectified-flow query with , the map is a bijection between velocity and clean-output coordinates, but it is not an isometry. The relation is and . A clean-output target radius therefore induces a noise-dependent velocity displacement. Algebraic equivalence does not imply geometry- or optimizer-invariant finite fitting.
The clean-output map also explains why low-noise states are useful. Differentiating Eq. (21) gives
which becomes under rectified flow. Thus a velocity perturbation is damped in clean-output space when is small.
Proposition B.1 (Low-noise clean-output stability). Let v and be two velocity predictions evaluated at the same state . Under the general affine clean-output map,
For rectified flow this becomes .
Proof. From Eq. (21),
Taking the Euclidean norm gives Eq. (23).
The proposition does not say that the query should be placed at zero noise. At exactly zero noise the sampler has almost no remaining controllable clean-output change. The useful regime is low but nonzero noise, where the decoded clean output is already semantically meaningful while the policy still has a local degree of freedom to improve the final sample.
Joint state and velocity perturbations can be controlled by the same inverse map. Let and be two input pairs at the same schedule coordinate. Subtracting the two inverse maps and applying the triangle inequality ity gives
(24)
For rectified flow this reduces to
Eq. (24) separates two sources of clean-output coordinate error. The first comes from storing or reconstructing an inaccurate sampler state, while the second comes from velocity prediction error. The determinant controls both terms. A schedule coordinate with close to zero makes the inverse clean-output map ill conditioned even when the noise level itself is moderate. Thus low noise alone is not sufficient for a general affine schedule. The query should also lie in a region where the schedule determinant stays bounded away from zero throughout target construction.
B.2 Endpoint-Weighted Objectives and Reward Weighting
The difference from DiffusionNFT [75] can be isolated at the level of the population objective. Let denote the clean-output space and the space of query tuples . Suppressing branch details, a forward-process endpoint objective has the form
where is the forward-training noise distribution and is the reward-derived sample weight. The endpoint is both the object that receives this weight and the clean target from which the training state is synthesized. The corresponding DiffusionOPSD objective is
where is an augmented analysis record induced by one rollout batch, denotes its joint law, , prompts follow , and the state follows the conditional rollout slice at . The variable is the anchor clean-output prediction at that query, and and are the reward-gradient-derived target maps. The implementation does not store in the target dataset. It recomputes deterministically from the frozen behavior policy at the stored query during fitting. This population objective isolates the branch mechanism. The structural substitutions are
The first substitution changes where the model is queried. The second changes the local object represented by its prediction. The third turns a weighted reconstruction target into a reward-improving target.
These effects can be separated quantitatively. Let denote a complete sample record on a common measurable space. It includes the query tuple, anchor, fitting weight, and the rollout-batch statistics needed to obtain that weight. Let denote the resulting branch loss, and write when is fixed. Let be the reward-gradient-derived target map and let be an endpoint-derived comparator map in the same product space. Both maps are assumed measurable on the union of the compared supports. Equip the target space with . Let and be the corresponding augmented sample laws whose query-state marginals are and . Assume the local loss is bounded by on the compared trust-region support and is -Lipschitz in this product norm. Adding and subtracting the comparator risk under Q yields the full decomposition
(26)
Here denotes total variation distance. The total change contains one term for the query-state source and another for target construction. DiffusionNFT primarily exploits reward through sample weighting. DiffusionOPSD retains that weighting while changing the query-state source through rollout collection and changing target construction through local reward gradients.
The two factors can be isolated through a factorial family of population objectives. Let and for the augmented laws above. Let be the endpoint-derived target map and the reward-gradient-derived target map. Define
Then represents endpoint-noised training, changes only the queried state distribution, changes only the target construction, and is the full local OPSD abstraction. An order-independent two-factor attribution is
It satisfies . Averaging the two possible factor orders splits their interaction evenly and avoids assigning it to either factor through an arbitrary order. This decomposition formalizes the two factors examined by the target variants and the forward-noised control.
Reward splits. DiffusionNFT motivates its implicit positive and negative branches by splitting the old endpoint distribution according to a normalized reward. Let be a binary optimality variable, let , and define
Assume . Then Bayes' rule gives
The forward-process objective then transports these endpoint splits through the forward noising kernel.
DiffusionOPSD keeps the positive and negative idea but changes the object being reweighted. Let be the joint law of the augmented analysis tuple
where , is the anchor clean-output prediction, , and is the group-normalized fitting weight in Eq. (5). The tuple is used only to define the population law. The finite target dataset omits and recomputes it from the frozen behavior policy. Conditioning on the exact query state would make deterministic under the behavior policy, so the split must be defined on the joint law rather than on alone. For any measurable , define
(27)
These measures are well defined when both denominators are positive. If one only trained on these anchor splits, the objective would still be a weighted reconstruction of old clean-output predictions. DiffusionOPSD adds the missing policy-improvement step by applying reward-gradient-derived target maps to the anchor
Therefore the branch targets are not merely positive and negative samples under the old endpoint distribution. They are targets for clean-output predictions obtained by applying reward-ascent and reward-descent target maps at the on-policy state.
Let . The reweighted measures satisfy an exact mixture identity whenever .
where is the marginal law of under . To verify Eq. (28), evaluate both sides on an arbitrary measurable set A from the ambient sigma-algebra.
Thus the positive and negative laws are not two unrelated datasets. They form a soft decomposition of the same on-policy anchor distribution.
Target construction subsequently pushes these measures through different maps. Writing for the pushforward of the positive measure and for the negative measure makes the distinction precise. Reweighting selects which anchors matter to each branch, while target construction changes the clean-output prediction attached to each selected anchor. These are separate operations and only the second introduces a local reward direction.
Group-Normalized Fitting Weights. The implementation uses per-prompt centering and a global rollout-batch standard deviation. Let index the complete rollout batch in one outer iteration, let be the rewards for prompt , and define
Thus is a clipped advantage whose numerator is local to a prompt group and whose scale is shared across the complete rollout batch. Per-prompt centering removes a common reward offset inside each prompt group; the global denominator avoids assigning a different scale to every group. Before clipping,
The clipped weights need not have mean exactly 1/2, because clipping can act asymmetrically on a finite group. They remain bounded in , which prevents an outlier reward from becoming an unbounded loss multiplier.
Proposition B.2 (Ideal affine reward invariance). Set and assume . If the same positive affine transformation , , is applied to every reward in the rollout batch, then the normalized advantages and clipped weights are invariant.
Proof. Under ,
Therefore
Applying the same clipping map gives .
With a fixed , translation invariance remains exact but positive-scale invariance is approximate. For , direct substitution gives
(29)
The discrepancy vanishes when and becomes small relative to the standardized advantage when . The same clipping map can only contract this discrepancy.
The weights also have a useful interpretation inside the branch objective. Let
where and . App Sec. B.5 shows that is proportional to the first-order force applied to the trainable clean output. When target construction is locally symmetric, let denote the nominal aggregate displacement, so and . This scaled force becomes
Thus both branches agree on the same reward-improving direction. When the targets are asymmetric, determines how much the sample behaves as a positive example versus a negative example. High-reward samples within a prompt group place more mass on imitation of , while low-reward samples place more mass on repulsion from .
The bounded weights also control variance. Let be the clean-output dimension, let , and let . If and on a minibatch, then
(30) independently of the raw reward magnitude.
If every reward in one prompt group is identical, then every centered numerator in that group is zero and Eq. (5) gives , even when other prompt groups make . That group supplies no endpoint-ranking information, although the local reward gradient can still define target directions. The group size controls the precision of the per-prompt mean, while the number of groups and their samples jointly determine the global scale estimate. Increasing either can stabilize the corresponding statistic without changing the bounded range of the fitting weight.
B.3 Bounded Target Construction
Let denote the reward of a decoded clean-output prediction. The target step in Eq. (6) can be derived as a small trust-region policy-improvement step, in the same conservative spirit as classical trust-region and conservative policy updates [24, 52]; the local smoothness arguments below use standard descent-lemma tools from numerical optimization [4, 42]. Around an anchor , the first-order model is
The ideal first-order ascent target solves the constrained linear problem
Cauchy-Schwarz gives
with equality at when . The corresponding descent direction is obtained by changing the sign.
Eq. (6) uses the numerically stable direction . For a nominal radius , the resulting step stays inside the intended ball.
The multi-step construction is a conservative discretization of the same idea. To distinguish per-step and aggregate displacements, let and let denote the nominal aggregate displacement. Before projection, each normalized increment has norm at most . Because the per-step projection in Eq. (7) cannot increase the distance from ,
and the same bound holds for . When , the projection is inactive in exact arithmetic and this reduces to the original triangle bound. When , the projection enforces the trust region explicitly. The relative radius therefore retains a direct geometric meaning for every multiplier used in the ablation.
The normalized step is also nearly invariant to reward scaling. If a reward model is replaced by with , the gradient becomes , and
When , the direction and length are essentially unchanged. This matters in practice because preference, aesthetic, and multimodal reward models can have very different numerical calibrations even when their local improvement directions are useful.
The stabilized direction realizes only part of the nominal radius. For one step,
When the gradient is large relative to , the step nearly reaches length . When the gradient is small, the step shrinks continuously toward zero. The stabilizer therefore acts as an implicit confidence gate in addition to preventing division by zero.
Together, stabilized normalization and the per-step projection in Eq. (7) keep target construction well behaved. The default can use the nominal radius when gradients are informative, while larger stress-test multipliers remain inside the same trust region.
Local reward improvement. We now show the local effect of the target construction. The argument is intentionally local. It justifies a small reward-gradient target around the clean-output prediction the policy already produces, rather than claiming global optimality.
Assumption B.3 (Local smoothness). For a fixed prompt, is differentiable and has L-Lipschitz gradients in a neighborhood of the target-construction path.
Lemma B.4 (One-step ascent and descent). Let and . Under Assumption B.3,
Proof. The smoothness lower and upper bounds give
For ascent, set . Then
Substitution gives the first inequality. For descent, set and use the smoothness upper bound.
Proposition B.5 (Multi-step target bound). Let and , where . If all iterates stay in the smooth neighborhood, then
An analogous upper bound holds for the negative target path.
Proof. Let . Applying the smoothness lower bound at every iterate and then telescoping yields the accumulated bound below.
The last line is Eq. (32).
With the implementation choice , the total curvature penalty becomes
For a fixed relative clean-output target radius , using several small target-construction steps reduces the second-order penalty compared with one large step, while the normalized gradient keeps the move size independent of the reward model's scale and numerical units.
Lemma B.4 gives an explicit sufficient step-size condition. If , the one-step lower bound is positive whenever
(33)
This condition becomes more conservative near stationary points because the reliable first-order signal vanishes faster than the curvature term.
A uniform multi-step version follows when along the positive path.
Substituting gives
The first-order term depends on the total radius, while the curvature penalty decreases with the number of target steps. This explains why several short steps can be safer than one step of the same aggregate length.
B.4 Fixed-Suffix Reward
Target construction uses the reward of the decoded clean-output prediction , whereas training progress is measured with endpoint reward. This subsection makes the approximation explicit. Under rectified flow, inserting a clean-output prediction at the query state means replacing the query velocity by
where is the first numerical solver update after the query. Let denote the endpoint obtained by applying this update once and then continuing all remaining updates with the behavior policy. Define
When and c are fixed, we abbreviate this function as . The following local conditions characterize when a local reward movement also improves endpoint reward.
Assumption B.6 (Fixed-suffix reward regularity). In a neighborhood of , the fixed-suffix reward is -smooth. Its gradient is positively aligned with the local-reward gradient .
Proposition B.7 (Local reward ascent improves fixed-suffix reward). Under Assumption B.6, let and . Then
Thus a sufficiently small local reward ascent step also improves the fixed-suffix reward.
Proof. Using smoothness of ,
The alignment condition gives
and . Substituting these two facts gives Eq. (34).
Low-noise querying makes the alignment condition more plausible. The remaining path from the query state to the endpoint is short, and the decoded clean-output prediction is close to the image that would be obtained by continuing the sampler. One can formalize this through a simple Lipschitz argument. Let be a local Lipschitz constant of the reward with respect to its decoded image input. If D and R are locally Lipschitz and the remaining sampler map satisfies
then
(35)
The local and fixed-suffix rewards become closer when and the relative clean-output target radius are small. This is why DiffusionOPSD uses local target moves at a low-noise on-policy state rather than global reward-gradient optimization from arbitrary noisy states.
A gradient-discrepancy condition provides a more direct version of the alignment assumption. Suppose
Then
Hence the two gradients have positive inner product whenever . Combining this inequality with the smoothness argument yields
This form separates local reward approximation error from fixed-suffix curvature. It also suggests a diagnostic. One can estimate the cosine similarity between occasional fixed-suffix-reward gradients and local-reward gradients on a small validation subset without making endpoint differentiation part of the training loop.
B.5 Fitting-Branch Geometry and Ideal Output Improvement
We next analyze the two-branch fitting objective by treating the adaptive normalizers as stop-gradient constants and using the following detached weights and displacements. The derivation suppresses the common factor 1/d from the implemented elementwise mean because it does not change the minimizer or the branch geometry.
Using Eq. (11), the branch residuals are
Squaring removes the sign in the second residual, so the local branch loss is
Let
Substituting the branch residuals, expanding both squares, collecting the terms that depend on , and completing the square gives the following derivation chain
(36)
The gradient and Hessian are therefore
For and , the unique minimizer is
This derivation is the local analogue of DiffusionNFT’s implicit positive and negative branch analysis, but with reward-gradient-derived clean-output targets replacing forward-process endpoint targets.
Several cases are informative. If the target construction is locally symmetric, and , then
The result is independent of the positive and negative mixture weights because both fitting branches agree on the same improvement direction. If only the positive fitting branch is active, , the same optimum is obtained. If the two targets are not exactly symmetric, the optimum becomes a weighted displacement that interpolates between attraction to and repulsion from .
At the anchor, , the gradient is
A gradient-descent step therefore moves in the direction . When and , this update direction is approximately and is therefore aligned with the reward gradient.
The completed-square form in Eq. (36) shows that the objective is isotropic in clean-output space. Its Hessian has the single eigenvalue , repeated in every clean-output dimension. Thus and the adaptive branch weights control curvature magnitude but do not introduce an anisotropic condition number at the clean-output level. Any anisotropy in parameter optimization comes from the network Jacobian rather than from this quadratic branch construction.
The minimum value is
This expression measures how much of the two target requests can be satisfied by a single clean-output displacement. If the weighted target forces cancel, and the optimum remains at the anchor. If they agree, is large and the single policy can reduce both branch errors simultaneously.
Target asymmetry. The symmetric calculation above is exact for one target step when both branches use the same gradient at . Multiple target steps evaluate the reward gradient at different points, so curvature and numerical error can make the final displacements asymmetric. Let denote the nominal aggregate displacement, which equals for one step and when the normalized direction stays constant. Write
Substitution into Eq. (37) gives the exact decomposition
The departure from the ideal reward direction obeys
(39)
This bound exposes the roles of the two branch weights. An inaccurate positive target is attenuated when a is small, and an inaccurate negative target is attenuated when b is small. The factor amplifies both the intended displacement and its approximation error.
Combining Eq. (38) with local smoothness yields a robust reward bound. Cauchy-Schwarz and give
(40)
The ideal first-order gain survives whenever it exceeds the linear error and curvature terms. This provides a concrete reason to use a small relative clean-output target radius, a moderate branch coefficient, and detached target construction.
A simple uniform error corollary follows from Eq. (39). If
then
The branch coefficient amplifies target approximation error by the same factor that amplifies the intended displacement. Reducing is therefore not free even when the ideal optimum appears more aggressive.
The error can be further separated into components parallel and orthogonal to the normalized reward direction. Let when and write
The parallel component directly increases or decreases the first-order reward gain. The orthogonal component contributes only through reward anisotropy and the curvature penalty at first order around . This distinction suggests measuring both target displacement error and cosine alignment in ablations rather than reporting only Euclidean target error.
Ideal output improvement. Combining the target bound with the branch optimum yields a local statement about the ideal output-space minimizer of the detached branch loss. It does not describe the output reached by finite fitting. The general branch optimum from Eq. (37) is
where and . Under Assumption B.3, the smoothness lower bound gives the generic sufficient condition
Let . Substituting into the right-hand side gives
(42)
Thus the supervised branch optimum is reward-improving whenever its alignment with the local reward gradient dominates the curvature penalty.
This condition is local and checkable at the level of the constructed target field. It does not require the supervised model to solve a global reward maximization problem.
In the symmetric small-step case, and with . Then
and Eq. (41) reduces to
For sufficiently small , the first-order term is positive and dominates the second-order term. This characterizes the reward of the ideal fitted output. Actual finite fitting can under-realize, rotate, or overshoot this displacement; App Sec. B.8 treats that gap explicitly.
The expression also clarifies the role of . A smaller amplifies the displacement implied by the branch optimum, because the fitting branches move only a fraction of the trainable clean output. A larger makes the supervised optimum more conservative. At initialization, the branch gradient scale also grows with . Under a fixed fitting budget, a large can therefore produce larger observed changes before approaching its more conservative optimum. In implementation, and should therefore be viewed together. The ratio sets the effective clean-output step, whereas the trust-region construction sets itself.
The symmetric policy-improvement bound also yields an explicit condition on the effective clean-output step. The right-hand side of Eq. (44) is positive whenever
This makes the interaction between and quantitative. Increasing the relative clean-output target radius or decreasing the branch coefficient enlarges the same effective displacement and should therefore be accompanied by a corresponding smoothness margin for stable fitting.
The pointwise statement extends to the rollout distribution by integration. If the lower bound in Eq. (41) is integrable, then
A positive expected lower bound is weaker than pointwise improvement but better matches minibatch training, where updating the model on a minibatch can trade small losses on some samples for larger gains on others.
B.6 Velocity-Space Formulation
The loss is written in clean-output space, but the network predicts velocity. This subsection makes the chain rule explicit. Under the general affine clean-output map in Eq. (21),
For any clean-output loss evaluated at a fixed rollout query state , the velocity gradient is therefore
For rectified flow, and the factor becomes . At the anchor and in the symmetric target case,
The sign difference is exactly the sign in the clean-output map. Decreasing the velocity in a direction increases the clean-output prediction in that direction.
Let denote the affine determinant at the query state. Applying the chain rule to network parameters yields the following relation.
Thus the reward-gradient clean-output update is implemented through the ordinary velocity-model training interface; no special policy-gradient estimator is required.
Eq. (45) also explains the low-noise trade-off. If is very large, a small velocity change produces a large clean-output change, and the decoded clean output may be too noisy for the reward model to provide reliable gradients. If is too close to zero, the velocity gradient is multiplied by a very small factor, making the clean-output target hard to realize through velocity regression. The useful regime is therefore low but nonzero noise. This is consistent with modern diffusion sampler design, where the numerical schedule strongly affects the semantics and stability of intermediate states [25].
A simple norm bound makes the same point. If the parameter Jacobian satisfies , then
The query noise level controls both stability of the decoded clean-output prediction and the magnitude of the trainable velocity update.
The chain rule also determines the effective clean-output learning rate induced by a velocity update. Let one gradient step in velocity space be
At a fixed state, the resulting first-order clean-output change is
Thus the same optimizer learning rate produces different clean-output step sizes at different schedule coordinates. Near zero noise, the effective clean-output update is quadratically attenuated. This is another reason to use a low but nonzero query state rather than the final endpoint.
The exact norm identity
also clarifies preconditioning. A variable-noise extension would need to account for this schedule factor if it sought equal clean-output influence across query times. The fixed-noise design avoids introducing such a time-dependent correction into the main method.
Equivalent velocity-space objective. The clean-output regression can be written exactly as a velocity-space regression at the fixed query state. This connects the proposed update to the simple velocity MSE used for low-noise on-policy prediction matching in DanceOPD [76], while preserving the different source of supervision in DiffusionOPSD. Define target velocities
which are well defined because the query noise level is nonzero. The two clean-output branches in Eq. (11) map to the following velocity fields.
because is affine in the velocity. Therefore
The intermediate equalities use
For a direct velocity-space derivation, let , and . Reuse and . Substituting the two residual chains and completing the square gives
(47)
The center of the final square gives
Hence the branch objective is a pair of velocity MSE terms with detached branch weights and . When a run uses a fixed , the common factor changes the overall gradient scale but not the minimizer. In the symmetric case, and , so Eq. (48) reduces to
The distinction from teacher-field distillation lies in the targets. DanceOPD queries a frozen capability field, whereas DiffusionOPSD converts reward-ascent and reward-descent clean-output targets into the induced velocities and .
The induced velocity targets make the scaling cancellation explicit. A fixed clean-output displacement corresponds to a larger velocity displacement when is smaller. However, the first line of Eq. (47) multiplies the squared velocity residual by , and the second line shows that these factors cancel exactly. The velocity target may therefore look numerically large at low noise without changing the underlying clean-output geometry seen by the optimizer.
The complete velocity-space form of the implemented branch objective is therefore
Both terms encode detached reward-gradient-derived supervision through .
B.7 Adaptive Scaling
The adaptive normalizers and in Eq. (13) are stop-gradient quantities. They make the branch gradients less sensitive to the absolute magnitude of target residuals. For a residual , the normalized squared loss is
Because is stopped, its gradient is
If the residual is rescaled to cr with c > 0, absolute homogeneity of m gives the complete cancellation chain
(50)
The final expression is independent of c. Therefore the branch update depends primarily on residual direction and relative structure, not on arbitrary target scale. This is important because reward-gradient directions can produce different residual magnitudes across prompts and reward models.
The stop-gradient is important. If the denominator were not stopped and , differentiation would give
away from zero coordinates. The second term couples all coordinates through the scalar residual magnitude and can rotate the gradient away from the direct regression direction. By stopping , DiffusionOPSD keeps the adaptive scale but preserves the simple supervised-regression gradient direction in Eq. (49).
The stabilizer controls the near-zero regime. Since
the gradient cannot blow up when the residual is already nearly solved. Outside the stabilizer floor,
The gradient norm therefore lies between and 2, with its scale determined by residual structure rather than reward-model calibration.
The same reasoning applies independently to the positive and negative fitting branches. Separate normalizers are preferable because the positive target can be easier or harder than the negative target depending on the local reward landscape. A shared denominator would let the larger residual branch suppress gradients from the smaller one; branch-wise scaling keeps both signals active.
The complete clean-output gradient of the two normalized branches can be written explicitly. Let
Because the normalizers are detached,
The negative sign in the second term comes from the negative fitting branch. At the symmetric anchor, and , so Eq. (51) reduces to
Thus separate adaptive scales change the magnitude contributed by each branch but preserve their common reward-improving direction in the symmetric case.
B.8 Finite Fitting and the Fitting Gap
At iteration i, let
be the temporary data object induced by the frozen behavior policy and reward construction. All stored entries are detached as in Eq. (14). During fitting, the implementation recomputes from the frozen behavior policy at each stored query. The empirical objective is
and its gradient contains no terms of the forms
Reward is differentiated only with respect to the temporary clean-output variable during target construction. Finite fitting then uses an ordinary supervised field gradient and does not retain the decoder, reward, or sampling computation graph.
The actual update is
not an exact arg min. The operator depends jointly on parameterization, optimizer state, learning rate, precision, batching, and the finite fitting budget. Reusing a target buffer for more optimizer passes reduces construction cost but increases staleness; it can also move the field beyond the neighborhood in which the target was constructed.
Fitting accounting. For the same fixed query s and fixed-suffix reward , let be the anchor, the detached positive target, and the clean-output prediction after optimizer updates during finite fitting. Define
Then the exact identity
shows why target construction and the realized gain are non-substitutable measurements. The fitting gap is signed. Finite fitting may under-realize, rotate, or overshoot. Extending this accounting to end-to-end online training performance would require additional distribution shift terms that we do not estimate. Therefore Eq. (52) is not a mediation proof.
A local linearization explains why the gap can arise. For positive-target fitting, write and . A small preconditioned update with local preconditioner P gives
Thus construction specifies , whereas the resulting model update produces the kernel-filtered response . The response can suppress or rotate reward-relevant directions, and multi-query fitting adds cross-query interference. This is an explanatory local formalization, not a theorem for finite AdamW [37].
Proposition B.8 (Local rank preservation). Fix one query and one linearization. Let
be the first-order construction score of a candidate displacement d. For a fixed kernel K and step size , define the one-step realized score
The complete weak ordering, including ties,
holds for every , where is the clean-output dimension, if and only if
For symmetric K, this reduces to .
Proof. If Eq. (56) holds, then , so the weak ordering and all ties are preserved. Conversely, C is nonzero because . Choose d with . Ordering equivalence against the zero displacement gives , so U is also nonzero. Two nonzero linear functionals that induce the same weak ordering over the entire output space must have the same null hyperplane and orientation. They are therefore related by a positive scalar, which proves the stated condition for the complete ordering.
The condition is deliberately local. If candidates are restricted to a finite set, Eq. (56) remains sufficient but is not necessary. Exact preservation on that set only requires every candidate pair to satisfy
(57) including zero differences. Proposition B.8 does not cover adaptive AdamW, nonlinear finite- fitting, the full positive and negative objective, or online training. The isolated same-query fitting audit ranks exact pre-fit and post-update rewards rather than the linear scores C and U; its empirical reversal is therefore a controlled counterexample to universal monotonicity, not a verification of the proposition.
The isolated audit in Sec. 4.5 intentionally removes cross-query interference. Every held-out state starts from the same checkpoint, uses a fresh AdamW state, receives one positive-target MSE update, is evaluated at the same query, and is then restored before the next state. It is not the full batched finite-fitting procedure with positive and negative targets used by DiffusionOPSD. The HPSv2.1 ordering reversal therefore establishes a protocol-conditioned counterexample, not a universal law about all rewards or optimizers.
First-order relation to ReFL. Let with positive scale , where and . At the anchor,
The infinitesimal descent direction of detached target MSE therefore matches the ascent direction of direct reward optimization. DiffusionOPSD combines bounded finite construction, explicit detached data, and positive and negative fitting within an online protocol; neither the infinitesimal reward direction nor the behavior-policy EMA update is claimed as an independent contribution.
B.9 Behavior-Policy EMA Update
The frozen behavior policy is refreshed by exponential moving average, a standard device in stochastic approximation and iterate averaging [43]. The refresh is applied once at the end of each outer iteration, after the finite-fitting operator has completed all inner optimizer updates. Let denote the cumulative optimizer-update count after fitting in outer iteration . Regenerating supervision as behavior evolves is consistent with online diffusion post-training such as DiffusionNFT [75]. This refresh supplies new queries and clean-output predictions in the next iteration.
Subtracting the trainable parameter gives
SO
The movement of the behavior policy itself is
which shows that is the outer-loop step size of the data-collection policy.
If the query state collected from the rollout distribution is locally Lipschitz in the policy parameters with constant , then adjacent rollout distributions satisfy
Thus a larger reduces state-distribution jumps between consecutive training sets. On the other hand, an excessively large makes stale and slows the incorporation of improvements. The EMA rate therefore controls the trade-off between fresh on-policy data and a stable data-collection distribution.
B.10 Computational Cost
The default training cost can be written in terms of its main operations. Let be the number of stored query states, the number of target steps per branch, and the number of policy optimizer updates applied to the temporary dataset. Let be the amortized per-query rollout cost, the per-query decoder and reward backward cost, and the amortized per-query cost of one policy optimizer update. The leading-order cost is
The first positive and negative steps use the same reward gradient at , so the implementation evaluates it once and shares it across the two branches. Each branch then requires additional gradients, giving reward backward calls per target microbatch rather than . Target computations remain independently micro-batchable once query states have been stored.
To isolate target-construction overhead, define the rollout and policy-training baseline
Subtracting this baseline and cancelling the common factor gives
The relative overhead is independent of dataset size at leading order. It is controlled by the number of target steps and by the reward-backward cost relative to rollout and policy optimization.
The canonical method stores one query state per sample rather than a differentiable trajectory. The optional endpoint-checking control retains the immediately preceding detached state as well. If is the memory required by one stored sampler state and is the peak memory of one target-construction microbatch, then the additional memory beyond ordinary policy training is approximately
It does not scale with the number of sampler steps through an autograd graph. Direct trajectory back-propagation instead retains activations whose leading dependence is for T denoising steps unless checkpointing or recomputation is used.
Microbatching changes wall-clock time without changing leading arithmetic cost. Let be the reward-target microbatch size, let be the number of parallel workers, and let be the time for one target microbatch. Under ideal load balancing, the target-construction wall time is approximately
The arithmetic factor is ; independent target microbatches still allow substantial parallelism. Decoder and reward memory determine the largest feasible .
If each stored query state contains scalar values and each scalar uses bytes, raw query-state storage is
Storing multiple query states per trajectory would multiply this term and the target-construction cost by approximately the number of stored states.
These expressions separate arithmetic cost, peak memory, storage, and wall-clock parallelism. They also show where the method differs from trajectory backpropagation. Increasing sampler length raises rollout time, but it does not multiply the stored autograd activations because the rollout remains detached.
C Experiment Details
C.1 Main Results
Main-table scope. Tab. 1 uses model-based text-to-image evaluators. For rows marked with ✓, each column reports the held-out score of the checkpoint trained on that evaluator. The two direct joint-training rows instead optimize PickScore, CLIPScore, and HPSv2.1 together and evaluate the resulting jointly trained checkpoint under all ten evaluator columns, providing a compatibility check for one jointly trained policy. Unless stated otherwise, method hyperparameters below refer to our locally trained rows and controls; public-checkpoint reference rows retain their released training and inference configurations.
SD3.5-M protocol. All trainable SD3.5-M rows [13] start from stable-diffusion-3.5-medium and fine-tune LoRA adapters [22] with rank 32 and alpha 64 at resolution. Training prompts are drawn from Pick-a-Pic [26]. DiffusionNFT, ReFL, and DiffusionOPSD collect CFG-free trajectories with guidance scale 1.0 and deterministic 10-step DPM-Solver++ 2M [38]. FlowGRPO differs because its PPO ratio is computed from per-transition log probabilities, so it uses the method's stochastic SDE-flow rollout with noise level and trains on all transitions. Following the released implementation, DiffusionNFT adds to its objective. For our locally trained FlowGRPO controls, we set the reference-policy coefficient to , so no frozen-base velocity-MSE or transition-KL term is applied. Each outer iteration contains 48 prompt groups with 24 images per group and corresponds to one optimizer update. Evaluation of our locally trained main-table rows is deterministic, using DrawBench prompts [48], 40-step flow sampling, and guidance scale 1.0 except for the explicit CFG baseline; public-checkpoint reference rows retain their released evaluation configurations.
Z-Image-Turbo protocol. Z-Image-Turbo rows [5] use resolution and guidance scale 0.0. The released checkpoint was obtained with the Decoupled DMD and DMDR pipeline described in its technical report [23, 32]; our experiments further adapt it without access to the original teacher or distillation components. DiffusionNFT, ReFL, and DiffusionOPSD collect trajectories with the native deterministic 9-step FlowMatchEuler schedule. FlowGRPO uses the stochastic SDE version of the same 9-step schedule with , because non-degenerate transition densities are required for its per-step log-probability ratios; evaluation returns to the native deterministic Euler sampler. DiffusionNFT retains the released implementation's frozen-base velocity MSE with coefficient , while our locally trained FlowGRPO controls use and therefore no reference-policy regularizer. Training again uses Pick-a-Pic prompts and 48 prompt groups per outer iteration, with 12 images per group. The numeric CFG-free values differ only because the two inference APIs use different conventions. The SD3.5 pipeline uses 1.0 for the conditional prediction without guidance extrapolation, whereas the Z-Image-Turbo pipeline uses 0.0 to disable CFG and the unconditional branch. Both settings are CFG-free.
Checkpoint types and updates. Rows marked with ✓ use reward-specific checkpoints, so each reward column is filled by the checkpoint trained for that reward. Rows marked with × evaluate a single checkpoint across all metric columns. Unless stated otherwise, reward-specific rows use 100 optimizer updates. The direct joint PickScore, CLIPScore, and HPSv2.1 rows use 300 optimizer updates with the composite reward objective . Throughout the table, the Updates column denotes optimizer updates.
Locally trained baselines. DiffusionNFT, FlowGRPO, and ReFL use the backbone-specific training, rollout, and evaluation settings described above.
Optimization and reproducibility. All DiffusionOPSD runs use AdamW with learning rate , first and second beta values 0.9 and 0.999, weight decay , and optimizer epsilon . The behavior-policy EMA is applied once after each outer iteration, after all optimizer updates, with adapter retention at cumulative optimizer update . In the canonical runs . A distinct checkpoint EMA uses retention . All locally trained main-table checkpoints are saved and evaluated with these checkpoint-averaged parameters. We use , , , branch coefficient for reward-specific runs and 0.1 for direct joint three-reward runs, for reward normalization and policy-loss scaling, and stabilizers , , and . The requested query levels are for SD3.5-M and for Z-Image-Turbo. The implementation uses the nearest available schedule value as . On eight-policy-GPU jobs, the per-GPU training microbatch is 9 with gradient accumulation 16 for SD3.5-M and 6 with gradient accumulation 12 for Z-Image-Turbo. Dedicated reward-server jobs use six policy GPUs with microbatch 8 and gradient accumulation 24 for SD3.5-M and microbatch 6 and gradient accumulation 16 for Z-Image-Turbo. The target-construction microbatch is 6 for SD3.5-M and 2 for Z-Image-Turbo, reduced to 1 for the memory-heavy SD3.5-M ImageReward, DeQA, VLM-Pointwise, and VLM-Pairwise rows and for the two Z-Image-Turbo VLM rows. Runs use a single node with eight NVIDIA A800-SXM4-80GB GPUs; VLM reward-server rows allocate two of these GPUs to the reward model.
Metric provenance and scales. For rows marked with , metrics available in DiffusionNFT are inherited from the original report when applicable, while additional reward columns are evaluated under the same DrawBench protocol. The released public evaluators used for our rows on the generated DrawBench images are PickScore v1 [26], CLIPScore with CLIP ViT-L/14 [17], the official HPSv2.1 checkpoint [60], the LAION aesthetic predictor with CLIP ViT-L/14 [51], ImageReward v1.0 [62], HPSv3 7B [40], and DeQA-Score-Mix3 [69]. PickScore is shown on its raw released-logit scale; CLIPScore, HPSv2.1, Aesthetic, ImageReward, and HPSv3 are reported in their native evaluator units, while DeQA reports its expected mean-opinion score on the [1, 5] scale. Higher is better for every column. VLM-Pairwise reports against fixed, prompt-matched reference images generated by Seedream 5.0 Pro [54].
Internal reward models. The internal columns evaluate image and text preference beyond the public reward suite. The AltCLIP column uses an internal alignment reward model trained on our internal data; only its encoder architecture follows AltCLIP [6], and it is not the public AltCLIP checkpoint. VLM-Pointwise scores a prompt and image pair with a scalar preference model that combines semantic alignment with perceptual quality factors such as aesthetics and realism. VLM-Pairwise compares a generated image against a prompt-matched reference image and reports the probability that the generated image is preferred. For DrawBench VLM-Pairwise evaluation, the reference images are generated once and kept fixed for every method under the same controlled comparison protocol used throughout the table.
Signed reward values. ImageReward and HPSv3 are signed reward scales. Consequently, the negative SD3.5-M without CFG entries should be read as low reward-model preference under weak unguided generation, not as an exceptional evaluation case.
C.2 Two-Stage On-Policy Distillation Baselines
The on-policy distillation block in Tab. 1 evaluates a two-stage alternative for combining PickScore, CLIPScore, and HPSv2.1. We first train three separate, reward-specific DiffusionOPSD policies for 100 optimizer updates, optimizing PickScore, CLIPScore, and HPSv2.1, respectively. Their final checkpoints are the PickScore, CLIPScore, and HPSv2.1 specialists summarized by the SD3.5-M DiffusionOPSD Reward-Specific=✓row. We freeze these specialists as teachers, initialize a shared student from stable-diffusion-3.5-medium, and distill it for 300 optimizer updates with equal teacher weights. The 300 entries in the main table denote these 300 second-stage OPD optimizer updates. The preceding specialist-training runs are described here and are not included in the Updates column.
All three variants use the same SD3.5-M backbone, Pick-a-Pic training prompts, resolution, and LoRA rank 32 with alpha 64. DanceOPD distillation [76] generates a deterministic, CFG-free 10-step student trajectory, selects one low-noise query state, and minimizes the equally weighted mean velocity-matching loss to the three teachers at that state. DiffusionOPD distillation [28] uses the same on-policy trajectory but matches the teacher transition means over all 10 denoising steps, where each transition mean is constructed from the current state and the teacher velocity under the same solver step. FlowOPD distillation [15] instead samples a stochastic SDE-flow trajectory, evaluates each realized student transition under the three teacher transition distributions, averages their log probabilities to form a per-step teacher-consistency reward, and applies a PPO-style clipped likelihood-ratio update [53] against the rollout behavior policy with globally normalized step-wise advantages. The reward models are used only to train the preceding specialist teachers and to evaluate the distilled student; they do not enter the second-stage OPD objectives.
To keep the 300-update distillation stages comparable in wall-clock budget to direct multi-reward DiffusionOPSD, we calibrate the rollout batch size of each variant against a measured reference of 175.2 seconds per update on eight GPUs, including teacher queries and checkpoint writing. This yields 2,688, 528, and 544 sampled
Table 2 Training efficiency profiling. Per-step time, throughput, reward forward passes, target-gradient calls, diffusion-model backward passes, and GPU-hours per 100 updates.
| Backbone | Method | Time per step Seconds | Rel. vs NFT | Peak VRAM GB | Reward fwd; target grad | Diffusion bwd | Images per s | GPU-h per 100 |
|---|---|---|---|---|---|---|---|---|
| SD3.5-M | DiffusionNFT | 212.4 ± 0.4 | 1.00× | 47.8 | 16;0 | 144 | 5.42 | 47.2 |
| ReFL | 214.8 | 1.01× | - | 144;0 | 144 | 5.36 | 47.7 | |
| FlowGRPO | 191.1 | 0.90× | 48.0 | 16;0 | 160 | 6.03 | 42.5 | |
| DiffusionOPSD | 126.9 ± 0.2 | 0.60× | 50.0 | 88;72 | 16 | 9.08 | 28.2 | |
| Z-Image-Turbo | DiffusionNFT | 1826.2 ± 0.7 | 1.00× | 49.9 | 12;0 | 96 | 0.32 | 405.8 |
| ReFL | 459.5 | 0.25× | - | 72;0 | 72 | 1.25 | 102.1 | |
| FlowGRPO | 1475.2 ± 2.1 | 0.81× | 51.6 | 12;0 | 108 | 0.39 | 327.8 | |
| DiffusionOPSD | 674.0 ± 0.6 | 0.37× | 61.5 | 120;108 | 12 | 0.85 | 149.8 |
images per update for DanceOPD, DiffusionOPD, and FlowOPD, respectively, or 806, 400, 158, 400, and 163, 200 sampled images over 300 updates. Each second-stage run is approximately 117 GPU-hours. This GPU-hour figure excludes the three preceding specialist-training runs.
We evaluate the resulting shared policies with the same protocol as the SD3.5-M multi-reward rows. The evaluation uses 1,000 images from the 200 DrawBench prompts, with five images per prompt, at resolution with deterministic 40-step flow sampling, CFG-free guidance scale 1.0, and the identical scorer suite. VLM-Pairwise uses the same fixed, prompt-matched Seedream 5.0 Pro references for every method. These rows are two-stage policy-composition controls with a single final policy whose Reward-Specific entry is rather than additional reward-to-target interfaces.
C.3 Efficiency Profiling
We measure end-to-end training cost with matched settings for each backbone. The DiffusionOPSD rows profile the current code. For SD3.5-M, we average 12 optimizer steps after 3 warmup steps; for Z-Image-Turbo, we average 2 steps after 1 warmup step. DiffusionNFT and FlowGRPO use their short profiling runs, while ReFL uses the mean training time from its full 100-update run. We exclude initialization, calibration, and evaluation. GPU-hours per 100 updates are computed from step time on eight GPUs. The SD3.5-M block uses CLIPScore at ; the Z-Image-Turbo block uses HPSv2.1 at . FlowGRPO requires stochastic SDE-flow transitions and their log probabilities.
Counts are per policy rank for one optimizer update. DiffusionNFT backpropagates through all trained transitions. On SD3.5-M, 9 transitions with 16 accumulation microbatches give 144 backward calls, while on Z-Image-Turbo, 8 transitions with 12 microbatches give 96. FlowGRPO also uses all stochastic transitions, giving and backward calls. ReFL samples one late state per trajectory. Each microbatch uses one reward-only hinge evaluation and one joint reward-and-diffusion backward. This gives 144 reward forward passes and 144 diffusion backward calls on SD3.5-M, and 72 of each on Z-Image-Turbo. ReFL has no separate target-gradient call because it backpropagates directly through the one-step clean-output prediction. Peak VRAM was not recorded for the full ReFL runs. The current DiffusionOPSD code trains one query per trajectory and uses one diffusion backward per accumulation microbatch, giving 16 and 12 backward calls. Its positive and negative paths share the first reward gradient at . With , each target microbatch uses three target-gradient calls. The two backbones therefore use 72 and 108 target gradients and 88 and 120 total reward forward passes.
On SD3.5-M, DiffusionOPSD takes ReFL's time per optimizer step and 28.2 instead of 47.7 GPU-hours per 100 updates. On Z-Image-Turbo, ReFL takes DiffusionOPSD's step time and 102.1 instead of 149.8 GPU-hours. However, DiffusionOPSD has higher final held-out quality in all ten reward-matched settings. FlowGRPO is not sampler-matched because it requires stochastic SDE transitions and their log probabilities. The Z-Image-Turbo DiffusionOPSD run uses a smaller reward-gradient microbatch to fit in memory, so its peak VRAM is not directly comparable with the other rows.
C.4 Qualitative Component Ablations
The following figures provide the component-ablation cases referenced in Sec. 4.6.



Prompt: An open grand piano showing the keyboard, soundboard, and strings.



Prompt: An ancient Egyptian painting of an argument over taking out the trash.



Prompt: Rainbow coloured penguin.



Prompt: A couple of glasses are sitting on a table.



Prompt: A Laocoön-like IT technician tangled in cables beside an open PC tower.



Prompt: A sign reading only 'TikTok Research Pizza Cafe'.



Prompt: A church with stained-glass windows depicting a hamburger and fries.



Prompt: One cat and two dogs sitting on the grass.



Prompt: A blue bird and a brown bear in cartoon.



Prompt: Two dogs on the street.
Prompt: An athlete cat explaining a scandal at a press conference.



Prompt: Three dogs on the street.



Prompt: Mona Lisa viewed from behind.



Prompt: A pair of scissors.



Prompt: A black and white sign that says 'Text to Image'.



Prompt: A tomato on a pumpkin with a fork stuck into it, viewed from above.
Figure 17 Qualitative component ablation. Rollout query state, forward-noised control, and large branch-coefficient controls on the shared visualization pool. The large branch-coefficient setting can damage prompt semantics under finite fitting, while the first two variants remain closer.
Default
ep0
ep10
ep20
ep30
ep40
ep50
Forward

Prompt: A couch on the left of a chair.
Default
ep0
ep10
ep20
ep30
ep40
ep50

Forward
Prompt: Exactly one man stands beneath a leafless maple tree in snowy New England.
Figure 18 Component evolution on additional prompts. Rollout query state, forward-noised control, and large branch-coefficient variants use the same update grid. Across these disjoint prompts, changing query-state source has limited effect, whereas an excessively large branch coefficient produces visible semantic drift.
Default
ep0
ep10
ep20
ep30
ep40
ep50
Forward

Prompt: A silver spaceship parked beside a rural red barn under a starry sky.
Default
ep0
ep10
ep20
ep30
ep40
ep50

Forward
Prompt: A sunflower growing out of an old typewriter on a desk.
Figure 19 Additional component-evolution cases. Query-state source again has little effect while a large branch coefficient increasingly harms scene and typography details.
C.5 Training Reward Curves
The training-curve inventory mirrors the trainer's metrics.json1 for 73 complete runs. It contains 70 reward-specific 100-update runs underlying Tab. 1, one additional matched SD3.5-M FlowGRPO CLIPScore run used only in this analysis, and two 300-update runs jointly trained on PickScore, CLIPScore, and HPSv2.1. The curves are canonical training records. Raw per-update rewards remain on their native scales. Dispersion is defined consistently for every method as the mean within-prompt rollout reward standard deviation. This quantity is not a confidence interval.
Fig. 20 and Fig. 21 separate the cross-cell summary by backbone. For each backbone and reward cell, the gain denominator is the joint smoothed best across methods minus the median method value at update 0. Each run is measured from its own reward at update 0, which removes small rollout-sampling offsets without forcing pointwise method ordering. Solid curves are cross-cell medians and bands are cross-cell interquartile ranges. The end-of-run statistic is the final smoothed reward's position between the minimum and maximum observed smoothed rewards in that run. The normalized-gain plot in Fig. 21 retains the full negative DiffusionNFT curve for Z-Image-Turbo rather than clipping it to the scale of the other methods shown in the figure.

Figure 20 SD3.5-M training dynamics. DiffusionOPSD achieves the strongest average normalized gain and stable final rewards across the ten objectives.

Figure 21 Z-Image-Turbo training dynamics. DiffusionOPSD improves consistently across the native schedule, while DiffusionNFT shows several below-base regressions.
SD3.5-M · PickScore

SD3.5-M · HPSv2.1
Z-Image-Turbo · PickScore

SD3.5-M · CLIPScore
Z-Image-Turbo · HPSv2.1
SD3.5-M · Aesthetic
Z-Image-Turbo · CLIPScore

SD3.5-M · Aesthetic
Z-Image-Turbo · Aesthetic
SD3.5-M · ImageReward
Z-Image-Turbo · HPSv3
Z-Image-Turbo · ImageReward
SD3.5-M · HPSv3
Z-Image-Turbo · Aesthetic
Z-Image-Turbo · HPSv3
SD3.5-M · DeQA
Z-Image-Turbo · DeQA
SD3.5-M · AltCLIP
Z-Image-Turbo · HPSv3
SD3.5-M · PointWise
Z-Image-Turbo · AltCLIP
SD3.5-M · PointWise
Z-Image-Turbo · PointWise
SD3.5-M · PairWise
Z-Image-Turbo · PairWise
Z-Image-Turbo · PairWise
SD3.5-M · Multi-reward native composite
SD3.5-M · Multi-reward normalized progress

DiffusionOPSD
ReFL
SD3.5-M · Multi-reward normalized progress

DiffusionNFT
FlowGRPO
Figure 22 Complete training records. Raw per-update reward curves for all 73 runs show the unnormalized histories underlying the aggregate analyses. Reward-specific and joint-training runs remain on their native scales.
C.6 Fitting Audit
This section gives the detailed protocols and configurations behind Fig. 10. The figure combines three distinct protocols that must not be interpreted as one causal chain. Endpoint attribution measures trained variants, the construction and realized-gain audits hold a query fixed, and the reversal probe restores parameters between prompts. End-to-end online training efficacy is established separately in Sec. 4.1.
Expanded endpoint attribution. The expanded endpoint-attribution evaluation in Fig. 10 uses the 50-update SD3.5-M CLIPScore variants at on 999 images from 200 DrawBench prompts, with approximately five shared initial latents per prompt. Generation uses the deterministic 40-step first-order ODE sampler, CFG-free scale 1.0. Paired differences use the same prompt and latent across variants. The 10,000-resample prompt-clustered bootstrap intervals account for repeated latents within each prompt.
Construction gain. The construction-gain comparison in Fig. 10 uses 512 distinct held-out prompts and freezes the SD3.5-M CLIPScore policy at update 50. It fixes the query noise level at , the anchor prediction, and the relative clean-output target radius at . The same suffix sampler is used for every candidate. A candidate is evaluated before any parameter update. is its fixed-suffix reward minus that of the anchor, and alignment is the cosine between candidate displacement and the local reward gradient. FlowGRPO uses 1,024 observations over the same 512 prompts because each finite-group direction is estimated twice; the remaining rows use one anchor per prompt. Reward calls count calls used to form one candidate direction, not suffix evaluation.
Matched realized-gain audit. The matched realized-gain comparison in Fig. 10 uses the same frozen CLIPScore policy, 512 distinct prompts, query construction, fixed-suffix reward, and matched pooled-RMS query-output displacement. Every interface uses one calibrated plain-SGD step. ReFL backpropagates reward through a one-step clean-output prediction at the queried late state after a no-gradient prefix, while detached rows fit an explicit target at the same query. Parameters are restored between prompts. The drift ratio is the off-direction component of the realized query displacement relative to its total magnitude. This protocol measures an isolated realized gain, not the batched online training procedure with positive and negative targets.
Isolated same-query positive-target fitting probe. The reversal analysis in Fig. 10 is a separate probe at update 100 on CLIPScore and HPSv2.1. For every held-out query and candidate target, policy parameters are restored to the same checkpoint and a fresh AdamW instance performs exactly one positive-target MSE update. With zero moment state and gradient g, its first parameter update is approximately
where the fraction is elementwise. Here is the learning rate, is the weight-decay coefficient, and is the optimizer stabilizer. When gradient magnitudes dominate , this step is approximately sign normalized. Matching target radius therefore does not match the parameter-step magnitude. The updated clean-output prediction and fixed-suffix reward are measured at the same query, then the checkpoint is restored before the next state. The probe uses 512 distinct prompts per reward, no cross-query interference, no negative fitting branch, no batch accumulation, and no behavior-policy EMA update. It is deliberately narrower than the full DiffusionOPSD training procedure. is the signed fraction of the target displacement realized along the target direction. Orthogonal drift is reported jointly because alone is not sufficient.
The HPSv2.1 reward-gradient positive target has larger construction gain but produces a smaller realized gain after one fresh-AdamW update than the matched-radius random-direction positive target. This is a protocol-specific counterexample to the claim that a larger construction gain always produces a larger realized gain. CLIPScore is a weaker counterpoint. Ranking is only partially retained, but grad-versus-random ordering does not reverse on a majority of anchors. The separate plain-SGD audit reports a positive realized gain for bounded DiffusionOPSD on CLIPScore but does not test HPSv2.1. These results make construction-gain evaluation and realized gain non-substitutable under the measured optimization protocol. They do not explain end-to-end online training performance or isolate the marginal contribution of the behavior-policy EMA update.
C.7 Stress-Test Protocols
The few-step study uses Z-Image-Turbo at with its native 9-step FlowMatchEuler sampler and guidance scale 0.0 for both training and evaluation. Each of the ten reward-specific checkpoints trains for 100 optimizer updates. Outcome counts in the main text are computed per optimized reward; paired base-model significance is available for nine rewards with aligned per-prompt scores.
The joint policy is trained directly for 300 updates on . Each single-reward specialist trains for 100 updates. The different update budgets are intentional and prevent interpreting this stress test as a matched multi-objective leaderboard. The comparison asks only whether one complete DiffusionOPSD policy can retain high performance on all three reward objectives in this setting. Weighted-sum reward gradients are available to any differentiable method and may suffer conflict or dilution [73], the result does not establish a general conflict-resolution mechanism.
C.8 Ablation Details
Shared screening protocol. All ablation variants in Sec. 4.7 use the same CLIPScore-only screening protocol [17]. The backbone is SD3.5-M [13] at resolution. Training prompts are sampled from the same Pick-a-Pic training split [26] used by the corresponding reward-optimization runs, while evaluation uses a fixed DrawBench 10% subset [48]. The subset contains 20 unique DrawBench prompts and five generated images per prompt, giving 100 images per reported scalar. We report raw CLIPScore on this subset as mean ± standard error. The subset is intentionally small so that many component variants can be compared under matched compute; conclusions that affect the main table should be confirmed on the full DrawBench protocol before being treated as general evidence.
Training schedule and sampler. Each ablation trains a LoRA [22] on SD3.5-M for 50 optimizer updates. Checkpoint index u equals the optimizer-update count exactly; update 50 is the checkpoint after 50 optimizer updates, not the completion of 50 dataset passes. Unless a variant explicitly changes rollout function evaluations or sampler type, data collection uses the rollout sampler of the behavior policy with deterministic DPM-Solver++ 2M [38], 10 steps, resolution, and classifier-free guidance scale 1.0 [19]. Evaluation is always held fixed with a deterministic flow sampler, 40 steps, guidance scale 1.0. The scalar endpoint-attribution result in Fig. 10 and the curves or controls in Fig. 9, 15, and 16 use the checkpoint at update 50. The training-evolution visualizations in Fig. 25 and 18 additionally render updates 0, 10, 20, 30, 40, and 50, where update 0 denotes the untrained LoRA initialization.
Canonical OPSD configuration. The default configuration used as the reference line in Fig. 15 and 16 disables endpoint checking, enables both positive and negative reward-gradient-derived targets, uses query noise level , relative clean-output target radius , two reward ascent and descent steps per branch, target-step multiplier , branch coefficient , and the DPM-Solver++ 2M 10-step rollout sampler. Endpoint checking, endpoint-check margin, positive-only training, query noise level, relative clean-output target radius, number of reward-ascent steps, target-step multiplier, rollout function evaluations, branch coefficient, behavior-policy EMA update, and rollout sampler are varied one at a time around this default.
Target and component variants. Fig. 10 compares four target variants. These are the reward-gradient target used by DiffusionOPSD, a random-direction target with the same relative clean-output radius, a no-op target that leaves , and a rollout-residual target along . It also reports a query-state source check that replaces the on-policy rollout query state with a forward-noised control. Unlike the 100-image screening curves in Fig. 9, its target-direction comparison uses the expanded 999-image protocol described in App Sec. C.6.
Qualitative and progress figures. The qualitative grids in Fig. 23 and 17 use 40 prompts. They combine the 20 prompts from the fixed DrawBench-subset visualization cases with 20 additional DrawBench prompts sampled only for visualization. The progress grids in Fig. 25 and 18 use two other disjoint 20-prompt sets, so the final qualitative grids and the training-evolution grids do not reuse prompts. These images are diagnostic and are not used to compute the scalar CLIPScore means.
Gradient Random No-op Gradient Random No-op Prompt: A keyboard made of water and light, with the light turned off. Prompt: One cat and one dog sitting on the grass. Prompt: An ancient Egyptian painting of an argument over taking out the trash. Prompt: Two dogs on the street. Prompt: A black colored car. Prompt: A strict side-profile owl in a grassy field, with only one eye visible. Prompt: A circular fabric canopy on a folding frame, used for protection from rain or sun. Prompt: A domestic cat with soft fur, a short snout, and visible paws, sitting alone. Prompt: A sign displaying "DiffusionOPSD" on the first line and "Seed" on the second line. Prompt: A car playing soccer, digital art. Figure 23 Qualitative target-direction ablation. Update-50 reward-gradient, random-direction, and no-op target variants on held-out prompts. Across the 40-prompt pool, the reward-gradient direction preserves requested entities and style more consistently, while random and no-op controls under-edit or drift. 59
Gradient

Random
No-op
Prompt: A magnifying glass over a page of a 1950s batman comic.
Gradient
Random
No-op
Prompt: A panda making latte art.

Prompt: An elephant under the sea.
Prompt: A green colored banana.

Prompt: A white car and a red sheep.
Prompt: A single clock is sitting on a table.

Prompt: A triangular purple flower pot.
Prompt: A bicycle on top of a boat.

Prompt: An oil painting portrait of the regal Burger King posing with a Whopper.
Prompt: An old photograph of a pig-shaped 1920s airship over a wheat field.
Figure 24 Target-direction ablation on additional prompts. Reward-gradient, random-direction, and no-op target variants use the Fig. 23 layout. The added cases cover text rendering, object identity, color, counting, and spatial relations. The reward-gradient direction retains requested attributes more reliably than both controls.






Prompt: A baseball glove lying on the ground with a baseball placed beside it.






Prompt: A pizza baking inside an oven on the oven rack.






Prompt: A baby panda emoji wearing a red hat, blue gloves, a green shirt, and blue pants.
Figure 25 Training evolution of target variants. Reward-gradient, random, and no-op variants are shown on fixed prompts from update 0 to update 50. Reward-gradient outputs begin separating early and preserve the intended action or attributes through update 50, whereas both controls remain closer to their initial behavior.
Gradient
Random
No-op

ep10

ep20

ep30

ep40

ep50

Prompt: Five cars on the street.
Gradient
Random
No-op

ep10

ep20

ep30

ep40

ep50

Prompt: A large black hash symbol "#" centered on a plain white background.
Gradient
Random
No-op

ep10

ep20

ep30

ep40

ep50

Prompt: A green cup and a blue cell phone.
Figure 26 Target-direction evolution on additional prompts. Reward-gradient, random, and no-op variants use the same update grid as Fig. 25. Across these disjoint prompts, reward-gradient variants preserve the requested vehicle, architecture, and object and phone relation, while the controls show weaker task-specific change.
Human preference protocol. The human-preference results in Fig. 16 use the frozen Z-Image-Turbo qualitative archive for the VLM-Pointwise reward setting. We compare DiffusionOPSD against the base model, FlowGRPO, DiffusionNFT, and ReFL on 100 held-out prompts. Annotators hold at least a bachelor's degree in a STEM field and evaluate blinded paired comparisons with randomized method order. They choose the image that is better overall for the prompt, allowing ties, and assign one primary reason among prompt alignment, visual quality, realism and artifacts, and text or fine details. Win rates use half-tie scoring with prompt-clustered bootstrap intervals over prompts; the reason breakdown in the same figure is conditioned on decisions that prefer DiffusionOPSD and normalized for each baseline comparison.
C.9 CFG Compensation
Guided-field constraint. At a fixed state, timestep, and prompt, classifier-free guidance forms the affine velocity field [19]
where is the guidance scale and and are the conditional and unconditional predictions. In the train-CFG variant of OPSD, both predictions share the trainable parameters, and the same operator is used for rollout construction, the anchor prediction from the behavior policy, and the trainable and frozen behavior velocities in the loss. This setting differs from frozen-teacher CFG absorption, where a fixed guided field is used as the regression target of a single student field during distillation [76].
Let and be the changes of the two branch outputs relative to the frozen behavior policy, and let denote the reward-gradient velocity correction requested by the local OPSD target. Training at guidance scale minimizes
Define the residual and the branch difference as
The loss constrains one affine combination of the two branch outputs and therefore leaves the individual branches non-identifiable under this objective.
Branch decomposition. Using in Eq. (64) gives
Thus every branch pair with the same train-scale residual can be written as
The second component lies in the null space of the train-scale operator.
(69)
Consequently, the guided loss does not directly penalize . The coupling between the two branches and the model initialization may restrict the reachable compensation component, but neither removes this non-identifiability from the objective without explicit regularization.
Proposition C.1 (CFG compensation identity). For any evaluation scale , a branch pair satisfying Eqs. (66) and (67) obeys
Its squared field error is therefore
(71)
If the train-scale field is fit exactly, then
Proof. Substituting Eqs. (66) and (67) into the evaluation operator yields
(73)
Subtracting proves Eq. (70). Expanding the squared norm gives Eq. (71); setting gives Eq. (72).
For fixed , Eq. (71) is a quadratic function of the evaluation scale . When , its minimizer is
which approaches the matched scale as the train-scale residual vanishes. In particular, evaluating a guided-trained SD3.5-M model without CFG corresponds to and, under exact train-scale fitting, incurs
The mismatch penalty therefore grows quadratically with the distance between the training and evaluation guidance scales whenever the hidden branch component is nonzero.
Optimization geometry. The derivatives of the guided operator are
Hence the branch-output gradients of Eq. (63) are
For , the two coefficients have opposite signs. Because both branches are produced by the same model with parameters , let and . The parameter gradient becomes
The branches share parameters, but the conditional and unconditional Jacobians are multiplied by coefficients of opposite sign. Thus the objective controls the guided affine combination more directly than either branch. It also contains no separate regularizer on .
The compensation identity and quadratic field penalty are exact. The compensation term vanishes when , so this mechanism explains degradation caused by training and evaluation mismatch without implying that matched CFG training must underperform. Frozen-teacher absorption avoids this ambiguity because the guided teacher field is fixed before a single student field is optimized [76].