用有错误的LLM反馈提升强化学习,让模型学得更快更好
Navigating Noisy Feedback: Enhancing Reinforcement Learning with Error-Prone Language Models
- 把错误的LLM反馈当作潜在奖励函数来引导学习
- 在存在严重排序错误时仍比基线快30%以上收敛,回报更高
- 无需复杂后处理,适合追求高效训练的AI研发者
奖励模型的正确设定是强化学习中的一个长期挑战。手工设计的奖励函数常导致策略低效或次优,且难以对齐用户价值。基于人类反馈的强化学习虽有效,但收集人类反馈耗时费力。近期研究改用预训练大语言模型提供反馈以减少人力,但因幻觉和错误导致性能不佳。本文研究了从大语言模型获取反馈的优势与局限,提出一种简单有效的反馈获取与应用方法,将反馈作为潜在奖励函数。理论证明,不一致的排序(近似排名错误)会导致奖励信息无效。实验表明,该方法在存在显著排序错误时仍能显著提升收敛速度和策略回报,且无需复杂的奖励函数后处理。
原文摘要 · Abstract (English)
The correct specification of reward models is a well-known challenge in reinforcement learning. Hand-crafted reward functions often lead to inefficient or suboptimal policies and may not be aligned with user values. Reinforcement learning from human feedback is a successful technique that can mitigate such issues, however, the collection of human feedback can be laborious. Recent works have solicited feedback from pre-trained large language models rather than humans to reduce or eliminate human effort, however, these approaches yield poor performance in the presence of hallucination and other errors. This paper studies the advantages and limitations of reinforcement learning from large language model feedback and proposes a simple yet effective method for soliciting and applying feedback as a potential-based shaping function. We theoretically show that inconsistent rankings, which approximate ranking errors, lead to uninformative rewards with our approach. Our method empirically improves convergence speed and policy returns over commonly used baselines even with significant ranking errors, and eliminates the need for complex post-processing of reward functions.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。