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

基于通用偏好的美学后训练扩散模型与逐步偏好优化

Aesthetic Post-Training Diffusion Models from Generic Preferences with Step-by-step Preference Optimization

The Australian National University(澳大利亚国立大学);University of Liverpool(利物浦大学);Southeast University(东南大学);Microsoft(微软公司);Microsoft Research Asia(微软亚洲研究院)

Zhanhao Liang, Yuhui Yuan, Shuyang Gu, Bohan Chen, Tiankai Hang, Mingxi Cheng, Ji Li, Liang Zheng

AI总结:

本文提出逐步偏好优化(SPO),利用通用偏好数据,通过步骤感知偏好模型和候选采样,在去噪各步骤细粒度监督扩散模型,显著提升美学质量且不牺牲对齐,收敛更快。

摘要:

生成视觉上吸引人的图像是现代文本到图像生成模型的基础。提升美学质量的一个潜在解决方案是直接偏好优化(DPO),该方法已被应用于扩散模型以改善整体图像质量,包括提示对齐和美学。流行的DPO方法将偏好标签从干净图像对传播到两条生成轨迹中的所有中间步骤。然而,现有数据集中提供的偏好标签混合了布局和美学观点,这可能与美学偏好不一致。即使提供了美学标签(成本高昂),两条轨迹的方法也难以捕捉不同步骤中的细微视觉差异。为了经济地提升美学质量,本文利用现有的通用偏好数据,并引入了逐步偏好优化(SPO),该方法摒弃了传播策略,允许对细粒度图像细节进行评估。具体而言,在每个去噪步骤中,我们1)通过从共享噪声潜变量去噪来采样一组候选,2)使用步骤感知的偏好模型找到合适的胜负对来监督扩散模型,以及3)从池中随机选择一个候选来初始化下一步去噪。该策略确保扩散模型专注于细微的、细粒度的视觉差异,而非布局方面。我们发现,通过累积这些改进的微小差异,美学质量可以显著提升。在微调Stable Diffusion v1.5和SDXL时,与现有DPO方法相比,SPO在美学上取得了显著改进,同时与原始模型相比,没有牺牲图像-文本对齐。此外,由于步骤感知偏好模型提供了更正确的偏好标签,SPO的收敛速度远快于DPO方法。

英文摘要:

Generating visually appealing images is fundamental to modern text-to-image generation models. A potential solution to better aesthetics is direct preference optimization (DPO), which has been applied to diffusion models to improve general image quality including prompt alignment and aesthetics. Popular DPO methods propagate preference labels from clean image pairs to all the intermediate steps along the two generation trajectories. However, preference labels provided in existing datasets are blended with layout and aesthetic opinions, which would disagree with aesthetic preference. Even if aesthetic labels were provided (at substantial cost), it would be hard for the two-trajectory methods to capture nuanced visual differences at different steps. To improve aesthetics economically, this paper uses existing generic preference data and introduces step-by-step preference optimization (SPO) that discards the propagation strategy and allows fine-grained image details to be assessed. Specifically, at each denoising step, we 1) sample a pool of candidates by denoising from a shared noise latent, 2) use a step-aware preference model to find a suitable win-lose pair to supervise the diffusion model, and 3) randomly select one from the pool to initialize the next denoising step. This strategy ensures that diffusion models focus on the subtle, fine-grained visual differences instead of layout aspect. We find that aesthetics can be significantly enhanced by accumulating these improved minor differences. When fine-tuning Stable Diffusion v1.5 and SDXL, SPO yields significant improvements in aesthetics compared with existing DPO methods while not sacrificing image-text alignment compared with vanilla models. Moreover, SPO converges much faster than DPO methods due to the use of more correct preference labels provided by the step-aware preference model.

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

↑