arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.17233cs.AIcs.LG
收藏

ICPL:基于LLM的少样本上下文偏好学习

ICPL: Few-shot In-context Preference Learning via LLMs

Tsinghua University(清华大学);Shanghai Qi Zhi Institute(上海智知研究所);New York University(纽约大学)

Chao Yu, Qixin Tan, Hong Lu, Jiaxuan Gao, Xinting Yang, Yu Wang, Yi Wu, Eugene Vinitsky

AI总结:

提出ICPL框架,利用LLM的上下文学习能力实现样本高效的偏好学习,通过迭代优化奖励函数显著提升性能与效率,并在合成和真实人类试验中验证有效性。

摘要:

基于偏好的强化学习是处理奖励难以指定的任务的有效方法,但由于偏好学习通常是从零开始的,因此可能极其低效。我们证明了大语言模型(LLMs)具有原生的偏好学习能力,使其能够实现样本高效的偏好学习,从而应对这一挑战。我们提出了上下文偏好学习(ICPL),利用LLMs的上下文学习能力来减少人类查询的低效性。ICPL使用任务描述和基础环境代码来创建奖励函数集合,通过将关于生成策略视频的人类反馈放入LLM的上下文中并要求更好的奖励,对这些函数进行迭代优化。我们首先通过一项合成偏好研究证明了ICPL的有效性,提供了定量证据,表明其显著优于基于偏好的基线方法,具有更高的性能和数个数量级的更高效率。我们观察到,这些改进并非完全来自LLM在任务中的基础,而是奖励质量随时间提高,表明了其偏好学习能力。此外,我们进行了一系列真实人类偏好学习试验,观察到ICPL超越了合成设置,能够有效地与人类在环协作工作。

英文摘要:

Preference-based reinforcement learning is an effective way to handle tasks where rewards are hard to specify but can be exceedingly inefficient as preference learning is often tabula rasa. We demonstrate that Large Language Models (LLMs) have native preference-learning capabilities that allow them to achieve sample-efficient preference learning, addressing this challenge. We propose In-Context Preference Learning (ICPL), which uses in-context learning capabilities of LLMs to reduce human query inefficiency. ICPL uses the task description and basic environment code to create sets of reward functions which are iteratively refined by placing human feedback over videos of the resultant policies into the context of an LLM and then requesting better rewards. We first demonstrate ICPL's effectiveness through a synthetic preference study, providing quantitative evidence that it significantly outperforms baseline preference-based methods with much higher performance and orders of magnitude greater efficiency. We observe that these improvements are not solely coming from LLM grounding in the task but that the quality of the rewards improves over time, indicating preference learning capabilities. Additionally, we perform a series of real human preference-learning trials and observe that ICPL extends beyond synthetic settings and can work effectively with humans-in-the-loop.

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

↑