NeurIPS 2026 · Spotlight

WTF?!

Simulation-Free Reinforcement Learning
with Wasserstein-Tilted Flow Maps

Abbas Mammadov1,†,* · Jerry Y. Huang2,†,* · Justin Lin2,* · Partha Kaushik2 · Sheel Shah2 · Kartik Nair2 · Yee Whye Teh1 · Nicholas M. Boffi2

1University of Oxford · 2Carnegie Mellon University

†Project lead  ·  *Equal contribution

Correspondence: abbas.mammadov@stats.ox.ac.uk · jerryhua@andrew.cmu.edu

Text-to-image

BaseWTF
50 steps4 steps50 steps
The god dreaming at the end of time, base model, 50 steps The god dreaming at the end of time, WTF, 4 steps The god dreaming at the end of time, WTF, 50 steps An otherworldly world by Fuco Ueda, base model, 50 steps An otherworldly world by Fuco Ueda, WTF, 4 steps An otherworldly world by Fuco Ueda, WTF, 50 steps A skull-shaped island painted by Ghibli, base model, 50 steps A skull-shaped island painted by Ghibli, WTF, 4 steps A skull-shaped island painted by Ghibli, WTF, 50 steps

ImageNet-256

BaseWTF
50 steps1 step50 steps
Platypus, base model, 50 steps Platypus, WTF, 1 step Platypus, WTF, 50 steps Shetland sheepdog, base model, 50 steps Shetland sheepdog, WTF, 1 step Shetland sheepdog, WTF, 50 steps Volcano, base model, 50 steps Volcano, WTF, 1 step Volcano, WTF, 50 steps
Reward-aligned generation at few steps. Flow maps fine-tuned with WTF using HPSv2 as the reward. At 4 steps for text-to-image and 1 step for ImageNet-256, WTF produces samples of comparable quality to its own 50-step samples. The base model is evaluated at 50 steps.

Abstract

Reward fine-tuning aims to update a pre-trained flow-based generative model to improve the downstream reward of its generated samples. Existing methods typically formulate this problem as sampling from a reward-tilted distribution, the solution to a KL-regularized reward-maximization problem. Here, we introduce an optimal transport regularizer built directly from the pre-trained drift. Unlike KL reward tilting, the resulting objective transports individual samples toward higher reward rather than reweighting the base distribution.

We show that the resulting problem is equivalent to a deterministic optimal control problem on the flow. Given a pre-trained flow map, this equivalence yields a simulation-free reinforcement learning algorithm for fine-tuning generative flows. We call the resulting framework Wasserstein-Tilted Flow Maps (WTF), the first end-to-end fine-tuning recipe native to flow maps. The output is a fine-tuned flow map that retains strong reward-aligned performance at few-step inference budgets without post-hoc distillation. Experiments on ImageNet-256 and text-to-image show that WTF achieves higher reward with comparable or higher diversity than baselines, while requiring up to 280× less training compute.

More broadly, we argue that accelerated samplers such as flow maps are essential infrastructure for efficient post-training, and that the dominant KL-regularized formulation is only one of many choices worth revisiting.

Motivation

Reward fine-tuning of flows

Reward fine-tuning updates a pre-trained flow model so that its samples score higher under a reward $r$, such as a human preference score, while staying close to the pre-trained model. Rewards are only defined for complete samples, so each update requires rollouts from the current model.

The standard formulation, KL reward tilting

$$\tilde\rho_1=\arg\max_{\nu}\ \lambda\,\mathbb{E}_{\nu}[r]-\mathrm{KL}(\nu\,\|\,\rho_1),\qquad \tilde\rho_1(x)\propto e^{\lambda r(x)}\,\rho_1(x)$$
01

It reweights the base model

The target multiplies the base density by $e^{\lambda r}$. Samples with high reward become more likely, and two samples with equal reward keep the same relative density.

02

It is trained through a diffusion

The pathwise KL is tractable for diffusions, so existing methods convert the flow into a diffusion, fine-tune it with many-step stochastic rollouts, and convert it back. These procedures cannot exploit the accelerated transitions of flow maps, which jump between any two times of the flow in one network evaluation.

Is there an efficient framework for direct end-to-end fine-tuning of a deterministic flow map?

Previously, Flow Map Reward Guidance suggested that one can avoid the KL tilt through deterministic optimal control. WTF expands on this perspective and develops a new regularizer for fine-tuning: a transport cost that measures how much the pre-trained flow must be steered. Unlike KL reward tilting, the resulting objective transports individual samples toward higher reward rather than reweighting the base distribution. Fine-tuning then becomes a deterministic optimal control problem, which a pre-trained flow map solves without simulating rollouts. The result is simulation-free reinforcement learning for flows.

Contributions

Wasserstein-Tilted Flow Maps

  1. Transport regularization. We define a transport cost from the pre-trained drift and use it to regularize reward maximization. Unlike KL reward tilting, the resulting objective transports individual samples toward higher reward rather than reweighting the base distribution.
  2. Deterministic optimal control. We prove that the regularized objective is equivalent to controlling the deterministic flow with a terminal reward and a quadratic control cost.
  3. Simulation-free fine-tuning. We construct an unbiased, critic-free Monte Carlo value estimator using $O(1)$ flow-map evaluations. Value-gradient regression and self-distillation jointly update the flow map.
  4. Image generation results. WTF achieves higher reward with comparable or higher diversity on ImageNet-256 and text-to-image. On text-to-image, it reaches the peak rewards of Flow-GRPO and Adjoint Matching with up to $280\times$ and $47\times$ less training compute, respectively.
Method

An optimal transport regularizer

Reward fine-tuning maximizes expected reward over a terminal distribution $\nu$. The regularizer $\mathcal R$ penalizes departure from the pre-trained model.

$$\tilde\rho_1=\arg\max_{\nu}\ \lambda\,\mathbb{E}_{x\sim\nu}[r(x)]-\mathcal{R}(\nu).$$

The choice $\mathcal{R}(\nu)=\mathrm{KL}(\nu\,\|\,\rho_1)$ recovers the reward tilt. We use a transport regularizer from the prior $\rho_0$ to $\nu$, with a cost defined by the pre-trained drift $b_t$. The cost $c_b(x,y)$ is the least steering effort needed to move from $x$ to $y$ while following $b_t$.

$$\mathcal{T}_b(\rho_0,\nu)=\inf_{\pi\in\Pi(\rho_0,\nu)}\int c_b(x,y)\,\pi(dx\,dy),\qquad c_b(x,y)=\inf_{\omega_0=x,\ \omega_1=y}\ \frac12\int_0^1\big\|\dot\omega_t-b_t(\omega_t)\big\|^2dt$$

With $b\equiv 0$, the regularizer reduces to $\tfrac12 W_2^2(\rho_0,\nu)$.

Wasserstein tilting transports samples toward higher reward under the drift-induced cost $\mathcal T_b$. KL tilting reweights the base density by $e^{\lambda r}$, followed by normalization.

The problem splits into a separate choice for each starting sample.

$$\sup_{\nu}\Big\{\lambda\,\mathbb{E}_{\nu}[r]-\mathcal{T}_b(\rho_0,\nu)\Big\} =\mathbb{E}_{x\sim\rho_0}\Big[\sup_{y}\big\{\lambda\, r(y)-c_b(x,y)\big\}\Big].$$

Each sample moves to the endpoint with the best tradeoff between reward and steering cost. This transport can change the relative density of points with equal reward, which KL tilting preserves.

Wasserstein vs. KL tilting

For a standard Gaussian base and a Gaussian reward bump, both optimal distributions can be computed directly, without training or sampling. The reward has width $2.25$ and is centered at $K$. At the paper's fixed reward scale, WTF achieves higher expected reward, with the gap increasing as the reward moves farther from the base mean over the tested range.

Base $\rho_1=\mathcal N(0,1)$ KL tilt Wasserstein tilt (WTF) Reward $r(x)$, rescaled
base standard deviations from the mean
inverse temperature

Base $\mathbb E[r]$

–no fine-tuning

KL tilt $\mathbb E[r]$

– 

WTF $\mathbb E[r]$

– 

Both curves are computed in your browser with the procedure used in the paper. Nothing is sampled.

Algorithm

Fine-tuning by policy iteration

The endpoint cost $c_b$ requires optimizing over trajectories. We use an equivalent deterministic control formulation to train the flow map through policy iteration.

An equivalent optimal control problem

$$\sup_{u}\ \mathbb{E}_{x_0\sim\rho_0}\Big[\lambda\, r(x_1^u)-\frac12\int_0^1\|u_t(x_t^u)\|^2dt\Big] \quad\text{s.t.}\quad \dot x_t^u=b_t(x_t^u)+u_t(x_t^u)$$

The control $u_t$ modifies the pre-trained drift $b_t$, with a quadratic penalty on its magnitude. This problem has the same optimal value as the transport-regularized objective. An optimal control $u^*$ produces the Wasserstein-tilted terminal distribution through the drift $b_t+u^*_t$.

The value $V^u_t(x)$ is the terminal reward minus the remaining control cost along the trajectory starting from $x$ at time $t$. The optimal control satisfies $u^*_t=\nabla_x V^*_t$. We regress the trainable control onto $\nabla_x V^{\bar u}$ for a frozen reference $\bar u$, then update the reference. Each round improves the objective until the fixed point, which is the optimal control.

Simulation-free value estimation

A flow map predicts the state at a later time in one evaluation. We use these transitions to estimate the value and its gradient without numerically integrating the full future trajectory.

Actor-critic

critic evaluations 0

A learned critic predicts the value in one evaluation. Differentiating the critic gives an approximate value gradient.

  • O(1) evaluations
  • learned approximation
  • critic training

Multi-step rollout

drift evaluations 0

A numerical solver generates the trajectory in $T$ steps. Backpropagation differentiates through those steps to compute the value gradient.

  • O(T) evaluations
  • backprop through T steps

WTF

flow-map transitions 0

Two flow-map transitions produce $x_\tau$ and $x_1$ from $x_t$. Differentiating the resulting value estimate gives the value-gradient target.

  • Monte Carlo estimate
  • O(1) transitions
  • critic-free

Sampling $\tau$ uniformly from the remaining time interval converts the integrated control cost into a single-sample Monte Carlo estimate. The flow map supplies the intermediate state $x_\tau$ and terminal state $x_1$.

$$\widehat V(t,x)=\lambda\, r(x_1)-\frac{1-t}{2}\,\big\|\bar u_\tau(x_\tau)\big\|^2,\qquad \tau\sim\mathrm{U}[t,1],\quad x_\tau=X^{\bar u}_{t,\tau}(x),\quad x_1=X^{\bar u}_{\tau,1}(x_\tau)$$

For the flow map of the reference dynamics, this estimator is unbiased. Its only randomness comes from sampling the time $\tau$.

The WTF objective

$$\mathcal{L}_{\mathrm{WTF}}(\hat w)=\mathbb{E}\Big[\big\|\hat w_{t,t}(\bar x_t)-b_t(\bar x_t)-\nabla_x\widehat V(t,\bar x_t)\big\|^2\Big] +\beta\,\mathcal{L}_{\mathrm{dist}}(\hat w),\qquad \bar w=\mathrm{sg}(\hat w)$$

The diagonal loss fits the controlled drift to the value-gradient target. Off-diagonal self-distillation trains the flow map to remain consistent with that drift and supplies on-policy states for subsequent updates. The frozen reference $\bar w$ and regression targets are held fixed when updating $\hat w$.

One training step of WTF

  1. Sample $x_0\sim\rho_0$, $t\sim\mathrm{U}[0,1]$, $\tau\sim\mathrm{U}[t,1]$.
  2. Evaluate the frozen flow map to obtain $\bar x_t=X^{\bar w}_{0,t}(x_0)$, $\bar x_\tau=X^{\bar w}_{t,\tau}(\bar x_t)$ and $\bar x_1=X^{\bar w}_{\tau,1}(\bar x_\tau)$.
  3. Compute $\widehat V$ and differentiate with respect to $\bar x_t$ to obtain $\widehat g=\nabla_{\bar x_t}\widehat V$.
  4. Regress $\hat w_{t,t}(\bar x_t)$ onto $b_t(\bar x_t)+\widehat g$ with the target held fixed, and update the model using the regression and self-distillation losses.

At its fixed point, training recovers the optimal controlled drift together with its flow map.

Results

Reward and training compute

WTF achieves higher reward with comparable or higher diversity on ImageNet-256 and text-to-image, while retaining few-step inference with the same fine-tuned checkpoint. We fine-tune DMF-XL/2 and TiM-T2I using HPSv2 as the reward. Both image experiments use the Euclidean reward gradient, which omits the flow-map Jacobian from the reward term while preserving the generated endpoint.

Text-to-image HPSv2 at 50 NFE against cumulative training compute. All methods start from the same flow map. Each horizontal span runs from where WTF first reaches a baseline's peak reward to where that baseline reaches it. WTF requires up to $280\times$ less compute than Flow-GRPO and $47\times$ less than Adjoint Matching at these reward levels. Shading denotes one standard error above and below the mean.

Cite

BibTeX

@article{mammadov2026wtf,
  title={WTF?! Simulation-Free Reinforcement Learning with Wasserstein-Tilted Flow Maps},
  author={Mammadov, Abbas and Huang, Jerry Y and Lin, Justin and Kaushik, Partha and Shah, Sheel and Nair, Kartik and Teh, Yee Whye and Boffi, Nicholas M},
  journal={arXiv preprint arXiv:2609.27033},
  year={2026}
}