Papers
Topics
Authors
Recent
Search
2000 character limit reached

RewardFlow: Inversion-Free Multi-Reward Dynamics

Updated 5 July 2026
  • RewardFlow is an inversion-free framework that steers pretrained diffusion and flow-matching models via multi-reward Langevin dynamics, enabling zero-shot image editing and compositional generation.
  • It fuses diverse, differentiable rewards—including semantic, perceptual, localized grounding, object consistency, human preference, and VQA—through a prompt-aware adaptive controller.
  • Experimental results demonstrate state-of-the-art improvements in metrics like CLIP Distance, PSNR, and SSIM, validating its robustness and efficiency in complex editing tasks.

RewardFlow is an inversion-free framework for steering pretrained diffusion and flow-matching models at inference time through multi-reward Langevin dynamics. It is designed for both image editing and compositional generation, and it unifies differentiable rewards for semantic alignment, perceptual fidelity, localized grounding, object consistency, human preference, and visual-question-answering-based semantic supervision under a prompt-aware adaptive controller. In the reported experiments, the method delivers state-of-the-art edit fidelity and compositional alignment without fine-tuning or inversion, operating instead as a zero-shot, pure-inference sampler over a prompt-tilted density (Susladkar et al., 9 Apr 2026).

1. Formal setting and inference objective

RewardFlow treats inference as stochastic optimization in latent space. Let the text prompt be pp, let x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d denote the initial clean latent when editing from a source image I0I_0, and let tˉ\bar t be the starting noise level. Initialization is

x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).

The sampler then performs KK reverse steps over decreasing noise levels {tk}\{t_k\} while maintaining a latent x(k)x^{(k)} (Susladkar et al., 9 Apr 2026).

At each step, the model predicts a denoised latent

x~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),

which is decoded to image space as

I(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).

RewardFlow evaluates multiple differentiable rewards on x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d0, lifts their image-space gradients back into latent space through the Jacobians of the decoder and denoiser, and fuses them into a single reward drift. In editing mode, it may also add a KL-tether drift pulling x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d1 back toward x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d2 in order to preserve source-image structure (Susladkar et al., 9 Apr 2026).

The resulting update is an Euler–Maruyama discretization of an overdamped Langevin SDE:

x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d3

with x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d4. Here x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d5 is the flow-matching or denoising drift, x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d6 is a reward-aware step size, and x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d7 controls injected noise. The target density is written as

x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d8

This formulation makes reward guidance part of the sampler itself rather than a separate post hoc reranking mechanism.

2. Multi-reward Langevin dynamics

The central algorithmic idea is to combine heterogeneous reward signals as additive drifts in latent space. For each differentiable reward head x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d9, RewardFlow computes the image-space gradient

I0I_00

then lifts it to latent space:

I0I_01

After normalizing each reward head to zero mean and unit variance, the method fuses them with dynamic weights I0I_02:

I0I_03

For editing, the KL-tether term is

I0I_04

This term is absent in pure generation, where I0I_05 (Susladkar et al., 9 Apr 2026).

The significance of this construction is that semantic, perceptual, spatial, and preference-related objectives are not optimized independently. They are combined online inside the reverse process, with the stochastic term preserving the Langevin character of the sampler. This suggests an interpretation of RewardFlow as a guided sampler over a reward-tilted posterior rather than as a deterministic editor.

The paper also presents compact pseudocode. In summary, the pipeline extracts semantic primitives and a QA pair from the prompt, initializes running statistics for reward normalization, performs denoising and reward evaluation at each step, computes dynamic reward weights, lifts and fuses gradients, applies the KL tether if editing, adjusts the step size through a reward-aware schedule, and returns the final decoded image after the I0I_06-step trajectory (Susladkar et al., 9 Apr 2026).

3. Differentiable reward design

RewardFlow uses six families of differentiable, zero-shot rewards. The paper distinguishes semantic-primitive-level rewards, marked with a superscript I0I_07, from global prompt-level rewards, marked with I0I_08 (Susladkar et al., 9 Apr 2026).

Reward family Symbol Brief definition
Semantic alignment I0I_09 Global CLIP cosine between image and primitive text
Perceptual fidelity tˉ\bar t0 Perceptual encoder cosine between image and primitive text
Localized grounding tˉ\bar t1 RegionCLIP softmax-weighted region-text similarity
Object consistency tˉ\bar t2 SAM2-mask object score with leakage penalty
Human preference tˉ\bar t3 tˉ\bar t4
VQA-based reward tˉ\bar t5 Token-logit loss from a frozen VQA-capable model

The global semantic alignment term is

tˉ\bar t6

and perceptual fidelity has the analogous form

tˉ\bar t7

Localized grounding uses region proposals tˉ\bar t8 with scores

tˉ\bar t9

and aggregates them as

x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).0

Object consistency uses text-guided SAM2 masks x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).1 with confidences x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).2 and weights x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).3. For each semantic primitive x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).4,

x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).5

and

x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).6

The method further multiplies x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).7 by a directional scalar

x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).8

The VQA-based reward is the most distinctive component. From a single NLP-generated QA pair x(0)=αtˉx0+σtˉϵ,ϵ∼N(0,I).x^{(0)}=\alpha_{\bar t}x_0+\sigma_{\bar t}\epsilon,\qquad \epsilon\sim\mathcal N(0,I).9, a frozen VQA-capable model produces token logits KK0 and probabilities KK1. The reward is

KK2

According to the paper, this encourages correct and confident answer generation. The broader implication is that RewardFlow augments image-text similarity with language-vision reasoning, giving it a finer semantic supervisory signal than global embedding alignment alone.

4. Prompt-aware adaptive control

RewardFlow does not use fixed reward weights. Its controller operates in three phases: semantic-primitives extraction, dynamic reward weighting, and reward-aware step-size selection (Susladkar et al., 9 Apr 2026).

First, the prompt is parsed once with an LLM into a set of disjoint, atomic semantic primitives,

KK3

and one or more QA pairs are generated for the VQA reward. This decomposition determines which reward heads are evaluated globally and which are evaluated per primitive.

Second, at each step KK4 and for each reward head KK5, the method computes a base prior KK6 from an intent classification of KK7 into KK8, a feedback term

KK9

and a fixed schedule {tk}\{t_k\}0. The unnormalized logit is

{tk}\{t_k\}1

and the weight is

{tk}\{t_k\}2

This allows the controller to modulate objectives according to edit intent, observed progress, and denoising stage.

Third, the step size is adjusted from the current fused reward:

{tk}\{t_k\}3

where {tk}\{t_k\}4. Higher fused reward therefore yields smaller, more conservative steps. This coupling between reward level and integration step is one of the method’s stabilizing devices, alongside reward normalization and the optional KL tether.

5. Implementation profile and experimental results

The reported implementation uses Flow-matching (Flux 1 Context), PixArt-{tk}\{t_k\}5, and Qwen-Image (latent diffusion), all at {tk}\{t_k\}6 px and without fine-tuning. The paper reports {tk}\{t_k\}7 steps for editing and {tk}\{t_k\}8–{tk}\{t_k\}9 for generation. Semantic primitives are parsed via a GPT-style LLM and cached. The vision encoders are SigLIP v2 for x(k)x^{(k)}0, Perception for x(k)x^{(k)}1, RegionCLIP for x(k)x^{(k)}2, SAM2 for x(k)x^{(k)}3, HPSv2 for x(k)x^{(k)}4, and Qwen-2.5-VL for x(k)x^{(k)}5. Hyperparameters include x(k)x^{(k)}6, x(k)x^{(k)}7, x(k)x^{(k)}8, x(k)x^{(k)}9, x~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),0, x~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),1, x~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),2, and x~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),3 for editing; mixed-precision AMP runs on x~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),4A100 GPUs (Susladkar et al., 9 Apr 2026).

On PIE-Bench, a zero-shot editing benchmark with 700 real images and instructions, RewardFlow is evaluated with CLIP Distancex~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),5, PSNRx~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),6, LPIPSx~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),7, MSEx~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),8, SSIMx~(k)=Denθ(x(k),tk,p),\tilde x^{(k)}=\mathrm{Den}_\theta(x^{(k)},t_k,p),9, Whole-accuracyI(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).0, Edited-accuracyI(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).1, and NFE. Against 12 training-free baselines on the same Flux backbone, the paper reports that Distance drops from 8.39 to 7.78 (I(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).2), PSNR improves by I(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).3, SSIM by I(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).4, Edited-accuracy by I(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).5 I(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).6, and Whole-accuracy by I(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).7. At 4 steps, Distance is down by up to I(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).8 and Edited-accuracy is up by I(k)=Dec(x~(k)).I^{(k)}=\mathrm{Dec}(\tilde x^{(k)}).9.

On T2I-CompBench, which contains 6,000 prompts covering attribute binding and relations, RewardFlow improves overall by x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d00–x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d01 over base models and by x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d02–x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d03 over ReNO on PixArt-x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d04, Flux, and Qwen. The Qwen variant reaches x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d05 on color, x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d06 on non-spatial relations, and x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d07 on complex prompts.

On GenEval, which measures object count and position, PixArt-x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d08 DMD improves from mean x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d09, Flux from x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d10, and Qwen from x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d11. The largest gains are on counting x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d12–x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d13 and two-object prompts x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d14–x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d15. Qualitatively, the paper reports that RewardFlow concentrates gradient on the exact region to edit, avoids semantic leakage, preserves background layout and identity via the KL tether, and produces more faithful attribute edits, object replacements, and scene transformations.

6. Ablations, failure modes, and relation to adjacent methods

The main reported failure mode is incorrect VQA signals when counting many small objects, which can produce a spurious gradient (Susladkar et al., 9 Apr 2026). The ablations identify several indispensable components. On Flux editing, removing dynamic weighting causes Distancex0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d16, PSNRx0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d17, and Edited-accx0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d18; removing semantic primitives causes Distancex0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d19 and Edited-accx0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d20; fixing the step size causes Distancex0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d21 and Edited-accx0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d22; and dropping the KL tether causes Distancex0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d23, PSNRx0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d24, SSIMx0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d25, with heavy layout drift.

Reward-family ablations also clarify the role of the multi-objective design. Starting from only global CLIP yields diffuse, inaccurate gradients with Distance x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d26. Progressively adding x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d27, x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d28, x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d29, x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d30, and x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d31 refines the guidance to Distance x0=Enc(I0)∈Rdx_0=\mathrm{Enc}(I_0)\in\mathbb R^d32. This supports the paper’s claim that complementary reward heads are not redundant; instead, they address different failure modes of image editing and compositional generation.

A plausible implication is that RewardFlow occupies a distinct point in the broader design space of reward-guided generative modeling. Unlike training-time approaches such as "Diffusion-DRF: Differentiable Reward Flow for Video Diffusion Fine-Tuning" (Wang et al., 7 Jan 2026), "Exploring the Design Space of Reward Backpropagation for Flow Matching" (Wang et al., 9 Jun 2026), or "Online Reward-Weighted Fine-Tuning of Flow Matching with Wasserstein Regularization" (Fan et al., 9 Feb 2025), RewardFlow performs zero-shot, pure-inference guidance. Relative to few-step deterministic guidance such as "How to Guide Your Flow: Few-Step Alignment via Flow Map Reward Guidance" (Huang et al., 29 Apr 2026), its defining emphasis is multi-reward Langevin sampling with a prompt-aware adaptive controller. The name itself is also non-unique in the literature: it appears in unrelated settings such as user-retention modeling with Generative Flow Networks (Liu et al., 2024) and topology-aware reward propagation for agentic RL with LLMs (Feng et al., 19 Mar 2026).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to RewardFlow.