arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.16381cs.LGcs.CV
收藏

DPOK:用于微调文本到图像扩散模型的强化学习

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

Google Research(谷歌研究院);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);UC Berkeley(加州大学伯克利分校);Amazon(亚马逊);KAIST(韩国科学技术院)

Ying Fan, Olivia Watkins, Yuqing Du, Hao Liu, Moonkyung Ryu, Craig Boutilier, Pieter Abbeel, Mohammad Ghavamzadeh, Kangwook Lee, Kimin Lee

AI总结:

本文提出DPOK,将文本到图像扩散模型微调建模为在线强化学习问题,通过带KL正则化的策略梯度最大化人类反馈奖励,并在图文对齐与图像质量上优于监督微调。

摘要:

从人类反馈中学习已被证明可以改进文本到图像模型。这些技术首先学习一个奖励函数,以捕捉人类在任务中关心的内容,然后基于学到的奖励函数改进模型。尽管已经研究了相对简单的方法(例如,基于奖励分数的拒绝采样),但使用奖励函数微调文本到图像模型仍然具有挑战性。在本工作中,我们提出使用在线强化学习(RL)来微调文本到图像模型。我们专注于扩散模型,将微调任务定义为一个RL问题,并使用策略梯度更新预训练的文本到图像扩散模型,以最大化经反馈训练的奖励。我们的方法被命名为DPOK,将策略优化与KL正则化相结合。我们对RL微调和监督微调中的KL正则化进行了分析。在实验中,我们表明DPOK在图像-文本对齐和图像质量方面通常优于监督微调。我们的代码可在https://github.com/google-research/google-research/tree/master/dpok获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑