Manuscript Offprint
arXiv:2611.08240FewStepRL: Fine-tuning Few-step Diffusion Models with Reinforcement Learning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Haitao Lin, Minsi Ren, Yang Li, Xingtong Ge, Zheyuan Hu, Peiyan Hu, Tailin Wu
Affiliation: Tencent Hunyuan, Westlake University, University of Chinese Academy of Sciences
*Equal contribution; †Project Leader; ‡Corresponding author: wtailin@westlake.edu.cn
Abstract. Reinforcement learning (RL) has become a standard post-training method for diffusion models, but most RL objectives roll out the current policy at every iteration, and with a many-step sampler these rollouts typically dominate the cost of training. Few-step models cut this cost, yet they model an average velocity over an interval, whereas existing RL objectives are built for an instantaneous velocity with a many-step sampler. We adapt RL objectives to few-step models systematically in three phases, namely a transformation, a decomposition and an adaptation. The transformation to x-space expresses each objective we consider through a common policy prediction, at the clean end by default and at an explicitly marked level for transition or flow-map objectives, so that objectives stated over densities, velocities or rewards become comparable. The decomposition writes the gradient of each of these objectives as the sum of a self-regression toward a reference and a reward augmentation, so that a method reduces, at the gradient level, to a choice of anchors and weights. The adaptation computes each anchor from a few-step model at the end of its transport or along its tangent, with the instantaneous velocity recovered from the network itself or from an auxiliary network. This yields few-step versions of FlowGRPO, AWM, DiffusionNFT, DiffusionOPSD and ReFL in one modular codebase. In our experiments, reward-gradient-based methods are the most effective where the reward is differentiable and its gradient affordable; otherwise DiffusionNFT-style methods generally reach high rewards in relatively few iterations despite a sometimes higher per-iteration cost. Extra inference steps show no systematic aggregate benefit in our experiments, although selected outputs visibly improve with two to four times as many sampling steps as in training.
Project Page: fewsteprl.page
Code: fewsteprl-sd35 (images), fewsteprl-wan21 (videos)
Checkpoints: Hugging Face (coming soon)
Contents
1 Introduction 3
2 Background 5
3 Preliminaries 6
3.1 Few-step Diffusion Models with On-Policy Distillation ..... 6
3.2 Reinforcement Learning for Diffusion Models ..... 8
4 Framework 10
4.1 Transformation to x-space ..... 11
4.2 The Decoupled Loss Decomposition ..... 12
4.3 Adaptation to Few-Step Models ..... 17
5 Implementation 23
5.1 A General Training Step ..... 24
5.2 Introduction to the Key Stages ..... 25
5.3 FewStepGRPO: Replaying Stored Trajectories ..... 30
5.4 FewStepAWM: MeanFlowAWM and DMDAWM ..... 32
5.5 FewStepNFT: MeanFlowNFT and DMDNFT ..... 34
5.6 FewStepOPSD: Extended Reward Augmentation and ReFL ..... 35
5.7 Cost of an Outer Iteration ..... 38
6 Experiment 38
6.1 Setup on Image Generation ..... 39
6.2 Setup on Video Generation ..... 40
6.3 Main Results on Image Generation ..... 42
6.4 Main Results on Video Generation ..... 47
6.5 Test-Time Scaling Analysis ..... 48
6.6 Practical Guidance ..... 50
7 Conclusion 52
1 Introduction
Diffusion models and their flow-matching counterparts generate data by integrating a learned transport from noise to samples, and have become a dominant approach to image and video synthesis (Ho et al., 2020; Song et al., 2021b; Lipman et al., 2023; Liu et al., 2023; Rombach et al., 2022; Esser et al., 2024). Because the learned field is accurate only locally, sampling typically takes tens of network evaluations (Song et al., 2021a).
Few-step models remove most of this cost by learning the transport over long intervals directly. Consistency models and MeanFlow, which models the average velocity over an interval, and on-policy distilled flow maps such as DMD and AnyFlow generate in one to four evaluations (Song et al., 2023; Geng et al., 2025, 2026; Yin et al., 2024b; Gu et al., 2026).
Reinforcement learning (RL) has become a standard post-training method for diffusion models. Fine-tuning against reward models of human preference, text rendering or composition measurably improves the outputs (Black et al., 2024; Fan et al., 2023; Clark et al., 2024; Xu et al., 2023; Liu et al., 2025a; Xue et al., 2026; Zheng et al., 2026a). This gain, however, typically requires samples from the current policy at every iteration and must be protected against reward hacking, in which the policy exploits the reward model instead of improving.
With a many-step sampler, these rollouts typically account for most of the time and memory of training, and more so for long video sequences. A few-step model shrinks this cost, but it models an average velocity over an interval, whereas the RL objectives above are built for an instantaneous velocity or for the transitions of a many-step sampler. Applied directly, they leave open which network evaluation should be differentiated, how the reference policy should be evaluated, and which parts of the interval are trained. Prior work typically resolves these choices for one objective at a time (Huang et al., 2026b,a; Li et al., 2026b); what is, to our knowledge, missing is a systematic way to adapt RL objectives to few-step models. Figure 1 illustrates the effect of leaving them unresolved. Substituting the average velocity of a distilled few-step model for the instantaneous velocity required by FlowGRPO, AWM and DiffusionNFT, i.e., applying the original objective to the distilled model without modification, gives a lower best GenEval2 than the adapted objective derived in this paper in each of the three cases.
This paper builds one in three phases (Figure 2), namely a transformation, a decomposition and an adaptation. The transformation maps each objective to x-space. Under a linear noise schedule, a velocity defines an affine map between noise levels, so each objective we consider can be expressed through a common policy prediction, at the clean end by default and at an explicitly marked level for transition or flow-map objectives. In x-space, objectives stated over densities, velocities or rewards become directly comparable. The decomposition splits the loss gradient. The gradient of every objective we consider is the sum of a self-regression term, which keeps the policy close to a reference, and a reward-augmentation term, which contains the reward, so that, at the gradient level, a method reduces to a choice of anchors and weights. The adaptation extends the anchors to few-step models. We show how each anchor is computed from a few-step model, either at the end of its transport or along the tangent of the trajectory, with the instantaneous velocity recovered from the network itself, as in MeanFlow, or from an auxiliary network, as in DMD.
All methods share one codebase, which is represented by a single training step with several method-specific stages, namely rollout, reward and advantage, anchors and weights, and loss (plus auxiliary fitting and the refresh of the old policy), where each method overrides only the hooks in which it differs (§5). The methods are therefore compared under shared rollout, reward and evaluation code,

(a) FewStepGRPO ( ) vs. FlowGRPO
(b) MeanFlowAWM ( ) vs. AWM
(c) MeanFlowNFT ( ) vs. DiffusionNFT
Figure 1: Held-out GenEval2 against the RL iteration in the mixed-reward setting of §6.1, from the shared pre-RL few-step checkpoint. Dashed: the original objective applied to the distilled model with the average velocity substituted for the instantaneous velocity (FlowGRPO, AWM, DiffusionNFT). Solid: the corresponding few-step adaptation of this paper (FewStepGRPO, MeanFlowAWM, MeanFlowNFT; §5). Each annotated gap is the adaptation minus the baseline, at the best checkpoint of the baseline and at iteration 400; the two coincide when the baseline is best at iteration 400.
and a new variant is specified mainly by its anchors and weights. Experimentally, we compare seven implementations on image generation with an AnyFlow-distilled SD3.5-Medium (Stability AI, 2024; Gu et al., 2026), under a non-differentiable OCR reward and a differentiable mixed reward, and on video generation with an AnyFlow-distilled Wan2.1-T2V-1.3B (Team Wan et al., 2025; Gu et al., 2026); we further test whether the fine-tuned few-step models improve when sampled with more steps.
The contributions of this paper are as follows.
-
A general view. After the transformation to x-space, the gradients of the RL objectives considered here share one decoupled form, the sum of a self-regression term and a reward-augmentation term, so that their gradients differ only in their anchors and weights.
-
A systematic adaptation to few-step models. Each of these anchors can be computed from an average-velocity model at the end of the transport or along its tangent, which yields few-step versions of FlowGRPO, AWM, DiffusionNFT, DiffusionOPSD and ReFL within one modular codebase.
-
Empirical guidance with experimental analysis. Where the reward is differentiable and its gradient affordable, reward-gradient-based methods are the most effective in our experiments, and ReFL alone is a strong baseline. Otherwise, group-advantage methods apply. Among them, DiffusionNFT-style methods generally reach high rewards in relatively few iterations, even when one iteration is expensive, and DMD-based variants are faster per iteration on image but slower on video, depending on the relative cost of forward and backward passes, and often coincide with larger held-out degradation. Additional inference steps bring little aggregate improvement in generation quality, while visual gains appear in selected outputs with more sampling steps than training.
Few-step generation. Sampling cost has been cut along several lines. Progressive distillation halves the number of steps repeatedly by training a student to match two teacher steps with one (Salimans and Ho, 2022). Consistency models map every point of a trajectory to its endpoint, and were extended to latent space, arbitrary trajectory jumps, multiple sub-intervals and segmented trajectories (Song et al., 2023; Luo et al., 2023a; Kim et al., 2024; Wang et al., 2024a; Ren et al., 2024); consistency has also been used as a training regulariser against sampling drift and to learn from noisy data (Daras et al., 2023, 2024). Shortcut models condition on the step size and learn to take large steps directly (Frans et al., 2025). Adversarial distillation adds a discriminator so that one to four steps produce sharp samples (Wang et al., 2023a; Sauer et al., 2025, 2024; Lin et al., 2024; Chadebec et al., 2025; Lu and Song, 2025). Distribution matching distillation (DMD) trains the generator so that its output distribution matches the teacher's, using the difference between a teacher score and the score of an auxiliary network fitted to the generator's samples (Yin et al., 2024b,a), an idea shared with Diff-Instruct and variational score distillation (Luo et al., 2023b; Wang et al., 2023b); later work scales it to flow models, splits it into sub-intervals, decouples guidance from matching, moves it to continuous time, regularises it with consistency, and adapts it to video (Ge et al., 2026a; Fan et al., 2026b; Liu et al., 2026a,b; Zheng et al., 2026b; Ge et al., 2026b; Nie et al., 2026; Luo et al., 2025). Flow maps learn the transport between any two noise levels. MeanFlow parameterises the average velocity over an interval and trains it through its identity with the instantaneous velocity (Geng et al., 2025; Lin et al., 2026; Geng et al., 2026), and AnyFlow distils such a map on policy for any step count (Gu et al., 2026). Unlike the many-step generators above, these flow-map models learn an average velocity over an interval, which can be read as the direction of a secant of the sampling trajectory, differing substantially from the instantaneous velocity where the trajectory is curved.
Reinforcement learning for diffusion models. RL fine-tuning of generators builds on policy optimisation (Levine, 2018; Schulman et al., 2017), preference optimisation (Rafailov et al., 2023) and group-relative advantages, which normalise rewards within a group of samples for the same prompt (Shao et al., 2024; Guo et al., 2025). For diffusion models, early work fine-tunes on human feedback (Lee et al., 2023), treats denoising as a Markov decision process optimised by policy gradients (Black et al., 2024; Fan et al., 2023), or optimises pairwise preferences directly (Wallace et al., 2024). FlowGRPO brings group-relative policy optimisation to flow models by turning the ODE sampler into an SDE with tractable transition likelihoods (Liu et al., 2025a); follow-ups extend it to video, mix ODE and SDE steps, weight timesteps, and preserve the noise coefficients of the sampler (Xue et al., 2025; Li et al., 2026a; He et al., 2026; Wang and Yu, 2025). A second family avoids transition likelihoods by acting on the forward process: AWM weights the pretraining loss by the advantage (Xue et al., 2026), reward-weighted and policy-gradient flow matching reweight or rescale the velocity regression (Fan et al., 2025; McAllister et al., 2026), adjoint matching is scaled to RL post-training (Bergmeister et al., 2026), and DiffusionNFT contrasts positive and negative implicit policies built from the model and the frozen policy that generated its rollouts (Zheng et al., 2026a), following NFT in language models (Chen et al., 2026b). A third family backpropagates differentiable rewards through the sampler, as in DRaFT and ReFL (Clark et al., 2024; Xu et al., 2023; Wang et al., 2026); the recently proposed DiffusionOPSD (Zhou et al., 2026) belongs to this family but constructs detached points with normalised reward-gradient steps and fits the policy to them, thereby forming a surrogate gradient. These methods are built for an instantaneous velocity, and most of them need on-policy rollouts at every iteration, which are expensive with the many-step samplers discussed above; how to apply RL to few-step models is therefore an important question.
RL for few-step generators. Closest to this paper are methods that fine-tune few-step models with rewards. Several combine DMD with RL, by adding a reward term to distillation, guiding distillation with reward gradients, or recasting distribution matching itself as a reward (Chen et al., 2026a; Jiang et al., 2026; Dong et al., 2026; Fan et al., 2026a); others tune distilled models with non-differentiable rewards, Kullback–Leibler (KL) regularised alignment or pairwise sample optimisation (Luo et al., 2026; Luo, 2025; Miao et al., 2025). For flow maps, Flow-Map GRPO composes stochastic steps of a flow-map generator (Li et al., 2026b), MeanFlowNFT applies DiffusionNFT to an average-velocity model through its self-induced instantaneous field (Huang et al., 2026b), and RTDMD optimises a reward-tilted distribution matching objective (Huang et al., 2026a). These works mostly adapt one objective to one kind of few-step model; we instead give a common construction that extends FlowGRPO, AWM, DiffusionNFT, DiffusionOPSD and ReFL to average-velocity models, and compare them under one implementation.
3 Preliminaries
3.1 Few-step Diffusion Models with On-Policy Distillation
We write for the noise level, with data at and Gaussian noise at . A plain denotes a point at level on a sampling trajectory, and denotes a renoised state at level obtained by adding fresh noise to a clean sample (Equation (2)); every map below applies to either. The setting we focus on throughout is distillation, where a pretrained instantaneous-velocity field is available and frozen, which we call the teacher, and the student must reproduce its transport in one or a few network calls. The teacher is an ordinary flow-matching model, trained by regressing onto the conditional velocity of a clean sample and Gaussian noise , and it provides the student's regression target in Equation (8) (Lipman et al., 2023; Liu et al., 2023). The student is the average-velocity generator (Geng et al., 2025, 2026; Gu et al., 2026),
(1) where is the instantaneous velocity induced by the student, is the state at level on the probability-flow trajectory of through , and closes the definition at . Throughout, we identify this induced field with the flow-matching marginal velocity of the student's sample distribution , with (Appendix A); the two coincide when the flow map is exact.
Unlike off-policy methods, which query the model at with , on-policy training draws the noised state from the student's own distribution:
The subscript in Equation (2) is kept only where the sampler is differentiated. The samples are produced by a rollout operator ROLLOUT, an ODE or SDE solver that maps Gaussian noise at level 1 to a clean sample at level 0 for a text prompt in steps, on a grid :
For an instantaneous field, one Euler step of the solver between and is
which is only first-order accurate, so must be large. A displacement is the time integral of the velocity, and by Equation (1) equals this integral over . With as the generator, the Euler step is replaced by an exact jump,
so a few-step sampler is a chain of such jumps, each a single subtraction rather than an integration. Taking the whole interval at once, , and , recovers the one-call generator.
MeanFlow. According to the definition of in Equation (1) (Geng et al., 2025), multiplying by and differentiating in eliminates the integral and leaves the MeanFlow identity
where is the total derivative along the trajectory of Equation (1); the implementation estimates it by a directional-difference estimate (Equation (87)). The identity follows from the definition Equation (1) and imposes no additional constraint; it expresses the average velocity as the instantaneous velocity minus times the total derivative of the average velocity with respect to .
Every use of Equation (6) treats this correction as detached, so we define it once with the stop-gradient , which is the identity in the forward pass and zero in the backward pass,
the detached Jacobian-vector term. It gives the gap between an average velocity over and the instantaneous one at t, measured on the network itself and frozen before it is used. Substituting the teacher for in Equation (6) then turns the identity into a regression whose target is assembled entirely from quantities available at the current state,
in which is frozen and contains a stop-gradient, so is the only differentiated quantity. Setting recovers instantaneous-velocity distillation onto ; the case trains the flow map and hence the one-step transport to level .
DMD. Distribution matching distillation (Yin et al., 2024b,a) does not regress onto a target. It maintains a second, auxiliary velocity with its own parameters , fitted online by flow matching to the samples generated by the student. Its target is the conditional velocity of each sample instead of the teacher, because is meant to approximate the velocity of instead of :
The difference between the two fields then gives the score difference in the gradient of the reverse KL divergence, which is used to train :
The order of the two fields is fixed by the conversion between them. The score of the linear path is with , so the difference of the scores of the two fields, which the reverse KL produces, equals . Converting scores to velocities reverses the order of the two fields and introduces the score-to-velocity factor , which is positive on and is absorbed into a per- weight in practice. Descending Equation (10) therefore applies the direction , reducing the mismatch to the data field relative to the auxiliary field that tracks .
The term requires a differentiable sampler, and the sampler used in practice is stochastic. A step at level does not move directly to the next level; it first maps the state to with one network evaluation and then renoises the result to an intermediate level with :
Unlike the deterministic chain Equation (5), this sampler draws fresh noise at every step, so the state at level is not a deterministic function of the previous state.
The levels follow a fixed grid of values spanning intervals; a step count is drawn per update, and only the last step remains in the computation graph, with all earlier steps detached. The backward pass therefore requires one network evaluation for any . Moreover, the differentiated evaluation is at the level that the grid assigns to step , so randomising changes this level across updates. Over training, the gradient therefore reaches at every grid level instead of a single one.
3.2 Reinforcement Learning for Diffusion Models
FlowGRPO. FlowGRPO combines a GRPO-style group baseline with a PPO transition objective (Schulman et al., 2017; Shao et al., 2024; Liu et al., 2025a). It scores a group of rollouts that share a prompt , and turns the raw scores into a group-normalised advantage. Writing for the endpoint reward of member ( the decoder), the advantage standardises the reward within the group,
Here denotes the rewards of the group and is a small floor. The advantage is a detached per-sample scalar with zero mean across the group; no value network is fitted, and the group mean serves as the baseline. AWM below uses the same ; DiffusionNFT uses a bounded transform of it.
FlowGRPO formulates the stochastic differential equation (SDE) sampler as a Markov decision process, whose state is the current noisy sample (a point on the sampling trajectory, in the convention of §3) together with the prompt and the level and whose action is the next state produced by the sampler; the Gaussian transition then provides a likelihood, which the deterministic sampler lacks. Optimisation is proximal policy optimisation on the realised action ,
Here the old policy is the frozen policy, with parameters , that generated the rollouts on which the current policy is trained; it receives no gradient. In our implementation, is an exponential moving average (EMA) of , refreshed after every outer iteration (§5.1) with the EMA-decay ratio as the weight kept on the previous ; an EMA-decay ratio of 0.0 therefore copies , so that at the start of every outer iteration. The subscript old marks its quantities, so is its transition density, its instantaneous velocity and the distribution of its rollouts. The clipping radius is . For later clipped surrogates, define the detached unclipped-gradient gate
At the two clipping kinks this convention selects the derivative of the unclipped branch. The sign of the reward advantage determines the direction of the update of the mean of the Gaussian transition (the scoring kernel defined in Equation (95)) relative to the visited noisy state .
AWM. Advantage Weighted Matching (Xue et al., 2026) keeps the signed advantage but does not evaluate a likelihood on the reverse process. Each update draws a fresh and constructs both the noised state and the regression target from the rollout sample,
where is the conditional velocity, i.e., the velocity of the straight path from to , which is computed from the two endpoints without a network evaluation. AWM then observes that the flow-matching loss against that target is, for a suitable time weight , an evidence-lower-bound surrogate for the sequence-level log-likelihood of the clean sample,
so that the policy-gradient term reduces to the pretraining objective reweighted per sample:
with the time weight in the original AWM (our implementation effectively uses , §5.4) and a velocity-space proximal penalty against the old policy , called a KL term in AWM, added for stability. Minimising Equation (17) decreases the matching residual at when and increases it when . Since no reverse-time discretisation appears, the sampler can be chosen freely.
DiffusionNFT. Negative-aware fine-tuning (Zheng et al., 2026a) builds on an optimality-variable construction (Levine, 2018) and requires neither a likelihood nor a signed weight. It first maps the advantage to a bounded optimality probability with a normaliser ,
since the bracketed quotient then equals Equation (12). Thus is signed, unclipped and zero-mean under Equation (12) and enters as a multiplier, whereas is bounded, monotone in and equal to when , and enters as a mixing weight. A positive advantage gives and hence a larger weight on the positive branch.
Each update then draws a fresh and forms the noised state and the conditional velocity as in Equation (15); the target is the same as in AWM, and, besides the weight, only the regressed quantity differs. Two implicit policies are built from one trainable network and the frozen old policy , both evaluated at that same and mixed by a branch coefficient :
Both are regressed onto the same target , mixed by :
Both branches are affine in the same trainable network ; since , and are detached, is the only differentiated quantity in Equation (20).
4 Framework
Each RL method of §3.2 increases the relative probability of high-reward samples under the rollout distribution of the old policy. The methods differ in the space in which the update is formulated (transition densities, velocities, or rewards differentiated through the sample) and in how a few-step network computes the quantities that the update requires. This section resolves both differences in three steps, summarised in Figure 2.
(i) Transformation to x-space (§4.1, Figure 2a). Under the linear noise schedule a velocity transports a state affinely, so each objective of §3 can be expressed through a common prediction in x-space. By default this prediction is the policy prediction ; MeanFlow and FewStepGRPO keep an explicitly marked level- quantity. In x-space the methods become directly comparable.
(ii) Decomposition of the gradient (§4.2, Figure 2b). In x-space, the gradient of each of these losses is the transposed Jacobian applied to the sum of a reward-free self-regression toward an anchor , which limits how far the prediction moves, and a reward augmentation along , which contains the reward. A method is then specified by the prediction, three anchors and three weights instead of a new loss.
(iii) Adaptation to few-step models (§4.3, Figure 2c). The framework requires instantaneous velocities, whereas a few-step model outputs an average velocity. Its anchors are therefore computed either at the end of the transport curve (u-form) or along the tangent at the current state (v-form). The latter recovers the instantaneous velocity from the network itself, as in MeanFlow, or from an auxiliary network, as in DMD.
§5 then specifies the predictions, anchors and weights of each family.
(a) Transformation to x-space
(b) Decoupled loss decomposition
(c) Few-step readings of

Figure 2: Overview of the framework. (a) RL increases the relative mass of the high-reward mode under the rollout distribution of the old policy. The default objective is evaluated at the clean end, on the policy prediction (renoise-and-denoise sample) , whose reward augmentation attracts it toward high-reward rollout samples and repels it from low-reward ones; in the figure, and denote a high-reward and a low-reward rollout sample , respectively. (b) The RL-loss gradient can be decoupled into a self-regression term, visualised as a regression force toward the regression anchor , and a reward-augmentation term, visualised as a reward force along the displacement from the baseline anchor , which lies between the two modes, to the rewarded anchor . A high-reward sample produces attraction along that displacement (blue); a low-reward sample produces repulsion against it (orange), so both updates favour higher reward ( ). (c) For a few-step model, the prediction and the anchors are computed either at the end of the transport curve, (u-form), or along the tangent at (v-form). The instantaneous velocity is recovered from the network itself for MeanFlow, with the detached correction evaluated on the old policy in the implemented methods (Equation (56)), and from an auxiliary network for DMD, , fitted so that ( ).
4.1 Transformation to x-space
The objectives of §3 are written in transition-density or velocity space. Under the linear noise schedule, a velocity instead identifies a point in x-space at any chosen level r. This x-space includes noisy level-r points; clean samples correspond to r = 0.
For any point at level t (in particular a renoised state ), define the affine transport
For two velocities evaluated at the same and transported to the same level r < t,
Thus a velocity MSE equals a scaled MSE between transported points in x-space. At the clean level the factor is , and we omit the level subscript. In particular, for and , Equation (21) gives .
For the reward objectives below, a detached rollout endpoint is re-noised to , and the policy provides the current policy prediction
while the conditional target maps back to . Hence the loss compares predictions at the same state , and only is differentiated. §4.3 constructs this prediction when the network outputs an average velocity instead of an instantaneous one. Analysing a loss in x-space therefore shows how the prediction must change to reduce the loss, i.e., which points moves toward and which it moves away from. The same map applied to the old policy gives the old policy's prediction
which serves as an anchor in several methods below; its few-step variants, the self-induced prediction of Example 5 and the u-prediction and J-free query of §4.3, are collected in Appendix A.
Example 1 (AWM in x-space). The target of Equation (17) is , and Equation (21) sends it to the rollout endpoint itself, . Applying Equation (22),
The method is a squared residual between the current prediction and the model's sample, weighted by the signed advantage. Taking cancels the prefactor and gives an x-space weight independent of t; this is the choice our few-step implementation makes up to a floor ( ).
Example 2 (DiffusionNFT in x-space). The target of Equation (20) is again , so Equation (21) sends it to the same rollout endpoint . Only the prediction differs; the two implicit policies Equation (19) are mapped to
with as in Equation (24). Applying Equation (22) to each branch,
The method mixes two squared residuals to the model's sample with weights and . The positive branch receives more weight when the reward of the sample is above the group mean, and the negative branch when it is below. The common prefactor can be absorbed into the weights, so the mixing itself is independent of t.
4.2 The Decoupled Loss Decomposition
Under the transformation Equation (21), the gradient of each objective considered here is the transposed Jacobian applied to the sum of two vectors in x-space (at the clean level by default and at level r in the explicit exceptions). We adopt this form as the general framework,
(28) with and detached scalars. The factor 2 from differentiating a square is kept outside the bracket, so all weights below are defined relative to Equation (28); for example, the loss corresponds to . The prediction is constructed by first noising the rollout sample to level and then transporting the resulting state back to by Equation (21). Here is the signed reward coefficient used in the general loss Equation (30), and is its magnitude. For methods whose coefficient follows the advantage, a non-zero has the sign of in the theoretical weighting (the implemented DiffusionNFT weighting of §5.5 can deviate), and a clipping gate may set it to zero.
Self-regression. The first term does not depend on the reward. It vanishes at and grows with the distance from this anchor, so its gradient moves the prediction back toward the anchor. This self-regression term limits how far the reward-augmentation term can move the prediction and therefore helps protect against reward hacking.
The regression anchor is therefore chosen as a prediction that the policy should stay close to. A common choice is the old policy's prediction , so that the term penalises the deviation of the current prediction from that of the policy used for sampling. Since is computed from , the anchor must be computed from the same ; otherwise, the difference would mix a change of the velocity field with a change of the state and would no longer measure the deviation that the term is meant to bound.
Reward augmentation. For fixed anchors, the second term contributes a vector that does not depend on the current prediction and contains the reward. Under gradient descent it moves along , a displacement whose direction is set by the sign of and whose coefficient has magnitude . The magnitude of the full term also depends on and on the anchor displacement .
The rewarded anchor is usually the rollout sample, since transporting with the conditional velocity gives . This choice is natural because is obtained by scoring and provides no direct information about other points. For methods whose coefficient follows the advantage, the sign of determines whether the prediction moves toward or away from it.
The other end, , is the baseline anchor. The displacement points from the baseline anchor to the rewarded anchor, so sets the reference point and the line along which the reward acts. Admissible choices for include the old policy's prediction and the detached current prediction . In the RL methods, is also evaluated at the state from which is computed, so that the two anchors define a displacement in the space on which the update acts.
An intuitive example. Consider a group-advantage-based method with the group-mean advantage of Equation (12) and a group in which . Members 1 and 2 both score above the group mean, so and both predictions are attracted toward their rewarded samples. Member 2 is not penalised for scoring lower than member 1; it only receives a coefficient of smaller or equal magnitude, since in AWM and in the theoretical DiffusionNFT weighting below. Member 3 scores below the mean, so and its prediction is repelled away from , in the direction . Whether a prediction is attracted or repelled is therefore determined by the baseline-subtracted advantage and not by the raw reward; a sample with a high reward is still repelled if it scores below its group mean.
Recovering the loss. For any and any detached U,
Therefore, applying Equation (29) with and writes Equation (28) as a sum of two squares,
which is the form §5 implements.
Example 3 (Decoupling AWM loss). Applying the same decomposition to Equation (25) gives a limiting case of Equation (28). Differentiating it and rewriting the residual as a difference of anchors,
(31)
which is Equation (28) with :
The anchor is arbitrary, since it is multiplied by zero. Compared with the DiffusionNFT decomposition (Example 4 below, Equation (35)), there are three main differences. First, the baseline anchor is the detached current prediction, so one end of the reward displacement is fixed and the other moves with the policy. The term is therefore recomputed at every step and is proportional to the residual instead of being a fixed displacement; this is why AWM can be written as the single weighted square Equation (25). Second, in Equation (32) the magnitude is not clipped, whereas in DiffusionNFT it saturates at . Third, with the matching loss contains no self-regression term; this role is played by the additional velocity-space proximal penalty of §3.2, which under Equation (22) is a self-regression toward the old policy's prediction .
Example 4 (Decoupling DiffusionNFT loss). Applying the same decomposition to Equation (27) yields both terms of Equation (28). The two branches Equation (26) are affine in the same current prediction, so
Differentiating Equation (27) and writing , the two branches collapse onto a single Jacobian. Since ,
which matches Equation (28) term by term, with a self-regression toward and a reward augmentation along the fixed direction . The corresponding anchors and weights are
Both anchors coincide at the old policy’s clean prediction, so DiffusionNFT regularises toward the point from which it measures the reward. The rewarded sample is the rollout produced by the model. The two weights are equal, which allows the published loss to be written as one fused square up to a detached term. The signed reward coefficient has a magnitude that increases with and saturates at because of the clip. In comparison, methods with , such as AWM above, drop the self-regression from the matching loss.
Example 5 (Reward Augmentation for DMD and MeanFlow). The decomposition also applies to reward-free distillation losses and yields their decoupled form. Neither objective scores a group, so there is no advantage and no index (i); both move the policy toward the teacher. In the decomposition this is the limiting case
i.e., a unit positive coefficient for every sample, with the rewarded anchor set to the teacher's prediction
MeanFlow. The network output in Equation (8) is an average velocity, so the corresponding instantaneous velocity is recovered before Equation (21) is applied. Rearranging the MeanFlow identity Equation (6) with Equation (7) recovers it as . The correction J is detached, so we evaluate it, together with the average velocity it corrects, on the frozen copy of the network, which is in distillation and the old policy in RL. In particular, in MeanFlow equals in value; we write only to unify the notation with the RL methods below:
and we call the self-induced instantaneous velocity. It is computed from the average velocity and its total derivative with respect to t, without a second network, and coincides with the instantaneous velocity of wherever the flow map is exact. Its clean prediction is
where the subscript indicates the velocity used. Both and are detached.
Both fields are now instantaneous, so Equation (21) transports them over the same interval. According to Equation (8), the prediction in x-space is extended from the clean level to any level . Transporting with the teacher and with the self-induced velocity to level r,
(39) whose clean ends at are Equation (36) and Equation (38). The policy's own transport with the same detached is , with , and equals in value. For , Equation (8) is
At r = t the quotient is defined by continuity:
Thus MeanFlow is the squared velocity residual written as a scaled distance between level-r predictions. To obtain the loss form from Equation (28), we differentiate the average velocity, since J is detached:
where is the one-step transport Equation (5) used by the sampler. Since J is detached, it shifts the prediction without changing its Jacobian. For r < t, the gradient therefore corresponds to the reward augmentation,
which is the second term of Equation (28), as
These -space definitions apply for . At we use the velocity-space limit above; no finite value of is assigned to this case. Here the Jacobian is instead of , because the reward augmentation acts at level , which is resampled at every update.
DMD. The DMD gradient Equation (10) contains a velocity difference, and Equation (21) converts it into a difference of clean predictions. With in place of the sampler output , the reverse KL of DMD evaluates the two fields at the noised prediction rather than at ; we write and for the teacher's and the auxiliary network's predictions at that state, so that
The noised prediction is affine in , so its Jacobian passes through to ,
With this convention, Equation (45) is Equation (28) with
The two distillation implementations therefore differ mainly in (i) how the instantaneous velocity of the current model distribution is estimated and (ii) the state at which and are evaluated.
-
DMD parameterises the instantaneous velocity with a second network with parameters , fitted online to the student's samples by Equation (9), and sets at . It uses the clean-end prediction because Equation (45) uses ; varying distributes the update over noise levels but always trains the same map to the endpoint of the trajectory.
-
MeanFlow induces the instantaneous velocity, computing from the network itself, and sets , whose case is the clean end Equation (38). Since is defined at every queried , this restriction disappears; Equation (42) uses , and resampling at every update trains for all .
4.3 Adaptation to Few-Step Models
The methods of §3.2 are built on an instantaneous velocity, where the clean predictions in §4 are , Equation (30) uses , and the anchors apply the same map to or . A few-step policy instead outputs an average velocity . To evaluate Equation (30), the velocity in Equation (21) can be replaced by a velocity recovered from , and the anchors by the matching predictions of or the teacher. Therefore, methods differ in which predictions and anchors they use. A rollout sample is already a sample and needs no reconstruction, and the teacher prediction Equation (36) remains instantaneous, so only and the old-policy anchors need to be rebuilt.
Building anchors with u-prediction. The direct substitution queries only the edge of the domain of the flow map,
The policy velocity in §4 is replaced by , and the old policy is treated in the same way,
The current prediction of Equation (30) is then , and both the regression and the baseline anchor are , or in the AWM case where the baseline follows the policy.
The Jacobian in Equation (28) is then , so each update trains only . The sampler Equation (5) uses with not necessarily zero. Therefore, in u-prediction, the flow map is trained only on its edge and leaves the entries with , which the sampler uses, without a gradient.
Building anchors with v-prediction. In u-prediction, the instantaneous velocity is not used. Alternatively, Equation (30) keeps , and the remaining question is how to construct from a network that outputs an average velocity. Following Example 5, there are two constructions.
Self-induced velocity. Equation (37) recovers the instantaneous velocity from the average velocity itself, as in MeanFlowNFT, which applies DiffusionNFT, regressed on the forward (noising) process, to an average-velocity policy (Huang et al., 2026b). The current prediction adds the same detached to , which gives the v-prediction
and the old policy gives the self-induced anchor Equation (38),
| u-form | v-form, shared-J (v-ind) | v-form, auxiliary (v-aux) | |
|---|---|---|---|
| (rollout) | |||
| trained | with | ; queried at only |
Table 1: The three few-step forms of the prediction and the anchors, with , and . The labels v-ind and v-aux are used in §5.
so that . Since is detached, Equation (41) still holds; shifts the prediction but does not change its Jacobian. The pair is the input of the network and is resampled at every update, so every on the trajectory enters . The loss itself is still evaluated at ; enters only as a network input and through , and does not change the level at which Equation (30) is evaluated.
Auxiliary velocity. The instantaneous velocity can instead be parameterised by a second network , fitted by Equation (9) to the samples of the model, so that its population target is the marginal velocity of ,
In the RL setting of §3.2, however, the rollouts are samples from and not from , so the target is the marginal velocity of ,
Its clean prediction is detached, like , and serves only as an anchor. The current prediction cannot be computed from , since would then vanish and the reward would not affect the policy. It is therefore computed from , e.g., as , , or the -free query , i.e., the transport of to the clean end with the average velocity queried at , which has the same Jacobian as . Its old-policy counterpart is with dropped, . The self-induced construction requires a Jacobian-vector product with a stop-gradient; the auxiliary construction requires a second network and optimiser that must follow a moving target.
Within the framework, a few-step method therefore does not introduce a new loss; it specifies how the four points of Equation (30) are computed and which entries of the flow map receive a gradient through . Table 1 summarises the three forms.
The first column trains only the edge of the map; the second and the third train all of it. The third column uses the auxiliary velocity only for the baseline and computes and at the same without ; has the same Jacobian as .
Example 6 (DiffusionNFT with u-prediction). With u-prediction, the weights and the rewarded sample of Equation (35) are unchanged, and , and both anchors become the prediction of the old policy,
Starting from the two squares of Equation (30),
where and . The copy of inside sg does not cancel with the copy outside. No J appears, the two anchors coincide, and involves only r=0. This is DiffusionNFT evaluated on the r=0 edge .
Example 7 (DiffusionNFT with v-prediction). The decomposition Equation (35) carries over, and the self-induced construction below keeps . The remaining choice is how to recover the instantaneous velocity used in Equation (21) from an average-velocity network, and Equation (49)–(52) give two ways to do so. The first is to use the self-induced velocity , which adds the Jacobian-vector term to every prediction of the policy and of the old-policy anchor, as in Equation (49)–(50); this construction gives the MeanFlowNFT-style variant (Huang et al., 2026b). The second is to fit an auxiliary network to the marginal velocity of the rollouts, Equation (51)–(52), and compute the baseline as , which leads to DMDNFT. In both cases the current prediction is computed from , since otherwise would vanish.
MeanFlowNFT queries the network at with , so every prediction of the policy is a v-prediction. Following prior directional-difference flow-map work (Nie et al., 2026; Gu et al., 2026), the MeanFlowNFT construction evaluates one derivative on the frozen old policy and shares it between the current and the old policy (Huang et al., 2026b), which gives the four points
(56)
Starting from the two squares of Equation (30),
(57)
(58)
The prediction is still the v-prediction of Equation (56). In , the shared detached J cancels between the current and old-policy predictions; in , it cancels between the two copies of the current prediction. The reward displacement still contains the old-policy prediction,
and therefore retains . Since is detached, the Jacobian is that of . Resampling then updates the family instead of only its edge.
DMDNFT is the alternative construction. In the losses, only the baseline changes, with fitted online to the old-policy rollouts by Equation (52). The current prediction is still computed from , since substituting would give . As in Equation (41), J is detached, so
Therefore, the four points are
(60)
Example 8 (Few-step DiffusionOPSD). DiffusionOPSD keeps the training scheme of DiffusionNFT but constructs the point toward which the policy should move, which requires a reward that is differentiable with respect to the clean sample. Three clean points are constructed at one query state at a small noise level (drawn from a law concentrated below 0.5, §6.1). The first is the old policy's prediction at this state, given by Equation (24),
The other two points are obtained by normalised reward-gradient steps in x-space, in the ascent and in the descent direction. Suppressing (i) on the iterates and indexing them by , and
for , with a small floor , the relative trust radius and the total step length in units of that radius. Each iterate is projected onto the ball of radius around the anchor; before projection, is times that radius. The final points are detached. For the projection is inactive, and their displacements are
The labels indicate the directions of construction. We construct the loss function in three steps:
(i) Fitting reuses the two x-space branches of Equation (26), now regressed onto the constructed points instead of the rollout sample:
(64)
with and non-negative and detached, the weight of Equation (18) and the adaptive normalisers with floor , and where denotes the per-sample mean, i.e., the average over the elements of one sample.
(ii) To decouple the loss into Equation (30) with gradient form Equation (28), note that the two branches are reflections of each other about the anchor, so both residuals are affine in the same displacement . Expanding the squares of and discarding the -free remainder therefore splits it into one square and two inner products, each written directly on the three constructed points:
the constant being , which has no gradient. Differentiating gives three terms with the same Jacobian,
Equations (65) and (66) contain one self-regression term and two reward-augmentation terms, indexed by k = 1, 2:
(67)
The self-regression is toward the old policy's prediction, as in Equation (35). The two reward terms share this baseline, , and differ only in the constructed rewarded point and its signed reward coefficient. The signs of and are not determined by the endpoint advantage ; no advantage is defined for the constructed points. They are fixed to be non-negative for the ascent branch and non-positive for the descent branch.
Applying Equation (29) to each reward term separately gives a loss with gradient Equation (66), in the form Equation (30) with two reward squares,
(68)
where , i.e. and . The branch magnitudes satisfy , so redistributes that total between the two branches. It can also change the common weight whenever . At only the ascent displacement remains, at only the descent displacement remains, and the self-regression and two reward-augmentation contributions sum to zero at .
(iii) For an average-velocity policy we take the v-prediction form of Equations (49)–(50), as in Example 7. Suppressing (i) and writing , the corresponding quantities are
(69) where the gradient steps Equation (62) are not started at , which contains J, but at the r=0 prediction of Equation (48), and only the resulting displacement is transferred to the anchor:
The weights are unchanged. We expand the three squares of Equation (68) in turn.
The self-regression is the self-regression square of Equation (57):
Both copies of J are the same detached estimate computed from , so they cancel.
The two reward squares are
(72)
where, by Equation (69),
Because is constructed from by Equation (70), also cancels from both reward squares (Appendix C). Hence no square of the loss contains , Equation (68) depends only on and the -free , and by Equation (41) the Jacobian is that of . FewStepOPSD in v-prediction form thus reduces to the -free query of §4.3 for every , not only at .
Example 9 (ReFL as Few-step DiffusionOPSD). Reward feedback learning (ReFL) backpropagates the gradient of a differentiable reward through a single late denoising step. Classic ReFL stops a rollout of the old-policy sampler at a small noise level without gradient and lets the policy predict the clean sample from that state with one network evaluation; as in Example 8, we instead evaluate the network at the re-noised state and maximise the reward of the resulting prediction,
with a loss weight . Only this final evaluation is differentiated,
where is the gradient with respect to the clean sample, as in Equation (62). The backward pass therefore propagates through the decoder and the reward model.
Consider Equation (68) with a single reward-gradient step, , no self-regression, , and only the ascent term , with any detached . For the single step is shorter than , the projection is inactive, and Equation (63) reads
The loss is the single square of Equation (68), using Equation (67), , and . Its gradient Equation (28) is
(77)
Compared with Equation (75), Equation (77) replaces by a detached, positive, sample-dependent factor and evaluates the reward gradient at the old policy's prediction instead of at (at for an instantaneous-velocity policy, and at in the few-step form below). It is therefore only a proxy for ReFL. If at the evaluation point, which holds at the first inner iteration after each refresh when the EMA-decay ratio is 0.0, then and the per-sample directions are collinear; exact equality additionally requires the positive factor to equal . Thus the DiffusionOPSD configuration with a single ascent step and no self-regression is a detached proxy of ReFL, by setting , , and the EMA-decay ratio as 0.0.
For the implemented few-step form, the current prediction and the old-policy anchor follow Equation (69), while the reward displacement is computed at the r = 0 prediction and transferred to by Equation (70):
(78)
The reward augmentation loss is Equation (72) with this ,
whose reward augmentation moves the prediction at each sampled along . Apart from and the velocity penalty, a step requires one detached rollout, two forward passes of (at and at ), one reward gradient, and one forward and backward pass of ; cancels, because it shifts both ends of the displacement equally, and is therefore dropped. With dropped and we have , which is the u-form. At a generic , only the current prediction and its anchor use ; the decoder and the reward are still evaluated at the clean prediction , while the resulting displacement trains .
5 Implementation
The framework of §4 is implemented as one base trainer whose method step runs one outer iteration. Each trainer of §§5.3–5.6 is a subclass that overrides a few stage methods, and the instantaneous-velocity estimator of §4.3, v-ind or v-aux, is a separate object passed to the trainer. Here v-ind uses the MeanFlow identity with the shared old-policy correction J to construct an instantaneous velocity from an average velocity, whereas v-aux uses an auxiliary velocity to approximate the instantaneous velocity of the old-policy rollout distribution (which DMD takes to be ), as in Equation (52). Stages 1 and 2 below operate on groups, since they produce and score the K members of a prompt, and keep the index (i) as in §§3–4.3. From Stage 3 onward the framework acts on one member at a time. The prediction, the three anchors and the three weights are per-sample quantities; the index is omitted in the equations and in the loss terms , , and becomes the leading batch axis in code.
5.1 A General Training Step
One outer iteration fixes an old policy , rolls it out, scores the rollouts, and then takes one gradient step on the mean over queries of
where is a detached rollout of prompt . The per-sample mean rescales every weight by relative to the squared norms of §4.2; this constant is absorbed into the learning rate. is the velocity penalty of Stage 4 with weight , evaluated on the same method-specific query.
The training workflow. One outer iteration consists of five operations, executed in order; the four method-specific stages of §1 are operations 1, 2, 4 and the loss inside 4, while operations 3 and 5 are shared bookkeeping.
(i) Rollout: the old policy samples members per prompt with the sampler of Stage 1, and the endpoints are detached.
(ii) Reward and advantage: each endpoint is decoded and scored, , and Stage 2 turns the rewards into the advantage and the mixing weight (Equation (83), Equation (84)).
(iii) Auxiliary fit: a trainer that uses the auxiliary velocity first fits it to these rollouts with the flow-matching loss Equation (88) for steps, before the policy is updated; the other trainers skip this step.
(iv) Training loss: inner iterations each draw a query (Stage 3 (i)), compute the prediction, anchors and coefficients (Stage 3 (ii)–(iv)), and accumulate the gradient of Equation (80) (Stage 4); one optimiser step is taken on their mean.
(v) Refresh: becomes the EMA of , and the next iteration rolls out with it.
In code, this is the method step of the base trainer in Code 1, one block per operation: rollout, advantage, estimator.fit, the loop over queries with anchors, weights and loss, and refresh_old. Each Query object is a view of the batch for one method-specific training query; fields it does not set, such as the advantage, are read from the batch.
A trainer of §§5.3–5.6 is a subclass that implements anchors and weights, and overrides another hook only where it changes that stage (Table 2). anchors returns the prediction and three anchors of Equation (90), with a tuple of rewarded anchors for FewStepOPSD; weights returns the detached coefficients, with signed and a tuple for FewStepOPSD, and loss is shared by every trainer except FewStepOPSD and ReFL, which override it. The named methods of §6 other than ReFL differ from their family only in the estimator they use.
Code 1: The base trainer: one outer iteration
@dataclass class Points: x_z: Tensor x_reg: Tensor | None x_base: Tensor | None x_rwd: Tensor | tuple[Tensor, ...] # prediction and anchors of Eq. (90) # the only tensor with a gradient # None disables self-regression # None disables reward augmentation # a tuple for multi-branch FewStepOPSD
class FewStepRLTrainer: estimator = VInd() ← \texttt{v-aux} n_it = n_ts ← uses 1 # Stage 3(ii)-(iii): \texttt{v-ind} or # default; FewStepGRPO uses , FewStepOPSD
def step(self, prompts): batch = self.rollout(prompts) R = reward(decode(batch.x_hat), batch.c) batch.A, batch.r_hat = self.advantage(R, batch.c) self.estimator.fit(batch) for q in selfQueries(batch): p = self anchors(q) W_reg, W_rwd, omega = self.weights(q, p) loss = self.loss(p, W_reg, W_rwd, omega) accumulate(mean_batch(loss + lam_kl * self.kl(q)) / self.n_it) self.update() self.refresh_old() # one step on # EMA of
def rollout(self, prompts): return ode_rollout(prompts, u_old)
def advantage(self, R, c): return adv_and_rhat(R, c)
def queries(self, batch): for _ in range(self.n_it): t, r = draw_tr(batch) eps = randn_like(batch.x_hat) yield Query(batch, t=t, r=r, eps=eps, x_t=add_noise(batch.x_hat, t, eps))
def anchors(self, q): raise NotImplementedError # -> Points
def weights(self, q, p): raise NotImplementedError # -> W_reg, W_rwd, omega
def loss(self, p, W_reg, W_rwd, omega): return loss(p, W_reg, W_rwd, omega)
5.2 Introduction to the Key Stages
This subsection describes, for each stage of Code 1, the default computation, its cost, and the choices that the framework determines.
Stage 1: the rollout operator Let ROLLOUT denote the sampler. We distinguish two cases.
(a) Sample-independent rollout. For every trainer except the FewStepOPSD family, the group members of a prompt are i.i.d. draws:
i.e. the only stochasticity is the initial noise (and, for the stochastic sampler below, the per-step Renoise). Members do not interact.
| stage | quantity | FewStepGRPO | FewStepAWM | FewStepNFT | FewStepOPSD | |||
|---|---|---|---|---|---|---|---|---|
| MeanFlowAWM | DMDAWM | MeanFlowNFT | DMDNFT | -general† | ReFL | |||
| rollout | SDE | ODE | ODE | ODE | ODE | ODE with | ODE with | |
| advantage | — | — | — | — | — | — | ||
| queries | , drawn as | |||||||
| anchors | ||||||||
| 0 | 0 | 0 | 0 | |||||
| weights | ||||||||
| loss | ||||||||
| estimator | v-ind, replay traj. | v-ind | v-aux | v-ind | v-aux | v-ind | v-ind | |
†-general is FewStepOPSD in its general form, with both the ascent and the descent points . The ReFL proxy configuration sets , keeps only the ascent point , and sets . , used together with the -free query . Dropping is exact, because cancels in every difference whose two terms contain the same detached . In DMDNFT it cancels in the self-regression square, Equation (60), while the baseline contains no ; in FewStepOPSD and ReFL it cancels in every square of the loss, Equation (71)–Equation (72), so the loss and its gradient are the same for every detached (Section C.2). and , with the adaptive normalisers of Equation (105): measured against in MeanFlowNFT, centred at and displaced along in DMDNFT, where , and measured against the constructed points in FewStepOPSD and ReFL (Equation (107)). The factor scales in NFT and general OPSD to undo the compression of the advantage in Equation (84) (§5.5), and is kept by the ReFL override. In FewStepOPSD and ReFL the sign of is fixed by construction, + for the ascent term and – for the descent term (Equation (67)), and is not determined by .
Table 2: Specific implementation of stages of Code 1 for each trainer of §6. The method-specific quantities , , , , , , , , and are defined in §§5.2–5.5.
The sampler uses the old policy and not , as indicated by the argument of Equation (81). One old policy is fixed per outer iteration, so that the rewarded endpoint , the regression anchor and the baseline anchor all refer to the same distribution, as required in §4.2, where and must be evaluated at the state from which is computed. If the samples were drawn from , the reward would be evaluated on a distribution different from the one described by the anchors, and would not be the advantage of the policy that defines the anchors.
(b) Reward-coupled rollout. For reward-coupled rollout, FewStepOPSD extends the rollout with the reward,
The members remain i.i.d.; the reward does not couple different members. For each member, the sampler of Equation (81) runs unchanged. The reward-coupled construction then applies Equation (62) from the prediction and transfers the resulting displacements to the anchor by Equation (70), giving together with the endpoint.
In code, rollout defaults to (a) with the deterministic sampler; FewStepGRPO overrides it with the stochastic sampler of §5.3, keeping the transitions, and FewStepOPSD appends the reward-coupled construction of (b).
Stage 2: reward and group advantage The generic advantage Equation (12) takes both the mean and the standard deviation over the group; the implementation changes the population of the standard deviation. With the endpoint reward ( the VAE decoder), the advantage is
where is the set of rewards of prompt in the current outer iteration and is the current global batch gathered across all ranks. The numerator and denominator use different populations. The per-prompt mean reduces the effect of prompt difficulty, and the global standard deviation avoids division by a near-zero value when all rewards in a group are equal.
The advantage is then compressed into a bounded mixing weight, generalising Equation (18) by replacing the unit clip range with a tunable :
Here means “far above the prompt’s mean”, “far below”, “average”. This [0,1] form distinguishes the NFT/OPSD families from FewStepGRPO and FewStepAWM, which use clip as a signed multiplier (§3.2); in Equation (97) and Equation (103) denotes this clipped value.
In code, advantage returns ; ReFL overrides it with .
Stage 3: anchors and weights The trainers differ mainly in this stage. It receives the detached rollout and returns the current prediction, the anchors and the detached coefficients; FewStepOPSD returns branch-indexed tuples for its rewarded anchors and . We describe it in four parts, namely (i) the query levels, (ii) the two ways to compute the clean prediction, (iii) the two estimators of the instantaneous velocity that these predictions require, and (iv) the weights.
(i) The training query . By default, a fresh pair is drawn at every inner iteration; “ is resampled at every update” in §4.3 refers to this draw: is drawn from a selectable law (the maximum of two uniforms or a logit-normal), , and a fixed fraction of the batch is set to and to . The three cases play different roles. For the interval has zero length and , so the network query is instantaneous and the loss reduces to its instantaneous-velocity form; trains the one-step generator and gives its largest prefactor ; the generic case lets reach for every in between, as required by the second column of Table 1.
(ii) The u- and v-predictions. Except for the replayed transition score of FewStepGRPO, the implemented reward losses evaluate Equation (21) at the clean level r = 0, but the network outputs the average velocity instead of the instantaneous velocity required by the map. Using directly gives the u-form:
Adding the detached correction of Equation (37) gives the v-form; since the prediction carries the gradient, v-ind builds it with the self-induced velocity, i.e.,
As in Equation (37), is computed from , so that a single estimate can be shared by all predictions, as required in (iii). Since is detached, by Equation (41) the Jacobian of the v-form is that of .
For the anchors , and , there are two alternatives in v-form, namely v-aux and v-ind.
(iii) Estimating the instantaneous velocity. There are two estimators of the instantaneous velocity, following MeanFlow (a.k.a. v-ind) and DMD (a.k.a. v-aux), respectively.
Self-induced , with shared J (v-ind). The v-form needs J only as a detached vector. The directional-difference estimate, for a step size , is
For the prefactor makes it zero. It requires two additional forward passes of per query, and one estimate is shared by the current prediction and the anchors, so the correction cancels in the self-regression difference and across , as discussed in Example 7.
Auxiliary , trained online (v-aux). is instead trained at every update by plain flow matching on the current rollout pool,
running steps of Equation (88) per outer iteration, before the policy update. The auxiliary-to-policy optimiser-step ratio is ( in §6). This requires no extra rollout and no , but it requires a second network and optimiser that must follow a target that changes with the policy, as stated in Example 7.
Code 2 implements the two instantaneous-velocity estimators as estimator objects. Their method fields returns the current and old-policy velocities of one query with one , so the estimate of (iii) is shared by construction; VInd adds the correction Equation (87), ReplayVInd uses Equation (109), VInd(cd=False) drops where it cancels (Appendix C), and VAux adds and fits it once per outer iteration by Equation (88).
Code 2: Instantaneous-velocity estimators
class VelocityEstimator: def r(self, q): return q.r def J(self, q, r): return 0. def v_base(self, q): return None def fit(self, batch): pass def fields(self, q, r=None): r = self.r(q) if r is None else r J = self.J(q, r) v_th = u_theta(q.x_t, q.t, r) + J v_old = sg(u_old(q.x_t, q.t, r)) + J return v_th, v_old, self.v_base(q)
class VInd(VelocityEstimator): def init(self, cd=True): self.cd = cd def directional_J(self, q, lower, tangent): if not self.cd: return 0. up = u_old(q.x_t + eps_cd * tangent, q.t + eps_cd, lower) dn = u_old(q.x_t - eps_cd * tangent, q.t - eps_cd, lower) return (q.t - lower) * sg(up - dn) / (2 * eps_cd) def J(self, q, r): return self.directional_J(q, r, q.v_cond) # tangent v_cond =
class ReplayVInd(VInd): def J(self, q, s): return self.directional_J(q, s, (q.x_t - q.x_hat) / q.t) # two forwards
class VAux(VelocityEstimator): def v_base(self, q): return sg(v_phi(q.x_t, q.t)) def fit(self, batch): for _ in range(n_fm): t, eps = draw_t(batch), randn_like(batch.x_hat) x_t = add_noise(batch.x_hat, t, eps) v_cond = eps - batch.x_hat aux_step(mean_sp((v_phi(x_t, t) - v_cond) ** 2))
(iv) The loss weights. Equation (28) leaves three per-sample, detached weights free,
namely the weight of the self-regression term, the weight of the reward-augmentation term, and the signed reward coefficient of the reward step. The four families differ mainly in these weights, which are given in Equation (97), Equation (103), Equation (106) and Equation (107) and returned, with the sign of , by the hook weights.
Stage 4: the decoupled two-term loss This stage implements Equation (30) without the group index and with the norms replaced by the per-sample mean mean [.] of Appendix A, which is the reduction used in the code. Given , every trainer except FewStepOPSD, which adds a second reward square ( 5.6), minimises
(90) with the reward displacement
(detached).
(91)
With a single reward term, the base interface is specified by six entries:
§§5.3–5.6 specify these quantities, one family at a time, from the derivations of Examples 6–9; FewStepOPSD provides branch-indexed entries. Setting switches off ; setting switches off .
Code 3: The decoupled loss
def self_regression(x_z, x_reg, W_reg): # L_reg return W_reg * mean_sp((x_z - x_reg) ** 2)
def reward_augmentation(x_z, x_rwd, x_base, omega, W_rwd): # L_rwd g = omega * (x_rwd - x_base) # Eq. (91); omega is signed # value -g, Jacobian the identity: Eq. (29) holds exactly return W_rwd * mean_sp((x_z - sg(x_z + g)) ** 2)
def loss(p, W_reg, W_rwd, omega): # Stage 4, Eq. (90) l = 0. if p.x_reg is not None: # x_reg = 0: no self-regression l = l + self_regression(p.x_z, p.x_reg, W_reg) if p.x_base is not None: # x_base = 0: no reward augmentation l = l + reward_augmentation(p.x_z, p.x_rwd, p.x_base, omega, W_rwd) return l
Code 3 implements Stage 4 except the velocity penalty. The cases correspond to the two None checks, so every trainer except FewStepOPSD and ReFL runs the same loss regardless of the anchors it defines.
In addition to Equation (90), an implemented loss may include a velocity penalty against a frozen reference with its own weight, which encourages the policy to stay close to the reference. This penalty is a separate term and not an additional anchor. The average-velocity reference is the initial pre-RL policy and remains fixed throughout training. For an endpoint-renoise query the KL-u penalty is
When the reference is an instantaneous velocity, here the teacher , it cannot be compared with directly for . We therefore convert it to an average-velocity target as in MeanFlow and regress onto it (the KL-v penalty),
5.3 FewStepGRPO: Replaying Stored Trajectories
FewStepGRPO is our replay-based surrogate adaptation of FlowGRPO (Liu et al., 2025a).
Stochastic sampler. The stochastic sampler generalises Equation (11). Each step first moves from to a level , drawn uniformly from the remaining grid levels, and then adds noise to return to level on the linear path,
where the leading coefficient matches the clean component at level and matches the noise variance, , which is non-negative if and only if . In Equation (94), is the level at which the flow map is queried and is the target level of the step; in the notation of Equation (5), the flow map is thus queried with lower endpoint rather than , and denotes the target level of the transition. Equation (11) is the case , with in place of .
Replay-trajectory query. Unlike endpoint-renoise trainers, it retains the transitions of the stochastic rollout, replays one stored per inner iteration, and redraws only the flow-map query level , with the law of in Stage 3 (i). The redrawn need not equal the grid level used at rollout time; Section B.2 shows that the scored kernel is unaffected by this choice at zero drift. Thus , one endpoint advantage supervises all transitions of a member, and the differentiated quantity is the mean of the scoring kernel at level instead of a clean prediction.
Scoring kernel. FewStepGRPO scores with an Euler-Maruyama Gaussian, which reads
(95)
Here , and are the Euler-Maruyama coefficients, is the kernel width, is the noise scale of the scoring kernel, and both means use the same detached correction evaluated on the replay trajectory with lower endpoint . The definition of that avoids the singularity at , the trajectory correction and the SDE derivation are deferred to Section B.2.
Anchors and weights. The tempered (per-element-averaged) scoring ratio and its detached clipping gate are, explicitly,
Thus when . The quantity is a surrogate scoring ratio rather than a rollout importance weight. The anchors and weights are
(97)
so only is differentiated. Sections B.2 and B.3 give the tempered interpretation and show that Equation (90) reproduces its clipped gradient. An auxiliary (v-aux) variant is not used because is fitted on endpoint-renoised states rather than replayed sampler states (Section B.1).
Code 4: FewStepGRPO: the replayed transition
class FewStepGRPO(FewStepRLTrainer): estimator = ReplayVInd() n_it = M_step
def rollout(self, prompts): return sde_rollout(prompts, u_old, keep_transitions=True)
def queries(self, batch): for x_t, x_r, t, r in batch.transitions: s = draw_s(t) yield Query(batch, t=t, r=r, s=s, x_t=x_t, x_r=x_r)
def anchors(self, q): v_th, v_old, _ = self.estimator.fields(q, r=q.s) # the velocity at (t,s) a, b, q.tau = em_coefffs(q.t, q.r) mu = a * q.x_t - b * v_th q.mu_old = a * q.x_t - b * v_old return Points(x_z=mu, x_reg=None, x_base=sg(mu), x_rwd=q.x_r)
def weights(self, q, p): l_new = mean_sp((p.x_base - p.x_rwd) ** 2) l_old = mean_sp((q.mu_old - p.x_rwd) ** 2) rho_grpo = exp((l_old - l_new) / (2 * q.tau ** 2)) # chi_grpo = clip_gate(rho_grpo, q.A, clip_range) # return 0., rho_grpo, chi_grpo * q.A / (2 * q.tau ** 2)
def kl(self, q): return mean_sp((u_theta(q.x_t, q.t, q.s) - u_ref(q.x_t, q.t, q.s)) ** 2)
5.4 FewStepAWM: MeanFlowAWM and DMDAWM
FewStepAWM adapts Equation (17) as one clipped reward-augmentation term on the matching residual of the model. It has no explicit self-regression term, and in MeanFlowAWM the reward displacement is measured from the detached current prediction.
Rollout and prediction. Stage 1 uses the deterministic rollout, , and every inner iteration draws a fresh , re-noises the rewarded endpoint and computes the v-prediction Equation (86),
so that, by Equation (22),
Thus regresses onto , the MeanFlow target Equation (8) with the conditional velocity in place of the teacher.
MeanFlowAWM anchors and weights. The method uses the rollout endpoint as the rewarded anchor, no explicit self-regression, and the current prediction as baseline: , , . Besides the shared J in , the old policy enters only through the weights, via the shared-J prediction of Stage 3 (iii),
The weights reuse the quadratic-exponential form of §5.3, but not its probabilistic interpretation:
Thus when . The implemented residual scale is ; unlike in FewStepGRPO, no sampler kernel determines this scale. The choice would cancel the factor in both residuals; when the floor is active, the factor remains:
and its factor equals one only above the floor. The resulting quantities are
Relative to Equation (32) with , the step has an extra factor , which comes from the Gaussian form of the statistic and is absorbed by the learning rate. is not an importance weight, since is not a transition of the rollout; through the gate , it limits one-sided changes of the matching residual relative to . We call this variant MeanFlowAWM.
DMDAWM variant. The reported v-aux variant, DMDAWM, drops J in the current and old-policy predictions (the J-free query and of §4.3) and replaces the reward baseline with the prediction of the auxiliary network:
(104)
Above the floor the factor equals one; descent moves along , with as a learned per-sample baseline. If a detached J were kept in the first two predictions, it would change only the scalar ratio and the clipping gate, but not the gradient direction. The reported method omits it, so it requires no directional-difference evaluation of J.
Decoupled loss. Both variants use Equation (90) with , so only remains. MeanFlowAWM measures the reward displacement from ; DMDAWM measures it from the auxiliary prediction . In code, FewStepAWM implements anchors and weights, and MeanFlowAWM and DMDAWM differ only in their estimator (Code 5).
| anchors | , | |
|---|---|---|
| v-ind | ||
| v-aux |
Table 3: Prediction and anchors of the two FewStepNFT variants; .
Code 5: FewStepAWM: anchors and weights
class FewStepAWM(FewStepRLTrainer): # no self-regression; def anchors(self, q): v_th, v_old, v_b = self.estimator-fields(q) x_z = X(q.x_t, v_th, 0) # Eq. (98) q.x_old = X(q.x_t, v_old, 0) # Eq. (100): statistic only # baseline: the current prediction, or the prediction of , Eq. (104) x_base = sg(x_z) if v_b is None else X(q.x_t, v_b, 0) return Points(x_z=x_z, x_reg=None, x_base=x_base, x_rwd=q.x_hat) def weights(self, q, p): # Eq. (103) tau = clamp(q.t, min=TAU_MIN) # l_new = mean_sp((sg(p.x_z) - p.x_rwd) ** 2) l_old = mean_sp((q.x_old - p.x_rwd) ** 2) rho_awm = exp((l_old - l_new) / (2 * tau ** 2)) # chi_awm = clip_gate(rho_awm, q.A, clip_range) # return 0., rho_awm, chi_awm * q.A / (2 * tau ** 2) class MeanFlowAWM(FewStepAWM): estimator = VInd() # shared J class DMDAWM(FewStepAWM): estimator = VAux() # baseline, no J
5.5 FewStepNFT: MeanFlowNFT and DMDNFT
FewStepNFT maps the two implicit branches of DiffusionNFT to the two terms of Equation (90). It contains both a self-regression term and a signed reward-augmentation term, with in both variants.
Anchors, predictions and weights. For the two variants, the quantities of Equation (35) are listed in Table 3.
The theoretical weights of Equation (35) are modified in the implementation, following its official implementation in (Zheng et al., 2026a). The derivation of §4.2 gives and , i.e. one fixed per-t scale for both branches, with from Equation (18) and normalised within the group. The implementation keeps the two branches but changes the following: the per-t scale is replaced by one adaptive normaliser per branch, , the mean absolute residual of that branch; is the compressed weight Equation (84) with clip range ; and is the advantage Equation (83). The weights are then
If , and is the group-normalised advantage Equation (12), they reduce to Equation (35), with and . In the implemented weighting, enters through as a mixing weight, scales both loss terms to undo the compression of the advantage by in Equation (84), so that the effective step does not shrink when the clip range is widened (Section B.3), and is defined directly. The v-ind estimator gives MeanFlowNFT, and the v-aux estimator gives DMDNFT.
Decoupled loss. Both variants minimise with the common weight , the rollout endpoint as , and Table 3 defining and .
Code 6: FewStepNFT: anchors and weights
class FewStepNFT(FewStepRLTrainer): # both squares on; def anchors(self, q): v_th, v_old, v_b = self.estimator-fields(q) x_z, x_reg = X(q.x_t, v_th, 0), X(q.x_t, v_old, 0) # same (t, r), same J # baseline: aliased to , or the prediction of , Eq. (60) x_base = x_reg if v_b is None else X(q.x_t, v_b, 0) return Points(x_z=x_z, x_reg=x_reg, x_base=x_base, x_rwd=q.x_hat) def branch_weights(self, q, p, x_pos, x_neg): # Eq. (105) dev = sg(p.x_z) - p.x_reg # direction from , centre g_pos = clamp(mean_sp(abs(p.x_base + beta * dev - x_pos)), min=eps_gamma) g_neg = clamp(mean_sp(abs(p.x_base - beta * dev - x_neg)), min=eps_gamma) return q.r_hat / g_pos, (1 - q.r_hat) / g_neg # enters ONLY here def weights(self, q, p): # Eq. (106), not (35) a_pos, a_neg = self.branch_weights(q, p, p.x_rwd, p.x_rwd) W = c_adv * beta ** 2 * (a_pos + a_neg) return W, W, (a_pos - a_neg) / (beta * (a_pos + a_neg)) class MeanFlowNFT(FewStepNFT): estimator = VInd() # , class DMDNFT(FewStepNFT): estimator = VAux() #
5.6 FewStepOPSD: Extended Reward Augmentation and ReFL
FewStepOPSD belongs to the family of reward-gradient-based methods (Xu et al., 2023; Clark et al., 2024; Wang et al., 2026) and is related to gradient-guided distribution matching (Dong et al., 2026). It implements Example 8 (iii) as a FewStepNFT trainer whose rewarded points are constructed from the reward gradient instead of sampled; it therefore uses the normalisers of Equation (105), and its configuration with a single ascent step is the ReFL proxy of Example 9. It modifies more stages than FewStepNFT. Stage 1 depends on the reward, the rewarded anchors are constructed points instead of rollout samples, and Stage 4 overrides loss. Stage 2 is unchanged, and enters only through the weights.
Rollout. FewStepOPSD uses the reward-coupled rollout Equation (82). It first draws the i.i.d. base samples with Equation (81). The reward-coupled construction then applies Equation (62), taking normalised reward-gradient steps in each direction from the r = 0 prediction , with the displacement transferred to the anchor by Equation (70), giving . The points are detached, so the computation graph of the reward ends here and the policy update does not back-propagate through the decoder or the reward model; the reward must be differentiable.
Anchors and weights. (i) Query. Each member is queried at a single level , drawn from the law given in §6.1; hence . As in Example 8 and Example 9, the query state is the re-noised endpoint , so the anchor is evaluated at the same state as the current prediction. The drawn is stored and reused at fitting time, so the current prediction and the anchor are queried at the same .
(ii) Anchors. The u-form uses and the v-form uses , Equation (69); in both, the rewarded anchors are . For the v-form, the gradient steps start from the prediction , which does not depend on , and only the resulting displacement is added to the anchor by Equation (70).
(iii) Instantaneous velocity. The v-form uses the shared of Stage 3 (iii). Because both rewarded points are constructed from the anchor, cancels in every difference in the loss, as in Equation (71) and Equation (72). The v-form reported in §6 drops and evaluates no directional difference (Equation (87)); in code its estimator is .
(iv) Weights. With Equation (105) evaluated at ,
(107)
so the sum of coefficient magnitudes is fixed at and redistributes it between the two terms. It can still change the common weight when . The factor scales the common weight but not the split between the branches.
Decoupled loss. The loss Equation (68) consists of one self-regression term and two reward-augmentation terms, which share the baseline and differ in the rewarded point and the coefficient ; the signs of are fixed by construction and do not depend on .
Code 7: FewStepOPSD: reward-coupled construction and loss
def tr_steps(x0, c, direction, M_tgt): # Eq. (62) radius = kappa * norm(x0); h = eta * radius / M_tgt x = x0 for _ in range(M_tgt): grad_R = grad(reward(decode(x), c), x) # through reward model AND decoder x = x + direction * h * grad_R / (norm(grad_R) + eps_g) d = x - x0 # trust region on the displacement x = x0 + d * clamp(radius / (norm(d) + eps_g), max=1.) return sg(x)
class FewStepOPSD(FewStepNFT): # NFT onto constructed points estimator = VInd(cd=False) # J cancels in the loss M_tgt, directions = 2, (+1, -1) def rollout(self, prompts): # Eq. (82) b = super().rollout(prompts) b.t, b.r = draw_t_logitnormal(b), draw_r(b) # stored, one per member b.x_t = add_noise(b.x_hat, b.t) x_old = X(b.x_t, u_old(b.x_t, b.t, b.r), 0) # the anchor shift = X(b.x_t, u_old(b.x_t, b.t, 0.), 0) - x_old # Eq. (70) b.x_pm = [tr_steps(x_old + shift, b.c, d, self.M_tgt) - shift for d in self.directions] # detached return b def queries(self, batch): # n_it = 1, stored (t, r) yield Query(batch, t=batch.t, r=batch.r, x_t=batch.x_t) def anchors(self, q): # Eq. (69) p = super().anchors(q) # : old-policy prediction return Points(x_z=p.x_z, x_reg=p.x_reg, x_base=p.x_base, x_rwd=q.x_pm) def weights(self, q, p): # Eq. (107) a_pos, a_neg = self.branch_weights(q, p, *p.x_rwd) # at W = c_adv * beta ** 2 * (a_pos + a_neg) s = beta * (a_pos + a_neg) return W, W, (a_pos / s, -a_neg / s) # def loss(self, p, W_reg, W_rwd, omega): # override, Eq. (68) (x_pos, x_neg), (om_1, om_2) = p.x_rwd, omega l_reg = self_regression(p.x_z, p.x_reg, W_reg) l_pos = reward_augmentation(p.x_z, x_pos, p.x_base, om_1, W_rwd) # positive ↔ branch l_neg = reward_augmentation(p.x_z, x_neg, p.x_base, om_2, W_rwd) # negative ↔ branch return l_reg + l_pos + l_neg
ReFL. The ReFL configuration of Equation (68), identified in Example 9, reuses the stages above, with the changes below. Stage 1 takes a single ascent step, , without a descent point. As for FewStepOPSD, the step starts at the r = 0 prediction and its displacement is added back by Equation (70), so is evaluated at as specified by Equation (78). Stage 2 is not used, because ReFL has no advantage; is fixed by construction and the implementation sets in Equation (107), giving and , detached and positive as Example 9 allows. The ReFL override keeps the factor of Equation (107). Stage 3 keeps the same anchors. Stage 4 keeps only with , i.e. the loss of Code 7 reduces to its ascent term (Code 8). The resulting gradient is that of Equation (79), the few-step form of Equation (77).
Code 8: ReFL: the proxy configuration of FewStepOPSD
class ReFL(FewStepOPSD): M_tgt, directions = 1, (+1,) def advantage(self, R, c): return None, ones_like(R) def weights(self, q, p): a_pos, _ = self.branch_weights(q, p, p.x_rwd[0], p.x_rwd[0]) return 0., c_adv * beta ** 2 * a_pos, (1. / beta,) def loss(self, p, W_reg, W_rwd, omega): # W_reg = 0: ascent term only return reward_augmentation(p.x_z, p.x_rwd[0], p.x_base, omega[0], W_rwd)
proxy configuration of Eq. (68)
one ascent step, no descent point
γ ≡ 1: no Stage 2
ω₁ = 1/β, W_rwd = c_advβ²/γ+
a_pos, _ = self.branch_weights(q, p, p.x_rwd[0], p.x_rwd[0])
return 0., c_adv * beta ** 2 * a_pos, (1. / beta,)
W_reg = 0: ascent term only
reward_augmentation(p.x_z, p.x_rwd[0], p.x_base, omega[0], W_rwd)
5.7 Cost of an Outer Iteration
Table 4 lists the network evaluations per inner iteration for each network. The rollout of Stage 1 is amortised over one outer iteration and is not counted here. Each entry is determined by the family and the estimator of §5.1: by queries, by the estimator (2 for the directional-difference estimate of v-ind, and 0 otherwise), and and the auxiliary part of by v-aux; the reward-coupled construction of FewStepOPSD and ReFL is counted in . The counters , , , , , , and are defined in the caption and listed in Appendix A.
| Trainers | |||||||
|---|---|---|---|---|---|---|---|
| §5.3, FewStepGRPO | 1 | 1 | 2 | — | 1 | — | |
| §5.4, MeanFlowAWM | 1 | 1 | 2 | — | 1 | — | |
| §5.4, DMDAWM | 1 | 1 | 0 | 1 | 1 | forwards and backwards of | |
| §5.5, MeanFlowNFT | 1 | 1 | 2 | — | 1 | — | |
| §5.5, DMDNFT | 1 | 1 | 0 | 1 | 1 | forwards and backwards of | |
| §5.6, FewStepOPSD | 1 | 1 | 1 | 0† | — | 1 | 2 reward backwards, 2 no-grad forwards of |
| Example 9, ReFL | 1 | 1 | 1 | 0† | — | 1 | 1 reward backward, 2 no-grad forwards of |
Table 4: Network evaluations per inner iteration. : number of inner iterations per outer iteration, each querying every member once; : forward-backward passes of ; : no-grad forwards of for the old-policy anchor; : maximum extra no-grad forwards of for the directional-difference estimate of (Equation (87) or Equation (109)); 0 where the estimator uses no ; †with dropped because it cancels, which leaves the loss and its gradient unchanged by Appendix C); : forwards with no gradient of the auxiliary network ; : forwards of the frozen reference for the velocity penalty; : extra cost per outer iteration, where is the number of flow-matching steps that fit . The cost of one outer iteration is thus (), where is the plain rollout of Stage 1.
6 Experiment
Having established a general view of these methods, we use experiments to answer three questions. Every trainer of §§5.3–5.6 implements one of these methods, minimises the same loss form, and differs mainly in its anchors and weights. (i) Which of these choices, in particular the reward signal and the estimator of the instantaneous velocity, determine how effectively and how efficiently a few-step generator is fine-tuned, and how strongly it exploits the reward? (ii) Do these conclusions carry
| class | method | reward signal | query of | instantaneous field | |
|---|---|---|---|---|---|
| Group-adv. | FewStepGRPO, §5.3 | A | , replayed | Eq. (109) | |
| MeanFlowAWM, §5.4 | A | Eq. (87) | |||
| DMDAWM, §5.4 | A | baseline; | |||
| MeanFlowNFT, §5.5 | Eq. (87) | ||||
| DMDNFT, §5.5 | |||||
| Reward-grad. | FewStepOPSD, §5.6 | (App. C) | |||
| ReFL, §5.6 |
Table 5: The methods compared; ReFL is Example 9. Class: the first five methods compute scalar rewards for the members of each prompt group and form per-sample advantages using the per-prompt mean and current global-batch standard deviation of Equation (83), so they are group-advantage-based. The final two obtain their clean-sample update direction from and are reward-gradient-based; FewStepOPSD still uses only to split the ascent/descent weights. Reward signal: the advantage as a signed multiplier (), as a mixing weight (, Stage 2), or the reward gradient (, Equation (62)). Every method except FewStepGRPO uses the deterministic sampler of Equation (5) in Stage 1. Appendix C establishes when dropping (last column) is admissible.
over to a different modality, or do they show limitations in other scenarios? (iii) Does a generator fine-tuned at a few steps improve when it is sampled with more steps, without retraining?
6.1 Setup on Image Generation
Generator and sampler. The policy is the average-velocity network of §3, initialised from the pretrained SD3.5-Medium backbone (Stability AI, 2024; Esser et al., 2024) and distilled with AnyFlow (Gu et al., 2026), which first trains with the MeanFlow identity Equation (6) and then applies on-policy distribution matching Equation (10) against the frozen teacher. Reinforcement learning trains a LoRA (Hu et al., 2022) of rank 32 (scaling 64) on the attention projections, at resolution . We set steps on the grid of levels , without classifier-free guidance (Ho and Salimans, 2021), with the deterministic sampler of Equation (5) for every trainer except FewStepGRPO, which requires the stochastic sampler of Equation (94). Evaluation always uses the deterministic sampler on the same grid.
Optimisation. In Stage 1 and Stage 2, each outer iteration draws 48 prompts with members each, i.e. 1152 rollouts, on 8 NVIDIA H20 GPUs. All methods use AdamW (Loshchilov and Hutter, 2019) with learning rate , weight decay and gradient-norm clipping at 1; an old policy given by an EMA of , refreshed once per outer iteration after the policy update with the decay schedule of the official DiffusionNFT implementation (Section D.1); for the NFT/OPSD families, and in Equation (84); and the KL-u penalty against the fixed AnyFlow initial policy, using Equation (92) with weight . An ablation with the penalty Equation (93), labelled KL-v, on MeanFlowNFT is given in Section D.4. Stage 3 () draws and as the maximum and the minimum of two uniforms before the time shift of the SD3 scheduler, (shift 3.0, the same shifted grid as in sampling), sets half of each batch to and a quarter to , and uses queries per member and outer iteration. The floors are , , and , and (Section D.1).
Rewards. We use two reward settings to test the methods. The first is the OCR setting, where the reward is the OCR accuracy of the text rendered in the image with the OCR prompts. It has no gradient with respect to the clean sample, so FewStepOPSD and ReFL, which require , do not apply. In the mixed-reward setting the reward is the unweighted sum of CLIPScore, HPSv2 and PickScore on the PickScore prompt set (Hessel et al., 2021; Wu et al., 2023; Kirstain et al., 2023).
Specific settings. For the group-advantage-based methods, , with for Few-StepGRPO and for the others. FewStepGRPO retains the states of Equation (94) and uses the base noise scale of in Equation (95) (Equation (110)), with clipping radius (OCR) or (mixed reward) in ; MeanFlowAWM and DMDAWM use radius (OCR) or (mixed reward) in . For DMDAWM and DMDNFT, the auxiliary velocity is fitted by Equation (88) with learning rate and steps per outer iteration. FewStepOPSD uses , and in Equation (62), with of the full training reward, drawing from a logit-normal law with median 0.278 (5–95% range [0.125, 0.508]), i.e., the small noise levels of Example 8, and as in Stage 3 (i). ReFL is Example 9 with , and of the full training reward; for a fair comparison, is also the EMA of . A summary of the methods is given in Table 5.
Baselines. In the mixed-reward setting we additionally run the original objectives on the pre-RL few-step model without the adaptation of §4.3, i.e., with the average velocity , drawn as in Stage 3 (i) ( for FlowGRPO), substituted for the instantaneous velocity wherever the original objective requires one. For DiffusionNFT and AWM, it is Equation (47) with in place of . For FlowGRPO, this substitution is not theoretically solid. We denote these baselines by the names of the original methods, FlowGRPO, AWM and DiffusionNFT, and compare them with FewStepGRPO, MeanFlowAWM and MeanFlowNFT, respectively, while keeping the other setting the same. In addition, by Appendix C, the detached correction cancels from its v-form loss, so the u-form in the FewStepOPSD family is the special case of the v-form in which is fixed to 0 instead of being drawn at every query, so we did not compare them.
Evaluation. Three sources are used, with the conventions of the figures. (i) Online, every 50 iterations, within training: the aesthetic score, CLIPScore and OCR accuracy, and in the mixed-reward setting HPSv2 and PickScore; on DrawBench prompts (Saharia et al., 2022) in the mixed-reward setting, and on the OCR prompt set for OCR accuracy and for every dimension of the OCR setting. (ii) Offline, at the checkpoints saved every 100 iterations, on 256 images with seed 12345 and the same prompts: HPSv3 and ImageReward (Ma et al., 2025b; Xu et al., 2023). (iii) Offline, GenEval2 (Soft-TIFA) (Kamath et al., 2025), the successor to GenEval (Ghosh et al., 2023), in its official evaluation setting, following MeanFlowNFT (Huang et al., 2026b) (Section D.1). The LAION aesthetic score (Schuhmann, 2022), HPSv3, ImageReward and GenEval2 serve as held-out evaluators, as do OCR accuracy in the mixed-reward setting and CLIPScore in the OCR setting. Iteration 0 is the shared AnyFlow Init. checkpoint.
6.2 Setup on Video Generation
Generator and sampler. The policy is the few-step generator of §3 on the Wan2.1-T2V-1.3B backbone (Team Wan et al., 2025), distilled on-policy with AnyFlow (Gu et al., 2026) against its frozen teacher as in the image setting. Reinforcement learning trains a LoRA (Hu et al., 2022) of rank 32 (scaling 64) on the attention projections, at and 81 frames, i.e. latents of shape
. We set steps without classifier-free guidance (Ho and Salimans, 2021), with the deterministic sampler of Equation (5) for every method except FewStepGRPO, which requires Equation (94). Evaluation always uses the deterministic sampler.
Optimisation. Each outer iteration draws two batches, each with 2 prompts per rank and members, on 32 NVIDIA H20 GPUs, i.e. 2048 rollouts per outer iteration. We use AdamW (Loshchilov and Hutter, 2019) with learning rate and gradient-norm clipping at 1; is an EMA of refreshed once per outer iteration; for the NFT/OPSD families, and in Equation (84); the KL-u penalty against the fixed AnyFlow initial policy uses Equation (92) with weight ; and each member is queried times, with half of each batch set to and a quarter to . For FewStepOPSD and ReFL, the world size is 48 instead, because computing the gradient with respect to the video latents requires much memory, while the per-rank batch is unchanged. FewStepOPSD and ReFL therefore use 3072 rollouts per outer iteration, 1.5 times as many as the 32-GPU runs. The runs are thus matched in the number of outer iterations but not in the number of samples, and the quality comparison should be interpreted with this caveat. GPU-hours remain comparable across runs, whereas s/iter is reported but is not comparable across runs with different world sizes.
Rewards. Using the same four reward components as the LongCat/MeanFlowNFT video setup (Meituan LongCat Team et al., 2025; Huang et al., 2026b), we define our training reward as an unweighted sum. The HPSv3 scorer (Ma et al., 2025b) enters through HPSv3-general and HPSv3-percentile (per-frame, the latter the mean of the top 30% of frames under the caption); VideoAlign's motion quality (MQ) and text alignment (TA) are drawn from video-feedback scoring (Liu et al., 2025b). MQ and TA are z-normalised before entering the sum; tables report their raw scorer outputs. Only HPSv3 is differentiable here, and its two reductions account for 96% of the aggregate reward under the z-normalised weights (Section D.5). The VideoAlign reward takes file paths as input and decodes the videos in its own pipeline, so there is no differentiable path from the latents to this reward. FewStepOPSD and ReFL therefore use only the gradients of the HPSv3 terms, while they are evaluated on all four terms; Section D.5 quantifies this asymmetry, which does not occur in the image setting.
Specific settings. As in the image setting, for the group-advantage-based methods ( for FewStepGRPO, for the others), and the auxiliary velocity is fitted by Equation (88) with learning rate and steps per outer iteration for DMDAWM and DMDNFT. Because there is one reward setting rather than two, the gate radius is used for both in FewStepGRPO and in MeanFlowAWM/DMDAWM, and FewStepGRPO uses in Equation (95). FewStepOPSD and ReFL require further settings, because the video backbone imposes three constraints on that do not occur in the image setting. First, as stated above, is computed from the two HPSv3 reductions instead of the full training reward; the VideoAlign terms still enter the reward and the advantage but do not contribute to the gradient. Second, the reward model is cast to fp32 with the sdpa attention backend; with the released bfloat16 weights, the reward gradient changes direction substantially while the reward value changes by only , and since Equation (62) normalises to unit length and thus uses only its direction, this error directly affects the update. Third, the video is decoded one latent frame at a time, so is computed from 21 of the 81 pixel frames of a clip, each decoded without its causal prefix; Section D.5 reports the memory measurements that make this necessary.
(a) OCR setting
| trainer | s/iter | OCR accuracy at iteration | first it. with OCR ≥ 0.85 (h) | at the first saved checkpoint with OCR accuracy > 0.82 it. | OCR | aesthetic | HPSv3 | ImageReward | GenEval2 | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 50 | 100 | 150 | 200 | |||||||||
| AnyFlow Init. | — | — | — | — | — | — | 0 | 0.498 | 5.24 | 12.86 | 1.233 | 0.363 |
| FewStepGRPO | 451 | 0.599 | 0.645 | 0.708 | 0.776 | —a | — | — | — | — | — | — |
| MeanFlowAWM | 496 | 0.575 | 0.661 | 0.755 | 0.802 | —a | — | — | — | — | — | — |
| DMDAWM | 342 | 0.698 | 0.820 | 0.902 | 0.936 | 150 (14.3) | 200 | 0.936 | 4.49 | 5.05 | 0.092 | 0.244 |
| MeanFlowNFT | 483 | 0.785 | 0.850 | 0.945 | 0.934 | 100 (13.4) | 100 | 0.850 | 4.99 | 10.64 | 0.887 | 0.306 |
| DMDNFT | 346 | 0.765 | 0.829 | 0.879 | 0.897 | 150 (14.4) | 100 | 0.829 | 4.69 | 7.58 | 0.556 | 0.277 |
| FewStepOPSD ReFL | not applicable: OCR accuracy has no gradient with respect to the sample decoded from rollout latents | |||||||||||
⁰Not reached within the 200-iteration horizon of Figure 3; OCR accuracy at iteration 200 is 0.776 (FewStepGRPO) and 0.802 (MeanFlowAWM).
(b) Mixed-reward setting, iteration 400
| method | s/iter | h | training reward | held-out reward | GenEval2 (held-out) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sum | HPSv2 | PickScore | CLIPScore | aesthetic | OCR | HPSv3 | ImageReward | it. 400 | mean | best (it.) | |||
| AnyFlow Init. | — | — | 1.450 | 0.297 | 0.864 | 0.289 | 5.36 | 0.507 | 10.30 | 1.113 | 0.363 | — | — |
| FewStepGRPO | 423 | 47.0 | 1.461 | 0.311 | 0.867 | 0.283 | 5.80 | 0.382 | 11.58 | 1.193 | 0.379 | 0.375 | 0.379 (400) |
| MeanFlowAWM | 425 | 47.2 | 1.477 | 0.308 | 0.890 | 0.279 | 5.92 | 0.413 | 12.59 | 1.265 | 0.363 | 0.357 | 0.397 (100) |
| DMDAWM | 304 | 33.8 | 1.498 | 0.326 | 0.891 | 0.281 | 5.86 | 0.424 | 13.10 | 1.272 | 0.353 | 0.346 | 0.377 (100) |
| MeanFlowNFT | 435 | 48.3 | 1.509 | 0.329 | 0.899 | 0.281 | 6.04 | 0.461 | 13.23 | 1.385 | 0.407 | 0.393 | 0.411 (300) |
| DMDNFT | 326 | 36.2 | 1.519 | 0.332 | 0.902 | 0.285 | 5.98 | 0.448 | 13.49 | 1.343 | 0.412 | 0.375 | 0.412 (400) |
| FewStepOPSD | 268 | 29.8 | 1.641 | 0.373 | 0.946 | 0.322 | 5.91 | 0.493 | 13.06 | 1.476 | 0.463 | 0.442 | 0.463 (400) |
| ReFL | 219 | 24.3 | 1.623 | 0.368 | 0.938 | 0.317 | 5.89 | 0.546 | 13.24 | 1.469 | 0.452 | 0.451 | 0.465 (200) |
Table 6: Main results. (a) OCR setting, restricted to the 200-iteration horizon of Figure 3. (b) Mixed-reward setting at iteration 400: s/iter and wall-clock hours to iteration 400; the training reward and its three summands; the held-out evaluators; GenEval2 at iteration 400, averaged over iterations 100–400, and at the best checkpoint. Bold: best among the trained methods per comparable column.
Evaluation. We use two evaluations that measure different properties. (i) Every 10 iterations, we compute the four training rewards on 256 held-out prompts with seed 12345. Since this is the training objective, it cannot distinguish a quality gain from reward hacking. (ii) At iteration 250, we evaluate VBench (Huang et al., 2024) on 946 GPT-augmented prompts × 5 samples = 4730 videos per method, with all 16 dimensions aggregated by the quality/semantic/overall weights of AnyFlow (Gu et al., 2026). No method optimises any part of it. Iteration 0 is the shared pre-RL checkpoint trained with AnyFlow.
6.3 Main Results on Image Generation
Effectiveness. Table 6 and Figures 3 and 4 support the following observations.
(i) The adaptation of §4.3 is beneficial in these runs, and the v-prediction form gives better performance in most of these comparisons (Figures 1 and 6). FewStepGRPO raises the training reward from 1.450 to 1.461 and the held-out HPSv3 from 10.30 to 11.58, whereas FlowGRPO, its counterpart with direct employment of average-velocity, leaves the training reward at 1.438 and lowers HPSv3 to 9.62. Meanwhile, MeanFlowNFT as the v-prediction counterpart of DiffusionNFT, which is the direct employment of average-velocity, reaches a training reward of
OCR setting (200 RL iterations; online eval every 50, offline every 100)

FewStepGRPO MeanFlowAWM DMDAWM MeanFlowNFT DMDNFT
Figure 3: OCR setting: the evaluated dimensions against the iteration, over the first 200 iterations. Top row: online evaluation every 50 iterations. Bottom row: offline evaluation at saved checkpoints, every 100 iterations; HPSv3 and ImageReward on the OCR prompts, GenEval2 on its own prompts.
Mixed-reward setting (400 RL iterations; online eval every 50, offline every 100)

FewStepGRPO MeanFlowAWM DMDAWM MeanFlowNFT DMDNFT FewStepOPSD ReFL
Figure 4: Mixed-reward setting: the evaluated dimensions against the iteration, over the first 400 iterations. The first panel is the training reward; OCR accuracy, HPSv3, ImageReward and GenEval2 are held out. Online evaluation every 50 iterations, offline evaluation at saved checkpoints every 100.

Figure 5: Mixed-reward setting: GenEval2 of each trainer's best checkpoint within 400 iterations. (a) Left: against the wall-clock time to reach it, s/iter times the iteration, on 8 GPUs. (b) Right: against s/iter. Both panels show the same checkpoints, so they share the vertical axis and the legend, and a trainer moves only horizontally from (a) to (b). The number beside each marker is the iteration of that checkpoint.
1.509 against 1.440, and is higher on the held-out HPSv3 (13.23 against 11.79), ImageReward (1.385 against 1.317) and best GenEval2 (0.411 against 0.399), the last within the ~0.03 resolution.
(ii) In the OCR setting, DMDAWM, MeanFlowNFT and DMDNFT raise OCR accuracy from 0.498 to at least 0.85 within 100–150 iterations, whereas MeanFlowAWM and FewStepGRPO reach only 0.802 and 0.776 at iteration 200. Furthermore, it can be observed that within the 200-iteration horizon of Figure 3, the highest logged OCR accuracy is reached by MeanFlowNFT, about 0.945 at iteration 150, and it is also the first to reach 0.85, at iteration 100. DMDAWM starts lower at iteration 50 but rises steeply thereafter and reaches 0.936 at iteration 200, where the two curves coincide within the resolution of the plot (Table 6a). Its rapid rise is consistent with a combination of two properties. (i) It has no self-regression ( ), so only reward augmentation contributes to its decoupled update. (ii) It is DMD-based and models the instantaneous velocity with the auxiliary network , which is refitted to the current rollouts at every iteration, so the baseline follows the policy; since this baseline is fixed within an update, reward augmentation uses the direction instead of one based on the directional-difference estimate Equation (87). This fast increase coincides with the large held-out degradation; at its first checkpoint with OCR accuracy above 0.82, HPSv3 drops from 12.86 to 5.05 and ImageReward from 1.233 to 0.092.
(iii) In the mixed-reward setting, FewStepOPSD and ReFL achieve the two highest training rewards, with FewStepOPSD highest at the final iteration. Using the gradient of the full reward, the two raise the training reward from 1.450 to 1.64 and 1.62, against 1.46–1.52 for the five group-advantage methods, and they also lead on ImageReward and GenEval2. Their curves nearly coincide (Figure 4); the logged coefficient magnitudes of FewStepOPSD differ by 0.24 between the two branches, i.e. 2.4% of their fixed sum , although the two reward-augmentation vectors also depend on their different increments (Section D.3). Among the five group-advantage

(a) FewStepGRPO ( ) vs. FlowGRPO

(b) MeanFlowAWM ( ) vs. AWM

(c) MeanFlowNFT ( ) vs. DiffusionNFT
Figure 6: Mixed-reward setting: the baselines of §6.1 against the few-step adaptations of this paper (solid), from the shared pre-RL checkpoint. Panels as in Figure 4. Each annotated gap is the adaptation minus the baseline, at the best checkpoint of the baseline and at iteration 400; the two coincide when the baseline is best at iteration 400. GenEval2 for the same runs is shown in Figure 1.
| trainer | s/iter | sampling (s) | update (s) | forwards for | |||
|---|---|---|---|---|---|---|---|
| FewStepGRPO | 423 | 78.7 | 344.2 | 4 | 8 | 0 | 0 |
| MeanFlowAWM | 425 | 78.3 | 344.5 | 4 | 8 | 0 | 0 |
| DMDAWM | 304 | 78.2 | 223.4 | 4 | 0 | 1 | 5 |
| MeanFlowNFT | 435 | 78.8 | 354.6 | 4 | 8 | 0 | 0 |
| DMDNFT | 326 | 78.4 | 244.7 | 4 | 0 | 1 | 5 |
| FewStepOPSD | 268 | 224.7 | 43.3 | 1 | 0 | 0 | 0 |
| ReFL | 219 | 174.6 | 44.2 | 1 | 0 | 0 | 0 |
Table 7: Cost of one outer iteration in the mixed-reward setting, split into the sampling time (rollout, reward and, for FewStepOPSD and ReFL, the reward-coupled construction of Equation (82)) and the update time; medians over the timers in the training logs, on 8 H20 GPUs. The small residual between the sum of the two times and s/iter covers the refresh of and logging.
methods, DMDNFT and MeanFlowNFT come next and perform similarly (training reward 1.51–1.52, GenEval2 0.41 at iteration 400).
(iv) In the default mixed-reward configuration, none of the five group-advantage runs increases CLIPScore, which decreases slightly from 0.289 to 0.279–0.285, whereas FewStepOPSD and ReFL raise it to 0.317–0.322. Dedicated CLIP-focused group-advantage ablations do increase it (Section D.2).
Efficiency. We measure efficiency by the time per iteration (Table 7) and the time to reach the best checkpoint (Figure 5a). It can be observed that
(i) The two reward-gradient-based methods are the cheapest per iteration, 219s for ReFL and 268s for FewStepOPSD, because they compute one update direction per member in the clean-sample space with one query of instead of four (), and because cancels in their loss. However, their sampling time, which includes the reward-coupled rollout of Equation (82), is 175–225s per iteration, against about 78s for the plain rollout of the other five methods (Table 7). Since the reward is defined in pixel space, its gradient with respect to the clean latent requires back-propagation through both the reward model and the VAE decoder.
(ii) The directional-difference evaluations Equation (87) and Equation (109) for the shared- v-form plausibly account for most of the cost difference. FewStepGRPO, MeanFlowAWM and MeanFlowNFT require two additional forward passes of per query. These methods take 423–435s, against 304–326s for DMDAWM and DMDNFT, which compute the baseline from and compute no . The difference arises in the update time (344–355 against 223–245s), and the OCR setting gives the same ordering (451–496 against 342–346s).
(iii) ReFL has a marginally higher best GenEval2 point estimate than FewStepOPSD (0.465 against 0.463), but the 0.002 gap is below the stated 0.03 resolution and does not separate the two methods. ReFL reaches its selected checkpoint after 12.2 h (iteration 200), whereas FewStepOPSD continues to iteration 400 (29.8 h); both peak on the held-out aesthetic score and HPSv3 by iteration 100 (the aesthetic trajectory of FewStepOPSD is tabulated in Table S1; HPSv3 is read from Figure 4), after which these scores decline while the training reward still rises, which is consistent with the onset of reward hacking. Among the group-advantage-based
| method | GPUs | s/iter | GPU-h | training reward | VBench (held-out) | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| sum | HPSv3-G | HPSv3-P | MQ | TA | overall | quality | semantic | ||||
| AnyFlow Init. | — | — | — | 16.54 | 6.42 | 9.43 | 2.64 | 1.85 | 83.68 | 85.36 | 76.98 |
| FewStepGRPO | 32 | 735 | 1633 | 15.89 | 6.24 | 9.38 | 2.40 | 1.23 | 83.62 | 85.27 | 76.98 |
| MeanFlowAWM | 32 | 737 | 1637 | 16.66 | 6.49 | 9.46 | 2.68 | 1.84 | 83.70 | 85.36 | 77.04 |
| DMDAWM | 32 | 821 | 1824 | 16.78 | 6.51 | 9.53 | 2.74 | 1.82 | 83.64 | 85.35 | 76.76 |
| MeanFlowNFT | 32 | 734 | 1631 | 16.80 | 6.53 | 9.51 | 2.76 | 1.80 | 83.62 | 85.34 | 76.75 |
| DMDNFT | 32 | 821 | 1824 | 17.93 | 7.01 | 10.01 | 3.06 | 1.68 | 83.38 | 85.07 | 76.63 |
| FewStepOPSD | 48 | 787 | 2623 | 16.26 | 6.30 | 9.32 | 2.54 | 1.91 | 83.60 | 85.37 | 76.53 |
| ReFL | 48 | 728 | 2426 | 16.46 | 6.39 | 9.38 | 2.61 | 1.89 | 83.69 | 85.40 | 76.85 |
The four component columns show raw scorer outputs; the sum uses the logged z-scores for MQ and TA. GPU-h = GPUs × s/iter ×250/3600, truncated to integer hours, is the comparable cost because the methods ran on different world sizes with a fixed per-rank batch. Consequently, the 48-GPU rows use 1.5× as many rollouts per iteration and are not sample-budget-matched to the 32-GPU rows. The dimension-level VBench results underlying the three aggregates are reported in Table S2 of Appendix D. For FewStepOPSD and ReFL, only part of the video reward is differentiable, unlike in the image setting (Section D.5).
Table 8: Main results on video generation at iteration 250. Left: cost. Middle: the aggregate training reward and its four components on 256 held-out prompts. Right: VBench, which no method optimises. Bold: best per comparable column; s/iter is compared only among the 32-GPU rows.
methods, MeanFlowAWM and DMDAWM reach their best GenEval2 early, at iteration 100 (11.8 and 8.4h), but at lower values (0.397 and 0.377).
6.4 Main Results on Video Generation
Effectiveness. Table 8 and Table S2 support the following observations.
(i) FewStepGRPO is the least effective at increasing the training reward. It is the only group-advantage-based method that ends below the shared initialisation (15.89 against 16.54), and its TA drops markedly, from 1.85 to 1.23. Among the group-advantage-based methods DMDNFT is the most effective, raising the training reward to 17.93 (+1.39) and leading on three of its four terms. In this run the larger training-reward gain coincides with larger held-out degradation. Against MeanFlowAWM, the highest on VBench overall, DMDNFT is 0.32 lower in VBench overall (83.38 against 83.70, last of the seven), 5.56 lower in dynamic degree (53.33 against 58.89, the lowest of any method) and 0.16 lower in TA (1.68 against 1.84).
(ii) Among the remaining methods, FewStepOPSD and ReFL have the lowest training reward after FewStepGRPO, ending at 16.26 and 16.46, slightly below the initialisation. For video, the reward gradient must be computed for every latent token of a long sequence, through the decoder and the reward model, which requires several numerical simplifications in the reward-gradient-based runs. Their VBench point estimates degrade less than that of DMDNFT in these runs, which does not establish that they protect against reward exploitation. TA rises above the initialisation (1.91 and 1.89 against 1.85), ReFL is second on VBench overall (83.69) and first on quality (85.40), and FewStepOPSD has the highest aesthetic quality, background consistency and appearance style of any method (70.87, 95.68 and 74.53); FewStepOPSD and ReFL have the second- and third-highest dynamic degree (59.44 and 59.17).
Efficiency. The GPU-hours in Table 8 lead to the following observations.
(i) Unlike in the image setting, the DMD-based methods are slower than their MeanFlow counterparts, in both s/iter (821 against 734–737 s) and GPU-hours. With , omitting the directional difference saves up to 8 forward passes of without gradient per member ( queries, two each) but adds 5 forward and backward passes of per outer iteration. The fit costs about 144 s per iteration and the net s/iter difference is +84–87 s, so the saved passes account for about 60 s by difference; the fit dominates, plausibly because backward passes through the larger video model are expensive.
(ii) The reward-gradient-based methods lose their cost advantage from the image setting and are the two most expensive in GPU-hours. FewStepOPSD and ReFL have a sampling time of up to 674 s per iteration (FewStepOPSD), which includes the reward-gradient computation, against ~291 s for the other methods, and an update time of only 112 s. The gradient of a video reward with respect to the latent tokens is expensive, plausibly because the latent sequence is much longer than for images and because both the reward model and the decoder are larger than their image counterparts. In addition, MQ and TA are not differentiable (§6.2), which further limits these two methods.
6.5 Test-Time Scaling Analysis
In deployment, a few-step model should ideally support several operating points on the quality-latency trade-off, using its training step count for most requests and more sampling steps when higher quality is required. This motivates training at a small while allowing more solver steps at inference. If quality improves without retraining, the model supports test-time scaling and can trade compute for output quality. Flexible-step generation and inference-time scaling have also been studied for consistency-type models, improved MeanFlow and scalable generators (Kim et al., 2024; Wang et al., 2024a; Geng et al., 2026; Xie et al., 2025a); our experiment is restricted to the checkpoints and solver grid below.
Setup. We therefore consider the image generation task, and take the checkpoints trained and evaluated at in §6.1 and sample each at . We use the checkpoints listed in Table S3. We keep the 256 DrawBench prompts, seed 12345, resolution, deterministic sampler Equation (5), absence of classifier-free guidance, and the time shift 3.0 of §6.1 fixed. Increasing only refines the same shifted solver grid; no model is retrained. Thus the experiment isolates a , , , or inference-step budget. As references, we also evaluate the AnyFlow initialisation, from which all seven trainers start, and the pretrained SD3.5-Medium, with the same prompts, seed, resolution and shifted grid. SD3.5-Medium models the instantaneous velocity and is not distilled for few-step sampling, so it uses the Euler step Equation (4) with classifier-free guidance of scale 4.5, i.e., two network evaluations per step.
Main results. Figure 7 shows the per-step trends, and Table S3 in Appendix D reports the percentage changes. We draw four conclusions.
(i) Models at different training stages show different test-time scaling behaviour. The pretrained SD3.5-Medium models the instantaneous velocity, so four Euler steps are far too coarse; its scores rise sharply from four to eight steps and keep improving more slowly up to 32 steps (HPSv3 from -4.49 to 9.96, Figure 7). Even at 32 steps, i.e., 64 network evaluations, it remains below every fine-tuned model at four steps in HPSv3, ImageReward, the aesthetic score, HPSv2 and PickScore. In contrast, the AnyFlow initialisation, distilled from SD3.5-Medium

Figure 7: Absolute value of each evaluated dimension against , one line per fine-tuned model, with the AnyFlow initialisation (dashed) and the pretrained SD3.5-Medium sampled with classifier-free guidance (dotted) as references. For the fine-tuned models, the three training-reward summands (CLIPScore, HPSv2 and PickScore) show little systematic gain from additional steps, while the held-out HPSv3 and aesthetic score more often decline. Trainer labels are as in Table 5; the checkpoint is given in Table S3. Figure S1 and Figure S2 in Appendix D show the same results as percentage changes from the four-step value, grouped by evaluator and by model, respectively.
for few-step sampling, appears to have already fixed its output patterns at the step count used in training, and its HPSv3, ImageReward and GenEval2 drop markedly with more steps; for example, from 4 to 32 steps, ImageReward falls from 1.11 to 1.02 and GenEval2 from 0.363 to 0.320 (Figure 7), beyond the ~0.03 resolution. By comparison, the RL fine-tuned models, which all start from this initialisation, fluctuate less in these three evaluators.
(ii) There is no systematic gain on the training reward. Across the fine-tuned models, the three reward summands remain nearly flat (Figure 7 and Table S3). From 4 to 32 steps, the held-out HPSv3 changes by between +1.0% and -6.8% for six of the seven trainers, compared with -17% for the AnyFlow initialisation (Figure 7). The stronger degradation of the initialisation itself suggests that the decline in rewards of the fine-tuned models is inherited from the initialisation rather than introduced by RL fine-tuning. Further, these small changes are consistent with the 4-step outputs already having settled into patterns that score well under the training reward, including sampler-specific reward exploitation. Doubling to often preserves or slightly improves a score, but the gain generally saturates or reverses as the grid is refined further. Figure 8 shows both behaviours; MeanFlowAWM improves at eight steps and then declines, whereas ReFL declines gradually.
(iii) OCR-sensitive prompts can expose a much sharper failure mode. The selected failures occur on malformed or OCR-heavy prompts. A clear example is shown in Figure 9, where the DMDNFT and MeanFlowNFT samples collapse at to little more than foreground text. HPSv3 falls from 12.18 to 0.32 and from 11.36 to 0.32, respectively, even as CLIPScore rises from 0.275 to 0.324 and from 0.292 to 0.309. In these selected cases, additional solver steps produce increasingly text-dominated outputs rather than a visual-quality improvement.
(iv) Visible sample-level scaling exists. On inspection, many samples improve with 2-4 times as many sampling steps, even though the aggregate rewards barely change; on the selected samples, HPSv3 does rise (Figure 10). At four steps, they have weak clarity or unstable details, while eight or sixteen steps yield cleaner and more stable generations; Figure 10 shows two such cases. The aggregate rewards thus appear less sensitive to these improvements than visual inspection, and test-time scaling may be useful beyond what the aggregate scores suggest, although more steps do not improve quality monotonically.
ReFL – Prompt: "A stack of 3 cubes. A red cube is on the top, sitting on a red cube. The red cube is in the m..."

Figure 8: Two selected mild-degradation cases; each panel shows the six evaluated scores of that image (CLIPScore, HPSv2, PickScore, HPSv3, aesthetic score and ImageReward). Top, ReFL on the three-cube prompt, where HPSv3 gradually falls from 15.63 to 14.78. Bottom, MeanFlowAWM on "A panda making latte art", where HPSv3 first rises from 11.34 to 11.59 at , then falls to 10.77 at 32 as an extra cup appears.
6.6 Practical Guidance
The empirical results, each from a single run, suggest the following guidance:
(i) Where it is affordable, the reward gradient is our recommended approach. Driving the update directly by was the most effective choice in our mixed-reward image experiments; FewStepOPSD and ReFL achieve the two highest training rewards in the mixed-reward setting and improve all three summands ( ). However, the applicability of these methods is restricted in practice. (i) The gradient can become too expensive when the reward model and the decoder are large or the latent token sequence is long, as on video ( ). (ii) The reward must be differentiable with respect to the clean sample, which excludes OCR accuracy and VideoAlign's MQ and TA ( , Section D.5). Where both conditions hold, ReFL alone is already a strong baseline in our runs.
DMDNFT – Prompt: "Dinirng tablez."

Figure 9: Two selected OCR-sensitive text-dominance cases under test-time scaling: DMDNFT (top) and MeanFlowNFT (bottom). Within each row, the prompt and seed are fixed and only changes; the values below each image are that image's rewards. These are selected qualitative failure cases rather than population averages.
FewStepOPSD – Prompt: "A collection of nail is sitting on a table."

Figure 10: Selected cases where a modest inference-step increase helps. Top, FewStepOPSD on the nail-products prompt: the 4-step image is cluttered and soft, whereas the 8- and 16-step outputs have clearer objects and a more stable arrangement.
(ii) Otherwise, group-advantage-based methods apply. When the reward gradient is too expensive or unavailable, the reward enters only through the group advantage, and these methods must convert the average velocity into the instantaneous one (§4.3). Among them, the DMD-based methods, which estimate the instantaneous velocity with the auxiliary network , have a lower per-iteration cost in the image setting but a higher one on video, depending on the relative cost of the saved forward passes for and the added forward and backward passes of (§6.3, §6.4). They need extra optimisation steps and memory for , and in some of the reported runs their larger reward gains coincide with larger held-out degradation.
(iii) Among the group-advantage-based methods, the DiffusionNFT family reached high reward values in relatively few iterations. The FlowGRPO-style replay of FewStepGRPO optimises slowly and has the weakest observed reward endpoints within the common iteration budget: it barely improves the mixed reward on images and loses the most reward on video. The DiffusionNFT family reached high reward values within the common iteration budget in both settings, although the cost per iteration varies; MeanFlowNFT is expensive in the image setting and DMDNFT on video. AWM mostly lies between the two in the reported reward outcomes and uses a PPO-style clip to limit each update.
(iv) Test-time scaling of the fine-tuned few-step models saturates quickly. Aggregate scores show no systematic gain; three of the seven HPSv3 curves peak at the training step count of four and one is tied between four and eight steps (Table S3). By visual inspection, however, many individual samples look cleaner with 2–4 times as many steps before the effect saturates or reverses. Additional steps therefore improve the visual quality of some samples but do not improve aggregate scores monotonically (§6.5), and can degrade sample quality on OCR-sensitive prompts.
7 Conclusion
Few-step generators reduce the rollout cost that typically dominates RL post-training of diffusion models, but they model an average velocity over an interval, whereas existing RL objectives assume an instantaneous velocity and a many-step sampler. This paper adapts these objectives to few-step models systematically in three phases and compares the resulting methods within one codebase. The transformation to -space expresses each objective we consider through a common policy prediction. The decomposition writes the gradient of each objective as the sum of a reward-free self-regression and a reward augmentation, so that a method reduces to a choice of three anchors and three weights. The adaptation computes these anchors from a few-step model, at the end of its transport or along its tangent, with the instantaneous velocity recovered from the network itself through the MeanFlow identity (the self-induced velocity) or from an auxiliary network. The seven resulting trainers share one training step and are compared under shared rollout, reward and evaluation code, each in a single run. Where the reward is differentiable and its gradient affordable, FewStepOPSD and ReFL, which use the reward gradient, were the most effective. Otherwise, the DiffusionNFT family reached high rewards in relatively few iterations, and the DMD-based variants were faster per iteration on image but slower on video, depending on the relative cost of forward and backward passes, and in some runs coincided with larger held-out degradation. For the fine-tuned models, additional sampling steps gave no systematic aggregate gain, although many individual samples improve with two to four times as many steps as in training.
Open problems. Several questions remain open.
(i) The DMD-based variants estimate the instantaneous velocity with an auxiliary network, which requires additional forward and backward passes to fit this network and GPU memory to hold it. How to reduce this overhead remains open.
(ii) Reward-gradient-based methods require a reward that is differentiable with respect to the clean sample and a gradient that fits in memory. On video, the motion-quality and text-alignment terms of VideoAlign provide no gradient, and the per-frame decoding required by GPU memory makes the gradient deviate strongly from that of a joint decode. Cheaper and more faithful reward gradients for long latent sequences are needed.
(iii) With a scalar group advantage in the mixed-reward setting, whether every reward summand takes effect depends on the weighting of the summands, on the rescaling by the global-batch standard deviation in Equation (83), and on the small within-group spread of some summands (Section D.2). A general and more reliable construction of the group advantage remains open.
(iv) In our experiments, a few-step model fine-tuned at one step count does not improve systematically with more steps. Fine-tuning at more step counts may give test-time scaling but makes the rollouts more expensive. Whether it can be introduced cheaply during training, or without training, so that a model fine-tuned at a small step count still improves with more steps at test time, remains open.
References
Andreas Bergmeister, Stefanie Jegelka, Nikolas Nüsken, Carles Domingo-Enrich, and Jakiw Pidstrigach. Reinforce adjoint matching: Scaling RL post-training of diffusion and flow-matching models, 2026. URL https://arxiv.org/abs/2605.10759.
James Betker, Gabriel Goh, Li Jing, Tim Brooks, Jianfeng Wang, Linjie Li, Long Ouyang, Juntang Zhuang, Joyce Lee, Yufei Guo, Wesam Manassra, Prafulla Dhariwal, Casey Chu, Yunxin Jiao, and Aditya Ramesh. Improving image generation with better captions. Technical report, OpenAI, 2023. URL https://cdn.openai.com/papers/dall-e-3.pdf.
Kevin Black, Michael Janner, Yilun Du, Ilya Kostrikov, and Sergey Levine. Training diffusion models with reinforcement learning. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun, editors, International Conference on Learning Representations, volume 2024, pages 4965–4987, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/hash/14f75513f0f1ca01de1e826b52e6b840-Abstract-Conference.html.
Black Forest Labs. FLUX.1 model family. Software repository, 2024. URL https://github.com/black-forest-labs/flux.
Black Forest Labs. FLUX.2: Frontier visual intelligence, 2025. URL https://bfl.ai/blog/flux-2.
Clément Chadebec, Onur Tasar, Eyal Benaroche, and Benjamin Aubin. Flash diffusion: Accelerating any conditional diffusion model for few steps image generation. Proceedings of the AAAI Conference on Artificial Intelligence, 39(15):15686–15695, 2025. doi: 10.1609/aaai.v39i15.33722. URL https://ojs.aaai.org/index.php/AAAI/article/view/33722.
Guanjie Chen, Shirui Huang, Yifu Sun, Kai Liu, Jianchen Zhu, Xiaoye Qu, Yu Cheng, and Peng Chen. Flash-DMD: Towards high-fidelity few-step image generation with efficient distillation and joint reinforcement learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6010–6020, June 2026a. URL https://openaccess.thecvf.com/content/CVPR2026/html/Chen_Flash-DMD_Towards_High-Fidelity_Few-Step_Image_Generation_with_Efficient_Distillation_and_CVPR_2026_paper.html.
Huayu Chen, Kaiwen Zheng, Qinsheng Zhang, Ganqu Cui, Yin Cui, Haotian Ye, Tsung-Yi Lin, Ming-Yu Liu, Jun Zhu, and Haoxiang Wang. NFT: Bridging supervised learning and reinforcement learning in math reasoning. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 124025–124042, 2026b. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/c9867d5a22653ce98b02595061e40f12-Abstract-Conference.html.
Junying Chen, Zhenyang Cai, Pengcheng Chen, Shunian Chen, Ke Ji, Xidong Wang, Yunjin Yang, and Benyou Wang. ShareGPT-4o-Image: Aligning multimodal models with GPT-4o-level image generation, 2025a. URL https://arxiv.org/abs/2506.18095.
Xiaokang Chen, Zhiyu Wu, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, and Chong Ruan. Janus-pro: Unified multimodal understanding and generation with data and model scaling, 2025b. URL https://arxiv.org/abs/2501.17811.
Kevin Clark, Paul Vicol, Kevin Swersky, and David Fleet. Directly fine-tuning diffusion models on differentiable rewards. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun, editors, International Conference on Learning Representations, volume 2024, pages 4793–4822,
Giannis Daras, Yuval Dagan, Alex Dimakis, and Constantinos Daskalakis. Consistent diffusion models: Mitigating sampling drift by learning to be consistent. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 42038–42063. Curran Associates, Inc., 2023. doi: 10.52202/075280-1821. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/831406cfe7e4a0aed5ac5c8a8389d1f5-Abstract-Conference.html.
Giannis Daras, Alex Dimakis, and Constantinos Costis Daskalakis. Consistent diffusion meets tweedie: Training exact ambient diffusion models with noisy data. In Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp, editors, Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 10091–10108. PMLR, 21–27 Jul 2024. URL https://proceedings.mlr.press/v235/daras24a.html.
Linwei Dong, Ruoyu Guo, Ge Bai, Zehuan Yuan, Yawei Luo, and Changqing Zou. Guiding distribution matching distillation with gradient-based reinforcement learning, 2026. URL https://arxiv.org/abs/2604.19009.
Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, Dustin Podell, Tim Dockhorn, Zion English, Kyle Lacey, Alex Goodwin, Yannik Marek, and Robin Rombach. Scaling rectified flow transformers for high-resolution image synthesis. In Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp, editors, Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 12606–12633. PMLR, 21–27 Jul 2024. URL https://proceedings.mlr.press/v235/esser24a.html.
Jiajun Fan, Shuaike Shen, Chaoran Cheng, Yuxin Chen, Chumeng Liang, and Ge Liu. Online reward-weighted fine-tuning of flow matching with wasserstein regularization. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu, editors, International Conference on Learning Representations, volume 2025, pages 60053–60113, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/9690d4746230cfea3d067fca695ba648-Abstract-Conference.html.
Linqian Fan, Peiqin Sun, Tiancheng Wen, Shun Lu, and Chengru Song. : Re-conceptualizing distribution matching as a reward for diffusion distillation, 2026a. URL https://arxiv.org/abs/2603.28460.
Xiangyu Fan, Zesong Qiu, Zhuguanyu Wu, Fanzhou Wang, Zhiqian Lin, Tianxiang Ren, Dahua Lin, Ruihao Gong, and Lei Yang. Phased DMD: Few-step distribution matching distillation via score matching within subintervals. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 41667–41676, June 2026b. URL https://openaccess.thecvf.com/content/CVPR2026/html/Fan_Phased_DMD_Few-step_Distribution_Matching_Distillation_via_Score_Matching_within_CVPR_2026_paper.html.
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. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 79858–79885. Curran Associates, Inc., 2023. doi: 10.52202/075280-3497. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/fc65fab891d83433bd3c8d966edde311-Abstract-Conference.html.
Kevin Frans, Danijar Hafner, Sergey Levine, and Pieter Abbeel. One step diffusion via shortcut models. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu, editors, International Conference on Learning Representations, volume 2025, pages 34668–34684, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/559a0998fab1d19b80e7e43a5852401c-Abstract-Conference.html.
Xingtong Ge, Xin Zhang, Tongda Xu, Yi Zhang, Xinjie Zhang, Yan Wang, and Jun Zhang. SenseFlow: Scaling distribution matching for flow-based text-to-image distillation. In International Conference on Learning Representations, pages 92014–92045, 2026a. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/94a98f4338b6e5fba81344f961bac8e5-Abstract-Conference.html.
Xingtong Ge, Yi Zhang, Yushi Huang, Dailan He, Xiahong Wang, Bingqi Ma, Guanglu Song, Yu Liu, and Jun Zhang. SALT: Self-consistent distribution matching with cache-aware training for few-step video generation. In ECCV 2026, 2026b. URL https://eccv.ecva.net/virtual/2026/poster/3473.
Zhengyang Geng, Mingyang Deng, Xingjian Bai, Zico Kolter, and Kaiming He. Mean flows for one-step generative modeling. In Advances in Neural Information Processing Systems, volume 38, pages 75460–75482, 2025. doi: 10.52202/085713-2534. URL https://papers.neurips.cc/paper_files/paper/2025/hash/6d13e085b79d454da5910e4ca82a3d9d-Abstract-Conference.html.
Zhengyang Geng, Yiyang Lu, Zongze Wu, Eli Shechtman, J. Zico Kolter, and Kaiming He. Improved mean flows: On the challenges of fastforward generative models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 30467–30476, 2026. URL https://openaccess.thecvf.com/content/CVPR2026/html/Geng_Improved_Mean_Flows_On_the_Challenges_of_Fastforward_Generative_Models_CVPR_2026_paper.html.
Dhruba Ghosh, Hannaneh Hajishirzi, and Ludwig Schmidt. GenEval: An object-focused framework for evaluating text-to-image alignment. In Advances in Neural Information Processing Systems, volume 36, pages 52132–52152, 2023. doi: 10.52202/075280-2270. URL https://papers.neurips.cc/paper_files/paper/2023/hash/a3bf71c7c63f0c3bcb7ff67c67b1e7b1-Abstract-Datasets_and_Benchmarks.html.
Yuchao Gu, Guian Fang, Yuxin Jiang, Weijia Mao, Song Han, Han Cai, and Mike Zheng Shou. AnyFlow: Any-step video diffusion model with on-policy flow map distillation, 2026. URL https://arxiv.org/abs/2605.13724.
Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, Xiaokang Zhang, Xingkai Yu, Yu Wu, Z. F. Wu, Zhibin Gou, Zhihong Shao, Zhuoshu Li, Ziyi Gao, Aixin Liu, Bing Xue, Bingxuan Wang, Bochao Wu, Bei Feng, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chong Ruan, Damai Dai, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fucong Dai, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Hanwei Xu, Honghui Ding, Huazuo Gao, Hui Qu, Hui Li, Jianzhong Guo, Jiashi Li, Jingchang Chen, Jingyang Yuan, Jinhao Tu, Junjie Qiu, Junlong Li, J. L. Cai, Jiaqi Ni, Jian Liang, Jin Chen, Kai Dong, Kai Hu, Kaichao You, Kaige Gao, Kang Guan, Kexin Huang, Kuai Yu, Lean Wang, Lecong Zhang, Liang Zhao, Litong Wang, Liyue Zhang, Lei Xu, Leyi Xia, Mingchuan
Zhang, Minghua Zhang, Minghui Tang, Mingxu Zhou, Meng Li, Miaojun Wang, Mingming Li, Ning Tian, Panpan Huang, Peng Zhang, Qiancheng Wang, Qinyu Chen, Qiushi Du, Ruiqi Ge, Ruisong Zhang, Ruizhe Pan, Runji Wang, R. J. Chen, R. L. Jin, Ruyi Chen, Shanghai Lu, Shangyan Zhou, Shanhuang Chen, Shengfeng Ye, Shiyu Wang, Shuiping Yu, Shunfeng Zhou, Shuting Pan, S. S. Li, Shuang Zhou, Shaoqing Wu, Tao Yun, Tian Pei, Tianyu Sun, T. Wang, Wangding Zeng, Wen Liu, Wenfeng Liang, Wenjun Gao, Wenqin Yu, Wentao Zhang, W. L. Xiao, Wei An, Xiaodong Liu, Xiaohan Wang, Xiaokang Chen, Xiaotao Nie, Xin Cheng, Xin Liu, Xin Xie, Xingchao Liu, Xinyu Yang, Xinyuan Li, Xuecheng Su, Xuheng Lin, X. Q. Li, Xiangyue Jin, Xiaojin Shen, Xiaosha Chen, Xiaowen Sun, Xiaoxiang Wang, Xinnan Song, Xinyi Zhou, Xianzu Wang, Xinxia Shan, Y. K. Li, Y. Q. Wang, Y. X. Wei, Yang Zhang, Yanhong Xu, Yao Li, Yao Zhao, Yaofeng Sun, Yaohui Wang, Yi Yu, Yichao Zhang, Yifan Shi, Yiliang Xiong, Ying He, Yishi Piao, Yisong Wang, Yixuan Tan, Yiyang Ma, Yiyuan Liu, Yongqiang Guo, Yuan Ou, Yuduan Wang, Yue Gong, Yuheng Zou, Yujia He, Yunfan Xiong, Yuxiang Luo, Yuxiang You, Yuxuan Liu, Yuyang Zhou, Y. X. Zhu, Yanping Huang, Yaohui Li, Yi Zheng, Yuchen Zhu, Yunxian Ma, Ying Tang, Yukun Zha, Yuting Yan, Z. Z. Ren, Zehui Ren, Zhangli Sha, Zhe Fu, Zhean Xu, Zhenda Xie, Zhengyan Zhang, Zhewen Hao, Zhicheng Ma, Zhigang Yan, Zhiyu Wu, Zihui Gu, Zijia Zhu, Zijun Liu, Zilin Li, Ziwei Xie, Ziyang Song, Zizheng Pan, Zhen Huang, Zhipeng Xu, Zhongyu Zhang, and Zhen Zhang. DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645(8081):633–638, 2025. doi: 10.1038/s41586-025-09422-z. URL https://www.nature.com/articles/s41586-025-09422-z.
Xiaoxuan He, Siming Fu, Yuke Zhao, Wanli Li, Jian Yang, Dacheng Yin, Fengyun Rao, and Bo Zhang. TEMPFLOW-GRPO: WHEN TIMING MATTERS FOR GRPO IN FLOW MODELS. In International Conference on Learning Representations, pages 132869–132895, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/d75f561eaaf2cb754bc8d7e36d8af362-Abstract-Conference.html.
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. doi: 10.18653/v1/2021.emnlp-main.595. URL https://aclanthology.org/2021.emnlp-main.595/.
Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. In NeurIPS 2021 Workshop on Deep Generative Models and Downstream Applications, 2021. URL https://neurips.cc/virtual/2021/48591.
Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 33:6840–6851, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/4c5bcfec8584af0d967f1ab10179ca4b-Abstract.html.
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. In International Conference on Learning Representations, 2022. URL https://iclr.cc/virtual/2022/poster/6319.
Yushi Huang, Xiangxin Zhou, Ruoyu Wang, Chi Zhang, Jun Zhang, and Tianyu Pang. Reinforcing few-step generators via reward-tilted distribution matching, 2026a. URL https://arxiv.org/abs/2605.26108.
Yushi Huang, Xiangxin Zhou, Jun Zhang, Liefeng Bo, and Tianyu Pang. MeanFlowNFT: Bringing forward-process RL to average-velocity generators, 2026b. URL https://arxiv.org/abs/2607.15273. arXiv:2607.15273v2.
Ziqi Huang, Yinan He, Jiashuo Yu, Fan Zhang, Chenyang Si, Yuming Jiang, Yuanhan Zhang, Tianxing Wu, Qingyang Jin, Nattapol Chanpaisit, Yaohui Wang, Xinyuan Chen, Limin Wang, Dahua Lin, Yu Qiao, and Ziwei Liu. VBench: Comprehensive benchmark suite for video generative models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 21807–21818, 2024. URL https://openaccess.thecvf.com/content/CVPR2024/html/Huang_VBench_Comprehensive_Benchmark_Suite_for_Video_Generative_Models_CVPR_2024_paper.html.
Dengyang Jiang, Dongyang Liu, Zanyi Wang, Qilong Wu, Liuzhuozheng Li, Hengzhuang Li, Xin Jin, Changsheng Lu, Zhen Li, Mengmeng Wang, Steven Hoi, Peng Gao, and Harry Yang. Distribution matching distillation meets reinforcement learning. In Computer Vision – ECCV 2026, volume 17019 of Lecture Notes in Computer Science, pages 281–299. Springer, Cham, 2026. doi: 10.1007/978-3-032-37550-6_16. URL https://link.springer.com/chapter/10.1007/978-3-032-37550-6_16.
Amita Kamath, Kai-Wei Chang, Ranjay Krishna, Luke Zettlemoyer, Yushi Hu, and Marjan Ghazvininejad. GenEval 2: Addressing benchmark drift in text-to-image evaluation, 2025. URL https://arxiv.org/abs/2512.16853.
Dongjun Kim, Chieh-Hsin Lai, WeiHsiang Liao, Naoki Murata, Yuhta Takida, Toshimitsu Uesaka, Yutong He, Yuki Mitsufuji, and Stefano Ermon. Consistency trajectory models: Learning probability flow ODE trajectory of diffusion. In International Conference on Learning Representations, pages 44493–44525, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/hash/c204d12afa0175285e5aac65188808b4-Abstract-Conference.html.
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. doi: 10.52202/075280-1594. URL https://papers.neurips.cc/paper_files/paper/2023/hash/73aacd8b3b05b4b503d58310b523553c-Abstract-Conference.html.
Kimin Lee, Hao Liu, Moonkyung Ryu, Olivia Watkins, Yuqing Du, Craig Boutilier, Pieter Abbeel, Mohammad Ghavamzadeh, and Shixiang Shane Gu. Aligning text-to-image models using human feedback, 2023. URL https://arxiv.org/abs/2302.12192.
Sergey Levine. Reinforcement learning and control as probabilistic inference: Tutorial and review, 2018. URL https://arxiv.org/abs/1805.00909.
Junzhe Li, Yutao Cui, Tao Huang, Chuxuan Zeng, Weijie Kong, Yinping Ma, Chun Fan, Miles Yang, Zhao Zhong, and Liefeng Bo. MixGRPO: Unlocking flow-based GRPO efficiency with mixed ODE-SDE. In ECCV 2026, 2026a. URL https://eccv.ecva.net/virtual/2026/poster/5603.
Zhiqi Li, Wen Zhang, and Bo Zhu. Flow-map GRPO: Reinforcement learning for few-step flow-map generators via anchored stochastic composition, 2026b. URL https://arxiv.org/abs/2607.00535.
Haitao Lin, Peiyan Hu, Minsi Ren, Zhifeng Gao, Zhi-Ming Ma, Guolin ke, Tailin Wu, and Stan Z. Li. On the design of one-step diffusion via shortcutting flow paths, 2026. URL https://arxiv.org/abs/2512.11831.
Shanchuan Lin, Anran Wang, and Xiao Yang. SDXL-Lightning: Progressive adversarial diffusion distillation, 2024. URL https://arxiv.org/abs/2402.13929.
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In ICLR 2023, 2023. URL https://iclr.cc/virtual/2023/poster/11309.
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. In International Conference on Learning Representations, pages 140643–140666, 2026a. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/e425b75bac5742a008d643826428787c-Abstract-Conference.html.
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. In Advances in Neural Information Processing Systems, volume 38, pages 40783–40818, 2025a. doi: 10.52202/085713-1362. URL https://papers.neurips.cc/paper_files/paper/2025/hash/3a10c46572628d58cb44fb705f25cbbf-Abstract-Conference.html.
Jie Liu, Gongye Liu, Jiajun Liang, Ziyang Yuan, Xiaokun Liu, Mingwu Zheng, Xiele Wu, Qiulin Wang, Menghan Xia, Xintao Wang, Xiaohong Liu, Fei Yang, Pengfei Wan, Di Zhang, Kun Gai, Yujiu Yang, and Wanli Ouyang. Improving video generation with human feedback. In Advances in Neural Information Processing Systems, volume 38, pages 82155–82192, 2025b. doi: 10.52202/085713-2750. URL https://papers.nips.cc/paper_files/paper/2025/hash/76227feb18ea0ee40bd15cf02c33e18e-Abstract-Conference.html.
Tao Liu, Hao Yan, Mengting Chen, Taihang Hu, Zhengrong Yue, Zihao Pan, Jinsong Lan, Xiaoyong Zhu, Ming-Ming Cheng, Bo Zheng, and Yaxing Wang. Continuous-time distribution matching for few-step diffusion distillation, 2026b. URL https://arxiv.org/abs/2605.06376.
Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In ICLR 2023, 2023. URL https://iclr.cc/virtual/2023/oral/12626.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019. URL https://iclr.cc/virtual/2019/poster/935.
Cheng Lu and Yang Song. Simplifying, stabilizing and scaling continuous-time consistency models, 2025. URL https://arxiv.org/abs/2410.11081.
Simian Luo, Yiqin Tan, Longbo Huang, Jian Li, and Hang Zhao. Latent consistency models: Synthesizing high-resolution images with few-step inference, 2023a. URL https://arxiv.org/abs/2310.04378.
Weijian Luo. Diff-instruct++: Training one-step text-to-image generator model to align with human preferences. Transactions on Machine Learning Research, 2025. ISSN 2835-8856. URL https://openreview.net/forum?id=SeGNvJJjbs.
Weijian Luo, Tianyang Hu, Shifeng Zhang, Jiacheng Sun, Zhenguo Li, and Zhihua Zhang. Diff-instruct: A universal approach for transferring knowledge from pre-trained diffusion models. In Advances in Neural Information Processing Systems, volume 36, pages 76525–76546, 2023b. doi: 10.52202/075280-3344. URL https://papers.neurips.cc/paper_files/paper/2023/hash/f115f619b62833aadc5acb058975b0e6-Abstract-Conference.html.
Yihong Luo, Tianyang Hu, Jiacheng Sun, Yujun Cai, and Jing Tang. Learning few-step diffusion models by trajectory distribution matching. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 17719–17728, 2025. doi: 10.1109/ICCV51701.2025.01646. URL https://openaccess.thecvf.com/content/ICCV2025/html/Luo_Learning_Few-Step_Diffusion_Models_by_Trajectory_Distribution_Matching_ICCV_2025_paper.html.
Yihong Luo, Tianyang Hu, Weijian Luo, and Jing Tang. TDM-R1: Reinforcing few-step diffusion models with non-differentiable reward. In ICML 2026, 2026. URL https://icml.cc/virtual/2026/poster/66300.
Nanye Ma, Mark Goldstein, Michael S. Albergo, Nicholas M. Boffi, Eric Vanden-Eijnden, and Saining Xie. SiT: Exploring flow and diffusion-based generative models with scalable interpolant transformers. In Computer Vision – ECCV 2024, volume 15135 of Lecture Notes in Computer Science, pages 23–40. Springer, Cham, 2024. doi: 10.1007/978-3-031-72980-5_2. URL https://link.springer.com/chapter/10.1007/978-3-031-72980-5_2.
Yiyang Ma, Xingchao Liu, Xiaokang Chen, Wen Liu, Chengyue Wu, Zhiyu Wu, Zizheng Pan, Zhenda Xie, Haowei Zhang, Xingkai Yu, Liang Zhao, Yisong Wang, Jiaying Liu, and Chong Ruan. Janusflow: Harmonizing autoregression and rectified flow for unified multimodal understanding and generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7739–7751, 2025a. URL https://openaccess.thecvf.com/content/CVPR2025/html/Ma_JanusFlow_Harmonizing_Autoregression_and_Rectified_Flow_for_Unified_Multimodal_Understanding_CVPR_2025_paper.html.
Yuhang Ma, Xiaoshi Wu, Keqiang Sun, and Hongsheng Li. HPSv3: Towards wide-spectrum human preference score. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 15086–15095, 2025b. doi: 10.1109/ICCV51701.2025.01400. URL https://openaccess.thecvf.com/content/ICCV2025/html/Ma_HPSv3_Towards_Wide-Spectrum_Human_Preference_Score_ICCV_2025_paper.html.
David McAllister, Songwei Ge, Brent Yi, Chung Min Kim, Ethan Weber, Hongsuk Choi, Haiwen Feng, and Angjoo Kanazawa. Flow matching policy gradients. In International Conference on Learning Representations, pages 36352–36372, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/3d43cc5692bf68944ee7cd31b97d0c11-Abstract-Conference.html.
Meituan LongCat Team, Xunliang Cai, Qilong Huang, Zhuoliang Kang, Hongyu Li, Shijun Liang, Liya Ma, Siyu Ren, Xiaoming Wei, Rixu Xie, and Tong Zhang. Longcat-video technical report, 2025. URL https://arxiv.org/abs/2510.22200.
Zichen Miao, Zhengyuan Yang, Kevin Lin, Ze Wang, Zicheng Liu, Lijuan Wang, and Qiang Qiu. Tuning timestep-distilled diffusion model using pairwise sample optimization. In International Conference on Learning Representations, pages 13809–13830, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/243697ace81f57daef8737ff2c5cffd3-Abstract-Conference.html.
Weili Nie, Julius Berner, Nanye Ma, Chao Liu, Saining Xie, and Arash Vahdat. Transition matching distillation for fast video generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 4645–4655, June 2026. URL https://openaccess.thecvf.com/content/CVPR2026/html/Nie_Transition_Matching_Distillation_for_Fast_Video_Generation_CVPR_2026_paper.html.
OpenAI. DALL·E 2, 2022. URL https://openai.com/index/dall-e-2/. Product page.
OpenAI, Aaron Hurst, Adam Lerer, Adam P. Goucher, Adam Perelman, Aditya Ramesh, Aidan Clark, AJ Ostrow, Akila Welihinda, Alan Hayes, Alec Radford, Aleksander Madry, Alex Baker-Whitcomb, Alex Beutel, Alex Borzunov, Alex Carney, Alex Chow, Alex Kirillov, Alex Nichol, Alex Paino, Alex Renzin, Alex Tachard Passos, Alexander Kirillov, Alexi Christakis, Alexis Conneau, Ali Kamali, Allan Jabri, Allison Moyer, Allison Tam, Amadou Crookes, Amin Tootoochian, Amin Tootoonchian, Ananya Kumar, Andrea Vallone, Andrej Karpathy, Andrew Braunstein, Andrew Cann, Andrew Codispoti, Andrew Galu, Andrew Kondrich, Andrew Tulloch, Andrey Mishchenko, Angela Baek, Angela Jiang, Antoine Pelisse, Antonia Woodford, Anuj Gosalia, Arka Dhar, Ashley Pantuliano, Avi Nayak, Avital Oliver, Barret Zoph, Behrooz Ghorbani, Ben Leimberger, Ben Rossen, Ben Sokolowsky, Ben Wang, Benjamin Zweig, Beth Hoover, Blake Samic, Bob McGrew, Bobby Spero, Bogo Giertler, Bowen Cheng, Brad Lightcap, Brandon Walkin, Brendan Quinn, Brian Guarraci, Brian Hsu, Bright Kellogg, Brydon Eastman, Camillo Lugaresi, Carroll Wainwright, Cary Bassin, Cary Hudson, Casey Chu, Chad Nelson, Chak Li, Chan Jun Shern, Channing Conger, Charlotte Barette, Chelsea Voss, Chen Ding, Cheng Lu, Chong Zhang, Chris Beaumont, Chris Hallacy, Chris Koch, Christian Gibson, Christina Kim, Christine Choi, Christine McLeavey, Christopher Hesse, Claudia Fischer, Clemens Winter, Coley Czarnecki, Colin Jarvis, Colin Wei, Constantin Koumouzelis, Dane Sherburn, Daniel Kappler, Daniel Levin, Daniel Levy, David Carr, David Farhi, David Mely, David Robinson, David Sasaki, Denny Jin, Dev Valladares, Dimitris Tsipras, Doug Li, Duc Phong Nguyen, Duncan Findlay, Edede Oiwoh, Edmund Wong, Ehsan Asdar, Elizabeth Proehl, Elizabeth Yang, Eric Antonow, Eric Kramer, Eric Peterson, Eric Sigler, Eric Wallace, Eugene Brevdo, Evan Mays, Farzad Khorasani, Felipe Petroski Such, Filippo Raso, Francis Zhang, Fred von Lohmann, Freddie Sulit, Gabriel Goh, Gene Oden, Geoff Salmon, Giulio Starace, Greg Brockman, Hadi Salman, Haiming Bao, Haitang Hu, Hannah Wong, Haoyu Wang, Heather Schmidt, Heather Whitney, Heewoo Jun, Hendrik Kirchner, Henrique Ponde de Oliveira Pinto, Hongyu Ren, Huiwen Chang, Hyung Won Chung, Ian Kivlichan, Ian O'Connell, Ian O'Connell, Ian Osband, Ian Silber, Ian Sohl, Ibrahim Okuyucu, Ikai Lan, Ilya Kostrikov, Ilya Sutskever, Ingmar Kanitscheider, Ishaan Gulrajani, Jacob Coxon, Jacob Menick, Jakub Pachocki, James Aung, James Betker, James Crooks, James Lennon, Jamie Kiros, Jan Leike, Jane Park, Jason Kwon, Jason Phang, Jason Teplitz, Jason Wei, Jason Wolfe, Jay Chen, Jeff Harris, Jenia Varavva, Jessica Gan Lee, Jessica Shieh, Ji Lin, Jiahui Yu, Jiayi Weng, Jie Tang, Jieqi Yu, Joanne Jang, Joaquin Quinonero Candela, Joe Beutler, Joe Landers, Joel Parish, Johannes Heidecke, John Schulman, Jonathan Lachman, Jonathan McKay, Jonathan Uesato, Jonathan Ward, Jong Wook Kim, Joost Huizinga, Jordan Sitkin, Jos Kraaijeveld, Josh Gross, Josh Kaplan, Josh Snyder, Joshua Achiam, Joy Jiao, Joyce Lee, Juntang Zhuang, Justyn Harriman, Kai Fricke, Kai Hayashi, Karan Singhal, Katy Shi, Kavin Karthik, Kayla Wood, Kendra Rimbach, Kenny Hsu, Kenny Nguyen, Keren Gu-Lemberg, Kevin Button, Kevin Liu, Kiel Howe, Krithika Muthukumar, Kyle Luther, Lama Ahmad, Larry Kai, Lauren Itow, Lauren Workman, Leher Pathak, Leo Chen, Li Jing, Lia Guy, Liam Fedus, Liang Zhou, Lien Mamitsuka, Lilian Weng, Lindsay McCallum, Lindsey Held, Long Ouyang, Louis Feuvrier, Lu Zhang, Lukas Kondraciuk, Lukasz Kaiser, Luke Hewitt, Luke Metz, Lyric Doshi, Mada Aflak, Maddie Simens, Madelaine Boyd, Madeleine Thompson, Marat Dukhan, Mark Chen, Mark Gray, Mark Hudnall, Marvin Zhang, Marwan Aljubeh, Mateusz Litwin, Matthew Zeng, Max Johnson, Maya Shetty, Mayank Gupta, Meghan Shah, Mehmet Yatbaz, Meng Jia Yang, Mengchao Zhong, Mia Glaese, Mianna Chen, Michael Janner, Michael Lampe, Michael Petrov, Michael Wu, Michele Wang, Michelle Fradin, Michelle Pokrass, Miguel Castro, Miguel Oom Temudo de Castro, Mikhail Pavlov, Miles Brundage, Miles Wang, Minal Khan, Mira Murati, Mo Bavarian, Molly Lin, Murat Yesildal, Nacho Soto, Natalia Gimelshein, Natalie Cone, Natalie
Staudacher, Natalie Summers, Natan LaFontaine, Neil Chowdhury, Nick Ryder, Nick Stathas, Nick Turley, Nik Tezak, Niko Felix, Nithanth Kudige, Nitish Keskar, Noah Deutsch, Noel Bundick, Nora Puckett, Ofir Nachum, Ola Okelola, Oleg Boiko, Oleg Murk, Oliver Jaffe, Olivia Watkins, Olivier Godement, Owen Campbell-Moore, Patrick Chao, Paul McMillan, Pavel Belov, Peng Su, Peter Bak, Peter Bakkum, Peter Deng, Peter Dolan, Peter Hoeschele, Peter Welinder, Phil Tillet, Philip Pronin, Philippe Tillet, Prafulla Dhariwal, Qiming Yuan, Rachel Dias, Rachel Lim, Rahul Arora, Rajan Troll, Randall Lin, Rapha Gontijo Lopes, Raul Puri, Reah Miyara, Reimar Leike, Renaud Gaubert, Reza Zamani, Ricky Wang, Rob Donnelly, Rob Honsby, Rocky Smith, Rohan Sahai, Rohit Ramchandani, Romain Huet, Rory Carmichael, Rowan Zellers, Roy Chen, Ruby Chen, Ruslan Nigmatullin, Ryan Cheu, Saachi Jain, Sam Altman, Sam Schoenholz, Sam Toizer, Samuel Miserendino, Sandhini Agarwal, Sara Culver, Scott Ethersmith, Scott Gray, Sean Grove, Sean Metzger, Shamez Hermani, Shantanu Jain, Shengjia Zhao, Sherwin Wu, Shino Jomoto, Shirong Wu, Shuaiqi, Xia, Sonia Phene, Spencer Papay, Srinivas Narayanan, Steve Coffey, Steve Lee, Stewart Hall, Suchir Balaji, Tal Broda, Tal Stramer, Tao Xu, Tarun Gogineni, Taya Christianson, Ted Sanders, Tejal Patwardhan, Thomas Cunningham, Thomas Degry, Thomas Dimson, Thomas Raoux, Thomas Shadwell, Tianhao Zheng, Todd Underwood, Todor Markov, Toki Sherbakov, Tom Rubin, Tom Stasi, Tomer Kaftan, Tristan Heywood, Troy Peterson, Tyce Walters, Tyna Eloundou, Valerie Qi, Veit Moeller, Vinnie Monaco, Vishal Kuo, Vlad Fomenko, Wayne Chang, Weiyi Zheng, Wenda Zhou, Wesam Manassra, Will Sheu, Wojciech Zaremba, Yash Patil, Yilei Qian, Yongjik Kim, Youlong Cheng, Yu Zhang, Yuchen He, Yuchen Zhang, Yujia Jin, Yunxing Dai, and Yury Malkov. GPT-4o system card, 2024. URL https://arxiv.org/abs/2410.21276.
William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 4195–4205, October 2023. URL https://openaccess.thecvf.com/content/ICCV2023/html/Peebles_Scalable_Diffusion_Models_with_Transformers_ICCV_2023_paper.html.
Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann, Tim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach. SDXL: Improving latent diffusion models for high-resolution image synthesis. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=di52zR8xgf.
Qi Qin, Le Zhuo, Yi Xin, Ruoyi Du, Zhen Li, Bin Fu, Yiting Lu, Xinyue Li, Dongyang Liu, Xiangyang Zhu, Will Beddow, Erwann Millon, Victor Perez, Wenhai Wang, Yu Qiao, Bo Zhang, Xiaohong Liu, Hongsheng Li, Chang Xu, and Peng Gao. Lumina-image 2.0: A unified and efficient image generative framework. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 20031–20042, October 2025. URL https://openaccess.thecvf.com/content/ICCV2025/html/Qin_Lumina_Image_2.0_A_Unified_and_Efficient_Image_Generative_Framework_ICCV_2025_paper.html.
Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In Advances in Neural Information Processing Systems, volume 36, pages 53728–53741. Curran Associates, Inc., 2023. doi: 10.52202/075280-2338. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html.
Yuxi Ren, Xin Xia, Yanzuo Lu, Jiacheng Zhang, Jie Wu, Pan Xie, Xing Wang, and Xuefeng Xiao. Hyper-SD: Trajectory segmented consistency model for efficient image synthesis. In Advances in Neural Information Processing Systems, volume 37, pages 117340–117362. Curran Associates, Inc.,
- doi: 10.52202/079017-3725. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/d4e1c24ac41ff0b82ca1b171731f0b23-Abstract-Conference.html.
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 10684–10695, June 2022. doi: 10.1109/CVPR52688.2022.01042. URL https://openaccess.thecvf.com/content/CVPR2022/html/Rombach_High-Resolution_Image_Synthesis_With_Latent_Diffusion_Models_CVPR_2022_paper.html.
Chitwan Saharia, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, Jonathan Ho, David J Fleet, and Mohammad Norouzi. Photorealistic text-to-image diffusion models with deep language understanding. In Advances in Neural Information Processing Systems, volume 35, pages 36479–36494. Curran Associates, Inc., 2022. doi: 10.52202/068431-2643. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/ec795aeadae0b7d230fa35cbaf04c041-Abstract-Conference.html.
Tim Salimans and Jonathan Ho. Progressive distillation for fast sampling of diffusion models. In The Tenth International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=TIdIXIpzhoI.
Axel Sauer, Frederic Boesel, Tim Dockhorn, Andreas Blattmann, Patrick Esser, and Robin Rombach. Fast high-resolution image synthesis with latent adversarial diffusion distillation. In SIGGRAPH Asia 2024 Conference Papers, pages 1–11. Association for Computing Machinery, 2024. doi: 10.1145/3680528.3687625. URL https://doi.org/10.1145/3680528.3687625.
Axel Sauer, Dominik Lorenz, Andreas Blattmann, and Robin Rombach. Adversarial diffusion distillation. In Computer Vision – ECCV 2024, pages 87–103. Springer Nature Switzerland, 2025. doi: 10.1007/978-3-031-73016-0_6. URL https://doi.org/10.1007/978-3-031-73016-0_6.
Christoph Schuhmann. LAION-Aesthetics, 2022. URL https://laion.ai/blog/laion-aesthetics/.
Christoph Schuhmann, Romain Beaumont, Richard Vencu, Cade Gordon, Ross Wightman, Mehdi Cherti, Theo Coombes, Aarhus Katta, Clayton Mullis, Mitchell Wortsman, Patrick Schramowski, Srivatsa Kundurthy, Katherine Crowson, Ludwig Schmidt, Robert Kaczmarczyk, and Jenia Jitsev. LAION-5B: An open large-scale dataset for training next generation image-text models. In Advances in Neural Information Processing Systems, volume 35, pages 25278–25294. Curran Associates, Inc., 2022. doi: 10.52202/068431-1833. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/a1859debfb3b59d094f3504d5ebb6c25-Abstract-Datasets_and_Benchmarks.html.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms, 2017. URL https://arxiv.org/abs/1707.06347.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models, 2024. URL https://arxiv.org/abs/2402.03300.
Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. In International Conference on Learning Representations, 2021a. URL https://openreview.net/forum?id=St1giarCHLP.
Yang Song, Jascha Sohl-Dickstein, Durk Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021b. URL https://openreview.net/forum?id=PxTIG12RRHS.
Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. Consistency models. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 32211–32252. PMLR, 23–29 Jul 2023. URL https://proceedings.mlr.press/v202/song23a.html.
Stability AI. Stable Diffusion 3.5, 2024. URL https://github.com/Stability-AI/sd3.5. Model release.
Team Seedream, Yunpeng Chen, Yu Gao, Lixue Gong, Meng Guo, Qiushan Guo, Zhiyao Guo, Xiaoxia Hou, Weilin Huang, Yixuan Huang, Xiaowen Jian, Huafeng Kuang, Zhichao Lai, Fanshi Li, Liang Li, Xiaochen Lian, Chao Liao, Liyang Liu, Wei Liu, Yanzuo Lu, Zhengxiong Luo, Tongtong Ou, Guang Shi, Yichun Shi, Shiqi Sun, Yu Tian, Zhi Tian, Peng Wang, Rui Wang, Xun Wang, Ye Wang, Guofeng Wu, Jie Wu, Wenxu Wu, Yonghui Wu, Xin Xia, Xuefeng Xiao, Shuang Xu, Xin Yan, Ceyuan Yang, Jianchao Yang, Zhonghua Zhai, Chenlin Zhang, Heng Zhang, Qi Zhang, Xinyu Zhang, Yuwei Zhang, Shijia Zhao, Wenliang Zhao, and Wenjia Zhu. Seedream 4.0: Toward next-generation multimodal image generation, 2025. URL https://arxiv.org/abs/2509.20427.
Team Wan, Ang Wang, Baole Ai, Bin Wen, Chaojie Mao, Chen-Wei Xie, Di Chen, Feiwu Yu, Haiming Zhao, Jianxiao Yang, Jianyuan Zeng, Jiayu Wang, Jingfeng Zhang, Jingren Zhou, Jinkai Wang, Jixuan Chen, Kai Zhu, Kang Zhao, Keyu Yan, Lianghua Huang, Mengyang Feng, Ningyi Zhang, Pandeng Li, Pingyu Wu, Ruihang Chu, Ruili Feng, Shiwei Zhang, Siyang Sun, Tao Fang, Tianxing Wang, Tianyi Gui, Tingyu Weng, Tong Shen, Wei Lin, Wei Wang, Wei Wang, Wenmeng Zhou, Wente Wang, Wenting Shen, Wenyuan Yu, Xianzhong Shi, Xiaoming Huang, Xin Xu, Yan Kou, Yangyu Lv, Yifei Li, Yijing Liu, Yiming Wang, Yingya Zhang, Yitong Huang, Yong Li, You Wu, Yu Liu, Yulin Pan, Yun Zheng, Yuntao Hong, Yupeng Shi, Yutong Feng, Zeyinzi Jiang, Zhen Han, Zhi-Fan Wu, and Ziyu Liu. Wan: Open and advanced large-scale video generative models, 2025. URL https://arxiv.org/abs/2503.20314.
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 Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 8228–8238, June 2024. URL https://openaccess.thecvf.com/content/CVPR2024/html/Wallace_Diffusion_Model_Alignment_Using_Direct_Preference_Optimization_CVPR_2024_paper.html.
Feng Wang and Zihao Yu. Coefficients-preserving sampling for reinforcement learning with flow matching, 2025. URL https://arxiv.org/abs/2509.05952.
Fu-Yun Wang, Zhaoyang Huang, Alexander William Bergman, Dazhong Shen, Peng Gao, Michael Lingelbach, Keqiang Sun, Weikang Bian, Guanglu Song, Yu Liu, Xiaogang Wang, and Hongsheng Li. Phased consistency models. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 83951–84009. Curran Associates, Inc., 2024a. doi: 10.52202/079017-2668. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/98a29475083c502c34949f9baa1aa2ef-Abstract-Conference.html.
Ruoyu Wang, Boye Niu, Xiangxin Zhou, Yushi Huang, Tongliang Liu, and Chi Zhang. Exploring the design space of reward backpropagation for flow matching, 2026. URL https://arxiv.org/abs/2606.11075.
Xinlong Wang, Xiaosong Zhang, Zhengxiong Luo, Quan Sun, Yufeng Cui, Jinsheng Wang, Fan Zhang, Yueze Wang, Zhen Li, Qiying Yu, Yingli Zhao, Yulong Ao, Xuebin Min, Tao Li, Boya Wu, Bo Zhao, Bowen Zhang, Liangdong Wang, Guang Liu, Zheqi He, Xi Yang, Jingjing Liu, Yonghua Lin, Tiejun Huang, and Zhongyuan Wang. Emu3: Next-token prediction is all you need, 2024b. URL https://arxiv.org/abs/2409.18869.
Zhendong Wang, Huangjie Zheng, Pengcheng He, Weizhu Chen, and Mingyuan Zhou. Diffusion-GAN: Training GANs with diffusion. In ICLR 2023, 2023a. URL https://openreview.net/forum?id=HZf7UbpWHuA.
Zhengyi Wang, Cheng Lu, Yikai Wang, Fan Bao, Chongxuan Li, Hang Su, and Jun Zhu. Prolific-dreamer: High-fidelity and diverse text-to-3d generation with variational score distillation. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 8406–8441. Curran Associates, Inc., 2023b. doi: 10.52202/075280-0368. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/1a87980b9853e84dfb295855b425c262-Abstract-Conference.html.
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, 2023. URL https://arxiv.org/abs/2306.09341.
Enze Xie, Junsong Chen, Yuyang Zhao, Jincheng Yu, Ligeng Zhu, Yujun Lin, Zhekai Zhang, Muyang Li, Junyu Chen, Han Cai, Bingchen Liu, Daquan Zhou, and Song Han. SANA 1.5: Efficient scaling of training-time and inference-time compute in linear diffusion transformer. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 68578–68598. PMLR, 13–19 Jul 2025a. URL https://proceedings.mlr.press/v267/xie25b.html.
Jinheng Xie, Weijia Mao, Zechen Bai, David Junhao Zhang, Weihao Wang, Kevin Qinghong Lin, Yuchao Gu, Zhijie Chen, Zhenheng Yang, and Mike Zheng Shou. Show-o: One single transformer to unify multimodal understanding and generation. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu, editors, International Conference on Learning Representations, volume 2025, pages 28240–28264, 2025b. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/45f0d179ef7e10eb7366550cd4e574ae-Abstract-Conference.html.
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. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 15903–15935. Curran Associates, Inc., 2023. doi: 10.52202/075280-0700. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/33646ef0ed554145eab65f6250fab0c9-Abstract-Conference.html.
Shuchen Xue, Chongjian Ge, Shilong Zhang, Yichen Li, and Zhi-Ming Ma. Advantage weighted matching: Aligning RL with pretraining in diffusion models. In ICML 2026, 2026. URL https://icml.cc/virtual/2026/poster/61737.
Zeyue Xue, Jie Wu, Yu Gao, Fangyuan Kong, Lingting Zhu, Mengzhao Chen, Zhiheng Liu, Wei Liu, Qiushan Guo, Weilin Huang, and Ping Luo. DanceGRPO: Unleashing GRPO on visual generation, 2025. URL https://arxiv.org/abs/2505.07818.
Tianwei Yin, Michaël Gharbi, Taesung Park, Richard Zhang, Eli Shechtman, Frédo Durand, and William T. Freeman. Improved distribution matching distillation for fast image synthesis. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 47455–47487. Curran Associates, Inc., 2024a. doi: 10.52202/079017-1505. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/54dcf25318f9de5a7a01f0a4125c541e-Abstract-Conference.html.
Tianwei Yin, Michaël Gharbi, Richard Zhang, Eli Shechtman, Frédo Durand, William T. Freeman, and Taesung Park. One-step diffusion with distribution matching distillation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6613–6623, June 2024b. URL https://openaccess.thecvf.com/content/CVPR2024/html/Yin_One-step_Diffusion_with_Distribution_Matching_Distillation_CVPR_2024_paper.html.
Z-Image Team, Huanqia Cai, Sihan Cao, Ruoyi Du, Peng Gao, Aiming Hao, Steven Hoi, Zhaohui Hou, Shijie Huang, Dengyang Jiang, Yuming Jiang, Xin Jin, Liangchen Li, Zhen Li, Zhong-Yu Li, David Liu, Dongyang Liu, Qilong Wu, Feng Yu, Zechao Zhan, Chi Zhang, Shifeng Zhang, Ruiakai Zhou, and Shilin Zhou. Z-Image: An efficient image generation foundation model with single-stream diffusion transformer, 2025. URL https://arxiv.org/abs/2511.22699.
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 C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 134129–134150, 2026a. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/d8e68ddfe22520b45b8f b8d5cbde5a21-Abstract-Conference.html.
Kaiwen Zheng, Yuji Wang, Qianli Ma, Huayu Chen, Jintao Zhang, Yogesh Balaji, Jianfei Chen, Ming-Yu Liu, Jun Zhu, and Qinsheng Zhang. Large scale diffusion distillation via score-regularized continuous-time consistency. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust, editors, International Conference on Learning Representations, volume 2026, pages 2582–2603, 2026b. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/0534 abc9e6db91683d82186ef0d68202-Abstract-Conference.html.
Wei Zhou, Xiongwei Zhu, Lingdong Kong, Bo Chen, Lei Zhang, Yongyuan Liang, Xiaoxia Hou, Ye Tian, Xian Sun, Yingshuo Wang, Linfeng Li, Shengqiong Wu, Leigang Qu, Feng Li, Wei Liu, Julian McAuley, and Tat-Seng Chua. On-policy self-distillation in diffusion models, 2026. URL https://arxiv.org/abs/2608.24646.
Kai Zou. text-to-image-2m, 2024. URL https://huggingface.co/datasets/jackyhate/text-to-image-2M. Dataset.
Appendix
Appendix Contents
A Notation 68
B FewStepGRPO 74
B.1 Why there is no auxiliary-velocity variant ..... 74
B.2 The transition kernel ..... 75
B.3 The decoupled loss ..... 76
C FewStepOPSD 77
C.1 The quantities ..... 78
C.2 Cancellation of ..... 78
C.3 Remarks ..... 79
C.4 Cost, and an empirical check ..... 80
D Supplementary Experiments 81
D.1 Shared hyperparameters ..... 81
D.2 Analysis of no gain in CLIPScore for group-advantage runs ..... 84
D.3 Why FewStepOPSD resembles ReFL ..... 85
D.4 The velocity penalty: KL-u against KL-v ..... 85
D.5 Partial differentiability of the video reward ..... 86
Appendix A. Notation
This paper connects several families of methods and therefore uses a large number of symbols. We collect them in the following table; each symbol is also defined where it first appears.
| Symbol | Meaning |
|---|---|
| text prompt (conditioning); omitted from an argument list when it is fixed or irrelevant. A bare always has this meaning; subscripted quantities such as and are distinct | |
| standard Gaussian noise, ; a prime marks a fresh rollout-time renoise draw | |
| flow-map endpoints, ; generation runs from noise at to data at . The unhatted letter always names a noise level and never a reward; the hatted below is the mixing weight. Individual objectives state any stricter query domain required by divisions by or | |
| a generic level on the same scale, , used as the time of the SDEs of Appendix B | |
| positive-integer group size: the number of rollouts sharing one prompt, ; members carry the index | |
| a clean sample. Without a noise-level subscript, an -symbol denotes a quantity at ; a subscript or indicates its level, while , old, real or a role label indicates its source. Method-specific quantities have the level of the object they represent; in particular, the MeanFlow quantities of Equation (43) and the FewStepGRPO prediction and anchors of Equation (97) are defined at level | |
| a state on a trajectory of either the probability-flow ODE Equation (1) or the sampler, as opposed to the reconstructed state below. Among the reward methods, only those that replay a transition need the states of the sampler, which §3 and Stage 1 write as and | |
| positive-integer number of sampler transitions and their grid levels, | |
| step count drawn per update by the stochastic DMD sampler of §3, | |
| integration variable along a trajectory in Equation (1) | |
| two distinct flow-map query levels: is redrawn by FewStepGRPO at training time, whereas is the rollout-time level drawn at step , with (Equation (94)) | |
| non-negative renoise scale of the stochastic rollout (Equation (94)) |
continued on the next page
| Symbol | Meaning |
|---|---|
| trainable average velocity over , which defines a flow map over for few-step generation | |
| frozen old policy, with parameters ; EMA of , refreshed once per outer iteration | |
| instantaneous velocity induced by the current policy, i.e., the field whose flow map averages (Equation (1)). As stated in §3, we identify it with the flow-matching marginal velocity under the distribution of the current policy's samples instead of the data distribution, | |
| , | |
| the two coinciding when the flow map is exact; it is recovered from through the MeanFlow identity, and a network that parameterises the instantaneous field (§3.2) outputs it directly | |
| the instantaneous field of the old policy, counterpart of , and the distribution of its rollouts | |
| the pretrained teacher field, frozen; the distillation target | |
| conditional velocity of a sample: for a clean , and for a rollout. It is the velocity of the straight path from the sample to the noise, requires no network evaluation, and is the single-sample regression target of every flow-matching loss in this paper | |
| auxiliary velocity with its own parameters , fitted online by flow matching to the student's samples so that it tracks rather than the data distribution ; in RL those samples are the old-policy rollouts, so it tracks (Equation (52)) | |
| total derivative along the trajectory of the instantaneous field that averages (Equation (1)); the implementation estimates it by the directional-difference estimate of along (Equation (87)), except on a replayed GRPO state, where the tangent is (Equation (109)) | |
| detached Jacobian-vector term , i.e., the detached difference between the instantaneous velocity at and the average velocity over . Apart from the MeanFlow loss Equation (8), it is evaluated on and shared between the current and old policies; a bare denotes at the current query |
continued on the next page
| Symbol | Meaning |
|---|---|
| self-induced instantaneous velocity (Equation (37)), computed from the average velocity and its total derivative in without a second network; detached. It equals the instantaneous velocity of wherever the flow map is exact | |
| rollout sample of the current policy, , run on the grid of steps (Equation (3)). The subscript indicates that depends differentiably on , which requires a differentiable sampler | |
| the rollout sample detached, ; every reward method uses this detached sample. In RL it is drawn by the old policy, (Stage 1), so its distribution is | |
| renoised state of the rollout sample, , with a fresh draw independent of the rollout's own noise | |
| transported state, i.e., the state obtained by moving along a velocity to level , ; normalised so that | |
| the policy prediction differentiated by the loss, with clean-end default (Equation (23)), also called the renoise-and-denoise sample in Figure 2. Its clean-end instances include and . For FewStepGRPO, the differentiated prediction is instead the mean of the scoring kernel at level (Equation (97)). Every anchor is detached | |
| the policy's one-step transport to level , | |
| u-prediction, | |
| v-prediction, (Equation (49)), the current-policy counterpart of . Since is detached, its Jacobian is that of | |
| the -free query, i.e., with dropped; it has the same Jacobian as and is the current prediction of DM-DAWM, DMDNFT, FewStepOPSD and ReFL | |
| the two detached v-form anchors, named after the velocity they use: the self-induced prediction (Equation (38)), anchor of the v-ind variants, and the auxiliary prediction , baseline of the v-aux variants (in DMD evaluated at , Equation (44)) |
continued on the next page
| Symbol | Meaning |
|---|---|
| , , | the old policy's other predictions at the same state: for an instantaneous-velocity policy (Equation (24)); for an average-velocity policy the u-prediction and the J-free query , which serves as anchor in DMDAWM, DMDNFT, FewStepOPSD and ReFL (Table 2) |
| the teacher's prediction at the same state, | |
| , | teacher and self-induced predictions at level (Equation (39)) |
| , | positive and negative implicit-policy branches and their clean predictions (Equation (19), Equation (26)) |
| anchor 1, the regression anchor, constructed for the self-regression loss that regularises the tuning of | |
| anchor 2, the baseline anchor, from which the reward displacement is measured | |
| anchor 3, the rewarded anchor. It is the scored rollout in FewStepAWM and FewStepNFT, and a teacher prediction, a replayed action or a constructed rewarded point in the other methods. Together with it defines the reward-augmentation displacement, whose direction is set by the sign of | |
| reward model and decoder; is the endpoint reward of member | |
| signed, detached advantage of the endpoint reward. Under Equation (12) it is normalised and zero-mean within the prompt group; under the implemented Equation (83) it is centred on the prompt's mean in the current outer iteration and scaled by the current global-batch standard deviation | |
| positive normaliser in Equation (18), , so that the bracketed quotient equals the of Equation (12) | |
| bounded mixing weight, or optimality probability, taking values in ; monotone non-decreasing in and equal to when . ReFL overrides it with | |
| positive branch coefficient, , that directly scales the implicit-policy branch displacement; the induced policy-space reward step later contains |
continued on the next page
| Symbol | Meaning |
|---|---|
| detached signed reward coefficients (scalars) used in the general loss. Their magnitudes are and . In Few-StepGRPO and FewStepAWM, a non-zero has the sign of , and the clipping gate may set it to zero. FewStepNFT defines directly, and FewStepOPSD uses a positive ascent coefficient and a negative descent coefficient | |
| non-negative, detached per-sample loss weights. A bare is local shorthand for when , or for their common value where they coincide | |
| detached reward displacement, , with the branch-indexed counterpart used by FewStepOPSD | |
| true transition-density ratio of the background FlowGRPO objective (Equation (13)) | |
| tempered (per-element-averaged) scoring-kernel ratio of Few-StepGRPO, a per-sample scalar equal to the power of the corresponding Gaussian density ratio (Equation (96)) | |
| detached residual-change statistic of FewStepAWM; it is not an importance ratio (Equation (101)) | |
| detached unclipped-gradient gate of Equation (14); its method-specific evaluations and are written explicitly in Equation (96) and Equation (101) | |
| means and width of the Gaussian scoring kernel used by Few-StepGRPO over a step of length (Equation (95)). The width is distinct from the level of and the rollout renoise scale | |
| Euler-Maruyama coefficients of the scoring kernel, (Equation (95)); distinct from the NFT branch weights | |
| implemented FewStepAWM residual scale with floor ; it is not a transition-kernel width | |
| base noise scale and per-level noise scale of the scoring kernel of FewStepGRPO, using the definition of Equation (110), which avoids the singularity at the source endpoint by evaluating only the denominator at | |
| non-negative branch weights and , and strictly positive adaptive normalisers , used by FewStepNFT and FewStepOPSD (Equation (105)) |
continued on the next page
| Symbol | Meaning |
|---|---|
| ascent and descent points, their iterates indexed by , step size , total step length in units of the trust radius, relative trust radius , and positive-integer number of steps ; (Equation (62)) | |
| FewStepOPSD branch increments (Equation (63), Equation (67)) and the detached shift that transfers them to the v-form anchor (Equation (70)) | |
| loss weight of the ReFL objective (Equation (74)) | |
| standard Gaussian increment and forward/backward Brownian motions of the SDEs in Section B.2 | |
| per-inner-iteration network-evaluation counters, the extra per-outer-iteration cost, and the total and rollout cost of one outer iteration (Table 4) | |
| positive clip half-range in Equation (84), also used as the explicit overall scale of the implemented NFT, general OPSD and ReFL trainers; inner iterations per outer iteration, training queries per member, and fitting steps of per outer iteration | |
| rewards of prompt in the current outer iteration and the current global batch of rewards, the two populations of Equation (83) | |
| initial pre-RL average-velocity policy used as the KL reference and kept fixed throughout training (Equation (92)); distinct from the per-outer-iteration old policy | |
| weight, endpoint-renoise and replay forms of the average-velocity penalty, and the instantaneous-reference form (Equation (92), Equation (93)) | |
| AWM's time weight | |
| advantage standard-deviation floor (set to in Equation (83)), clipping radius, directional-difference step, adaptive-normaliser floor and reward-gradient-norm floor; and | |
| stop-gradient: identity forward, zero backward | |
| per-sample mean: the average over the elements of a single sample, , taken before any batch reduction; squares inside it are elementwise, so . It is the reduction the implemented losses use in place of ; the resulting per-sample losses are subsequently averaged over the batch |
Appendix B. FewStepGRPO
Throughout this appendix, denotes a transition of the stochastic sampler Equation (94) replayed as in §5.3, where are consecutive levels of the rollout grid, , and is the lower endpoint of the flow map, redrawn at every inner iteration. The same estimate is added to both means of Equation (95),
where is evaluated by Equation (109), with tangent . Squared norms are per-sample means mean, as in Stage 4.
B.1 Why there is no auxiliary-velocity variant
The auxiliary velocity cannot be used for the current prediction, because substituting would give (§4.3); the trainers that use therefore use it only for the baseline, (Equation (60), Equation (104)). In FewStepGRPO, both anchors that an auxiliary field could replace are already fixed, and (Equation (97)), and §B.3 shows that this choice reproduces the gradient of the tempered Gaussian log-score of the action. Apart from the detached shared by both means, the old policy enters through in . An auxiliary variant would therefore have to place inside the scoring kernel.
(a) as the old-policy field. If were replaced by , then at the scoring ratio would compare the distances of and to . The ratio would then generally differ from one at zero policy drift, so the PPO clip would respond to the approximation error of as well as to the change of the policy.
(b) as the source of the shared correction. Replacing by in both means of Equation (108) keeps , hence at , but it requires at the replayed state . By Equation (88), is fitted on re-noised states , with independent of , against the conditional velocity . A replayed state is not of this form, because Equation (94) adds fresh noise at every step; hence and the endpoint of the same trajectory are not connected by a straight path with independent noise , and is not defined at . Exact transport at every step would be sufficient for the two state marginals to agree, but the finite-step map used here is not exact; the replay query can therefore differ from the distribution on which is fitted. In an earlier run of construction (b), not among those of §6, which queried at the replayed states, the evaluated OCR accuracy fell from 0.498 to 0.016 within 40 iterations while the loss Equation (88) decreased from 0.354 to 0.152. This is consistent with improving on its training distribution while being evaluated on a different one. Querying at a re-noised state instead removes the mismatch, but the correction is then evaluated at a state other than the one at which the kernel is centred, and the scored density is no longer that of the transition that was taken.
The trainers of §§5.4–5.5 avoid both problems. Their query state ADDNOISE( ) follows the training distribution of (Stage 3 (i)), and enters only through their baseline. FewStepGRPO, whose kernel has to be evaluated at the states the sampler visited, therefore uses only the shared-J construction.
B.2 The transition kernel
Replay trajectory. A state stored on the replay trajectory is not an endpoint-renoise state ADDNOISE( ), so is not its tangent. We instead use :
The result is detached and shared by both means. It costs two no-grad forwards of .
Boundary condition. The coefficients of Equation (95) use the following implemented noise scale on the rollout grid:
The coefficients and retain the source level ; only the singular denominator of is evaluated at .
Derivation of Equation (95). Write for the level along the linear path, on which the probability-flow ODE reads , with the marginal velocity, and the score is (§3, the paragraph on DMD). For any diffusion coefficient , the forward-time SDE
has the same marginals as the probability-flow ODE: in its Fokker-Planck equation, the term contributed by the added drift and the diffusion term cancel, since . The time reversal of Equation (111), run from to , is
One Euler-Maruyama step from to , i.e. , followed by the substitution of the score, gives
(113)
with , which is Equation (95). The choice Equation (110) of , which avoids the singularity at the source endpoint, fixes the coefficients; at only the denominator of is evaluated at , while and retain the source level . The transition density is , whose mean is affine in ; moreover, on every transition of the grid.
Equivalence with the kernel of an instantaneous-velocity policy. For an average-velocity policy the MeanFlow identity, Equation (6), gives for every . If were computed from , the velocity used in Equation (113) would therefore be the instantaneous velocity of the policy, the same for every , and the transition density of FewStepGRPO would be that of FlowGRPO for the policy . Computing from , as every v-form trainer does (Stage 3 (ii)), makes this exact at , up to the error of Equation (109); for the field is , which depends on only through a term of the order of the drift of the policy from the old policy. Two consequences follow.
enters the gradient through the entry of the flow map that is differentiated, , and the scored density only through that drift term. Redrawing at every inner iteration therefore distributes the gradient of one transition over the entries , , as Stage 3 (i) does for the trainers that re-noise, without changing what is scored at .
• For any objective , , since is detached (Equation (41)). This equals the FlowGRPO gradient with replaced by .
The tempered scoring ratio. The ratio Equation (96) is the 1/N power of the Gaussian density ratio, equivalently the ratio at temperature .
The tempered ratio at zero drift. Since the same is added to both means, , and expanding the two squares of in Equation (96) gives
Hence at , regardless of the error of and of the kernel that generated , because the same enters both means and the same enters both squares. The ratio differs from one only through .
Relation to the kernel that produced the action. In the notation of Equation (94), and , and the action was drawn by the flow-map step to the level drawn by the sampler, , followed by . Given an exact flow-map jump to , this rollout kernel preserves the linear-path marginal exactly: if , then , a noise of variance by the definition of . This kernel, however, differs from Equation (113). Its mean is and its width is , with whenever , in which case the kernel is deterministic and has no likelihood ratio. On the four-step grid, with drawn uniformly from the remaining grid levels, this happens for 52% of the transitions, including every final transition. FewStepGRPO therefore scores the action under Equation (113), for three reasons: on every transition; the mean is affine in the instantaneous velocity, so that the equivalence above holds; and the tempered ratio is exact at zero drift by Equation (114). The approximation lies in the scored transition. Besides the noise , both in Equation (114) and in the gradient of §B.3 contain the deterministic difference between the means of the two kernels. Consequently, is a tempered ratio of the surrogate scoring kernels and not an exact importance ratio for the rollout kernel.
B.3 The decoupled loss
The decoupled loss reproduces the gradient of the tempered clipped surrogate. Per transition, define
Where the first branch attains the minimum, its gradient is ; where the second does, it is constant in and contributes no gradient. With the explicit gate of Equation (96) and the per-element Gaussian log-score ,
Substituting Equation (97) into Equation (90) gives with and ; since vanishes in value and has the identity as Jacobian,
which, with and , is Equation (115) term by term. The equality holds for gradients; the value of is , as for every trainer (Stage 4).
Justification of each factor
-
The per-element mean. A Gaussian log-density is a sum over the non-batch elements of one latent; taking it as the mean divides the exponent by , which is why is the power of the density ratio, or equivalently a score at temperature . Here for the image latent and for the video latent. Using the mean keeps the ratio within floating-point range (with the sum, the exponent can overflow for differences allowed by the clip), follows FlowGRPO, and is consistent with a clipping radius of order .
-
The factor in . The reward term of Equation (90) contributes times the displacement, so must contain the factor of the log-score for Equation (115) to hold. Without it, each transition would be weighted by , which varies by a factor of 2.7 across the four transitions of the grid; a single learning rate cannot compensate for such a transition-dependent scale.
-
. The score of the Gaussian at the action, , is measured from the current mean, so the origin of the reward direction has to follow the policy. A fixed origin , i.e. a translation as in DiffusionNFT, coincides with it only at .
-
. The self-regression role is played by the ratio and its clip, and by the velocity penalty of Equation (92); a self-regression term would add to Equation (115) a gradient that the policy-gradient estimator does not contain.
-
Method-specific scaling. The implemented NFT and general OPSD trainers multiply both loss weights by to undo the compression of Equation (84); the factor is written explicitly in Equation (106) and Equation (107). ReFL keeps it although it fixes . FewStepGRPO does not use it, since already contains the gated signed advantage .
Appendix C. FewStepOPSD
This appendix proves that, in the v-form of §5.6, the loss and its gradient do not depend on the detached term . After dropping , the current prediction and its anchors reduce to the -free query of §4.3, i.e., the average velocity queried at and transported to the clean end without correction, while the reward-gradient steps still start from the prediction. We follow one member and suppress the index . Every prediction is evaluated at the query state of level and at the drawn during the reward-coupled construction and reused at fitting (§5.6, (i)). Four properties of the implementation are used:
(a) the same detached estimate is added to every prediction (Stage 3 (iii));
(b) the old policy is the same in the reward-coupled construction and in fitting, being refreshed only after the policy update of the outer iteration (Stage 1);
(c) the points are constructed by Equation (70); the gradient steps start from the r = 0 prediction, and only the resulting displacement is added to the anchor;
(d) the velocity penalty, where present, is that of Equation (92).
C.1 The quantities
By Equation (86) and Equation (69), the current prediction and the anchors are
(116)
By (c), the iteration Equation (62) starts at , the r = 0 prediction of Equation (48); that is, in Equation (62) is replaced by in the starting point , in the step length and in the trust region, the ball of radius around . The resulting points are , so that their increments over the anchor, in the notation of Equation (63), are
C.2 Cancellation of J
(1) the increments do not contain J.
Lemma C.1. is a function of , of the reward and of the constants alone; in particular it does not depend on .
Proof contains no . If does not, neither does the reward gradient evaluated at it, nor the step length , nor the centre and radius of the trust region, all of which are evaluated at ; hence does not. By induction does not, and neither does Equation (117).
The shift does contain J; it enters only as the offset subtracted from the end point of the iteration, and cancels in Equation (117).
(2) the self-regression residual. By (a) the two copies of J in Equation (116) are one detached vector, and
which is Equation (71).
(3) the weights. The normalisers of Equation (105), evaluated at as in §5.6 (iv), take the branch residuals
by , Equation (117) and Equation (118). By Lemma C.1 neither term contains J; hence neither do , , , nor the weights , , of Equation (107). depends only on the rewards of the rollouts (Stage 2).
(4) the reward displacements. From Equation (67),
neither of which contains J.
(5) the Jacobian. J is detached, so by Equation (41) .
(6) the loss and its gradient. Each reward square of Equation (68) equals in value (Stage 4), so the value of the loss is
and its gradient, which is Equation (66) written with the per-sample mean, is by Steps 2–5
Proposition C.2. The value and the gradient of the v-form FewStepOPSD loss, Equation (120) and Equation (121), do not depend on J. In particular, they are those obtained with J = 0.
Proof Every factor of Equation (120) and Equation (121) is one of , , , , , , and , none of which contains J by Steps 1–5. The penalty of Equation (92) compares and at the same and contains no J either.
Corollary C.3. Dropping J in Equation (116) gives
with computed from . These are the -free queries of §4.3; they coincide with the -form quantities of §5.6 (ii) except that the current prediction and its anchors are queried at instead of ; the reward displacement is still computed from . At the two constructions coincide, since then and . Freeing therefore trains every while the decoder and the reward gradient are still evaluated at the clean prediction ; the -form trains only .
C.3 Remarks
Remark C.4 (The cancellation as a translation). Steps 1–4 state that shifts the five points , , , , by the same detached vector (with shifted through the offset of Equation (70)), whereas the loss depends on them only through and . The two quantities of the construction that depend on an absolute position, the points at which is evaluated and the radius of the trust region, are evaluated at , which does not depend on .
Remark C.5 (Where the cancellation fails). (i) If the gradient steps were started at itself instead of at as prescribed by Equation (70), would be evaluated at, and the radius computed from, points displaced by , and would remain in ; this is why Example 8 (iii) starts the steps at the -free prediction. (ii) If the constructed points were left at the end point of the iteration, , instead of being shifted back by , the differences would contain and hence . (iii) The penalty of Equation (93) contains in its target. (iv) An old policy refreshed between point construction and fitting would make at fitting differ from the anchor around which were placed, by a term that the cancellation does not remove.
Remark C.6 (Why the argument does not extend to the other trainers). In FewStepNFT, FewStepAWM and FewStepGRPO the rewarded point is a sample (the rollout sample or the action ) and does not contain , whereas the baseline does. Dropping changes the reward displacement of FewStepNFT, , by (Stage 3 (iii)), and the residual of FewStepGRPO by . This shift can be large; for MeanFlowNFT, the logged mean of is 2.7 in the mixed-reward setting and 3.6 in the OCR setting, compared with a root-mean-square entry of the clean latent of 1.06 and 1.46, respectively. In FewStepOPSD, both ends of every reward displacement are constructed from the same anchor, and the gradient steps start from the -free prediction (Equation (70)); together, these two properties give the cancellation. The same holds for ReFL, whose single reward square is the first one of Equation (68).
C.4 Cost, and an empirical check
requires one directional-difference estimate Equation (87), i.e. two no-grad forwards of . With retained, the v-form evaluates it twice per member and outer iteration: in the reward-coupled construction, to form , where the members are processed in micro-batches of six members to bound the memory of the reward backward pass; and in fitting, to form and . By Corollary C.3 neither evaluation is needed. Table S1 compares two runs of the v-form that differ only in this respect, and the same pair for ReFL with of the full reward. The training reward agrees to within 0.002 for the v-form at every evaluated iteration, and to within 0.006 for ReFL at iteration 400, below the 1% (about 0.016) by which two evaluation draws of one checkpoint may differ; held-out OCR accuracy differs more.
| trainer | it. | training reward | HPSv2 | PickScore | CLIPScore | aesthetic | OCR |
|---|---|---|---|---|---|---|---|
| FewStepOPSD | 100 | 1.5692 / 1.5704 | 0.3520 / 0.3515 | 0.9205 / 0.9230 | 0.2968 / 0.2959 | 6.092 / 6.093 | 0.400 / 0.405 |
| 200 | 1.6052 / 1.6055 | 0.3643 / 0.3633 | 0.9338 / 0.9356 | 0.3071 / 0.3066 | 6.068 / 6.054 | 0.433 / 0.441 | |
| 300 | 1.6258 / 1.6243 | 0.3705 / 0.3698 | 0.9410 / 0.9416 | 0.3144 / 0.3129 | 5.984 / 5.983 | 0.474 / 0.486 | |
| 400 | 1.6406 / 1.6409 | 0.3733 / 0.3734 | 0.9464 / 0.9458 | 0.3208 / 0.3217 | 5.929 / 5.906 | 0.550 / 0.493 | |
| ReFL | 400 | 1.6166 / 1.6225 | 0.3651 / 0.3675 | 0.9355 / 0.9378 | 0.3160 / 0.3172 | 5.893 / 5.891 | 0.468 / 0.546 |
| s/iter | sampling (s) | update (s) | |||||
| FewStepOPSD | 499 / 268 | 437.4 / 224.7 | 58.4 / 43.3 | ||||
| ReFL | 303 / 219 | 240.0 / 174.6 | 60.4 / 44.2 |
Table S1: Comparison of retaining and setting in FewStepOPSD and in ReFL with of the full reward. For each trainer, the two runs differ only in whether Equation (87) is evaluated. Each cell reads “ retained / ”; the runs with are those of §6.3, and their entries are those of Table 6, Table S4 and Figure 4. Top: the runs with retained are evaluated offline (256 images, seed 12345, DrawBench prompts, OCR prompts for OCR accuracy), with the same protocol as the runs with at iteration 400. Bottom: cost per iteration, medians over the training logs on 8 GPUs; the runs with retained were not timed on the same machine as those with .
Appendix D. Supplementary Experiments
D.1 Shared hyperparameters
The following values are shared by every trainer of §6.1 and §6.2 and complement the settings listed there.
Old-policy EMA. The old policy is refreshed once per outer iteration by , with the decay schedule of the official DiffusionNFT implementation (Zheng et al., 2026a): the decay ratio increases linearly with the outer iteration to a cap of 0.5. Since for , the condition of Example 9 holds only at the first outer iteration.
Floors. The floors are: the residual-scale floor of FewStepAWM (Equation (101)), the directional-difference step (Equation (87)), the adaptive-normaliser floor (Equation (105)), the reward-gradient-norm floor (Equation (62)) and the advantage standard-deviation floor (Equation (83)).
GenEval2. Following MeanFlowNFT (Huang et al., 2026b), we adopt the official GenEval2 evaluation setting (Kamath et al., 2025).
(a) Quality dimensions (Q)
| method | DD | SC* | MS* | TF* | BC* | AQ | IQ | quality |
|---|---|---|---|---|---|---|---|---|
| FewStepGRPO | 59.62 | 97.38 | 95.85 | 96.67 | 95.07 | 69.97 | 69.54 | 85.27 |
| MeanFlowAWM | 58.89 | 97.52 | 96.04 | 96.83 | 95.35 | 70.02 | 69.65 | 85.36 |
| DMDAWM | 58.61 | 97.57 | 96.24 | 96.98 | 95.24 | 69.99 | 69.47 | 85.35 |
| MeanFlowNFT | 58.06 | 97.62 | 96.35 | 97.15 | 95.37 | 69.99 | 69.20 | 85.34 |
| DMDNFT | 53.33 | 97.83 | 97.21 | 97.44 | 95.27 | 69.77 | 68.75 | 85.07 |
| FewStepOPSD | 59.44 | 97.57 | 96.02 | 96.82 | 95.68 | 70.87 | 68.21 | 85.37 |
| ReFL | 59.17 | 97.55 | 96.02 | 96.84 | 95.45 | 70.36 | 69.27 | 85.40 |
| mean | 58.16 | 97.58 | 96.25 | 96.96 | 95.35 | 70.14 | 69.16 | 85.31 |
| spread (max−min) | 6.29 | 0.45 | 1.36 | 0.77 | 0.61 | 1.10 | 1.44 | 0.33 |
(b) Semantic dimensions (S)
| method | OC | MO | HA | Co | SR | Sc* | AS* | TS* | OCs* | semantic |
|---|---|---|---|---|---|---|---|---|---|---|
| FewStepGRPO | 90.33 | 82.25 | 93.10 | 88.23 | 81.43 | 53.20 | 72.81 | 62.42 | 69.02 | 76.98 |
| MeanFlowAWM | 90.36 | 82.04 | 93.60 | 88.67 | 81.24 | 52.96 | 72.84 | 62.52 | 69.13 | 77.04 |
| DMDAWM | 89.35 | 81.36 | 93.00 | 88.31 | 82.12 | 52.61 | 72.65 | 62.47 | 68.97 | 76.76 |
| MeanFlowNFT | 88.91 | 81.10 | 94.20 | 89.25 | 80.92 | 52.20 | 73.00 | 62.16 | 68.97 | 76.75 |
| DMDNFT | 90.00 | 84.02 | 93.00 | 88.37 | 80.38 | 50.95 | 72.01 | 62.15 | 68.81 | 76.63 |
| FewStepOPSD | 90.38 | 81.07 | 92.00 | 88.16 | 80.11 | 52.24 | 74.53 | 61.58 | 68.71 | 76.53 |
| ReFL | 90.57 | 81.55 | 92.80 | 87.79 | 81.22 | 53.16 | 73.32 | 62.27 | 69.02 | 76.85 |
| mean | 89.99 | 81.91 | 93.10 | 88.40 | 81.06 | 52.47 | 73.02 | 62.22 | 68.95 | 76.79 |
| spread (max−min) | 1.66 | 2.95 | 2.20 | 1.46 | 2.01 | 2.25 | 2.52 | 0.94 | 0.42 | 0.51 |
(c) Overall
| method | training reward | VBench | ||||
|---|---|---|---|---|---|---|
| sum | rank | quality | semantic | overall | rank | |
| FewStepGRPO | 15.89 | 7 | 85.27 | 76.98 | 83.62 | 4 |
| MeanFlowAWM | 16.66 | 4 | 85.36 | 77.04 | 83.70 | 1 |
| DMDAWM | 16.78 | 3 | 85.35 | 76.76 | 83.64 | 3 |
| MeanFlowNFT | 16.80 | 2 | 85.34 | 76.75 | 83.62 | 4 |
| DMDNFT | 17.93 | 1 | 85.07 | 76.63 | 83.38 | 7 |
| FewStepOPSD | 16.26 | 6 | 85.37 | 76.53 | 83.60 | 6 |
| ReFL | 16.46 | 5 | 85.40 | 76.85 | 83.69 | 2 |
| spread (max−min) | 2.04 | 0.33 | 0.51 | 0.32 | ||
Quality dimensions: DD dynamic degree, SC subject consistency, MS motion smoothness, TF temporal flickering, BC background consistency, AQ aesthetic quality, IQ imaging quality. Semantic dimensions: OC object class, MO multiple objects, HA human action, Co color, SR spatial relationship, Sc scene, AS appearance style, TS temporal style, OCs overall consistency. * marks the eight dimensions rescaled by fixed min–max ranges beforehand; their raw values differ substantially and are not comparable with these. quality: the seven Q dimensions aggregated with DD at weight 0.5 and the other six at weight 1, divided by 6.5 (the VBench convention); semantic: the nine S dimensions; overall = 0.8 quality + 0.2 semantic.
Table S2: All 16 VBench dimensions at iteration 250, normalised (%), i.e. the values entering the aggregates of Table 8. (a) Quality and (b) semantic dimensions, each with its aggregate and, below, the mean and spread over the seven methods. (c) Training reward against the VBench aggregates. Only DD (6.29) and MO (2.95) have a spread above 2.6; the remaining dimension spreads are at most 2.52. In the method rows, bold marks the highest per column; in the spread rows, it marks values above 2.6.
| trainer | it. | HPSv3 at | % change at = 32 against = 4 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4 | 8 | 16 | 32 | HPSv3 | ImgRwd | GenEval2 | Aesth. | CLIP | HPSv2 | Pick | ||
| FewStepGRPO | 400 | 11.58 | 11.15 | 10.49 | 10.09 | -12.85 | -4.26 | -2.89 | -1.76 | +0.58 | -3.82 | -0.85 |
| MeanFlowAWM | 100 | 12.30 | 12.36 | 12.17 | 11.85 | -3.71 | -0.58 | -6.46 | -2.98 | -0.08 | +0.57 | +0.07 |
| DMDAWM | 400 | 13.10 | 13.24 | 12.98 | 12.77 | -2.53 | +1.50 | +6.02 | -2.87 | -2.47 | +0.20 | +0.19 |
| MeanFlowNFT | 300 | 13.26 | 13.18 | 12.96 | 12.85 | -3.08 | -1.67 | +6.81 | -1.27 | -0.11 | +0.27 | +0.15 |
| DMDNFT | 400 | 13.49 | 13.49 | 13.34 | 13.13 | -2.67 | +0.08 | +5.59 | -2.09 | -0.66 | -0.24 | -0.05 |
| FewStepOPSD | 400 | 13.06 | 13.27 | 13.29 | 13.19 | +0.97 | +0.12 | +1.65 | -0.08 | -0.68 | -0.01 | +0.03 |
| ReFL | 200 | 13.80 | 13.50 | 13.12 | 12.87 | -6.76 | -1.55 | +0.05 | -1.38 | -0.58 | -2.97 | -0.74 |
Table S3: Test-time scaling in the mixed-reward setting. Left: HPSv3, a held-out evaluator with a clear signal, at each step count. Right: the percentage change of every evaluated dimension between and 32. CLIPScore, HPSv2 and PickScore are the three summands of the training reward; HPSv3, ImageReward, GenEval2 and the aesthetic score are held out. The GenEval2 column is reported for completeness only, since its largest change from 4 to 32 steps (0.028) and its largest intermediate change (0.032) are within or at the ~0.03 resolution stated in §6.1 for 256 images. Trainer labels are as in Table 5; “it.” is the checkpoint used.

Figure S1: Percentage change of each evaluated dimension from its four-step value against , one panel per evaluator and one line per model, including the AnyFlow initialisation and the pretrained SD3.5-Medium. Values of SD3.5-Medium outside the plotted range are printed at the top of each panel. The shaded band in the GenEval2 panel marks the ~0.03 resolution of §6.1; the changes of the fine-tuned models stay within or at this resolution, whereas both references move beyond it.

Figure S2: The percentage changes of Figure S1, one panel per model and one line per evaluator. Solid lines are held-out evaluators, and dashed lines are the summands of the training reward.
D.2 Analysis of no gain in CLIPScore for group-advantage runs
In the mixed-reward setting, all five default group-advantage runs end below the pre-RL CLIPScore. The two runs with the full reward gradient instead increase CLIPScore at every listed 100-iteration checkpoint, to 0.3217 and 0.3172. In contrast, all three CLIP-focused MeanFlowNFT ablations in the lower block of Table S4 end above the pre-RL value.
The training reward weights its three summands equally, but CLIPScore varies little within a prompt group, where the advantage is computed; at the pre-RL policy, its within-group standard deviation is only about 0.01 (0.010 and 0.014 on the first iteration of the two CLIPScore-only runs below), roughly a quarter of its global-batch standard deviation and 3.5–5% of its value. It accounts for 30.4% of the variance of the three summands, against 53.6% for PickScore and 16.0% for HPSv2, so an equal weight does not give it an equal share of the signal.
We therefore tested three ways of changing that share, the first two on MeanFlowNFT (Table S4, lower block). (i) Raising the weight of CLIPScore: the weights , i.e. 8:1:1, and (3.0, 0, 0), CLIPScore alone, the limit of an unbounded relative weight; both keep . (ii) Enlarging the group: CLIPScore alone with images per prompt instead of 24. (iii) Removing it from the gradient: ReFL differentiating HPSv2 alone. The first two increase CLIPScore, and the increase grows with its share; by iteration 400, it gains 0.0133 at 8:1:1, 0.0191 with CLIPScore alone, and 0.0363 with , more than either gradient-based trainer (0.0286–0.0331), although this run draws three times as many images per prompt. In all three runs, however, the other two summands stop improving, and HPSv2 and PickScore oscillate within [0.2473, 0.2974] and [0.8459, 0.8691], the range they occupy at the start of training; under CLIPScore alone the held-out aesthetic score and OCR accuracy also decrease, by 0.64–0.98 and 0.18–0.19. Conversely, ReFL with the gradient of HPSv2 alone leaves CLIPScore near its pre-RL value (0.2844–0.2883 over iterations 100–400) while raising HPSv2 to 0.3946, the highest of any reported variant.
In these ablations, increasing CLIPScore under a scalar advantage coincides with the gains of the other summands weakening or vanishing. The scalar is shared according to the covariance of each summand with the group reward, so reweighting redistributes the observed signal. The reward gradient instead contains a direction from every summand; in the reported FewStepOPSD and ReFL runs, CLIPScore, HPSv2 and PickScore rise together by 0.0286–0.0331, approximately 0.0705–0.0764,
| method | CLIPScore at iteration | ||||
|---|---|---|---|---|---|
| 0 | 100 | 200 | 300 | 400 | |
| FewStepOPSD, | 0.2886 | 0.2959 | 0.3066 | 0.3129 | 0.3217 |
| ReFL, of | 0.2886 | 0.2967 | 0.3076 | 0.3127 | 0.3172 |
| ReFL, of HPSv2 | 0.2886 | 0.2845 | 0.2844 | 0.2863 | 0.2883 |
| MeanFlowNFT, weights | |||||
| 1:1:1 (default), | 0.2886 | 0.2800 | 0.2815 | 0.2806 | 0.2814 |
| 8:1:1 (2.4, 0.3, 0.3), | 0.2886 | 0.2914 | 0.2963 | 0.3010 | 0.3019 |
| CLIPScore only (3.0, 0, 0), | 0.2886 | 0.2948 | 0.3029 | 0.3049 | 0.3077 |
| CLIPScore only (3.0, 0, 0), | 0.2886 | 0.3031 | 0.3094 | 0.3182 | 0.3249 |
Table S4: CLIPScore against the iteration in the mixed-reward setting, the summand of the training reward on which the two groups of trainers disagree. Upper block: the update direction contains . Lower block: the reward enters as the scalar or . Evaluation protocol as in §6.1; the HPSv2-only ReFL row uses a different training reward. Iteration 0 is the shared pre-RL checkpoint, CLIPScore 0.2886.
and approximately 0.0738–0.0818, respectively. As noted in the main text, this approach requires a reward that is differentiable with respect to the clean sample.
Conclusion. In the reported group-advantage ablations, raising the share of CLIPScore or enlarging the group raises CLIPScore while the gains of the other summands are reduced or vanish. In these runs, the weighting of the summands therefore affects which rewards improve, not only how fast they improve. Reward-gradient-based methods provide a direction from every summand, and all three summands rise together in the reported runs; however, these methods apply only when the reward is differentiable with respect to the clean sample, which excludes the OCR setting (§6).
D.3 Why FewStepOPSD resembles ReFL
In FewStepOPSD, the signed reward coefficients satisfy ; redistributes this magnitude between the ascent and descent terms and can also change their common weight (Equation (107)). Both terms move the prediction in the direction of increasing reward, because and with , while the two increments follow and , respectively. The logged mean magnitudes and differ by 0.24, i.e. 2.4% of their fixed sum ; they do not by themselves determine the imbalance of the two reward-augmentation vectors. FewStepOPSD is therefore close to the ReFL reward augmentation of Example 9, with an added self-regression, a descent term and several gradient steps; this is consistent with the similar curves in Figure 4.
D.4 The velocity penalty: KL-u against KL-v
The velocity penalty, labelled KL in the run names although it is a squared velocity residual (§5.2), admits two constructions: the fixed initial average-velocity reference of Equation (92), which compares and at the same (KL-u), and the frozen instantaneous teacher of Equation (93), converted through , which depends on the old policy (KL-v). The variants therefore differ in both reference construction and parameterisation space, and the weight is in both; the main text reports KL-u under the name MeanFlowNFT.
In the mixed-reward setting, the two variants are close at iteration 400; both reach a training reward of 1.509, and the held-out evaluators differ by about 1–1.5% in either direction (HPSv3 13.23 against 13.36, ImageReward 1.385 against 1.365), with neither variant ahead on both. GenEval2 is 0.407 against 0.400 at iteration 400. Its average over iterations 100–400 is 0.393 against 0.365; the 0.028 gap is near the stated ~0.03 resolution, so we do not interpret it as a clear difference.
In the OCR setting, KL-u reaches OCR accuracy 0.85 earlier, at iteration 100 instead of 150, with 0.785, 0.850, 0.945 at iterations 50, 100, 150 (the values of Table 6a) against 0.693, 0.834, 0.897. At matched OCR accuracy the difference is mixed; at the first saved checkpoint with OCR accuracy of at least 0.82, HPSv3 is 10.64 against 10.24 and ImageReward 0.887 against 0.896, each variant ahead on one of the two. At this weight, the choice of reference therefore has a limited effect in these runs; it changes the iteration at which the OCR threshold is reached but has no clear effect on the quality at that point, and both variants have nearly the same cost per iteration (435 against 436s in the mixed-reward setting). The main text therefore reports only KL-u.
D.5 Partial differentiability of the video reward
This restriction does not occur in the image setting and affects only FewStepOPSD and ReFL.
Every method is evaluated on the same four-term reward. A method that requires can only use the differentiable terms, which on this backbone are HPSv3-general (39% of the sum) and HPSv3-percentile (57%); VideoAlign MQ (6%) and TA (-2%) are not differentiable. The FewStepOPSD and ReFL runs in Table 8 use the gradients of both HPSv3 reductions, together 96% of the aggregate under the logged normalisation, but no gradient of motion quality or text alignment. On SD3.5, the gradient covers 100% of the training reward, since all three summands are differentiable image scorers.
This restriction is not visible in the reported scalar rewards, since the reward, the online evaluation and the advantage of FewStepOPSD all use the full four-term scorer (ReFL has no advantage). The restriction affects the direction of the gradient and not necessarily the norm of the update.
The released bfloat16 HPSv3 scorer changes the reward value by only ~0.003 relative to fp32 but rotates its gradient by 76.2 degrees on average. The runs in Table 8 therefore use fp32 with the sdpa attention backend, so this bf16 error does not affect the reported results. One remaining constraint is that the clip is decoded one latent frame at a time to limit memory; since the VAE is causal, a frame decoded alone is treated as the first frame of a clip. Compared with a joint decode of the same two frames, the gradient deviates by 79.2 degrees, and the gradient of the second frame is nearly orthogonal to the joint-decode reference.
The FewStepOPSD and ReFL rows of Table 8 therefore use the gradient of the two HPSv3 terms with per-frame decoding, and not the gradient of the full reward. Removing the causal-decode constraint requires a joint window of at least two frames, which needs 126.1 GB of GPU memory without activation offloading on a 144 GB card with 25.6 GB already in use, or 189 s per iteration with offloading. Across 48 GPUs and 250 iterations this amounts to 26.25 GPU-days (about 0.547 days of wall-clock time if fully parallel). This limitation comes from the memory of a single GPU and not from the method.