arXiv:2412.16878cs.LGcs.AI2024-12被引 10

用大模型自动生成反馈,让强化学习无需人工打分也能在线训练。

Online Preference-based Reinforcement Learning with Self-augmented Feedback from Large Language Model

论文配图:Online Preference-based Reinforcement Learning with Self-augmented Feedback from Large Language Model
图 1 · 摘自论文原文
  • 大模型生成模拟轨迹并自动标注偏好,替代人工反馈
  • 解决大模型偏好判断中的'查询模糊'问题,提升反馈质量
  • 适合需要快速迭代的在线强化学习场景,尤其无标注数据时

基于偏好的强化学习(PbRL)通过人类偏好学习奖励,避免繁琐的奖励设计。然而,在线任务中实时获取人类反馈极为困难。现有方法依赖预设的‘脚本教师’提供特权奖励来生成偏好反馈。本文提出一种无需特权信息的在线PbRL方法——RL-SaLLM-F:利用大模型的反思与判别能力,自动生成增强轨迹并提供偏好标签。首先识别出大模型在在线PbRL中因‘查询模糊’导致的失败问题;随后,通过大模型生成更优目标任务的想象轨迹,并提供偏好标签,提升反馈质量和效率。此外引入双重校验机制,减少偏好标签的随机性,提高可靠性。在MetaWorld基准多个任务上的实验验证了各模块的贡献,表明自增强的LLM反馈可有效替代不切实际的‘脚本教师’反馈。总体而言,该方法为在线PbRL提供了不依赖任何特权信息的新反馈路径,是一种高效轻量的基于大模型的解决方案。

原文摘要 · Abstract (English)

Preference-based reinforcement learning (PbRL) provides a powerful paradigm to avoid meticulous reward engineering by learning rewards based on human preferences. However, real-time human feedback is hard to obtain in online tasks. Most work suppose there is a "scripted teacher" that utilizes privileged predefined reward to provide preference feedback. In this paper, we propose a RL Self-augmented Large Language Model Feedback (RL-SaLLM-F) technique that does not rely on privileged information for online PbRL. RL-SaLLM-F leverages the reflective and discriminative capabilities of LLM to generate self-augmented trajectories and provide preference labels for reward learning. First, we identify an failure issue in LLM-based preference discrimination, specifically "query ambiguity", in online PbRL. Then LLM is employed to provide preference labels and generate self-augmented imagined trajectories that better achieve the task goal, thereby enhancing the quality and efficiency of feedback. Additionally, a double-check mechanism is introduced to mitigate randomness in the preference labels, improving the reliability of LLM feedback. The experiment across multiple tasks in the MetaWorld benchmark demonstrates the specific contributions of each proposed module in RL-SaLLM-F, and shows that self-augmented LLM feedback can effectively replace the impractical "scripted teacher" feedback. In summary, RL-SaLLM-F introduces a new direction of feedback acquisition in online PbRL that does not rely on any online privileged information, offering an efficient and lightweight solution with LLM-driven feedback.

强化学习大模型反馈在线学习偏好学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。