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

夏普比率引导的RLHF偏好优化主动学习

Sharpe Ratio-Guided Active Learning for Preference Optimization in RLHF

Stanford University(斯坦福大学);University of Southern California(南加州大学);Gladstone Institutes(格拉德斯通研究所)

Syrine Belakaria, Joshua Kazdan, Charles Marx, Chris Cundy, Willie Neiswanger, Sanmi Koyejo, Barbara E. Engelhardt, Stefano Ermon

AI总结:

本文提出一种基于夏普比率的主动学习方法,通过梯度评估高效选择偏好数据,以降低RLHF中偏好标注成本,并在多个模型和数据集上将胜率提升最多5%。

摘要:

基于人类反馈的强化学习(RLHF)已成为大型语言模型(LLMs)训练和对齐流程的基石。最近的进展,如直接偏好优化(DPO),简化了偏好学习步骤。然而,收集偏好数据仍然是一个具有挑战性且成本高昂的过程,通常需要专家标注。通过仔细选择用于标注的数据点,可以降低这一成本。在这项工作中,我们提出了一种主动学习方法,利用基于夏普比率的风险评估策略,高效地选择提示和偏好对。为了解决标注前偏好未知的挑战,我们的方法评估所有潜在偏好标注的梯度,以评估它们对模型更新的影响。这些基于梯度的评估使得无论标注结果如何,都能对数据点进行风险评估。通过利用DPO损失推导,我们得出了逐元组计算这些夏普比率的闭式表达式,确保我们的方法既可行又计算高效。我们还引入了我们方法的两种变体,每种变体对先验信息做出不同假设。实验结果表明,在多种语言模型和真实世界数据集上,有限的人类偏好数据下,我们的方法在对抗选定完成的胜率上比基线高出最多5%。

英文摘要:

Reinforcement learning from human feedback (RLHF) has become a cornerstone of the training and alignment pipeline for large language models (LLMs). Recent advances, such as direct preference optimization (DPO), have simplified the preference learning step. However, collecting preference data remains a challenging and costly process, often requiring expert annotation. This cost can be mitigated by carefully selecting the data points presented for annotation. In this work, we propose an active learning approach to efficiently select prompt and preference pairs using a risk assessment strategy based on the Sharpe Ratio. To address the challenge of unknown preferences prior to annotation, our method evaluates the gradients of all potential preference annotations to assess their impact on model updates. These gradient-based evaluations enable risk assessment of data points regardless of the annotation outcome. By leveraging the DPO loss derivations, we derive a closed-form expression for computing these Sharpe ratios on a per-tuple basis, ensuring our approach remains both tractable and computationally efficient. We also introduce two variants of our method, each making different assumptions about prior information. Experimental results demonstrate that our method outperforms the baseline by up to 5% in win rates against the chosen completion with limited human preference data across several language models and real-world datasets.

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

↑