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

Curriculum-DPO++: 通过数据和模型课程直接优化偏好用于文本到图像生成

Curriculum-DPO++: Direct Preference Optimization via Data and Model Curricula for Text-to-Image Generation

Department of Computer Science, University of Bucharest(布加勒斯特大学计算机科学系);University of Trento(特伦托大学);Center for Research in Computer Vision (CRCV), University of Central Florida(中央佛罗里达大学计算机视觉研究中心)

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

AI总结:

Curriculum-DPO++通过数据和模型课程增强直接偏好优化,提升文本到图像生成的性能。

摘要:

直接偏好优化(DPO)已被提出作为强化学习从人类反馈(RLHF)的有效且高效的替代方法。然而,RLHF和DPO都没有考虑到学习某些偏好比学习其他偏好更困难,导致优化过程次优。为解决文本到图像生成中的这一差距,我们最近提出了Curriculum-DPO,一种按难度组织图像对的方法。在本文中,我们介绍Curriculum-DPO++,一种增强的方法,结合了原始的数据级课程和新颖的模型级课程。更具体地说,我们提出在训练过程中动态增加去噪网络的学习能力。我们通过两种机制实现这一能力增长。首先,我们仅初始化使用原始Curriculum-DPO中部分可训练层的模型。随着训练进行,我们逐步解冻层,直到配置与完整基线架构相同。其次,由于微调基于低秩适应(LoRA),我们实施了一个逐步的低秩矩阵维度计划。而不是维持固定容量,我们初始化低秩矩阵的维度显著小于基线。随着训练进行,我们逐步增加其秩,使容量增长直到收敛到与Curriculum-DPO相同的秩值。此外,我们提出了一种替代Curriculum-DPO使用的排名策略。最后,我们在九个基准上将Curriculum-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). However, neither RLHF nor DPO take into account the fact that learning certain preferences is more difficult than learning other preferences, rendering the optimization process suboptimal. To address this gap in text-to-image generation, we recently proposed Curriculum-DPO, a method that organizes image pairs by difficulty. In this paper, we introduce Curriculum-DPO++, an enhanced method that combines the original data-level curriculum with a novel model-level curriculum. More precisely, we propose to dynamically increase the learning capacity of the denoising network as training advances. We implement this capacity increase via two mechanisms. First, we initialize the model with only a subset of the trainable layers used in the original Curriculum-DPO. As training progresses, we sequentially unfreeze layers until the configuration matches the full baseline architecture. Second, as the fine-tuning is based on Low-Rank Adaptation (LoRA), we implement a progressive schedule for the dimension of the low-rank matrices. Instead of maintaining a fixed capacity, we initialize the low-rank matrices with a dimension significantly smaller than that of the baseline. As training proceeds, we incrementally increase their rank, allowing the capacity to grow until it converges to the same rank value as in Curriculum-DPO. Furthermore, we propose an alternative ranking strategy to the one employed by Curriculum-DPO. Finally, we compare Curriculum-DPO++ against Curriculum-DPO and other state-of-the-art preference optimization 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分析而来,可能存在错误,请以论文正文为准。

↑