DPOK: Reinforcement Learning for Fine-tuning Text-to-Image Diffusion Models

By Ying Fan, Olivia Watkins, Yuqing Du, Hao Liu, Moonkyung Ryu, Craig Boutilier, Pieter Abbeel, Mohammad Ghavamzadeh, Kangwook Lee, Kimin Lee. Neural Information Processing Systems, 2023

460 citations recorded by the source corpus.

Learning from human feedback has been shown to improve text-to-image models. These techniques first learn a reward function that captures what humans care about in the task and then improve the models based on the learned reward function. Even though relatively simple approaches (e.g., rejection sampling based on reward scores) have been investigated, fine-tuning text-to-image models with the reward function remains challenging. In this work, we propose using online reinforcement learning (RL) to fine-tune text-to-image models. We focus on diffusion models, defining the fine-tuning task as an RL problem, and updating the pre-trained text-to-image diffusion models using policy gradient to maximize the feedback-trained reward. Our approach, coined DPOK, integrates policy optimization with KL regularization. We conduct an analysis of KL regularization for both RL fine-tuning and supervised fine-tuning. In our experiments, we show that DPOK is generally superior to supervised fine-tuning with respect to both image-text alignment and image quality. Our code is available at https://github.com/google-research/google-research/tree/master/dpok.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

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

How researchers see this paper

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

In Artificial Intelligence

  1. Sergey Levine
  2. Yilun Du
  3. Michael Janner
  4. Pieter Abbeel
  5. Ilya Kostrikov
  6. Chelsea Finn
  7. Rafael Rafailov
  8. Stefano Ermon

In Computer Vision and Pattern Recognition

  1. Sergey Levine
  2. Yilun Du
  3. Luc Van Gool
  4. Abhinav Kumar Gupta
  5. Dacheng Tao
  6. Trevor Darrell
  7. Jitendra Malik
  8. Stefano Ermon

Citations in the corpus