arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01660cs.LGcs.AIstat.ML
收藏

自我改进的鲁棒偏好优化

Self-Improving Robust Preference Optimization

Cohere(科here公司);Cohere For AI(科here人工智能研究院)

Eugene Choi, Arash Ahmadian, Matthieu Geist, Oilvier Pietquin, Mohammad Gheshlaghi Azar

AI总结:

针对RLHF方法推理时无自我改进机制、最优解任务依赖性强的问题,提出SRPO框架,通过最小-最大目标联合优化策略,实现任务鲁棒性与自我改进,在XSum和Arena-Hard数据集上显著提升胜率。

摘要:

在线和离线RLHF方法(如PPO和DPO)在使AI与人类偏好对齐方面取得了巨大成功。然而,尽管取得了这些成功,这些方法仍存在根本性限制:(a)通过RLHF训练的模型可以在训练期间通过RL机制或对比损失从错误或负例中学习,但在推理时缺乏用于纠错的固有自我改进机制;(b)现有方法的最优解高度依赖任务,难以泛化到新任务。为应对这些挑战,我们提出自我改进的鲁棒偏好优化(SRPO)——一种实用且具有数学原则的离线RLHF框架。SRPO的核心思想是将从人类偏好中学习的问题转化为自我改进过程,数学上表述为以对抗方式联合优化自我改进策略和生成策略的最小-最大目标。关键在于,该优化问题的解独立于训练任务,使其对任务变化具有鲁棒性。我们随后证明,该目标可重构为非对抗性离线损失,可使用标准监督学习技术高效地大规模优化。为证明SRPO的有效性,我们使用AI胜率(WR)对人类(GOLD)完成度进行评估。在XSum数据集上测试时,SRPO在5次自我修订后比DPO高出15%的胜率,达到90%的WR;在具有挑战性的Arena-Hard提示上,SRPO在无修订时比DPO和IPO高出4%,单次修订后高出6%,对Llama-3.1-8B-Instruct达到56%的WR。

英文摘要:

Online and offline RLHF methods, such as PPO and DPO, have been highly successful in aligning AI with human preferences. Despite their success, however, these methods suffer from fundamental limitations: (a) Models trained with RLHF can learn from mistakes or negative examples through RL mechanism or contrastive loss during training. However, at inference time, they lack an innate self-improvement mechanism for error corrections. (b) The optimal solution of existing methods is highly task-dependent, making it difficult for them to generalize to new tasks. To address these challenges, we propose Self-Improving Robust Preference Optimization (SRPO), a practical and mathematically principled offline RLHF framework. The key idea behind SRPO is to cast the problem of learning from human preferences as a self-improvement process, mathematically formulated as a min-max objective that jointly optimizes a self-improvement policy and a generative policy in an adversarial fashion. Crucially, the solution for this optimization problem is independent of the training task, which makes it robust to its changes. We then show that this objective can be reformulated as a non-adversarial offline loss, which can be efficiently optimized using standard supervised learning techniques at scale. To demonstrate SRPO's effectiveness, we evaluate it using AI Win-Rate (WR) against human (GOLD) completions. When tested on the XSum dataset, SRPO outperforms DPO by a margin of 15% after 5 self revisions, achieving an impressive 90% WR. Moreover, on the challenging Arena-Hard prompts, SRPO outperforms both DPO and IPO (by 4% without revision and 6% after a single revision), reaching a 56% WR against against Llama-3.1-8B-Instruct.

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

↑