Weights or Sampling?

A Controlled Study of Reward Optimization in Flow-Matching Models

soon

soon

TL;DR

To make a flow-matching image model score higher on a reward, the reward can go in two places: trained into the weights with reinforcement learning, or spent at sampling time as guidance. Held to one backbone, one frozen reward model, and one budget, guidance wins on every differentiable reward we test, by 1.6× to 7× over tuned RL, and the margin is predictable before you train. The result is not a winner but a measured map of conditions, each with a mechanism: guidance consumes the true per-sample reward gradient where it applies, while RL must estimate that gradient from scalar rollouts and amortize it into prompt-independent weights.

Headline comparison: training-free guidance versus matched-budget RL across reward settings
Matched-budget comparison on SD3.5-Medium. Training-free guidance improves every one of 150 prompts on each differentiable reward; matched-budget RL trails by 1.6× (aesthetics) to 7× (text rendering), and single RL runs scatter.

Findings

RL gain versus training budget, against the training-free guidance bars
Budget crossover on the text-alignment reward. Even at the corrected KL setting and four times the budget, RL approaches but does not cross plain guidance, and stays far below the composed two-branch configuration, which costs no training at all.
Reward-model gain versus task-grounded readability across guidance strength
The reward-versus-task dissociation on text-rendering prompts. As optimization strengthens, the reward climbs while literal word-F1 falls, crossing zero and declining monotonically: the sharpest evidence that reward fidelity, not optimizer choice, is the ceiling.

Reproduction

Every number in the paper recomputes from released per-prompt, per-seed evaluation matrices under one prompt-clustered recipe, and every run is reproducible from the released scripts: training uses fixed initialization and rollout seeds. Trained checkpoints and full logs are provided where retained.

BibTeX

Citation will be posted when the preprint is up (in progress).

Figures and numbers are generated from the released evaluation data.