Directly Fine-Tuning Diffusion Models on Differentiable Rewards

By Kevin Clark, Paul Vicol, Kevin Swersky, David J. Fleet. International Conference on Learning Representations, 2023

432 citations recorded by the source corpus.

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.

Subfields: Cognitive Neuroscience, Computer Vision and Pattern Recognition, Radiology, Nuclear Medicine and Imaging

View Paper: https://www.semanticscholar.org/paper/a395f1c0910a5622f6faaefb5b27e87bb1617759

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Cognitive Neuroscience

  1. Rafael Rafailov
  2. Stefano Ermon
  3. Senthil Purushwalkam

In Computer Vision and Pattern Recognition

  1. Senthil Purushwalkam
  2. Shafiq R. Joty
  3. Aaron Lou
  4. Bram Wallace
  5. Rafael Rafailov
  6. Stefano Ermon
  7. Luc Van Gool
  8. Dacheng Tao

In Radiology, Nuclear Medicine and Imaging

  1. Aaron Lou
  2. Stefano Ermon
  3. Senthil Purushwalkam

Citations in the corpus