Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Directly Fine-Tuning Diffusion Models on Differentiable Rewards

About

We present Direct Reward Fine-Tuning (DRaFT), a simple and effective method for fine-tuning diffusion models to maximize differentiable reward functions, such as scores from human preference models. We first show that it is possible to backpropagate the reward function gradient through the full sampling procedure, and that doing so achieves strong performance on a variety of rewards, outperforming reinforcement learning-based approaches. We then propose more efficient variants of DRaFT: DRaFT-K, which truncates backpropagation to only the last K steps of sampling, and DRaFT-LV, which obtains lower-variance gradient estimates for the case when K=1. We show that our methods work well for a variety of reward functions and can be used to substantially improve the aesthetic quality of images generated by Stable Diffusion 1.4. Finally, we draw connections between our approach and prior work, providing a unifying perspective on the design space of gradient-based fine-tuning algorithms.

Kevin Clark, Paul Vicol, Kevin Swersky, David J Fleet• 2023

Related benchmarks

TaskDatasetResultRank
Text-to-motion generationHumanML3D (test)
FID0.195
331
Text-to-Image GenerationOut-of-Domain T2I Dataset
Laplacian Variance3.70e+3
13
Text-to-Image Synthesis40 animal prompts Stable Diffusion v1.5 (test)
Aesthetic Score7.22
9
Text-to-Image AlignmentAesthetic Score
Reward9.54
6
Text-to-Image AlignmentHPS v2
Reward3.76
6
Text-to-Image AlignmentPickScore
Reward23
6
Showing 6 of 6 rows

Other info

Follow for update