Manuscript Offprint

arXiv:2610.05954

MEND: RL For Flow Models via Proximal Velocity Matching

Shreshth Saini, Neil Birkbeck, Yilin Wang, Balu Adsumilli, Alan C. Bovik

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Reward post-training of flow models either reweights the model's own samples under a KL penalty or a frozen reference, often for thousands of updates, or backpropagates the reward and moves every sample without checking that the move is worth its size. We introduce MEND, a reinforcement learning method built on proximal velocity matching. MEND caps rewards within each prompt group, so samples that already score well receive no move. Below the cap, it proposes moves along the reward gradient and accepts one only when its capped reward gain exceeds a quadratic displacement price. The model then regresses onto the resulting velocity targets, with no KL term, frozen reference model, or advantage weights. In 100 updates, MEND outperforms Flow-GRPO (about 4k updates) on five of six evaluators at the same distance to base-model images. Under an equal-budget protocol, it surpasses ReFL and DiffusionNFT at every evaluated update across four training rewards, reaching PickScore 24.03 versus 23.92 and 23.43, respectively. A 300-update three-reward run also surpasses the five-reward DiffusionNFT model on all three rewards it trains on. MEND is general and easy to adopt: it applies to any flow backbone with a differentiable reward. Code

SD3.5-M

Figure

23.04

21.45

MEND (ours)

21.68

22.90

21.57

lighthouse left, sailboat right, full moon

four dogs on the street

a small blue book on a large red book

miniature train set in a model town

steaming bowl of ramen

(a) Training reward

Figure

Updates

(b) Held-out PickScore

Updates

(c) Trained on HPSv2.1

Updates

Figure 1: MEND stays ahead of ReFL and DiffusionNFT at every evaluated update. Top: SD3.5-M above, MEND below, same prompt and initial noise. Bottom, equal budget: (a) training reward and (b) held-out PickScore against ReFL and DiffusionNFT under the same protocol, with Flow-GRPO (about 4k updates) at its own setting as a level; (c) the HPSv2.1 run's trained reward.

(a) Pre-trained flow

(b) Reweighting

KL tilt, beta = 0.05

(c) Gradient target

Every seed, 18 steps

(d) MEND (ours)

One round, targets only

Figure

high true reward

no data

path before

density before

certified move

— rejected proposal

above cap: no target

• below cap: kept

Figure 2: (a) The base flow. (b) Reward reweighting concentrates on the peaks and loses the hard mode. (c) Gradient ascent moves every sample and pushes some of the mass off the data. (d) MEND: capped samples stay, certified moves are short, and the hard mode keeps its mass (Appendix F.3).

1 INTRODUCTION

Learned reward models make it possible to post-train text-to-image flow models for human preference (Kirstain et al., 2023; Wu et al., 2023; Xu et al., 2023). The open problem is how to turn a scalar score into an update that raises reward quickly without eroding what the base model already does well. A score alone does not say which samples should change or where they should go. Policy-gradient methods such as Flow-GRPO reweight stochastic trajectories by group-relative advantages under a KL penalty (Liu et al., 2025). Weighted-regression methods such as DiffusionNFT reweight the model's own samples inside a regression loss (Zheng et al., 2026). Both adjust how much existing samples count, and the Flow-GRPO and DiffusionNFT models we compare against use about 4k and 1.7k updates.

Reward backpropagation supplies a direction: ReFL and DRaFT differentiate the reward through sampling (Xu et al., 2023; Clark et al., 2024). But the gradient moves every sample, including those that already score well, and nothing checks that a move earns its size. A KL penalty or reference term limits drift of the distribution as a whole and makes no per-sample decision. The three-mode example of Figure 2 shows both failures: reweighting suppresses a hard mode, and unchecked ascent pushes samples into low-density regions.

Table 1: Objective components. Blue matches MEND; red differs. The check compares reward gain with displacement cost. MEND uses a lagged behavior adapter, not a frozen reference. Updates refer to the compared runs.

MethodKL / frozen referenceReward weightsTarget
∇R\nabla RcheckUpdates
Flow-GRPOyesyesnono~4k
ReFLnonoyesno100
DiffusionNFTyesyesnono1.7k
MENDnonoyesyes100

We introduce MEND, an RL method for flow models based on proximal velocity matching (Figure 4). Its principle is that a sample should move only when the reward it gains pays for the distance it travels. Within each prompt group, MEND caps rewards at a quantile, so samples that already score well keep their place. For each sample below the cap, it proposes a few moves along the normalized reward gradient and selects the candidate with the highest capped reward minus a quadratic displacement price, with the unchanged sample always among the candidates. This is a proximal-point step evaluated on decoded candidates. The model then regresses its velocity at a stored rollout state onto the behavior velocity shifted by the accepted displacement, with no KL term, frozen reference model, or advantage weights (Table 1). The selection rule comes with guarantees. Every accepted target improves capped reward by more than its quadratic price, and its displacement bound shrinks to zero as the sample approaches the cap (Proposition 1). At the behavior parameters, the descent direction of the regression loss backpropagates normalized reward gradients through the clean predictions of accepted samples only, scaled by their selected steps (Proposition 2).

Figure

multidimensional quantum foam realm brane fantasy style

Figure 3: Rows share a prompt and seed across SD3.5-M, Flow-GRPO, DiffusionNFT, and MEND. PickScore on each tile.

After 100 PickScore updates, MEND outperforms Flow-GRPO, trained for about 4k updates, on every evaluator except aesthetic score, at the same distance to base-model images (Table 2). Under the equal-budget protocol of Zhou et al. (2026), it surpasses ReFL and DiffusionNFT at every evaluated update on all four training rewards (Figures 1 and 8). Figures 1 and 3 show matched visual comparisons. Our contributions are:

• Insight and method. We observe that existing reward post-training never decides, sample by sample, whether a change is worth making. We propose MEND, which makes this decision explicit through proximal velocity matching: a sample receives a new velocity target only when its capped reward gain exceeds a quadratic displacement price, and the model is trained by plain regression onto these targets, with no KL term, frozen reference model, or advantage weights.

• Theory. We prove that every accepted target improves reward by more than its displacement price, with a displacement bound that vanishes as the sample approaches the cap (Proposition 1). We further show that the resulting regression gradient is reward backpropagation restricted to the accepted samples and scaled by their selected steps (Proposition 2).

• Performance and generality. In only 100 updates, MEND outperforms Flow-GRPO (about 4k updates) on five of six evaluators at the same base distance. At equal budget, it surpasses ReFL and DiffusionNFT on all four training rewards, reaching PickScore 24.03 versus 23.92 and 23.43. MEND is backbone-agnostic and easy to adopt: the same method improves SD3.5-M, SD3-M and the distilled Z-Image-Turbo at the same update budget.

Figure

next round: θold←μθold+(1−μ)θ\theta_{\text{old}} \leftarrow \mu \theta_{\text{old}} + (1 - \mu) \theta (EMA behavior model)

Figure 4: MEND overview. (1) A group for prompt c; samples at or above the cap κ\kappa are kept. (2) Each sample below the cap gets 3 proposals along its reward gradient; the verdict subtracts a distance price from the capped reward and keeps the best candidate, here the shortest move y1y_1. (3) The trained adapter regresses at the stored state onto the behavior prediction plus the accepted displacement d, a velocity target by equation 5; the behavior model then follows it by EMA.

References (42)