Are we really tilting? The mechanics of reward guidance in flow and diffusion models

Sanjit Dandapanthula, Nicholas M. Boffi
6/1/2026
2 citations
cs.LGcs.AI
diffusion-flow

No official code found. Best implementation: sanjitdp/reward-guidance (6 stars, MIT, last commit 2026-05-07). 1 more below.

Abstract

Reward guidance algorithms steer a learned generative process toward the reward-tilted measure at inference time. While empirically powerful, these methods are prone to reward hacking: the guided model over-optimizes the reward at the cost of fidelity to the learned distribution.

Show full abstract

Prior work has attributed this to the complexity of neural reward functions or implicit biases in diffusion training, but its fundamental origins remain poorly understood. We show that reward hacking arises from an approximation made in most practical implementations of reward-guided diffusion -- finite-particle plug-in estimation of the Doob h-function -- even in the simplest non-trivial settings of Gaussian and Gaussian mixture targets with quadratic rewards. In closed form, we isolate two distinct failure modes of the plug-in estimator: it leads to reward hacking within each mode and it cannot select high-reward modes. We propose a closed-form reward damping schedule that corrects the within-mode bias with no additional compute, and clarify the role of best-of-n sampling in compensating for the mode selection failure. Experiments on Gaussian mixture targets, a 2D checkerboard, and FLUX.1 text-to-image generation confirm that our theoretical insights carry over to practical settings.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
sanjitdp/reward-guidanceCommunity6–MIT2026-05-07
sanjitdp/are-we-really-tiltingCommunity1––2026-06-03
MIT

Experiment code for 'Are we really tilting? The mechanics of reward guidance in flow and diffusion models' — plug-in Doob h-transform sampling, reward damping, best-of-n, and flow map reward guidance for Gaussian mixtures, a 2D checkerboard, and FLUX.1 text-to-image generation.

61May 7, 20266 months agoMIT
best-of-ndiffusion-modelsdoob-h-transformflow-matchingflux+5 more

Project page for 'Are we really tilting? The mechanics of reward guidance in flow and diffusion models'

10May 9, 20266 months ago

Similar Papers

Cite this paper

@article{dandapanthula2026really,
  title  = {Are we really tilting? The mechanics of reward guidance in flow and diffusion models},
  author = {Sanjit Dandapanthula and Nicholas M. Boffi},
  year   = {2026},
  eprint = {2606.02884},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.02884v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.02884.svg)](https://codeofpaper.com/paper/2606.02884)

Discussion