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

基于流匹配的偏好对齐

Preference Alignment with Flow Matching

KAIST AI(韩国科学技术院人工智能学院)

Minu Kim, Yongsik Lee, Sehyeok Kang, Jihwan Oh, Song Chong, Se-Young Yun

AI总结:

本文提出 Preference Flow Matching 框架,利用流匹配直接从偏好数据学习并将低偏好输出转化为高偏好结果,无需奖励估计或微调即可对齐预训练模型。

摘要:

我们提出了 Preference Flow Matching(PFM,偏好流匹配),这是一种用于基于偏好的强化学习(PbRL)的新框架,可简化将偏好整合到任意一类预训练模型中的过程。现有 PbRL 方法需要对预训练模型进行微调,这带来了可扩展性、低效性以及需要修改模型等挑战,尤其是在使用 GPT-4 等黑盒 API 时。相比之下,PFM 利用流匹配技术直接从偏好数据中学习,从而减少了对预训练模型进行大量微调的依赖。通过利用基于流的模型,PFM 将较不受偏好的数据转化为更受偏好的结果,并在不依赖显式或隐式奖励函数估计的情况下,使模型输出与人类偏好有效对齐,从而避免奖励模型过拟合等常见问题。我们提供了理论洞见,支持该方法与标准 PbRL 目标的一致性。实验结果表明了该方法的实际有效性,为使预训练模型对齐偏好提供了新方向。我们的代码可在 https://github.com/jadehaus/preference-flow-matching 获取。

英文摘要:

We present Preference Flow Matching (PFM), a new framework for preference-based reinforcement learning (PbRL) that streamlines the integration of preferences into an arbitrary class of pre-trained models. Existing PbRL methods require fine-tuning pre-trained models, which presents challenges such as scalability, inefficiency, and the need for model modifications, especially with black-box APIs like GPT-4. In contrast, PFM utilizes flow matching techniques to directly learn from preference data, thereby reducing the dependency on extensive fine-tuning of pre-trained models. By leveraging flow-based models, PFM transforms less preferred data into preferred outcomes, and effectively aligns model outputs with human preferences without relying on explicit or implicit reward function estimation, thus avoiding common issues like overfitting in reward models. We provide theoretical insights that support our method's alignment with standard PbRL objectives. Experimental results indicate the practical effectiveness of our method, offering a new direction in aligning a pre-trained model to preference. Our code is available at https://github.com/jadehaus/preference-flow-matching.

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

↑