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

Diffusion-SDPO:用于扩散模型的受保护直接偏好优化

Diffusion-SDPO: Safeguarded Direct Preference Optimization for Diffusion Models

School of Artificial Intelligence, Nanjing University(人工智能学院,南京大学);National Key Laboratory for Novel Software Technology, Nanjing University(新型软件技术国家实验室,南京大学);Alibaba International Digital Commerce Group(阿里巴巴国际数字商业集团)

Minghao Fu, Guo-Hua Wang, Tianyu Cui, Qing-Guo Chen, Zhao Xu, Weihua Luo, Kaifu Zhang

AI总结:

Diffusion-SDPO通过保护性更新规则提升扩散模型对人类偏好的对齐效果。

摘要:

文本到图像的扩散模型能够生成高质量的图像,但将其与人类偏好对齐仍然具有挑战性。我们重新审视这些模型中的基于扩散的直接偏好优化(DPO),并发现了一个关键病理:扩大偏好边缘并不一定提高生成质量。特别是,标准的扩散DPO目标可以增加赢家和输家分支的重建误差。因此,较不受欢迎的输出可能会变得足够糟糕,以至于即使边缘扩大,首选分支也会受到负面影响。为了解决这个问题,我们引入了Diffusion-SDPO,这是一种保护性的更新规则,通过自适应地根据其与赢家梯度的一致性来缩放输家梯度来保留赢家。一阶分析得出一个闭合形式的缩放系数,确保在每次优化步骤中首选输出的误差非递增。我们的方法简单,模型无关,广泛兼容现有的DPO风格对齐框架,并且只增加微小的计算开销。在标准的文本到图像基准上,Diffusion-SDPO在自动化偏好、美学和提示对齐度量上优于偏好学习基线。代码可在https://github.com/AIDC-AI/Diffusion-SDPO上公开获取。

英文摘要:

Text-to-image diffusion models deliver high-quality images, yet aligning them with human preferences remains challenging. We revisit diffusion-based Direct Preference Optimization (DPO) for these models and identify a critical pathology: enlarging the preference margin does not necessarily improve generation quality. In particular, the standard Diffusion-DPO objective can increase the reconstruction error of both winner and loser branches. Consequently, degradation of the less-preferred outputs can become sufficiently severe that the preferred branch is also adversely affected even as the margin grows. To address this, we introduce Diffusion-SDPO, a safeguarded update rule that preserves the winner by adaptively scaling the loser gradient according to its alignment with the winner gradient. A first-order analysis yields a closed-form scaling coefficient that guarantees the error of the preferred output is non-increasing at each optimization step. Our method is simple, model-agnostic, broadly compatible with existing DPO-style alignment frameworks and adds only marginal computational overhead. Across standard text-to-image benchmarks, Diffusion-SDPO delivers consistent gains over preference-learning baselines on automated preference, aesthetic, and prompt alignment metrics. Code is publicly available at https://github.com/AIDC-AI/Diffusion-SDPO.

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

↑