arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.12908cs.CVcs.AIcs.GRcs.LG
收藏

使用直接偏好优化对扩散模型进行对齐

Diffusion Model Alignment Using Direct Preference Optimization

Salesforce AI(Salesforce人工智能);Stanford University(斯坦福大学)

Bram Wallace, Meihua Dang, Rafael Rafailov, Linqi Zhou, Aaron Lou, Senthil Purushwalkam, Stefano Ermon, Caiming Xiong, Shafiq Joty, Nikhil Naik

AI总结:

提出Diffusion-DPO方法,通过直接优化人类比较数据对扩散模型进行人类偏好对齐,在Pick-a-Pic数据集上微调SDXL-1.0模型,显著提升了视觉吸引力和提示对齐效果。

摘要:

大型语言模型(LLMs)使用人类比较数据通过人类反馈强化学习(RLHF)方法进行微调,使其更好地与用户偏好对齐。与LLMs不同,人类偏好学习在文本到图像扩散模型中尚未得到广泛探索;现有的最佳方法是使用精心挑选的高质量图像和说明文字微调预训练模型,以改善视觉吸引力和文本对齐。我们提出Diffusion-DPO,一种通过直接优化人类比较数据来使扩散模型与人类偏好对齐的方法。Diffusion-DPO改编自最近开发的直接偏好优化(DPO),它是RLHF的更简单替代方案,在分类目标下直接优化最能满足人类偏好的策略。我们重新表述DPO以考虑扩散模型的似然概念,利用证据下界推导出可微目标。使用包含851K众包成对偏好的Pick-a-Pic数据集,我们用Diffusion-DPO微调了最先进的Stable Diffusion XL(SDXL)-1.0模型的基础模型。我们微调后的基础模型在人类评估中显著优于基础SDXL-1.0和包含额外细化模型的较大SDXL-1.0模型,改善了视觉吸引力和提示对齐。我们还开发了一种使用AI反馈的变体,其性能与基于人类偏好的训练相当,为扩散模型对齐方法的扩展打开了大门。

英文摘要:

Large language models (LLMs) are fine-tuned using human comparison data with Reinforcement Learning from Human Feedback (RLHF) methods to make them better aligned with users' preferences. In contrast to LLMs, human preference learning has not been widely explored in text-to-image diffusion models; the best existing approach is to fine-tune a pretrained model using carefully curated high quality images and captions to improve visual appeal and text alignment. We propose Diffusion-DPO, a method to align diffusion models to human preferences by directly optimizing on human comparison data. Diffusion-DPO is adapted from the recently developed Direct Preference Optimization (DPO), a simpler alternative to RLHF which directly optimizes a policy that best satisfies human preferences under a classification objective. We re-formulate DPO to account for a diffusion model notion of likelihood, utilizing the evidence lower bound to derive a differentiable objective. Using the Pick-a-Pic dataset of 851K crowdsourced pairwise preferences, we fine-tune the base model of the state-of-the-art Stable Diffusion XL (SDXL)-1.0 model with Diffusion-DPO. Our fine-tuned base model significantly outperforms both base SDXL-1.0 and the larger SDXL-1.0 model consisting of an additional refinement model in human evaluation, improving visual appeal and prompt alignment. We also develop a variant that uses AI feedback and has comparable performance to training on human preferences, opening the door for scaling of diffusion model alignment methods.

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

↑