[论文解读] Curriculum-DPO++: Direct Preference Optimization via Data and Model Curricula for Text-to-Image Generation
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.
研究动机与目标
- 通过认识到某些偏好比其他偏好更难学习,解决偏好优化中的次优学习问题。
- 将数据层课程与新颖的模型层课程结合,在训练过程中逐步提高模型容量。
- 提出两种扩展学习容量的机制:分阶段解冻层以及增加 LoRA 规模。
- 提供一个无奖励的样本排序替代方案,通过提示扰动来获得隐式难度信号,并在多个基准上评估。
提出的方法
- 用奖励模型按难度对成对胜负图像进行排序,并从简单到困难批量采样。
- 在训练过程中逐步解冻更多层以增加模型容量。
- 使用带有渐进等级安排的低秩适应 LoRA,并在更新之间进行权重迁移。
- 定义一个 Consistency-DPO 目标,通过对胜负样本的一致性蒸馏损失进行对比并用 Sigmoid 加权。
- 通过扰动提示嵌入来提供奖励模型无关的课程,以推导隐性的难度信号。
- 在九个基准上评估 Curriculum-DPO++,对比 Curriculum-DPO 及其他前沿方法,在文本对齐、审美与人类偏好方面的表现。
实验结果
研究问题
- RQ1数据层课程配合模型层课程在文本到图像生成的偏好优化上,是否能优于现有的 Curriculum-DPO 和 Diffusion-DPO 方法?
- RQ2随着训练难度的增加,逐步通过解冻层和扩展 LoRA 规模来提高学习容量,是否能带来更好的文本对齐与审美?
- RQ3基于提示扰动的无奖励课程是否足以在没有外部奖励模型的情况下对样本进行排序?
- RQ4在多种奖励模型和数据集上,Curriculum-DPO++ 在对齐、审美与人类偏好方面的表现如何?
主要发现
- Curriculum-DPO++ 在评估基准上持续优于 Curriculum-DPO 和其他微调策略。
- 数据与模型课程的方法在九个任务/数据集上提升了文本对齐、审美与人类偏好。
- 通过提示扰动实现的无奖励隐式排序机制在外部奖励模型不可用时提供了可行替代方案。
- 在报道的评估中,Curriculum-DPO++ 相较于 Diffusion-DPO 与 DDPO 等前沿方法具有优越性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。