FlowAWR: Online Adaptive Flow Reinforcement via Advantage-Weighted Rectification
Anonymous authors
ICLR 2027
Abstract. Aligning generative flow models on continuous spaces via online reinforcement learning is constrained by intractable trajectory likelihoods. Existing density-approximated policy gradient methods rely on stochastic SDE samplers to construct tractable transition kernels, which introduce training-inference inconsistencies and necessitates Classifier-Free Guidance (CFG). DiffusionNFT bypasses trajectory likelihoods through implicit velocity regression, but uses fixed residual coefficients in its branch targets, with rewards controlling their relative loss weights. We propose \textit{Flow Advantage-Weighted Rectification} (\textbf{FlowAWR}), a paradigm that recasts continuous generative policy optimization as supervised regression toward a theoretically optimal velocity field. Starting from the optimal policy of a KL-constrained reward maximization, FlowAWR derives the optimal velocity field that admits a magnitude-aware, advantage-weighted rectification form, yielding SDE-free optimization. In comparative evaluations on SD3.5-Medium, FlowAWR achieves improved alignment performance alongside a 2$\times$ to 5$\times$ convergence acceleration over DiffusionNFT (e.g., reaching a 24.12 PickScore in 1.2k steps, versus 23.82 in 2.0k steps for DiffusionNFT and 23.50 in $>$4k steps for FlowGRPO). Under multi-reward constraints, FlowAWR sustains quality, satisfying structural rules with stable out-of-domain performance.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:37 UTC.
- Rating
- 3/4(+1)
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 3/3
Read review
Summary
This paper proposes FlowAWR, an online reinforcement learning framework that does not require SDE sampling. Starting from a KL-regularized reward maximization objective, the method derives the theoretically optimal velocity field and transforms policy optimization into Advantage-Weighted Velocity Regression. Compared with traditional policy gradient methods, it does not require explicit estimation of the likelihood of generation trajectories. Compared with DiffusionNFT, it adaptively adjusts the direction and magnitude of velocity field corrections based on rewards, thereby improving training efficiency and generation quality. In addition, extensive experiments demonstrate the effectiveness of the proposed method. Experiments on SD3.5-Medium show that FlowAWR achieves significantly faster convergence than DiffusionNFT in single-reward optimization tasks.
Strengths
- The design of FlowAWR is very interesting. Compared with the heuristically designed positive and negative velocity regression targets in DiffusionNFT, FlowAWR starts from KL-regularized reward maximization, derives the theoretically optimal velocity field, and proves that the corresponding Advantage-Weighted Regression has the same optimization gradients as the ideal objective under ideal conditions.
- DiffusionNFT uses fixed residual correction coefficients and adjusts the weights of different regression terms through rewards. In contrast, FlowAWR directly adjusts the direction and magnitude of the velocity regression target using Advantage, allowing dynamic updates for different samples.
- FlowAWR achieves notable improvements in metrics such as PickScore and HPSv2.1
Weaknesses
- The ablation experiments are insufficient. For example, (1) Does the performance improvement mainly come from the adaptive advantage or the change in the regression target formulation? (2) How large is the difference between the Group-based Advantage and a more accurate approximation of the conditional Advantage?
- Although the method provides detailed mathematical derivations, the core algorithm is not fundamentally different from DiffusionNFT. For example, the paper emphasizes that DiffusionNFT uses fixed residual correction coefficients, while FlowAWR employs adaptive Advantage. However, the main difference between the two methods in practical optimization may lie more in the design of the reward-to-advantage mapping, rather than a fundamental shift from fixed to adaptive correction coefficients.
Questions for the authors
- Does the performance improvement primarily come from the adaptive Advantage or the change in the regression target formulation? Could the authors clarify this point or provide additional experiments to disentangle their contributions?
- How significant is the difference between the Group-based Advantage and a more accurate approximation of the Conditional Advantage? If the authors can adequately address these concerns, I would consider increasing my score.
- Rating
- 3/4(+1)
- Confidence
- 4/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes FlowAWR, an SDE-free online RL framework for flow-matching generative models. Starting from the closed-form optimal policy under KL-regularized reward maximization, the authors map the optimal terminal distribution to intermediate probability paths and derive that the optimal velocity field equals the reference field plus an advantage-weighted residual expectation. They then cast policy optimization as supervised regression toward the optimal velocity and prove that the AWR loss and the ideal loss share the same global optimum. Experiments on SD3.5-Medium cover single-reward and multi-reward settings, reporting roughly 2×–5× convergence speedups over DiffusionNFT and better alignment metrics.
Strengths
- The theoretical derivation is reasonably clear: it connects the KL-regularized optimal policy, the optimal velocity field, and advantage-weighted regression, and gives a unified interpretation of DiffusionNFT’s positive/negative velocity fields.
- The method avoids the mismatch between SDE sampling trajectories and deterministic ODE inference while retaining CFG-free generation, offering a practical efficiency advantage.
- Compared with DiffusionNFT’s fixed-magnitude linear reward coefficients, FlowAWR uses sample-dependent exponentially tilted advantages to determine rectification magnitudes, making the regression target closer to a KL-regularized optimal field. This plausibly contributes to faster convergence and improved stability.
Weaknesses
- The core algorithmic difference from DiffusionNFT is relatively limited. From the perspective of the regression target, DiffusionNFT’s two-branch loss can be folded into an equivalent single-target regression whose rectification coefficient is a linear function of normalized reward with fixed magnitude. FlowAWR mainly replaces this coefficient with a group-relative exponentially tilted advantage and rewrites the two-branch weighted loss as a single-target regression. Both share the EMA reference policy, CFG-free generation, group sampling, and other outer-loop components. The main contribution is therefore better characterized as a more principled reparameterization of the advantage/rectification interface for NFT-style forward-process RL, rather than a structurally different framework.
- **The paper does not address the most critical issue of NFT-style forward-process RL:stable training still relies on an EMA old policy which needs to be tuned per task. Claims about stability and efficiency should therefore be framed as improvements within this framework rather than as resolutions of its structural limitations.
- Empirical comparisons remain dominated by DiffusionNFT; FlowGRPO/AWM/TempFlow-GRPO appear only in parts of the appendix or curves. The column structure and repeated rows in Table 1 are hard to interpret, and OCR mixes task-specific and general configurations, weakening the conclusions. Multi-reward training uses a hand-designed staged schedule, with insufficient sensitivity analysis on stage boundaries, reward weights, and random seeds. Statistical significance of some gains is not fully reported.
Questions for the authors
-
Beyond the computation of the advantage/rectification coefficient and the loss form (two-branch weighting → single-target regression), what structural changes does FlowAWR introduce relative to DiffusionNFT? Please list them explicitly.
-
The method still uses an EMA reference policy. Did the authors evaluate a variant without EMA, or with an alternative stabilization mechanism? If not, can they clarify the extent to which FlowAWR still depends on this off-policy stabilization?
-
Were the stage divisions and weights in multi-reward sequential training systematically tuned? Is the method sensitive to stage order?
- Rating
- 3/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 3/3
Read review
Summary
Online RL for flow models either relies on SDE samplers to get tractable likelihoods (FlowGRPO, DanceGRPO) or, like DiffusionNFT, uses velocity regression with fixed residual coefficients. The paper derives the optimal velocity field of KL-regularized reward maximization, writes it as the reference field rectified by a centered advantage (the exponentiated reward, with temperature , divided by a value function , minus 1), and trains to regress toward using a group-based estimate of and set to the reward standard deviation.
Strengths
- The method is simple and fits existing pipelines. It needs no SDE sampling, no trajectory likelihoods, and no CFG at inference, and per-update cost is close to DiffusionNFT, so it can replace the NFT loss with little change.
- The derivation is clear and easy to check. It goes from the tilted optimal policy to intermediate marginals, then through Tweedie's formula to a sample-wise regression target. It also gives a clean reading of DiffusionNFT as the same residual form with fixed coefficients equal to plus or minus one over , and of SFT as the equal-reward case.
- The empirical study is fairly broad for this line of work. It covers single-reward runs on GenEval, OCR, PickScore and HPSv2.1, a multi-reward curriculum, out-of-domain DrawBench metrics, GPU-hour comparisons with AWM and TempFlow-GRPO, a FLUX.1-dev run with HPSv3, and ablations on , , the advantage form, and the EMA schedule. The paper is also open about the OCR configuration difference for DiffusionNFT (Appendix C.5).
Weaknesses
- In Theorem 1 the advantage depends on through , a posterior expectation given . Eq. 11 replaces it with the group mean of the exponentiated rewards, which does not depend on or and estimates the partition function instead. With this change the gradient equivalence of Theorem 2 no longer holds, so the claim that the loss "drives" to does not carry over to the practical method. On top of that, Appendix C.4 adds logit clipping to [-5, 5], and for GenEval and OCR a rescaling by the within-group standard deviation. This produces advantages below -1 (down to -1.76 for OCR and -1.54 for GenEval in Figure 9), which the definition in Eq. 9 can never give, since its first term is positive. The reference policy is an EMA of , and it is not stated whether rollouts come from or from , while the theory requires to be drawn from . The theory itself also overlaps with known results: tilted-distribution velocity and score fields, and reward-weighted flow matching, have been derived before. Zhang et al. (2025) is cited, but these are not: Lu et al., "Contrastive Energy Prediction for Exact Energy-Guided Diffusion Sampling in Offline Reinforcement Learning" (ICML 2023); Domingo-Enrich et al., "Adjoint Matching: Fine-tuning Flow and Diffusion Generative Models with Memoryless Stochastic Optimal Control" (arXiv 2024); Fan et al., "Online Reward-Weighted Fine-Tuning of Flow Matching with Wasserstein Regularization" (ICLR 2025); Uehara et al., "Fine-Tuning of Continuous-Time Diffusion Models as Entropy-Regularized Control" (arXiv 2024).
- The abstract compares FlowAWR's in-domain PickScore of 24.12 (Table 1) with FlowGRPO's 23.50, but 23.50 is the DrawBench PickScore of FlowGRPO in Table 2. Its in-domain PickScore there is 23.33. The 5.2x OCR speedup in Figure 3(c) is measured against DiffusionNFT's general configuration, which only reaches 0.89 after 520 updates. The official OCR configuration reaches 0.98 after 400 updates, and in Table 1 FlowAWR gets 0.975 at 260 updates, slightly lower. Final gains over DiffusionNFT are small: GenEval is tied at 0.98, PickScore is 24.12 vs 23.82, and in the multi-reward setting OCR is 0.91 vs 0.90 and GenEval is tied at 0.93. All results come from single runs, with no seeds or error bars, so it is not clear whether these gaps are real.
- Sec. 4.2 says FlowAWR "exhibits reduced reward hacking" based on out-of-domain metrics, but each FlowAWR row in Table 1 is an earlier checkpoint (0.5k vs 1k, 0.26k vs 0.4k, 1.2k vs 2.0k). Earlier checkpoints usually drift less, so this is not a matched comparison. The "Adaptive Advantage" ablation compares against a single-branch NFT-style target that collapses (Appendix C.4). This is not DiffusionNFT, which does not collapse, so the ablation does not show what the adaptive coefficient adds over the real two-branch NFT loss. The and EMA ablations are run only on OCR, for at most about 250 iterations. The FLUX.1-dev result is a single learning curve with no table, no out-of-domain metrics, and CFG turned on in rollouts and evaluation, unlike the main setting.
Questions for the authors
- How do you justify replacing with an estimate that does not depend on ? Does any part of Theorem 2 still hold for the Eq. 11 estimator, for example as a bound?
- Are rollouts drawn from or from the EMA ? If from , how does this fit the requirement that is drawn from ?
- How much of the gain comes from the std rescaling and clipping in Appendix C.4? Please show GenEval and OCR runs with the pure Eq. 11 advantage, and explain advantages below -1.
Comments on the paper
1 comment
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Our General Response: Starting Point, Significance, and Additional Results
We thank all reviewers for their constructive feedback. They find the derivation clear and easy to check, with a unified interpretation of DiffusionNFT (rwkb, EaZt, EHyw), and the empirical study broad, with notable gains on preference rewards (rwkb, EHyw).
The reward scores only the final sample, so the KL-regularized optimum is a terminal distribution, p∗(x1∣c)∝pold(x1∣c),eR(c,x1)/γ (Eq. 6). We ask which velocity field reaches it while keeping the deployment advantages of flow models, namely deterministic ODE sampling and, on SD3.5-M, CFG-free generation. This faces three obstacles: p∗ alone gives no guidance along the generation process, the resulting correction ∇xtlogϕ is intractable, and the exact normalizer ϕ(xt,c,t) requires branching rollouts from every xt. FlowAWR addresses them in turn:
(i) Propagating p∗ through the forward noising kernel gives pt∗ (Prop. 1) and v∗=vold+t1−t∇xtlogϕ (Eq. 8).
(ii) The identity ∇xtlogpold(x1∣xt,c)=1−tt(ut−vold) rewrites this correction exactly as a signed residual expectation, v∗=vold+E[A,(ut−vold),∣,xt], which can be regressed per sample from scalar rewards (Theorems 1–2).
(iii) The group mean over the G rollouts of θold estimates ϕ0=ϕ(x0,c,0) at no extra cost, and Proposition 2 characterizes the resulting target exactly.
The CFG-free rollouts, the EMA reference (both sampler and KL anchor), and group sampling therefore all follow from the same objective rather than added heuristics.
Regression-based methods share rollout steps, group size, LoRA, and hardware, and FlowAWR keeps DiffusionNFT's default EMA without task-specific tuning. Baselines use their official configurations, and for OCR we report both DiffusionNFT configurations (App. C.5, Table S1). The revised PDF includes Proposition 2 (Sec. 7.1) and all additional ablations (Sec. 7.2, Fig. R1).