Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Diffusion Model Alignment Using Direct Preference Optimization

About

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.

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

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationGenEval
Overall Score58.02
704
Text-to-Image GenerationGenEval
Overall Score69
517
Text-to-Image GenerationGenEval
GenEval Score48.41
442
Text-to-Image GenerationGenEval
Overall Score57.23
277
Text-to-Image GenerationGenEval (test)
Two Obj. Acc38.38
250
Text-to-Image GenerationMS-COCO (val)
FID18.02
202
Text-to-Image GenerationPick-a-Pic
PickScore50.67
150
Text-to-Image GenerationGenEval 1.0 (test)
Overall Score41
130
Text-to-Image GenerationT2I-CompBench++
Color0.6941
95
Text-to-Image GenerationPartiPrompts
ImageReward1.066
92
Showing 10 of 89 rows
...

Other info

Follow for update