arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.13637cs.CVcs.AIcs.LG
收藏

面向扩散模型与一致性模型的课程直接偏好优化

Curriculum Direct Preference Optimization for Diffusion and Consistency Models

University of Bucharest(布加勒斯特大学);University of Trento(特伦托大学);University of Central Florida(中央佛罗里达大学)

Florinel-Alin Croitoru, Vlad Hondru, Radu Tudor Ionescu, Nicu Sebe, Mubarak Shah

AI总结:

本文提出Curriculum DPO,将课程学习引入直接偏好优化,利用奖励模型排序并按难度逐步采样样本对训练扩散或一致性模型,在九个基准上超越现有方法。

摘要:

直接偏好优化(DPO)已被提出作为从人类反馈中进行强化学习(RLHF)的一种有效且高效的替代方案。本文提出了一种基于课程学习的、面向文本到图像生成的新型增强版DPO。我们的方法分为两个训练阶段。首先,利用奖励模型对每个提示所生成的样本进行排序。然后,逐步采样难度递增的样本对,并将其提供给文本到图像生成(扩散或一致性)模型。在排序中相距较远的生成样本被视为简单样本对,而在排序中相近的样本则构成困难样本对。换言之,我们使用样本之间的排序差作为难度度量。采样得到的样本对根据其难度级别划分为批次,并逐步用于训练生成模型。我们的方法Curriculum DPO在九个基准上与最先进的微调方法进行了比较,在文本对齐、美学质量和人类偏好方面均优于对比方法。代码见 https://github.com/CroitoruAlin/Curriculum-DPO。

英文摘要:

Direct Preference Optimization (DPO) has been proposed as an effective and efficient alternative to reinforcement learning from human feedback (RLHF). In this paper, we propose a novel and enhanced version of DPO based on curriculum learning for text-to-image generation. Our method is divided into two training stages. First, a ranking of the examples generated for each prompt is obtained by employing a reward model. Then, increasingly difficult pairs of examples are sampled and provided to a text-to-image generative (diffusion or consistency) model. Generated samples that are far apart in the ranking are considered to form easy pairs, while those that are close in the ranking form hard pairs. In other words, we use the rank difference between samples as a measure of difficulty. The sampled pairs are split into batches according to their difficulty levels, which are gradually used to train the generative model. Our approach, Curriculum DPO, is compared against state-of-the-art fine-tuning approaches on nine benchmarks, outperforming the competing methods in terms of text alignment, aesthetics and human preference. Our code is available at https://github.com/CroitoruAlin/Curriculum-DPO.

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

↑