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

分布偏好学习:理解并解决RLHF中的隐藏上下文问题

Distributional Preference Learning: Understanding and Accounting for Hidden Context in RLHF

University of California, Berkeley(加州大学伯克利分校);Massachusetts Institute of Technology(麻省理工学院)

Anand Siththaranjan, Cassidy Laidlaw, Dylan Hadfield-Menell

AI总结:

该研究指出RLHF中偏好学习会因隐藏上下文按Borda计数规则隐式聚合带来漏洞,提出分布偏好学习方法估计备选得分分布,实验证实其可识别LLM聊天机器人数据中的隐藏上下文并降低越狱风险。

摘要:

在实际应用中,基于人类反馈的偏好学习依赖于存在隐藏上下文的不完整数据。隐藏上下文指的是会影响所接收反馈、但未出现在用于训练偏好模型的数据中的信息。这一概念涵盖了数据收集中的常见问题,例如标注人员偏好各异、导致看似非理性行为的认知过程,以及混合了按不同标准标注的数据。我们证明,偏好学习的标准应用(包括基于人类反馈的强化学习RLHF)会根据一种名为Borda计数的知名投票规则,对隐藏上下文进行隐式聚合。我们表明,这种聚合方式可能产生反直觉的结果,与其他通过期望效用进行隐式聚合的方法差异显著。此外,我们的分析形式化了以下结论:从价值观多样的用户处学习偏好的过程,会隐性实现一种社会选择函数。该结果的一个关键影响是,标注人员有动机谎报自身偏好以影响学习到的模型,从而给RLHF的部署带来漏洞。作为缓解这些问题的一步,我们提出了一类名为分布偏好学习(DPL)的方法。DPL方法会为每个备选方案估计可能得分的分布,以更好地考量隐藏上下文的影响。实验结果表明,将DPL应用于大语言模型聊天机器人的RLHF流程中,能够识别数据中的隐藏上下文,并显著降低后续的越狱攻击漏洞。我们的代码和数据可在https://github.com/cassidylaidlaw/hidden-context获取。

英文摘要:

In practice, preference learning from human feedback depends on incomplete data with hidden context. Hidden context refers to data that affects the feedback received, but which is not represented in the data used to train a preference model. This captures common issues of data collection, such as having human annotators with varied preferences, cognitive processes that result in seemingly irrational behavior, and combining data labeled according to different criteria. We prove that standard applications of preference learning, including reinforcement learning from human feedback (RLHF), implicitly aggregate over hidden contexts according to a well-known voting rule called Borda count. We show this can produce counter-intuitive results that are very different from other methods which implicitly aggregate via expected utility. Furthermore, our analysis formalizes the way that preference learning from users with diverse values tacitly implements a social choice function. A key implication of this result is that annotators have an incentive to misreport their preferences in order to influence the learned model, leading to vulnerabilities in the deployment of RLHF. As a step towards mitigating these problems, we introduce a class of methods called distributional preference learning (DPL). DPL methods estimate a distribution of possible score values for each alternative in order to better account for hidden context. Experimental results indicate that applying DPL to RLHF for LLM chatbots identifies hidden context in the data and significantly reduces subsequent jailbreak vulnerability. Our code and data are available at https://github.com/cassidylaidlaw/hidden-context

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

↑