Manuscript Offprint
arXiv:2608.29647Reward-guided Fine-Tuning of One-Step Generative Models via Wasserstein Gradient Flow
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
To mitigate the time complexity of generative models, one-step generative models have recently emerged through direct mapping from noise to data in a single forward pass. However, the reward-guided fine-tuning method of one-step generative models remains largely unexplored. To address this, we consider one-step generators from an optimal transport view, investigating Wasserstein Gradient Flow (WGF) for modeling smooth and controlled distributional evolution in probability space. We then propose a novel reward-guided fine-tuning of a one-step generative model via WGF. We derive a practical training method that requires no reward gradients, thereby handling both non-differentiable and differentiable rewards. Moreover, our method provides smooth and stable reward-guided distributional updates while mitigating reward hacking and mode collapse. Experiments on 2D synthetic data, CIFAR-10, and ImageNet with diverse rewards, including JPEG (in)compressibility, class probability, Black-and-White and CLIP alignment, show that our method achieves better reward alignment compared to baselines.
1 Introduction
Diffusion models (Song et al. 2021; Ho, Jain, and Abbeel 2020) have emerged as the leading paradigm for data generation, achieving high-quality image synthesis. However, their widespread use is heavily bottlenecked by slow inference speeds due to their iterative denoising steps. To address this computational limitation, recent research has focused on one-step generative frameworks, such as consistency models and flow maps (Kim et al. 2024; Geng et al. 2025; Frans et al. 2025). By directly mapping from the noise distribution to the data distribution in a single forward pass, these models achieve efficient generation while preserving sample quality.
Recent advances in fine-tuning have demonstrated remarkable success across diverse tasks, including image aesthetics (Black et al. 2023; Clark et al. 2024; Prabhudesai et al. 2024), image compression (Fan et al. 2023b; Black et al. 2023), and text-image alignment (Black et al. 2023; Clark et al. 2024). An especially promising direction is performing reward fine-tuning in the one- or few-step frameworks, where the model generates samples in one or a few forward passes to reduce computational cost. Consequently, recent studies (Shekhar and Zhang 2025; Jia et al. 2025; Oertell et al. 2024) have increasingly highlighted the importance of fine-tuning in the one- or few-step frameworks.
Despite this growing interest in fast inference, existing fine-tuning methods designed for multi-step diffusion models (Black et al. 2023; Fan et al. 2023b) cannot be directly applied to one-step generation. These methods operate on the intermediate states of an iterative denoising trajectory, which a one-step generator does not produce. Moreover, one-step models generally follow a linear generation path (Choi, Choi, and Kang 2023), unlike the non-linear trajectory assumed by diffusion-based fine-tuning.
To address this gap, we propose a novel fine-tuning method for one-step generative models via Wasserstein Gradient Flow (WGF). WGF provides a suitable framework for fine-tuning one-step generative models via smooth and controlled distributional dynamics in Wasserstein space (Ambrosio, Gigli, and Savaré 2005). In contrast to diffusion-based fine-tuning frameworks that rely on iterative multi-step trajectories, WGF directly optimizes the evolution of the model distribution in probability space. As a result, fine-tuning via WGF enables stable distributional updates without requiring iterative inference. Moreover, by operating in Wasserstein space, the model evolves through conservative modifications around the pre-trained distribution, effectively mitigating reward hacking and mode collapse.
We formulate reward-guided fine-tuning as a WGF problem that evolves the pre-trained distribution toward a reward-weighted target. To make this tractable, we discretize the continuous WGF using the JKO scheme and derive a practical adversarial learning objective via a semi-dual formulation (Choi, Choi, and Kang 2024) and importance sampling. Our contributions are summarized as follows:
• We present the first framework for reward-guided fine-tuning of one-step generative models based on the mathematical foundations of WGF and optimal transport.
• We derive a practical training algorithm that handles both non-differentiable and differentiable rewards via the JKO scheme and importance sampling.
• Experiments on 2D synthetic data, CIFAR-10, and ImageNet demonstrate that our method achieves a better reward alignment than baselines.
These authors contributed equally.
Corresponding author.
where denotes the set of joint probability distributions on whose marginals are and . Moreover, indicates the convex conjugate of a function , i.e., for .
2.1 One-Step Generative Models
Diffusion models (Song et al. 2021) and flow matching (Lipman et al. 2023; Liu, Gong, and Liu 2023) learn a continuous transformation from a tractable noise distribution to the target data distribution . This continuous transformation is modeled as a probability flow via an Ordinary Differential Equation (ODE) as follows:
where denotes a velocity field over a continuous time . In diffusion models, is implicitly defined via the score function (Song et al. 2021), while in flow matching it is trained through a direct regression of ground-truth conditional vector field (Lipman et al. 2023; Liu, Gong, and Liu 2023). To generate a new sample, the probability flow ODE (PF-ODE) defined by is solved from to , starting with an initial value .
Since solving this ODE over requires numerical integration, the resulting iterative procedure involves tens to hundreds of neural network evaluations, leading to computationally expensive inference. To enable efficient one- or few-step generation by directly learning the solution to the probability flow (Eq. 2), recent models such as Consistency Trajectory Model (CTM) (Kim et al. 2024) and MeanFlow (Geng et al. 2025) distill or parameterize the flow map, which maps a state at time directly to time :
By directly learning this mapping, the entire generation process can be executed in a single forward pass:
In this work, we assume access to a pre-trained one-step generative model such that , where is a Gaussian prior and is the data distribution.
2.2 Wasserstein Gradient Flow and JKO scheme
Wasserstein Gradient Flow. Given a functional on , the Wasserstein Gradient Flow (WGF) (Ambrosio, Gigli, and Savaré 2005) describes the dynamics of a probability density , following the steepest descent direction of . Here, the metric on is defined as the 2-Wasserstein distance (Eq. 1). The WGF can be explicitly written as the PDE as follows:
where denotes the first variation of with respect to the standard metric (Villani et al. 2009).
When is given as the -divergence with respect to the target distribution , WGF describes the trajectories of probability density evolving from towards by minimizing :
corresponds to the pre-trained model distribution and corresponds to the reward-weighted distribution .
JKO Scheme. Computing the continuous WGF is a challenging problem. To address this, Jordan, Kinderlehrer, and Otto (1998) proposed the JKO scheme, which uses a time discretization scheme to approximate the WGF. In this scheme, given the current JKO step , the next JKO step is formally defined as follows:
where is the initial condition. Intuitively, can be understood as the step size of the time discretization. As , the sequence converges to the continuous WGF trajectory .
3 Method
In this section, we propose a new reward-guided fine-tuning of one-step generative models via WGF. In Section 3.1, we formulate reward-guided fine-tuning as a WGF problem, describing the dynamics from the pre-trained distribution to the reward-weighted target . In Section 3.2, we discretize these continuous dynamics by the JKO scheme and reformulate each JKO step via its semi-dual form, presenting its advantage in the following Section 3.3.
3.1 Problem Formulation
Our goal is to fine-tune a one-step generative model to generate samples from a reward-weighted distribution . Let be a pre-trained one-step generative model trained on an uncontrolled data distribution with a (Gaussian) prior distribution , such that . Here, the reward-weighted distribution is defined as
(8)
denotes the normalizing constant and is a reward intensity parameter controlling the trade-off between the data distribution and the reward. Here, is a given reward function, where we can consider both differentiable and non-differentiable rewards, such as compression ratio, or classifier output. Moreover, we assume that we do not have direct access to samples from .
We formulate fine-tuning as minimizing the f-divergence between the model distribution and the reward-weighted target via WGF. Specifically, we define the energy functional:
which measures the divergence between the current distribution and the reward-weighted target . The WGF starting from describes the evolution of the probability density from the distribution of the pre-trained model to by following the steepest descent of in the Wasserstein space ,
3.2 Fine-tuning via JKO Scheme
Computing the continuous WGF in Eq. 10 is a challenging problem. To address this, we leverage the JKO scheme (Jordan, Kinderlehrer, and Otto 1998) for fine-tuning. Under the JKO scheme, we conduct the following iterative update:
(11)
where indicates the step size in the time discretization. The JKO scheme balances two objectives: the Wasserstein distance term ensures that the updated distribution stays close to the previous step , while the divergence functional leads the distribution toward the reward-weighted target. As the step size , the JKO step converges to the continuous WGF trajectory .
Semi-dual Form of JKO. Following Choi, Choi, and Kang (2024), the JKO step admits a semi-dual formulation. Importantly, this formulation allows us to directly parametrize each JKO step using a transport map and a potential function , without explicitly modeling the probability density. By leveraging the equivalence with the Unbalanced Optimal Transport (UOT) problem (Chizat et al. 2018; Liero, Mielke, and Savaré 2018), this semi-dual formulation is given as follows:
where is a potential function, is its -transform with , and with being the convex conjugate of . Here, we implicitly represent the evolving transport map from the -th JKO step to the -th JKO step via -transform parameterization (Rout, Korotin, and Burnaev 2022; Fan et al. 2023a):
Then, satisfies the following:
Substituting this into Eq. (12) yields the max-min objective for a single JKO step as follows:
(15)
The objective for a single JKO step is equivalent to the source-fixed UOTM between and (Choi, Choi, and Kang 2024), which allows our fine-tuning method to be naturally interpreted as solving a sequence of optimal transport problems. Additionally, from an adversarial learning perspective, we can interpret as a generator that maps to , and the potential function is interpreted as a discriminator between and .
Fine-tuning Parameterization. In Eq. 15, approximating the integral requires sampling from , which entails simulating the entire trajectory of the JKO scheme. To avoid this simulation, we adopt a reparameterization, which replaces -training with -training and thus requires sampling only from the fixed initial distribution . In our WGF formulation of fine-tuning, the initial distribution is the distribution of a pre-trained one-step generative model, and this WGF gradually converges to the reward-weighted target distribution . In this respect, (Eq. 15) can be interpreted as a refinement that progressively transforms the uncontrolled distribution (Source distribution) into . Let denote the cumulative transformation after the refinement steps:
Then, satisfies and . Here, represents our fine-tuned generative model after the -th JKO step. Substituting this reparameterization into Eq. 15 yields the following objective for the -th step:
(17)
Importance Sampling for Reward-weighted Targets. The objective in Eq. 17 requires samples from , which are not directly accessible in our setting. We address this via importance sampling using the definition of :
This allows us to estimate the integral using samples from (the pre-trained distribution), weighted by . Substituting this into Eq. 17 yields the following objective for the k-th step:
(19)
where we parameterize the potential function as and the transport map as . The normalization constant is estimated using a moving average over mini-batches.
Pre-trained Distribution Updates. Eq. 19 defines the reward-weighted term under the pre-trained distribution . In practice, this fixed becomes increasingly mismatched with the current generator, leading to less stable optimization, consistent with the over-optimization behavior analyzed by Gorbatovski et al. (2025). Therefore, we update the pre-trained distribution during training , and use samples from the dynamically updated pre-trained distribution to evaluate the reward-weighted term in Eq. 19 (see Section 5.4 for an ablation of the fixed and updated pre-trained distributions). This yields our final training objective:
(20)
The algorithm alternates between updating the generator (transport map ) and the discriminator (potential function ). We summarize the overall training algorithm in the Appendix A.
Non-differentiable Rewards. Our method samples from the reward-weighted distribution via importance sampling, where the reward appears only as a scalar weight on . Since is drawn from the frozen model, our method does not require gradients through the reward function . Therefore, our method can handle both differentiable and non-differentiable rewards.
3.3 Advantages of WGF for Fine-tuning
Steepest Descent via Transport Maps. WGF provides a principled framework for fine-tuning by modeling the evolution of probability distributions along the steepest descent direction of the energy functional . A key observation is that, through the semi-dual form of the JKO scheme, each steepest descent step can be realized directly as a transport map rather than as a continuous-time flow. The learned transport map moves samples along the steepest descent direction from the current distribution toward the target distribution, without learning a velocity field or solving an iterative ODE at inference time, in contrast to flow- or diffusion-based fine-tuning approaches.
-regularized Distributional Updates. Furthermore, the JKO scheme includes the 2-Wasserstein cost as a proximal term, which explicitly penalizes large distribution shifts during fine-tuning. Combined with the steepest descent property

Figure 1: Qualitative comparison on the 8-Gaussians toy task. The left panel shows the initial pre-trained Gaussian distribution. The top row illustrates the trajectory of our reward-guided fine-tuning method across 5k, 15k, and 25k iterations. In contrast, the bottom row presents the converged results of baselines at 20k steps.
of WGF, this induces smooth and controlled distributional updates: the model evolves through small, conservative modifications around the pre-trained distribution while progressively moving toward the reward-weighted target (Figure 1). This minimizing-movement structure has been shown to enable stable and efficient optimization in generative modeling and sampling tasks (Liu et al. 2026; Shin et al. 2026). Therefore, fine-tuning via the JKO scheme mitigates reward hacking and mode collapse.
Theoretical Justification. The following remark provides a theoretical justification for our fine-tuning framework: under a regularity condition on , the WGF in Eq. (10) converges exponentially to the reward-weighted target distribution . Although is generally not log-concave in practical fine-tuning tasks, this guarantee provides theoretical motivation for our training algorithm as follows:
Remark 1 (Convergence guarantee (Ambrosio, Gigli, and Savaré 2005, Thm. 11.2.1)). Suppose is -strongly log-concave. Then, choosing the KL divergence as the f-divergence, the flow converges exponentially in the -distance:
for some constant C > 0 depending on the initial distribution.
4 Related Works
One-step Generative Models. One-step generative models aim to reduce the number of inference steps in diffusion/flow-based models, initially by distilling pre-trained multi-step models into few-step variants (Salimans and Ho 2022; Meng et al. 2023). Consistency Models (CM) (Song et al. 2023) learn a mapping from any point along the ODE trajectory to its endpoint. CM makes it possible to train one-step models from scratch. The Consistency Trajectory Model (CTM) (Kim et al. 2024) generalizes CM by training a neural network to enforce consistency across different time steps. MeanFlow (Geng et al. 2025) learns an average velocity field across time intervals, significantly outperforming other one- or few-step diffusion and flow models.
| Method | Incomp. | Comp. | Class 5 | |||
|---|---|---|---|---|---|---|
| Rwd ↑ | FID ↓ | Rwd ↑ | FID ↓ | Rwd ↑ | FID ↓ | |
| Pre-trained | 1.30 | 2.90 | -1.30 | 2.90 | -7.71 | 2.90 |
| SFT | 0.96 | 109.8 | -0.89 | 163.4 | -3.82 | 31.3 |
| RWR | 0.92 | 162.1 | -0.86 | 175.1 | -5.56 | 35.3 |
| DPO | 1.36 | 17.50 | -1.28 | 60.30 | -8.18 | 2.90 |
| Ours (β = 20) | 1.62 | 55.9 | -0.95 | 161.9 | -0.87 | 67.70 |
Table 1: Quantitative Comparison across Reward Tasks on CIFAR-10. We report the final Reward (Rwd) and FID scores for non-differentiable (Incompressibility/Incomp. and Compressibility/Comp.) and differentiable (Class 5) tasks. FID is computed with 50k samples.

Figure 2: Qualitative results of generated samples on CIFAR-10. Left: Incompressibility. Right: Class 5 ("Dog").
Reward Fine-Tuning. Recent works have explored fine-tuning diffusion and flow models to align with a reward function while preserving the pre-trained distribution. An early approach, DDPO (Black et al. 2023), directly optimizes model parameters for arbitrary rewards but often suffers from reward hacking, i.e., overfitting to a few high-reward samples. To mitigate this, DPOK (Fan et al. 2023b) incorporates KL regularization to preserve diversity. Similarly, ORW-CFM (Fan et al. 2025) incorporates the Wasserstein distance to prevent policy collapse and maintain diversity in the fine-tuning of flow models. However, since these methods rely on iterative diffusion or flow-based generation processes, they cannot be directly applied to fine-tuning of one-step models.
5 Experiments
In this section, we evaluate the effectiveness of our method across diverse settings and reward functions.
5.1 Experimental Setup
We evaluate our method on a 2D synthetic dataset, CIFAR-10 (Krizhevsky 2009), and ImageNet (Deng et al. 2009) to cover both low- and high-dimensional settings. We use a pre-trained MeanFlow model (Geng et al. 2025) as our one-step generator with KL divergence. We use a diverse set of reward functions to measure fine-tuning performance. To evaluate fidelity, we employ the Fréchet Inception Dis- tance (FID) (Heusel et al. 2017) on both CIFAR-10 and ImageNet. For ImageNet, we further adopt the Aesthetic score (Schuhmann 2022) as our main fidelity measure.
| Model | Algorithm | Reward (KB) ↑ | FID ↓ |
|---|---|---|---|
| DDPM | Pre-trained | 1.10 | 29.90 |
| q-Learning DPOK | 1.20 | 26.6477.94 | |
| q-Learning DPOK | 1.30 | 50.58107.99 | |
| q-Learning DPOK | 1.40 | 89.79138.89 | |
| MeanFlow | Pre-trained | 1.29 | 3.90 |
| Ours | β = 1 | 1.33 | 5.43 |
| β = 3 | 1.42 | 9.32 | |
| β = 5 | 1.53 | 24.99 | |
| β = 20 | 1.62 | 56.96 |
Table 2: Comparison with multi-step fine-tuning on CIFAR-10 (JPEG incompressibility). All DDPM rows are reported from Gao, Zha, and Zhou (2025), which fine-tunes a DDPM restricted to 20 sampling steps. In this task, FID is computed with 20k samples following the evaluation protocol of Gao, Zha, and Zhou (2025). Note that the two pre-trained models differ in FID (3.90 vs. 29.90).
Rewards. We use two non-differentiable and three differentiable rewards, which can be applied to our method without modification. For non-differentiable rewards, we employ JPEG incompressibility and compressibility (Black et al. 2023) on both CIFAR-10 and ImageNet . These rewards are computed through a discrete black-box compression algorithm and thus admit no usable gradient. Incompressibility is maximized by high-frequency texture and compressibility by low-detail.
Among the differentiable rewards, the class probability on CIFAR-10 shifts the model distribution toward a single class distribution. On ImageNet, we use CLIP alignment to 'red' (CLIP-red) and Black-and-White (B&W) (Jacq et al. 2026). CLIP-red is computed as the CLIP (Radford et al. 2021) alignment score between the generated image and the text prompt 'red', and B&W is the pixel-wise distance between an image and its black-and-white version, averaged over the color channels. Note that we do not use reward gradients even for these differentiable rewards, so our method directly applies to all of them without modification.
Baselines. We adapt the following methods to operate within a single MeanFlow step via a single noise injection (Liu et al. 2025) for a fair comparison: Supervised Fine-Tuning (SFT), Reward-Weighted Regression (RWR) (Peters and Schaal 2007), and Direct Preference Optimization (DPO) (Rafailov et al. 2023). These methods do not require reward gradients, allowing them to be evaluated under the same non-differentiable reward settings as our method. Briefly, SFT fine-tunes on the highest-reward samples in each batch, RWR reweights the regression loss by exponentiated rewards, and DPO contrastively prefers higher rewards.
| Task | Method | Rwd. ↑ | Aes. ↑ | FID ↓ |
|---|---|---|---|---|
| Incomp. | Pre-trained | 30.98 | 4.67 | 3.41 |
| DPO | 37.87 | 4.25 | 32.89 | |
| Ours | 46.68 | 4.92 | 27.57 | |
| Comp. | Pre-trained | -30.98 | 4.67 | 3.41 |
| DPO | -18.01 | 4.32 | 45.18 | |
| Ours | -19.20 | 4.55 | 38.92 | |
| B&W | Pre-trained | -6.16 | 4.67 | 3.41 |
| DPO | -8.78 | 4.54 | 35.36 | |
| Ours | -4.80 | 4.64 | 58.61 | |
| CLIP-red | Pre-trained | 12.83 | 4.67 | 3.41 |
| DPO | 16.01 | 4.34 | 30.51 | |
| Ours | 18.02 | 4.61 | 59.68 |
Table 3: Comparison of the baseline and our model on ImageNet 256×256. We report the reward (Rwd.), Aesthetic score (Aes.), and FID across four fine-tuning tasks, all computed with 16k generated samples. CLIP-red and B&W values are scaled by ×100.
5.2 Reward-guided Fine-tuning
2D Synthetic Data. To investigate the training dynamics of reward-guided fine-tuning for one-step generators, we conduct a qualitative evaluation using 2D synthetic data. Specifically, a model pre-trained on a standard Gaussian distribution is fine-tuned toward an 8-Gaussian mixture defined by a multi-modal reward.
As illustrated in Figure 1, our proposed method exhibits stable and gradual training dynamics. Throughout training (from 5k to 25k iterations), our approach robustly avoids structural collapse and progressively separates the distribution to capture all eight distinct target modes with high precision. In contrast, the baseline methods (SFT, RWR, DPO) are formulated to directly converge to the reward-weighted target distribution. In attempting this direct mapping, they struggle to navigate the complex multi-modal reward landscape.
As shown in the bottom row of Figure 1, they typically suffer from severe mode averaging, i.e., converging to a continuous ring connecting the targets, or fail entirely to capture the distinct modes. This highlights that our WGF formulation provides smooth and controlled distributional updates (Section 3.3), enabling stable guidance of the one-step generation process under complex reward signals.
CIFAR-10. We report the results on CIFAR-10 for both non-differentiable (Incompressibility and Compressibility) and differentiable (Class 5) reward tasks. Note that fine-tuning methods directly requiring reward gradients (Clark et al. 2024) cannot be applied to non-differentiable rewards.
In the non-differentiable tasks, the baselines fail in two distinct ways (Table 1). SFT and RWR fail to improve the incompressibility reward, even decreasing from the initial value. Figure 2 shows that our method effectively improves the reward while preserving the semantic structures of the original images. While DPO achieves quantitative improvements, the resulting images are severely corrupted by noise and blurring artifacts. Table 2 compares our approach with q-Learning and DPOK fine-tuning of a 20-step DDPM (Gao, Zha, and Zhou 2025), which start from a different pre-trained model (reward 1.10, FID 29.90) than our MeanFlow generator (1.29, 3.90). At a comparable reward level of 1.40, our method attains an FID of 9.32 against their 89.79 and 138,89, using a single-step generator.

Figure 3: Qualitative comparisons of generated samples on ImageNet 256×256 across reward targets. Rows correspond to the pre-trained model, the DPO baseline, and our method; columns to different reward targets. All samples use matched class labels and seeds.
For the differentiable task (Class 5), we observe that our method moves the pre-trained model toward higher-reward regions than baseline methods. Our method achieves a reward of -0.87, a substantial improvement over the pre-trained model's reward of -7.71, as shown in Table 1. In contrast, DPO fails to improve the reward, while SFT and RWR improve the reward at the expense of fidelity. Figure 2 shows that our method is the best at steering random objects toward the target class ("Dog"). The full qualitative results are in the Appendix.
5.3 Scaling to ImageNet 256×256
We further evaluate our framework on ImageNet 256×256 (Deng et al. 2009), using the non-differentiable rewards JPEG (in)compressibility and two differentiable rewards CLIP-red and Black-and-White. As only DPO improves the incompressibility reward on CIFAR-10 (Table 1), we adopt DPO as a baseline. As shown in Table 3, where fidelity is measured by aesthetic score and FID, our method attains the highest reward on three of the four tasks and the best aesthetic score on all four tasks. Therefore, our framework scales directly from the low-dimensional CIFAR-10 setting to the high-dimensional ImageNet 256×256 setting.
For the non-differentiable tasks, our method improves both the reward and the aesthetic score on incompressibility, while DPO raises the reward and loses aesthetic score. On compressibility, DPO reaches a slightly higher reward than ours, but with a large drop in aesthetic score. Figure 3(a) and (b) show that DPO adds high-frequency patterns over the whole image on incompressibility and flattens the background on compressibility, while our method changes the texture and preserves the image structure.
For the differentiable tasks, DPO fails in two ways (Fig-
(a) Incomp.
(b) Comp.

Aesthetic
Aesthetic
(c) B&W
(d) CLIP-red

Aesthetic
Aesthetic
Pre-trained
Ours
DPO
Figure 4: Reward–aesthetic trade-off on ImageNet . Each panel plots the reward (y-axis) against the Aesthetic score (x-axis) over the course of fine-tuning. Markers denote the reward and Aesthetic score at 4k–16k iterations. The upper-right areas indicate a better trade-off.
ure 4): on Black-and-White, its reward peaks at 4k iterations and then falls below the pre-trained value, and on CLIP-red it keeps increasing the reward while the aesthetic score drops rapidly. In contrast, our method maintains the aesthetic score close to the pre-trained value, and also achieves a higher reward on Black-and-White and CLIP-red.
Additionally, our model achieves higher aesthetic scores but also higher FIDs on these two tasks. The reward-weighted target is far from the data distribution, so improving the reward necessarily increases FID. Our higher FID therefore follows from maximizing the reward better than DPO. Figure 3(c) and (d) show that DPO barely changes the image on Black-and-White and degrades its structure on CLIP-red, while our method edits only the target attribute. Additional training trajectories and qualitative results for all rewards are provided in the Appendix C.
5.4 Ablation Study
We conduct two ablation studies on the CIFAR-10 dataset: we first examine the effect of the reward intensity parameter , and then analyze our choice between a fixed and an updated pre-trained distribution during training.
The Effect of . The reward intensity parameter controls the weight of the target reward during the optimization process. Table 2 sweeps on a non-differentiable reward JPEG incompressibility task. The reward increases monotonically from 1.33 to 1.62, all above the pre-trained
Fixed vs. Updated

Figure 5: Comparison results of Fixed vs. Updated . On CIFAR-10 with the class probability reward for the "Dog" class, the plot shows the reward–fidelity trade-off over the course of fine-tuning under the two choices of pre-trained distribution .
value of 1.29, while FID gradually increases.
Fixed vs. Updated . We compare the two choices of pre-trained distribution used to evaluate the reward-weighted term in Eq. 19, introduced in Section 3.2: Fixed, which samples from the pre-trained distribution , and Updated, which samples from the updated pre-trained distribution during training. In practice, the Updated approach allows the reward-weighted target to remain concentrated on high-reward regions under the current generator while the Fixed approach remains anchored at the pre-trained distribution .
Figure 5 confirms this using the class reward ("Dog"). Updated traces a smooth trajectory in which the reward increases steadily while FID grows only gradually. Fixed instead spikes to a much larger FID around 3000 iterations before recovering, and its reward improves far more slowly. Over the whole trajectory, the curve of Updated dominates that of Fixed, reaching a higher reward at any comparable FID and a lower FID at any comparable reward. Qualitative results are presented in the Appendix C.2.
6 Conclusion
In this paper, we propose the first reward-guided fine-tuning framework for one-step generative models via Wasserstein Gradient Flow (WGF). Since existing fine-tuning methods require the intermediate states of a multi-step sampling trajectory, they cannot be directly applied to one-step generators. Our approach formulates fine-tuning as a WGF that evolves the pre-trained distribution toward a reward-weighted target and discretizes this flow through the JKO scheme. The resulting objective enables stable distributional updates that mitigate reward hacking, and it requires no reward gradients, so it applies to non-differentiable rewards. Experiments demonstrate superior reward alignment over baseline approaches on both synthetic and real datasets. As a limitation, we do not evaluate our method on prompt-conditional text-to-image generation, an important application of reward-based fine-tuning. Extending our framework to this setting is a promising direction for future work.
Acknowledgments
This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (RS-2024-00349646, RS-2026-25506577), National Institute for Mathematical Sciences (NIMS) grant funded by the Korea government (MSIT) (No. S26120000), and KIAS Individual Grant (AP102301, AP102303) via the Center for AI and Natural Sciences at Korea Institute for Advanced Study. This work was also supported by the Center for Advanced Computation at Korea Institute for Advanced Study.
References
Ambrosio, L.; Gigli, N.; and Savaré, G. 2005. Gradient flows: in metric spaces and in the space of probability measures. Springer Science & Business Media.
Black, K.; Janner, M.; Du, Y.; Kostrikov, I.; and Levine, S. 2023. Training diffusion models with reinforcement learning. arXiv preprint arXiv:2305.13301.
Chizat, L.; Peyré, G.; Schmitzer, B.; and Vialard, F.-X. 2018. Unbalanced optimal transport: Dynamic and Kantorovich formulations. Journal of Functional Analysis, 274(11): 3090–3123.
Choi, J.; Choi, J.; and Kang, M. 2023. Generative Modeling through the Semi-dual Formulation of Unbalanced Optimal Transport. In Thirty-seventh Conference on Neural Information Processing Systems.
Choi, J.; Choi, J.; and Kang, M. 2024. Scalable Wasserstein Gradient Flow for Generative Modeling through Unbalanced Optimal Transport. In Proceedings of the 41st International Conference on Machine Learning, Proceedings of Machine Learning Research. PMLR.
Clark, K.; Vicol, P.; Swersky, K.; and Fleet, D. 2024. Directly fine-tuning diffusion models on differentiable rewards. In International Conference on Learning Representations, volume 2024, 4793–4822.
Deng, J.; Dong, W.; Socher, R.; Li, L.-J.; Li, K.; and Fei-Fei, L. 2009. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, 248–255. Ieee.
Fan, J.; Liu, S.; Ma, S.; Zhou, H.-M.; and Chen, Y. 2023a. Neural Monge Map estimation and its applications. Transactions on Machine Learning Research.
Fan, J.; Shen, S.; Cheng, C.; Chen, Y.; Liang, C.; and Liu, G. 2025. Online reward-weighted fine-tuning of flow matching with wasserstein regularization. In The Thirteenth International Conference on Learning Representations.
Fan, Y.; Watkins, O.; Du, Y.; Liu, H.; Ryu, M.; Boutilier, C.; Abbeel, P.; Ghavamzadeh, M.; Lee, K.; and Lee, K. 2023b. Dpok: Reinforcement learning for fine-tuning text-to-image diffusion models. Advances in Neural Information Processing Systems, 36: 79858–79885.
Frans, K.; Hafner, D.; Levine, S.; and Abbeel, P. 2025. One step diffusion via shortcut models. In International Conference on Learning Representations, volume 2025, 34668–34684.
Gao, X.; Zha, J.; and Zhou, X. Y. 2025. Reward-directed score-based diffusion models via q-learning. Journal of Machine Learning Research, 26(302): 1–46.
Geng, Z.; Deng, M.; Bai, X.; Kolter, J. Z.; and He, K. 2025. Mean Flows for One-step Generative Modeling. In Advances in Neural Information Processing Systems.
Gorbatovski, A.; Shaposhnikov, B.; Malakhov, A.; Surnachev, N.; Aksenov, Y.; Maksimov, I.; Balagansky, N.; and Gavrilov, D. 2025. Learn your reference model for real good alignment. In International Conference on Learning Representations, volume 2025, 59414–59451.
Heusel, M.; Ramsauer, H.; Unterthiner, T.; Nessler, B.; and Hochreiter, S. 2017. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in neural information processing systems, 30.
Ho, J.; Jain, A.; and Abbeel, P. 2020. Denoising Diffusion Probabilistic Models. In Advances in Neural Information Processing Systems, volume 33, 6840–6851.
Jacq, A.; Couairon, G.; De Bortoli, V.; Berthet, Q.; Doucet, A.; and Elie, R. 2026. Diffusion Fine-tuning with Rewarded Moment Matching Distillation. arXiv preprint arXiv:2606.30414.
Jia, Z.; Nan, Y.; Zhao, H.; and Liu, G. 2025. Reward Fine-Tuning Two-Step Diffusion Models via Learning Differentiable Latent-Space Surrogate Reward. In Proceedings of the Computer Vision and Pattern Recognition Conference, 12912–12922.
Jordan, R.; Kinderlehrer, D.; and Otto, F. 1998. The variational formulation of the Fokker–Planck equation. SIAM journal on mathematical analysis, 29(1): 1–17.
Kim, D.; Lai, C.-H.; Liao, W.-H.; Murata, N.; Takida, Y.; Uesaka, T.; He, Y.; Mitsufuji, Y.; and Ermon, S. 2024. Consistency Trajectory Models: Learning Probability Flow ODE Trajectory of Diffusion. In International Conference on Learning Representations.
Kingma, D. P.; and Ba, J. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980.
Krizhevsky, A. 2009. Learning Multiple Layers of Features from Tiny Images. Technical report, University of Toronto.
Liero, M.; Mielke, A.; and Savaré, G. 2018. Optimal entropy-transport problems and a new Hellinger–Kantorovich distance between positive measures. Inventions mathematicae, 211(3): 969–1117.
Lipman, Y.; Chen, R. T. Q.; Ben-Hamu, H.; Nickel, M.; and Le, M. 2023. Flow Matching for Generative Modeling. In International Conference on Learning Representations (ICLR).
Liu, G.-H.; Choi, J.; Chen, Y.; Miller, B. K.; and Chen, R. T. 2026. Adjoint schrödinger bridge sampler. Advances in Neural Information Processing Systems, 38: 15673–15708.
Liu, J.; Liu, G.; Liang, J.; Li, Y.; Liu, J.; Wang, X.; Wan, P.; Zhang, D.; and Ouyang, W. 2025. Flow-GRPO: Training Flow Matching Models via Online RL. arXiv:2505.05470.
Liu, X.; Gong, C.; and Liu, Q. 2023. Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow. In International Conference on Learning Representations.
Meng, C.; Rombach, R.; Gao, R.; Kingma, D.; Ermon, S.; Ho, J.; and Salimans, T. 2023. On distillation of guided diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 14297–14306.
Oertell, O.; Chang, J. D.; Zhang, Y.; Brantley, K.; and Sun, W. 2024. Rl for consistency models: Faster reward guided text-to-image generation. arXiv preprint arXiv:2404.03673.
Peters, J.; and Schaal, S. 2007. Reinforcement learning by reward-weighted regression for operational space control. In Proceedings of the 24th international conference on Machine learning, 745–750.
Prabhudesai, M.; Goyal, A.; Pathak, D.; and Fragkiadaki, K. 2024. Aligning Text-to-Image Diffusion Models with Reward Backpropagation. arXiv:2310.03739.
Radford, A.; Kim, J. W.; Hallacy, C.; Ramesh, A.; Goh, G.; Agarwal, S.; Sastry, G.; Askell, A.; Mishkin, P.; Clark, J.; et al. 2021. Learning transferable visual models from natural language supervision. In International conference on machine learning, 8748–8763. PmLR.
Rafailov, R.; Sharma, A.; Mitchell, E.; Manning, C. D.; Ermon, S.; and Finn, C. 2023. Direct preference optimization: Your language model is secretly a reward model. Advances in neural information processing systems, 36: 53728–53741.
Rout, L.; Korotin, A.; and Burnaev, E. 2022. Generative Modeling with Optimal Transport Maps. In International Conference on Learning Representations.
Salimans, T.; and Ho, J. 2022. Progressive distillation for fast sampling of diffusion models. arXiv preprint arXiv:2202.00512.
Schuhmann, C. 2022. LAION Aesthetics predictor v1.
Shekhar, S.; and Zhang, T. 2025. ROCM: RLHF on consistency models. arXiv preprint arXiv:2503.06171.
Shin, J.; Sul, J.; Lee, J.; Choi, J.; and Choi, J. 2026. Efficient Generative Modeling beyond Memoryless Diffusion via Adjoint Schrödinger Bridge Matching. arXiv preprint arXiv:2602.15396.
Song, Y.; Dhariwal, P.; Chen, M.; and Sutskever, I. 2023. Consistency Models. In International Conference on Machine Learning.
Song, Y.; Sohl-Dickstein, J.; Kingma, D. P.; Kumar, A.; Ermon, S.; and Poole, B. 2021. Score-Based Generative Modeling through Stochastic Differential Equations. In International Conference on Learning Representations.
Villani, C.; et al. 2009. Optimal transport: old and new, volume 338. Springer.
A Algorithm
We provide a detailed algorithm in Algorithm 1.
Algorithm 1 Reward-Guided Finetuning via WGF
Require: Pretrained generator , discriminator network , reward function , smoothing rate and intensity parameter
1: Initialize ,
2:
3: for do
4: for do
5: Sample mini-batches
6: Let
7: Compute rewards and update the normalization term:
8: Generate samples
9: Discriminator update: minimize
10: Sample and compute , ,
11: Generator update: minimize
12: end for
13: Update reference generator:
14: end for
B Implementation Details
B.1 Rewards
We evaluate our method on diverse reward functions, including both differentiable and non-differentiable objectives. We use JPEG (in)compressibility (Black et al. 2023) on both CIFAR-10 and ImageNet . For CIFAR-10, we also test a class probability reward. For ImageNet, we further evaluate on CLIP alignment ‘red’, Black-and-white (Jacq et al. 2026).
JPEG Incompressibility and Compressibility. Following Black et al. (2023), we use JPEG (in)compressibility as non-differentiable reward tasks. Incompressibility is defined as the file size (KB) of the generated image saved in JPEG format, which encourages synthesizing high-frequency details. Conversely, compressibility is formulated as the negative of the JPEG file size. Since JPEG compression algorithm is a discrete, black-box operation, these rewards are strictly non-differentiable, making standard gradient-based optimization inapplicable. Note that such non-differentiable rewards are common in practice (Fan et al. 2023b), yet they cannot be handled by methods that backpropagate through the reward (Clark et al. 2024; Prabhudesai et al. 2024).
Class Probability. We use the class probability of the ‘dog’ class (class 5) in CIFAR-10 as a differentiable reward. Given a pretrained ResNet-56 classifier , the reward is defined as . This evaluates whether the model can conditionally shift towards a specific semantic mode.
CLIP Alignment ‘red’. Following the RMMD (Jacq et al. 2026) framework, we measure CLIP (Radford et al. 2021) alignment using a single keyword. With a frozen CLIP ViT-L/14 model, the reward is computed as the cosine similarity between the image embedding and the text embedding of the word “red”. This directly drives the image color toward the target hue.
Black and White. Also adopted from (Jacq et al. 2026), the Black-and-White reward encourages grayscale images by penalizing the variance across RGB channels: , where is the normalized generated image, and is the mean across channels at spatial location . This drives the image toward zero saturation in pixel space.
B.2 Baselines
One-Step Generative Setting. We compare our method with three representative fine-tuning baselines. Throughout, denotes the pre-trained one-step generator, the model being fine-tuned, and the reference generator, which is initialized at and updated to the current during training, as in Algorithm 1. Let denote independent Gaussian samples, where is the input to the generator and is used for noise injection.
Candidate Generation. At each update, we sample initial noise , where denotes the group size, and generate a candidate sample from each as follows. For CIFAR-10, we construct an intermediate latent at by injecting noise:
and generate the candidate from via a single Mean-Flow velocity step from to . For ImageNet , we instead perturb each initial noise with scale ,
and obtain the candidate as . In both cases, this procedure yields a candidate set with rewards .
Baseline Implementation. We write for the highest- and lowest reward candidates in the group, where the corresponding indices are given by and . SFT uses the highest-reward pair , while DPO contrasts against .
The objective for each baseline is defined as follows:
• Supervised Fine-Tuning (SFT) employs two distinct target selection strategies depending on the reward objective:
– Winner Strategy (for incompressibility and compressibility): Selects the single highest-reward sample and optimizes the direct reconstruction objective:
– Top-k Mean Strategy (for class 5): Constructs a reward-weighted blended target from the top-k highest-reward samples . It minimizes the distance between the mean predicted output and this blended target:
where represents the reward-scaled weights for each sample, and is the corresponding reward. We adopt this strategy to mitigate the instability often caused by relying on a single sample.
• Reward-Weighted Regression (RWR) regresses onto all G candidates, weighted by their exponentiated rewards:
(26)
where is a temperature scaling parameter.
• Direct Preference Optimization (DPO) directly optimizes the policy by contrasting a higher-reward sample and a lower-reward sample . Let and denote the reconstruction losses under the current and reference models, respectively. Then
(27)
where is the sigmoid function and controls the strength of the KL penalty.
Due to the expensive computation of ImageNet , we compare with DPO because DPO improves the incompressibility reward on CIFAR-10. Since the generator is class-conditional, we draw a class label together with each and write . We further generate the candidates and compute the anchor term from the fixed pre-trained model rather than from . The anchor term , evaluated on a separately drawn batch, keeps close to the pre-trained model without collapse.
B.3 Training Details
For all experiments, we evaluate models using the CIFAR-10 dataset and the high-resolution ImageNet dataset. All models are trained using a single NVIDIA A100 GPU. Training uses a fixed seed of 1024; all evaluation sampling uses seed 42, re-seeded before each checkpoint.
(a) Incomp.
(b) Comp.

(c) B&W
(d) CLIP-red

Pre-trained
Ours
DPO
Figure 6: Reward curves over training on ImageNet . Each panel plots the target reward against the number of fine-tuning iterations for one reward objective.
CIFAR-10 Experiments. For CIFAR-10 , all baseline models and our proposed framework are trained for a total of 5,000 iterations. Specifically, for Class 5 reward experiment, a discriminator warmup phase of 2,000 iterations is applied to ensure stable initial gradient signals before joint optimization. All quantitative results are reported at the final iteration. While FID is generally computed using 50k samples at 5,000 iterations, we follow the evaluation protocol of Gao, Zha, and Zhou (2025).
ImageNet 256×256 Experiments. For high-resolution ImageNet experiments, we employ the SiT-XL/2 architecture as our backbone. We standardize the reward values to overcome the scale discrepancies in absolute values across different reward functions. The standardized formulation is defined as , where denotes the raw reward, and represent the exponential moving average (EMA) of the reward's mean and standard deviation, respectively, and is a small constant for numerical stability. We set the reward weighting parameter to for the compressibility and incompressibility tasks, and for CLIP-red and B&W.
For our proposed method, the models are trained for a total of 16k iterations with a batch size of 32, utilizing the Adam optimizer (Kingma and Ba 2014) ( , ) with a CosineAnnealingLR schedule and an initial learning rate of for the generator and for the discriminator. We apply an exponential moving average (EMA) to the generator weights with a decay rate of 0.9999. The JKO step size is set to , with a default configuration of 20

(a) Updated (800 iters)
(b) Fixed (800 iters)

(c) Updated (5,000 iters)
(d) Fixed (5,000 iters)
Figure 7: Qualitative comparison of proposal distributions on CIFAR-10. At 800 iterations, both proposals remain close to the pre-trained distribution. At 5,000 iterations, Updated produces clear dogs while preserving sharpness, whereas Fixed produces washed-out samples with degraded structure.
steps × 800 inner iterations.
For the DPO baseline, we use a group size (batch size) of 8 and a total of 16k iterations, optimized via Adam (Kingma and Ba 2014) with a learning rate of and gradient clipping at 1.0. Exploration is performed over the time interval [0.4, 0.7] with an online update interval of 40 iterations. To ensure a fair comparison and prevent batch skipping in sparse reward regimes, we use a reward-scale-dependent skip threshold, set to 0.05 for standard tasks and lowered to 0.01 for B&W and CLIP-red, where the reward variance is narrower. FID is computed with 50k samples at 16k iterations.
C Additional Results
C.1 Reward Curve on ImageNet
Figure 6 shows that our method achieves consistent reward improvement across all tasks throughout training. In contrast, DPO converges quickly in the early stage but saturates or even declines thereafter.
C.2 Ablation Study on Fixed vs. Updated distribution
In Figure 7, we provide some qualitative comparisons for the ablation study on Fixed vs. Updated distribution described in the main paper. While Fixed initially moves to the target distribution more quickly, it degrades into blurry samples as training proceeds, whereas Updated retains the sample quality of the pretrained model.
C.3 Additional Qualitative Results
In Figure 8 and Figure 9, we present generated samples for our method and baselines on CIFAR-10 and ImageNet .
(a) Pre-trained Model

(c) Compressibility

SFT
RWR

DPO
Ours
(b) Incompressibility

SFT
RWR

DPO
Ours
(d) Class 5 (Dog)

SFT
RWR

DPO
Ours
Figure 8: Qualitative comparisons across multiple reward tasks on CIFAR-10. (a) Pre-trained model samples generated from the initial noise. (b) Incompressibility and (c) Compressibility represent non-differentiable reward optimization, while (d) Class 5 (Dog) represents differentiable reward optimization.
(a) Pre-trained Model

(b) Incompressibility

DPO
Ours
(c) Compressibility
(d) B&W
DPO
Ours
(e) CLIP-red

DPO
Ours
DPO
Ours
Figure 9: Qualitative comparisons across multiple reward tasks on ImageNet . (a) Pre-trained model samples generated from the initial noise, shown for reference. (b)–(e) show samples fine-tuned for each reward target under matched class labels and seeds.