acceptodds
Published as a conference paper at NeurIPS 2026

Designing Reinforcement Learning for Diffusion Models: A Unified Path-Space View

Yixian Xu, Yuanrui Zhang, Shengjie Luo, Kaiyuan Gao, Liwei Wang, Di He

Abstract

Reinforcement learning (RL) post-training provides a direct way to align diffusion and flow-matching generators with human preferences and task-specific rewards, but current RL algorithms for diffusion models remain fragmented: reverse-trajectory methods rely on discretized likelihood ratios, whereas forward-matching methods train on reward-labeled noising pairs. This paper shows that these seemingly different losses arise from a single path-space principle. Starting from the regularized diffusion-RL objective, we use importance sampling between sampling SDEs to obtain an explicit policy-gradient estimator on trajectory space. The estimator contains the stochastic It\^o integral underlying Flow-GRPO-type updates; we derive an equivalent variance-reduced value-gradient form that recovers the forward-matching structure of AWM and DiffusionNFT. This identifies the empirical gap between these method families as a variance-reduction effect rather than a difference in RL principle. The derivation yields a unified design space organized by value-gradient estimation, weight functions, and sampling choices. Within this space, we propose a multi-sample KDE value-gradient estimator that reuses rollout groups, together with scale-bounded weight families that retain stable existing recipes while excluding singular ones. Experiments on SD3.5-M and Qwen-Image models validate the variance-reduction explanation and show that the resulting recipe matches or improves over prior diffusion-RL baselines.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_CuJTOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper presents a unified path-space framework for RL post-training of diffusion models. Using Girsanov-based importance sampling between SDE path measures, the authors show that reverse-trajectory methods (Flow-GRPO) and forward-matching methods (AWM, DiffusionNFT) both derive from a single principle, with their empirical performance gap explained as a variance-reduction effect (Theorem 2) rather than a difference in RL formulation. The resulting template (Eq. 10) organizes prior methods into a five-knob design space (Table 1). Within this space, the authors propose a multi-sample KDE value-gradient estimator and a scale-bounded weight principle, validated on SD3.5-M and Qwen-Image across PickScore, OCR, and GenEval rewards.

Strengths and weaknesses

Strengths

  1. The proposed method connects several existing diffusion/flow RL post-training methods, such as Flow-GRPO, AWM, and DiffusionNFT, under a common path-space importance-sampling framework.

  2. By deriving the connection between stochastic Itô-integral estimators and value-gradient estimators, the paper explains variance reduction in diffusion RL.

  3. Figure 1 directly validates that variance reduction alone is insufficient without proper reweighting, and Figure 2 systematically maps estimators to their optimal weights, confirming theoretical predictions.

  4. The results suggest competitive performance compared with prior diffusion-RL methods.

Weaknesses

  1. While the results seem promising, it is not clear how much improvement comes from the KDE estimator, the scale-bounded weights, the sampling strategy, or other implementation details. More ablations would strengthen the quality of the empirical claims.

  2. The proposed KDE estimator seems useful, but its novelty compared with other nonparametric or multi-sample variance-reduction techniques could be discussed more explicitly.

Questions
  1. Can you provide empirical estimates of the variance reduction achieved by your KDE estimator compared to the one-sample estimators?

  2. The KDE estimator requires computing pairwise distances between G samples at each timestep, which scales as O(G^2d). What about the training time?

Others:

Reference typos in line 425.

Limitations

yes

Paper formatting concerns

None

Final justification

The rebuttal addressed my concerns.

1 comment

Thank you for your acknowledgment of our contributions from both the theoretical and empirical sides. We are glad to know that you believe our method connects several existing diffusion RL post-training methods with promising results. We are also grateful for your valuable suggestions and insightful questions, which help us improve the quality of our work. Below are our detailed responses to your questions.

Ablation study

Thank you for your valuable question. Following your guidelines, we have conducted ablation studies on the estimators, weights, and samplers to demonstrate the gain of each component. Specifically, we choose DiffusionNFT as the baseline and decompose our method along three axes: estimator, on-policy weight, and off-policy weight. The results are summarized in the following table.

Training time for Pickscore reward (GPU hours)204060100160
NFT baseline (with ema kl trick)22.90623.08823.21823.2723.3818
NFT baseline (without ema kl trick)23.11423.184223.01failedfailed
+our KDE estimator23.017823.228423.25723.2518failed
+our on-policy weight23.0123.189423.2723.314223.3792
+our off-policy weight23.11423.194623.420823.561223.5846

We observe that the KDE estimator improves stability compared with the deterministic one-sample estimators (NFT). Under the on-policy setting, our weighting brings a consistent improvement in convergence speed and stability. Under the off-policy setting, the gain becomes more pronounced; our off-policy weight achieves 3×3\times acceleration of the RL training compared to the DiffusionNFT baseline without using the ema kl trick. This supports our observations in Sec. 4.1: variance reduction alone is not sufficient, and improper weighting can still lead to suboptimal performance.

Regarding the sampler, our results show that our method is relatively insensitive to reasonable sampling choices (Fig.(4) in the appendix). Compared to the stochastic and deterministic one-sample estimator, our KDE estimator is more robust to different sampling noise schedules.

We will add the training curve comparison for the ablation study and its discussions in the main text of the revised paper.

Comparison with other estimators

Thank you for the insightful question. We want to clarify the novelty and the motivation of the proposed KDE estimator relative to other nonparametric or multi-sample estimators. First, our KDE estimator is unbiased for ηt=1\eta_t=1 (the sampling process is the reverse of the forward noising process), this is because the rollout group contains one sample from the posterior qt(x0∣xt)q_t(x_0|x_t) and G−1G-1 samples from q0(x0)q_0(x_0) (Prop.2 in [1]). The KDE estimator also achieves smaller variance compared to the one-sample estimator from the theoretical side (also see Prop.2 in [1]). Our estimator reuses the trajectories already collected during the rollout process, thus achieves variance reduction without introducing additional sampling cost. To the best of our knowledge, we are the first to utilize this estimator, with its favorable statistical properties and sampling efficiency, in diffusion RL.

In contrast, a naive multi-sample estimator would require launching multiple additional rollouts starting from each intermediate state xtx_t and computing the corresponding rewards for each branched trajectory. This leads to a tree-structured sampling process whose cost grows rapidly with the planning horizon and the number of samples per state. Therefore, while multi-sample estimators can reduce variance, they do so at a substantially higher sampling and computational cost. Our KDE estimator provides a more sample-efficient alternative by leveraging existing trajectory data without requiring such branching rollouts. We will make this distinction clearer and add the discussion above in the revised version of our paper.

[1]. Bertrand, Quentin, et al. "On the closed-form of flow matching: Generalization does not arise from target stochasticity." NeurIPS, 2025.

Empirical estimation of the variance reduction

Thank you for the question. To empirically quantify the variance reduction brought by the KDE estimator, we conducted an additional study following your guidelines. Specifically, we set ηt=1\eta_t=1 and evaluated SD3.5-Medium with the PickScore reward on 4 prompts, using 128 trajectories per prompt and 40 denoising steps. For each intermediate state xtx_t, we approximate the ground truth value gradient using all 128 trajectories according to Prop. 3, and then measure the variance and squared bias of different estimators against this reference. The results are summarized as follows:

EstimatorVarianceSquared Bias
Stochastic one-sample estimator0.7798460.006635
Deterministic one-sample estimator0.0565480.000146
KDE (G=24,h=1G=24, h=1)0.0183940.000139
KDE (G=24,h=32.768G=24, h=32.768, training config)0.0411310.000235

These results show that KDE consistently reduces variance compared with one-sample estimators. In particular, the stochastic one-sample estimator has about 13.8×13.8\times larger variance than the deterministic one-sample estimator, which is consistent with our theoretical analysis that stochastic sampling noise is a dominant source of variance. Compared with the deterministic one-sample estimator, KDE reduces the variance from 0.0565480.056548 to 0.0183940.018394 with h=1h=1 (67.5% reduction). Under the bandwidth used in our training configuration (h=32.768h=32.768), KDE still reduces the variance to 0.0411310.041131 (27.3% reduction). The squared-bias values remain small across all estimators; thus, the errors are mainly contributed by variance.

We also observed that the amount of variance reduction depends on the bandwidth. h=1h=1 gives the lowest variance, but in high-dimensional latent spaces it causes abrupt changes in the estimated posterior across denoising timesteps [2]. This can lead to unstable value-gradient estimates during RL training. Therefore, in our training configuration, we use a larger bandwidth h=32.768h=32.768, which slightly sacrifices variance reduction but provides smoother estimates across timesteps and more stable optimization. We will add these empirical variance estimates, together with the bandwidth discussion, to the revised paper.

[2]. Song, Kiwhan, et al. "Selective Underfitting in Diffusion Models." arXiv preprint arXiv:2510.01378 (2025).

Efficiency

Thank you for your question. As you have correctly mentioned, computing all pairwise distances within a group has a complexity of O(G2d)O(G^2d), where GG is the group size and dd is the dimension of latent space. In our SD3.5-M experiments, we set G=24G=24 and d=65536d=65536, so the distance computation is only on the order of 10710^7 FLOPs per timestep, which is small compared with the cost of the denoising network (~101210^{12} FLOPs for a single forward) and can be efficiently parallelized on GPUs. More importantly, our pairwise-distance estimator uses cached rollout latents, velocities, and rewards, and therefore requires no additional denoising-network evaluation. At each optimized timestep, our method performs only a trainable-policy forward and, when KL regularization is enabled, a frozen-reference forward. DiffusionNFT and AWM additionally evaluate the old policy for the renoised latent sample, requiring three rather than two denoiser forwards per timestep under matched settings. Since denoiser evaluation dominates the training cost, the computational savings from eliminating this forward pass substantially exceed the overhead introduced by the O(G2d)O(G^2d) distance computation, resulting in lower wall-clock time per training step and per epoch. A direct training time comparison is shown in the following table.

MethodTraining time per epoch (seconds)
DiffusionNFT115
KDE estimator (Ours)97

We can see that our method saves 18 seconds per epoch and reduces wall-clock time by 15.7%. The pairwise-distance computation has little impact on the total runtime, while eliminating one network forward pass leads to the observed time cost reduction.

Reference typos

Thank you for your careful reading. We apologize for the typo. We have carefully fixed typos in the revised paper and polished our paper to improve its readability.

Update results

For your information, we conducted further large-scale experiments on the Qwen-Image model and HPSv3 reward during the review period. We apply our final recipe to optimize the performance of the Qwen-Image model. We use the same group size and batch size as the baselines DiffusionNFT and Flow-GRPO. The results are summarized in the table below.

Training time for HPSv3 reward (GPU hours)56112280728
Flow-GRPO9.569.8010.2411.69
DiffusionNFT10.7211.6412.7513.42
Ours11.5612.4513.8114.50

The results show that our methods significantly accelerate training convergence compared to previous methods: 13×13\times faster than Flow-GRPO, 4×4\times faster than DiffusionNFT. The results further validate the empirical significance of our proposed method across different rewards and base models. We will add the training curve comparison and qualitative examples in the revised paper.


Thank you again for your efforts in reviewing our paper, and we have replied to each of your concerns. We sincerely look forward to your re-evaluation of our submission based on our responses and updated results.

Reviewer_pdyxOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
4
Quality
4
Significance
3
Read review
Summary

The paper proposes a continuous-time, path-space framework that unifies two disjoint families of RL post-training methods for diffusion/flow-matching generators. Starting from the regularized RL objective, the authors apply Girsanov-based importance sampling between sampling SDEs that share a diffusion coefficient to obtain an explicit and differentiable path-measure ratio, yielding a policy-gradient estimator containing a stochastic Itô integral. They then prove a variance-reduced representation that replaces this Itô integral with a deterministic value-gradient integral, arguing that this is the bridge from Flow-GRPO-style estimators to AWM/DiffusionNFT. A Bayes-rule expression yields a deterministic one-sample estimator that recovers AWM and DiffusionNFT under their forward-noising proposal. The paper contributes a multi-sample KDE value-gradient estimator that reuses the rollout group and a scale-bounded weight principle.

Strengths and weaknesses

Overall, this paper is well written with a fundamental explanation.

  1. The idea for unifying the RL and diffusion methods is well and gracefully explained. This is a very good point.
  2. Along with diverse explanations for the unifying method, the extension of the unifying method can contribute to the development of the KDE value-gradient estimator.
  3. The effects of multi-sampling are well explained, which can be fundamentally helpful.

Weakness Although this paper is well written, there are minor issues as:

  1. The reweighting in the front part of the experiments lacks a satisfying explanation. This empirical gap must be explained.
  2. The error bars and multiple runs could be required, considering the seed-sensitivity of RL works.
Questions

Considering the weakness, the following questions can arise:

  1. Why does the instability for requiring reweighting happen? Additional explanation is required.
  2. Since rollout instability enters the regularizer through both the advantage and the evaluation states, can you demonstrate that your chosen off-policy weight actually suppresses this variance propagation with additional explanation?
  3. When sampler stochasticity is low and rollout diversity collapses, how does the resulting drop in effective sample size affect the off-policy regularizer's stability? If there is any content to explain this, please let us know it.
Limitations

Yes.

Paper formatting concerns

There are no paper formatting concerns.

1 comment

Thank you for your acknowledgment on our contributions from both the theoretical and empirical sides. We are glad to know that you believe that our idea for unifying diffusion RL methods is well and gracefully explained. We are also grateful for your valuable suggestions and insightful questions, which help us improve the quality of our work. Below are our detailed responses to your questions.

About the reweighting technique

Thank you for your question. We note that timestep-dependent reweighting is a widely used technique in diffusion model training. In the pre-training stage, many previous works have studied how different timestep weights affect the gradient scale and the generation performance [1,2,3]. Similar issues also arise in RL post-training for diffusion models [4,5,6]. The main role of reweighting in our setting is to balance the gradient contribution from different denoising timesteps. Without reweighting, the raw objective places disproportionate emphasis on certain regions of the denoising trajectory. For example, in our setting, the original weighting differs by approximately 21×21\times between the earliest and latest denoising steps. This causes the optimization to concentrate heavily on the low-noise region.

This imbalance can lead to instability because the low-noise region corresponds to states that are already close to the final generated image. At these late denoising steps, the model has limited flexibility to make large semantic or structural changes. However, the reward objective may still push the sample toward a higher-reward distribution. This creates a mismatch: the reward gradient encourages substantial large changes, while the diffusion dynamics at low noise allow only relatively small changes. We believe this mismatch is one important source of the observed instability. Reweighting mitigates this issue by redistributing the optimization preference across timesteps, allowing timesteps with larger noise levels to contribute more appropriately to the model update, where the model has greater capacity to change global image structure. We will add these discussions in the revised version of our paper.

[1]. Tero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusion-based generative models. NeurIPS, 2022.

[2]. Diederik P Kingma and Ruiqi Gao. Understanding diffusion objectives as the ELBO with simple data augmentation. In NeurIPS, 2023.

[3]. Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Muller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, et al. Scaling rectified flow transformers for high-resolution image synthesis. ICML, 2024.

[4]. Jing Wang, Jiajun Liang, Jie Liu, Henglin Liu, Gongye Liu, Jun Zheng, Wanyuan Pang, Ao Ma, Zhenyu Xie, Xintao Wang, et al. Grpo-guard: Mitigating implicit over-optimization in flow matching via regulated clipping. arXiv:2510.22319.

[5]. He, Xiaoxuan, et al. "Tempflow-grpo: When timing matters for grpo in flow models." arXiv preprint arXiv:2508.04324 (2025).

[6]. Zheng, Kaiwen, et al. "Diffusionnft: Online diffusion reinforcement with forward process." arXiv preprint arXiv:2509.16117 (2025).

The error bars and multiple runs

Thank you for your question. We agree that RL post-training methods can be sensitive to random seeds. To directly measure the effect of different seeds on performance, we rerun the SD-3.5 Medium with PickScore reward for 3 random seeds and fix all other configs unchanged. We report the mean and standard deviation (mean ±\pm std) of the reward at four training checkpoints. The results are summarized in the following table.

Training Time (GPU hours)18.5836.4454.2872.12
DiffusionNFT22.85±0.0288622.85\pm0.0288623.06±0.0161823.06\pm0.0161823.16±0.0215323.16\pm0.0215323.22±0.0127423.22\pm0.01274
Ours22.95±0.0524022.95\pm0.0524023.28±0.0223923.28\pm0.0223923.48±0.00554723.48\pm0.00554723.56±0.0146123.56\pm0.01461

At the final checkpoint, our method achieves a PickScore of 23.56±0.0146123.56\pm0.01461, corresponding to a relative standard deviation of only 0.062%. In comparison, DiffusionNFT obtains 23.22±0.0127423.22\pm0.01274, with a relative standard deviation of 0.055%. Our method achieves a higher mean reward at every reported checkpoint. These results show that the performance gain of our method is consistent across seeds. We will add the results and discussions above in the revised paper.

About the off-policy weight and regularizer's stability

Thank you for your question. First, we want to clarify that we choose an advantage-free off-policy weight w1(A,t)=(1−t)αw_1(A, t)=(1-t)^\alpha because we find the advantage term in the off-policy weight causes training instability (Fig.2 (e,f), L295-297). The reason is that the advantage can be both negative and positive; then the off-policy regulariser in Eqn.(10) can also be negative if w1(A,t)w_1(A, t) contains AA. This is undesirable because the purpose of the off-policy regularizer is to constrain the divergence between the current vector field vθv_\theta and the old vector field voldv_{old}; a negative regularization term would instead encourage a larger discrepancy and thus destabilize training. Under this off-policy weight choice, the off-policy regulariser becomes (1−t)α∥vθ−vold∥2(1-t)^\alpha \Vert v_\theta - v_{old}\Vert^2, which is the reweighted MSE loss between vθv_\theta and voldv_{old}, suppressing the divergence between the current and old policy. Second, in low stochasticity and rollout diversity cases, actually the off-policy regularizer's stability is not observed to be problematic. Because our weight is advantage-free, it's not affected by the advantage issue. We will add more explanation about this point in our revised paper.

Update results

For your information, we conducted further large-scale experiments on the Qwen-Image model and HPSv3 reward during the review period. We apply our final recipe to optimize the performance of the Qwen-Image model. We use the same group size and batch size as the baselines DiffusionNFT and Flow-GRPO. The results are summarized in the table below.

Training time for HPSv3 reward (GPU hours)56112280728
Flow-GRPO9.569.8010.2411.69
DiffusionNFT10.7211.6412.7513.42
Ours11.5612.4513.8114.50

The results show that our methods significantly accelerate training convergence compared to previous methods: 13×13\times faster than Flow-GRPO, 4×4\times faster than DiffusionNFT. The results further validate the empirical significance of our proposed method across different rewards and base models. We will add the training curve comparison and qualitative examples in the revised paper.


Thank you again for your efforts in reviewing our paper, and we have replied to each of your concerns. We sincerely look forward to your re-evaluation of our submission based on our responses and updated results.

Reviewer_Wr8tOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
2
Significance
3
Read review
Summary

This paper studies reinforcement learning post-training for diffusion models and Flow-Matching models, aiming to unify two currently seemingly distinct classes of diffusion RL methods: one class based on reverse sampling trajectories, such as Flow-GRPO, Dance-GRPO, and GRPO-Guard, and another class based on forward noising matching, such as AWM and DiffusionNFT. The central argument of the paper is that these methods are not grounded in fundamentally different RL principles; rather, they can be derived from a unified perspective of path-space importance sampling and variance-reduced policy gradients. Experiments are conducted on SD3.5-M and Qwen-Image, covering PickScore, OCR, and GenEval rewards. The results show that the proposed method matches or surpasses several baselines in terms of both training convergence speed and final performance.

Strengths and weaknesses

Strengths

  1. The topic is important and directly addresses a central pain point in current diffusion RL research. The theoretical perspective is relatively novel and offers a strong unifying view. The summary of the design space in Table 1 is particularly valuable. Starting from importance sampling over path measures, the paper transforms the canonical objective of diffusion RL into a path-space estimator, and then connects the stochastic Brownian-increment estimator with the deterministic value-gradient estimator through a variance-reduced representation. The paper further unifies multiple diffusion RL methods as different instantiations of Eq. (10). This taxonomy is highly useful for helping readers understand the structural relationships among existing methods, and it also provides a clear entry point for designing new methods.

  2. Motivation for the KDE estimator is generally reasonable. Existing methods mostly rely on a one-sample estimator, which tends to retain relatively high conditional variance. The authors propose to reuse the same rollout group and estimate the value gradient through a Nadaraya–Watson / KDE formulation. This design does not require additional rollouts, yet it introduces multi-sample averaging, thereby achieving a favorable balance between computational cost and variance control.

Weaknesses

  1. The theoretical derivation appears to rely on relatively strong assumptions, but the applicability of these assumptions is not sufficiently discussed. Core derivation of the paper relies on Girsanov’s theorem, which requires the path measures to share the same diffusion coefficient and assumes ηt>0\eta_t>0. However, there is a tension between this strict SDE path-measure framework and practical settings such as AWM, DiffusionNFT, and DPM-ODE. Although the paper includes these methods in the framework as special cases or limiting cases in the table, it does not sufficiently discuss the degeneration of path measures when ηt=0\eta_t=0.

  2. Variance-reduction claim lacks direct empirical evidence based on variance measurements. The paper argues that the gap between Flow-GRPO and AWM/DiffusionNFT mainly comes from variance reduction rather than from fundamentally different RL principles. However, the experiments primarily report training reward curves and convergence speed, without directly measuring the variance of the stochastic estimator, deterministic estimator, and KDE estimator.

  3. Reliability of the KDE estimator in high-dimensional latent spaces requires further justification. KDE / Nadaraya–Watson estimators typically suffer from the curse of dimensionality in high-dimensional spaces, and the choice of the kernel bandwidth h can also significantly affect the quality of the estimation.

  4. Analysis of over-optimization, sample quality, and generalization ability is insufficient. RL post-training for diffusion models is prone to reward over-optimization, reduced image diversity, degraded aesthetic quality, and weaker prompt generalization. The paper currently focuses mainly on reward curves and convergence speed, but lacks analysis of image quality, diversity, human evaluation, unseen-prompt generalization, and reward-hacking cases. In particular, rewards such as OCR and PickScore may contain exploitable biases that can be leveraged by the optimizer. It is therefore recommended to include additional qualitative examples and human evaluations.

  5. Writing and formatting still require substantial polishing. The paper contains many grammatical, stylistic, and formatting issues, such as “stochstic estimator,” “can not resolved it,” and “comparison between with previous baseline models.” In addition, the appendix contains unresolved citation placeholders or formatting errors, for example, “Please see ? ] for details.”

Questions

Please refer to the Weaknesses.

Overall, I think this paper is nice. If the authors can address my concerns in the rebuttal, I could consider increasing my scores.

Limitations

yes

Paper formatting concerns

Some equations in the appendix appear to exceed the page margins, for example around Lines 454, 476, 502, and 516.

Final justification

I have no further concerns, and I support its acceptance. The authors are encouraged to add these results, discussions in the final version. Furthermore, the authors are encouraged to improve the presentation (writing and formatting issues).

1 comment

Thank you for your effort in reviewing our paper and recognizing our contribution. We are glad to know that you believe our topic is important, the perspective is novel and our design space analysis is valuable. We also appreciate your questions and suggestions, which indeed help us improve the quality of our paper. Below are our detailed responses to your questions.

Theoretical derivation under degenerate case ηt=0\eta_t=0

Thank you for the valuable question. As you have correctly mentioned, our core theoretical derivation relies on the importance sampling ratio between two path measures via Girsanov's theorem, which requires the diffusion coefficient ηt>0\eta_t>0. However, we want to clarify that previous methods such as AWM and DiffusionNFT do not use the degenerate path measure with ηt=0\eta_t=0 as the importance sampling proposal.

To see this, recall that the intermediate state xtx_t in DiffusionNFT and AWM (Sec.2.2) is obtained by the forward noising process xt=(1−t)x0+tϵx_t=(1-t)x_0+t\epsilon, where x0x_0 is the rollout sample (maybe generated by an ODE sampler in practice). In our framework, the importance sampling proposal qq is specified by the reverse sampling process Eqn.(2) with vbasev_{base} and ηt\eta_t. To bridge the forward noising process with the reverse sampling, we note that the sampling process in Eqn.(2) has the same marginal distribution p0p_0 for any ηt≥0\eta_t\geq 0. In particular, Eqn.(2) is the time-reversal of the forward noising process when ηt=1\eta_t=1, i.e. qt(xt∣x0)=N(xt;(1−t)x0,t2I)q_t(x_t|x_0)=\mathcal{N}(x_t; (1-t)x_0, t^2I) when qq is specific by vbase=E[v∣xt]v_{base}=\mathbb{E}[v|x_t] and ηt=1\eta_t=1. Using the expression qt(xt∣x0)=N(xt;(1−t)x0,t2I)q_t(x_t|x_0)=\mathcal{N}(x_t; (1-t)x_0, t^2I) in Prop. 3, and substituting the value-gradient estimator into Thm. 2, we get the DiffusionNFT and AWM loss under specific weighting in Eqn.(10) (also summarized in Table 1). In our framework, the proposal qq is constructed under ηt=0\eta_t=0 case if and only if the training objective is evaluated on the ODE trajectory. However, AWM and DiffusionNFT use the intermediate state xtx_t constructed by forward noising, which can also be recovered by reverse sampling with ηt=1\eta_t=1. So the AWM, DiffusionNFT actually use ηt=1\eta_t=1 to construct the proposal measure qq, which is different from the rollout process. This is also the reason why we regard the proposal measure and the sampler as two axes of the design space.

As for the degenerate case ηt=0\eta_t=0, we cannot use Girsanov's theorem directly. However, in this case, all likelihood-based methods cannot be applied. An intuitive explanation is that we cannot calculate the relative density between two Dirac delta distributions on the path space (as it's undefined). A direct way to address this issue is to assume ηt\eta_t is a small positive constant and apply Girsanov's theorem. From Eqn.(10), we know that the weighted term w^2(t)∇Vt\hat{w}_2(t)\nabla V_t and w^1(A,t)∥Δv∥2\hat{w}_1(A, t)\Vert\Delta v\Vert^2 actually affect the training process. So we can design the weight term w^2(t)\hat{w}_2(t) and w^1(A,t)\hat{w}_1(A, t) to keep the gradient in a bounded scale (avoid divergence as ηt→0\eta_t\to 0). This is similar to the renormalization methods in statistical and high-energy physics.

We will add discussions above in the revised version of our paper. Thank you again for your insightful question.

Justification of the variance-reduction claim, Reliability of KDE estimator

Thank you for your question and suggestion. From the theoretical side, we note that the stochastic and deterministic one-sample estimators are unbiased for ηt=1\eta_t=1. In addition, our KDE estimator is unbiased for ηt=1\eta_t=1 as well; this is because the rollout group contains one sample from the posterior qt(x0∣xt)q_t(x_0|x_t) and G−1G-1 samples from q0(x0)q_0(x_0) (see Prop.2 in [1]). The KDE estimator also achieves smaller variance compared to the one-sample estimator (also see Prop.2 in [1]). So from the theoretical viewpoint, our KDE estimator is unbiased and performs variance reduction using the rollout group without extra cost for the sampling stage.

From the empirical side, we conduct extra experiments to measure the bias and variance of each estimator following your guidelines. We set ηt=1\eta_t=1 and evaluate SD3.5-Medium on pickscore reward using 4 prompts, 128 trajectories per prompt, and 40 denoising steps. For each intermediate step xtx_t, the ground-truth value gradient is approximated using all 128 samples by the result of Prop.3. The results are summarized below:

EstimatorVarianceSquared Bias
Stochastic One-sample (GRPO-based methods)0.7798460.006635
Deterministic One-sample (DiffusionNFT, AWM)0.0565480.000146
KDE (G=24,h=1G=24,h=1)0.0183940.000139
KDE (G=24,h=65.536G=24,h=65.536)0.0598660.000345
KDE (G=24,h=32.768G=24, h=32.768, training config)0.0411310.000235

The stochastic estimator exhibits approximately 13.8×13.8\times higher variance than the one-sample deterministic estimator, supporting our theoretical argument in Thm. 2 that stochastic noise is a major source of objective variance. The squared-bias term accounts for less than 2% of the MSE for all estimators, confirming that the observed differences are primarily caused by variance.

The deterministic one-sample estimator also exhibits approximately 3.1×3.1\times higher variance than the KDE estimator with h=1h=1. With the training bandwidth h=32.768h=32.768, the KDE achieves 0.73×0.73\times lower variance compared to the deterministic one-sample estimators. From the results, we can also see that the additional variance reduction from KDE depends on the bandwidth choice. Although h=1h=1 achieves the lowest variance, we find that the corresponding approximation to qt(x0∣xt)q_t(x_0\mid x_t) changes sharply along the denoising timesteps due to distance concentration in the high-dimensional latent space [2]. Such an abrupt change in the posterior approximation can produce sharp changes in the estimated value gradient between adjacent timesteps, which can make RL optimization unstable.

We therefore moderately increase the bandwidth to smooth the transition of the estimated posterior along the sampling trajectory. The results reveal a trade-off between variance reduction and temporal smoothness. The bandwidth that minimizes the estimator variance is not necessarily the most suitable bandwidth for RL training. We use h=32.768h=32.768 in our training configuration because it preserves a meaningful variance reduction while smoothing the rapid transition, thus providing more stable training dynamics. We will include the bandwidth ablation and the corresponding training-stability comparison in the revised paper.

[1]. Bertrand, Quentin, et al. "On the closed-form of flow matching: Generalization does not arise from target stochasticity." NeurIPS, 2025.

[2]. Song, Kiwhan, et al. "Selective Underfitting in Diffusion Models." arXiv preprint arXiv:2510.01378 (2025).

Over-optimization, sample quality, and generalization ability

Thank you for your suggestion. Following your suggestion, we have conducted an additional human evaluation beyond reward curves and convergence speed. Specifically, we compare our method with GRPO-Guard and the DiffusionNFT baseline using Stable Diffusion 3.5 Medium trained with PickScore reward. We select 30 prompts from both the training, test, and out-of-distribution sets, then generate random samples from each trained model. Eight human evaluators are asked to vote based on overall visual quality, prompt alignment, and aesthetic preference, without access to the method identities.

The results show that our method is consistently preferred over the baselines. Our method receives 51.4% of the votes, compared with 29.4% for GRPO-Guard and 19.2% for DiffusionNFT. These results suggest that the proposed method does not merely optimize the reward numerically, but also preserves perceptual quality and human preference.

In addition, we include qualitative examples on both seen and unseen prompts in our revised paper. These examples show that our method maintains competitive prompt-following ability while avoiding typical reward-hacking artifacts, such as overly saturated images and repetitive visual patterns. We will add these quantitative human evaluation results and qualitative comparisons to the revised paper.

Writing and formatting issues

Thank you for your careful reading. We apologize for the grammar issues, typos, and formatting errors. We have carefully fixed these issues in the revised paper and polished our paper to improve its readability.

Update results

For your information, we conducted further large-scale experiments on the Qwen-Image model and HPSv3 reward during the review period. We apply our final recipe to optimize the performance of the Qwen-Image model. We use the same group size and batch size as the baselines DiffusionNFT and Flow-GRPO. The results are summarized in the table below.

Training time for HPSv3 reward (GPU hours)56112280728
Flow-GRPO9.569.8010.2411.69
DiffusionNFT10.7211.6412.7513.42
Ours11.5612.4513.8114.50

The results show that our methods significantly accelerate training convergence compared to previous methods: 13×13\times faster than Flow-GRPO, 4×4\times faster than DiffusionNFT. The results further validate the empirical significance of our proposed method across different rewards and base models. We will add the training curve comparison and qualitative examples in the revised paper.


Thank you again for your efforts in reviewing our paper, and we have replied to each of your concerns. We sincerely look forward to your re-evaluation of our submission based on our responses and updated results.

Comments on the paper

1 comment
Meta-review

This paper unifies two RL post-training families for diffusion/flow-matching models—reverse-trajectory methods (Flow-GRPO) and forward-noising methods (AWM, DiffusionNFT)—into a single path-space framework via Girsanov-based importance sampling between SDEs. The stochastic Itô-integral policy gradient has a variance-reduced, deterministic value-gradient form, showing the performance gap between the two families stems from variance reduction rather than differing RL principles, and organizes prior methods into a five-knob design space. The resulting KDE value-gradient estimator and scale-bounded weight principle match or exceed baselines on SD3.5-M and Qwen-Image across PickScore, OCR, and GenEval.

*strength

  • unifying theory: The paper connects diffusion RL methods (Flow-GRPO, AWM, DiffusionNFT) under a single path-space importance-sampling framework, deriving the link between stochastic Itô-integral and deterministic value-gradient estimators to explain variance reduction.
  • estimator extension: Building on this framework, the multi-sample KDE value-gradient estimator reuses the existing rollout group (no extra sampling cost) while reducing variance relative to one-sample baselines

*weakness

  • Incomplete theoretical assumptions and generality: The Girsanov-based derivation relies on shared diffusion coefficients and degenerates in limiting cases (e.g., AWM, DiffusionNFT, DPM-ODE), but the paper doesn't adequately discuss when/how the path-measure framework breaks down in these special cases (Wr8t)
  • empirical claims are insufficiently substantiated: The central variance-reduction argument is not directly verified with variance measurements of the different estimators (stochastic, deterministic, KDE), and reported results lack error bars/multiple seeds despite RL's known seed-sensitivity (pdyx) ; it's also unclear how much of the improvement is attributable to the KDE estimator versus the scale-bounded weights versus other implementation choices, warranting more ablations. (CuJT)
  • clarity : The experiments focus narrowly on reward curves and convergence speed, omitting analysis of over-optimization/reward-hacking, sample diversity, aesthetic quality, and generalization to unseen prompts (with qualitative examples and human evaluation recommended); the manuscript also has notable writing/formatting issues (typos, unresolved citation placeholders) that need polishing. (Wr8t)

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.