Abstract
Fine-tuning pre-trained diffusion models to satisfy specific downstream objectives often faces a trade-off between sample efficiency and the ability to handle non-differentiable rewards. We introduce VARD (VAlue-based Reinforced Diffusion), a novel framework that employs a learned Process Reward Model (PRM) as a differentiable value function. By providing dense supervision at every denoising step, VARD enables stable and efficient optimization for diverse rewards, including human preferences and non-differentiable constraints like file size. Our results across image generation and protein design demonstrate that VARD significantly outperforms existing policy gradient and reward backpropagation baselines in both efficiency and final performance.
Introduction
Pre-trained diffusion models possess remarkable generative capabilities, yet steering them toward specific properties—such as higher aesthetic quality, specific protein secondary structures, or file size constraints—remains a challenge. Current reinforcement learning (RL) approaches for fine-tuning generally fall into two categories: Policy Gradient methods, which handle non-differentiable rewards but suffer from high variance and sample inefficiency, and Reward Backpropagation, which is efficient but requires differentiable reward functions.
Furthermore, most RL approaches struggle with sparse rewards, where the model is only evaluated on the final generated sample ($x_0$). This lack of intermediate guidance makes credit assignment difficult, as the model cannot easily discern which specific steps in the multi-step denoising process contributed to the final outcome.
Methodology
VARD addresses these challenges by introducing a Process Reward Model (PRM) that acts as a learned value function. This function, $V_\phi(x_t, c)$, predicts the expected final reward from any intermediate noisy state $x_t$ given a condition $c$.
The training process consists of two primary stages:
- Value Pre-training: The value function is trained on trajectories sampled from the frozen, pre-trained diffusion model to learn the expected rewards of intermediate states.
- Diffusion Fine-tuning: The diffusion model is updated using gradients backpropagated through the differentiable value function. To ensure the guidance remains accurate as the policy evolves, the value function is updated "on-policy."
To prevent "reward hacking" and model collapse, VARD incorporates KL regularization. The authors demonstrate that minimizing the mean squared error (MSE) between fine-tuned and pre-trained states is mathematically equivalent to minimizing the KL divergence, effectively anchoring the model to the natural data manifold.
Experimental Evaluation
VARD was evaluated across several diverse modalities and reward types:
- Protein Design: Using the FoldFlow-2 framework, the model was optimized to increase beta-sheet formation, a non-trivial structural constraint.
- Text-to-Image (SD 1.4 & SDXL): The model was tested on non-differentiable rewards (JPEG compressibility) and human preference rewards, including Aesthetic Score, PickScore, and ImageReward.
- Generalization: Performance was validated on unseen prompts using the HPDv2 test set.
Results and Discussion
VARD demonstrates significant improvements in both training stability and sample efficiency. By utilizing the value function as a "differentiable proxy," VARD allows for gradient-based optimization of objectives that were previously treated as black boxes.
Key findings include:
- Superior Efficiency: As shown in Figure 6, VARD reaches higher reward plateaus with significantly fewer training samples than baselines like ReFL and DRaFT-1.
- Effective Credit Assignment: The dense supervision provided by the PRM allows the model to receive "look-ahead" guidance, identifying paths that lead to high-reward outcomes early in the denoising process.
- Robustness to Reward Hacking: The combination of dense feedback and KL regularization prevents the high-frequency noise artifacts often seen in direct reward backpropagation.
- Quantitative Gains: On the HPDv2 benchmark, VARD achieved a state-of-the-art average score of 0.3589, outperforming existing methods.
Conclusion
VARD provides a robust framework for fine-tuning diffusion models by bridging the gap between policy gradients and reward backpropagation. While the method depends on the accuracy of the learned value function and introduces some computational overhead during training, its ability to provide dense, differentiable guidance for arbitrary rewards marks a significant step forward in controllable generative modeling. Future work will explore scaling VARD to video and 3D diffusion architectures.
Summary updated