Manuscript Offprint

arXiv:2610.22973

DiffusionRVGE: Reinforcement Learning via Regression-Based Value Gradient Estimation

Jiayuan Wang, Tongyao Pang

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

ABSTRACT

Reinforcement learning improves diffusion models using rewards on generated images, but repeated denoising and gradient estimation make training expensive. We introduce DiffusionRVGE, an efficient method that constructs useful update directions by regressing centered rewards on centered final denoised images. It requires neither reward derivatives nor adjoint backpropagation through the sampling trajectory. A unified first-variation formulation identifies the value-gradient target with or without a trajectory-KL penalty. A population analysis under Gaussian noising explains the regression geometry, while a subspace analysis motivates clean-image coordinates. The implementation adapts rollout bandwidth and query weights to reward continuity: local rollouts suit smooth rewards, whereas broader groups provide informative contrasts for discrete rewards. Trained jointly on five rewards, one SD3.5-Medium model matches or exceeds DiffusionNFT's joint model on seven of eight metrics, reaching GenEval 0.94, OCR 0.92, and PickScore 23.82 at about one fifth of its estimated training compute. In single-reward training, DiffusionRVGE reaches matched reward thresholds 2.1−6.7×2.1-6.7\times faster than reproduced DiffusionNFT on identical hardware. Ablations support the clean-image estimator, direct direction transfer, and reward-dependent rollout choices. Code is available at https://github.com/jy-wang-tsinghua/DIFFUSIONRVGE.

1 INTRODUCTION

Diffusion and flow matching models generate images by transforming noise into data (Ho et al., 2020; Song et al., 2021; Lipman et al., 2023; Esser et al., 2024). Reinforcement learning (RL) adapts these generators to scalar rewards measuring preferences, text accuracy, or compositional correctness. Methods including DDPO, Flow-GRPO, and DiffusionNFT improve generation through reward-based fine-tuning (Black et al., 2023; Liu et al., 2025; Zheng et al., 2026). Training remains expensive: each update requires image generation and an estimate of how model changes affect the final reward. Our aim is to obtain effective update directions at substantially lower training cost.

We introduce DiffusionRVGE, which constructs reward-informed update directions by regression on final denoised images. To motivate the estimator, consider the Gaussian noising path

Xt=αtZ+σtϵ,Z∼ρ,ϵ∼N(0,I),(1)\mathbf{X}_{t}=\alpha_{t}\mathbf{Z}+\sigma_{t}\boldsymbol{\epsilon},\qquad\mathbf{Z}\sim\rho,\quad\boldsymbol{\epsilon}\sim\mathcal{N}(0,I), \tag{1}

where Z\mathbf{Z} and ϵ\epsilon are independent, Z\mathbf{Z} is a clean image or latent, and generation reverses the noising process. Let PθP_{\theta} denote the law of a stochastic denoising trajectory. A common RL objective, EPθR(Z)−τKL⁡(Pθ∥Pref)\mathbb{E}_{P_{\theta}} R(\mathbf{Z}) - \tau \operatorname{KL}(P_{\theta} \| P_{\text{ref}}), balances reward against deviation from a reference model. For τ>0\tau > 0, under an independent-noise initialization, its optimal-control formulation identifies a reward-tilted terminal target π∗∝ρeR/τ\pi^* \propto \rho e^{R/\tau}. The policy first variation gives a common cross-term plus quadratic-penalty loss for every τ≥0\tau \geq 0, including unregularized reward optimization. This supplies a target for efficient approximation, rather than requiring differentiation through every denoising step.

∗^{*}Corresponding author.

Our estimator fits centered reward differences to clean-image contrasts using normalized ridge regression. Under exact conditioning in the Gaussian noising model, the population normal equations connect clean-image regression to a covariance-preconditioned value gradient. A subspace analysis characterizes how denoised coordinates improve directional estimation, and our alignment experiments demonstrate this advantage in the evaluated models. We transfer the fitted directions directly to model updates without an adjoint backward pass.

Regression uses reward values and benefits from informative variation across the rollout bank. Smooth scores permit local perturbations; discrete scores can remain constant across these perturbations and benefit from independent-seed groups. We therefore adapt rollout bandwidth and query weights to reward continuity while retaining the same centered squared-regression estimator. This gives one practical method for both continuous preferences and discrete task scores.

Our contributions are:

• Efficient regression-based updates. Clean-image regression constructs update directions without reward derivatives or adjoint backpropagation, guided by gradient matching and supported by directional analysis and empirical validation.

• Reward-adaptive implementation. Local trajectory banks and broader rollout groups share a centered regression formulation, with reward-dependent query weights validated by ablations.

• Strong results at lower compute. Our joint model matches or exceeds DiffusionNFT on seven of eight metrics at about one fifth of its estimated training compute. Single-reward runs reach matched thresholds 2.1−6.7×2.1-6.7\times faster on identical hardware.

References (37)