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

$i$REPO:基于隐式奖励成对差异的经验偏好优化

$i$REPO: $i$mplicit Reward Pairwise Difference based Empirical Preference Optimization

School of Computer Science(计算机学院);The University of Sydney(悉尼大学);School of Computing(计算机学院);Kyung Hee University(庆熙大学)

Long Tan Le, Han Shu, Tung-Anh Nguyen, Choong Seon Hong, Nguyen H. Tran

AI总结:

针对大语言模型输出偏差及现有对齐方法的缺陷,提出基于隐式奖励成对差异回归的$i$REPO对齐框架,结合自生成软标签数据集与新型损失函数迭代优化,经实验验证效果优于偏好优化基线。

摘要:

大语言模型(LLM)尽管能力惊人,但有时会生成偏离人类预期的输出。这类偏差使得对齐阶段成为必要,以防止传播不实、有毒或有偏见的信息。传统基于强化学习的对齐方法常存在已被证实的不稳定性问题,而偏好优化方法则受限于其对预先收集的硬标签数据集的过拟合问题。本文提出了一种名为$i$REPO的新型LLM对齐框架,该框架利用隐式奖励成对差异回归实现经验偏好优化。具体而言,$i$REPO采用由人类(或AI标注者)经验偏好标注的自生成数据集,通过一种新型基于回归的损失函数迭代优化对齐策略。此外,我们提出了一种创新算法,该算法有理论保障:在理想假设下可实现最优结果,在无此类假设时也能给出实际性能差距结果。在Phi-2和Mistral-7B上的实验结果表明,$i$REPO利用软标签、自生成回复以及经验AI标注者的logit有效实现了自对齐。此外,在使用Language Model Evaluation Harness和多轮基准的评估中,我们的方法优于偏好优化基线方法。

英文摘要:

While astonishingly capable, large Language Models (LLM) can sometimes produce outputs that deviate from human expectations. Such deviations necessitate an alignment phase to prevent disseminating untruthful, toxic, or biased information. Traditional alignment methods based on reinforcement learning often struggle with the identified instability, whereas preference optimization methods are limited by their overfitting to pre-collected hard-label datasets. In this paper, we propose a novel LLM alignment framework named $i$REPO, which utilizes implicit Reward pairwise difference regression for Empirical Preference Optimization. Particularly, $i$REPO employs self-generated datasets labeled by empirical human (or AI annotator) preference to iteratively refine the aligned policy through a novel regression-based loss function. Furthermore, we introduce an innovative algorithm backed by theoretical guarantees for achieving optimal results under ideal assumptions and providing a practical performance-gap result without such assumptions. Experimental results with Phi-2 and Mistral-7B demonstrate that $i$REPO effectively achieves self-alignment using soft-label, self-generated responses and the logit of empirical AI annotators. Furthermore, our approach surpasses preference optimization baselines in evaluations using the Language Model Evaluation Harness and Multi-turn benchmarks.

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

↑