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

被引:0
作者
Fan, Ying [1 ,2 ]
Watkins, Olivia [3 ]
Du, Yuqing [3 ]
Liu, Hao [3 ]
Ryu, Moonkyung [1 ]
Boutilier, Craig [1 ]
Abbeel, Pieter [3 ]
Ghavamzadeh, Mohammad [4 ]
Lee, Kangwook [2 ]
Lee, Kimin [5 ]
机构
[1] Google Res, Mountain View, CA 94043 USA
[2] Univ Wisconsin Madison, Madison, WI 53706 USA
[3] Univ Calif Berkeley, Berkeley, CA USA
[4] Amazon, Seattle, WA USA
[5] Korea Adv Inst Sci & Technol, Daejeon, South Korea
来源
ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023) | 2023年
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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/googleresearch/google-research/tree/master/dpok.
引用
收藏
页数:28
相关论文
共 43 条
  • [1] Bai Yuntao, 2022, arXiv, DOI DOI 10.48550/ARXIV.2204.05862
  • [2] Black K, 2024, Arxiv, DOI arXiv:2305.13301
  • [3] Chi C, 2024, Arxiv, DOI arXiv:2303.04137
  • [4] Dhariwal P, 2021, ADV NEUR IN, V34
  • [5] Fan Y, 2024, Arxiv, DOI arXiv:2301.13362
  • [6] Feng WX, 2022, Arxiv, DOI arXiv:2212.05032
  • [7] Gokhale T, 2023, Arxiv, DOI arXiv:2212.10015
  • [8] Generative Adversarial Networks
    Goodfellow, Ian
    Pouget-Abadie, Jean
    Mirza, Mehdi
    Xu, Bing
    Warde-Farley, David
    Ozair, Sherjil
    Courville, Aaron
    Bengio, Yoshua
    [J]. COMMUNICATIONS OF THE ACM, 2020, 63 (11) : 139 - 144
  • [9] Ho J., 2020, P NIPS, V33, P6840
  • [10] Ho JAT, 2022, Arxiv, DOI [arXiv:2207.12598, 10.48550/arXiv.2207.12598, DOI 10.48550/ARXIV.2207.12598]