用零样本大模型替代人工反馈,提升强化学习的稳定性与可靠性。
Zero-Shot LLMs in Human-in-the-Loop RL: Replacing Human Feedback for Reward Shaping
- 直接用大模型提供即时反馈,避免人工标注带来的偏差。
- 在存在偏差的人类反馈下,性能仅下降6%,远优于传统方法94%的降幅。
- 适合需要高可靠性反馈的机器人控制、游戏智能体等场景。
强化学习常因奖励错位而表现不佳,即代理优化了给定奖励却未实现真实目标。这通常源于奖励函数激励了与真实目标不符的代理行为。尽管人机协同(HITL)方法可缓解此问题,但人工反馈易引入偏见,导致结果不一致且主观。为此,本文提出两项关键贡献:首先,将零样本大语言模型(LLM)应用于连续控制任务中的奖励塑造,超越传统自然语言处理范畴;其次,提出混合框架LLM-HFBF,使大模型能识别并纠正人类反馈中的偏见,同时将其融入奖励设计。该框架兼顾了大模型缺乏领域知识与人类监督固有偏见的短板,通过自动标记和修正人类反馈偏差,显著提升强化学习性能。实验表明,在含偏见的人类反馈下,平均回合奖励下降近94%;而基于大模型的方法性能维持在接近无偏反馈水平,即使在复杂边缘案例中亦表现稳定。
原文摘要 · Abstract (English)
Reinforcement learning (RL) often struggles with reward misalignment, where agents optimize given rewards but fail to exhibit the desired behaviors. This arises when the reward function incentivizes proxy behaviors misaligned with the true objective. While human-in-the-loop (HITL) methods can mitigate this issue, they also introduce biases, leading to inconsistent and subjective feedback that complicates learning. To address these challenges, we propose two key contributions. First, we extend the use of zero-shot, off-the-shelf large language models (LLMs) for reward shaping beyond natural language processing (NLP) to continuous control tasks. Using LLMs as direct feedback providers eliminates the need for surrogate models trained on human feedback, which often inherit biases from training data. Second, we introduce a hybrid framework (LLM-HFBF) that enables LLMs to identify and correct biases in human feedback while incorporating this feedback into the reward shaping process. The LLM-HFBF framework creates a more balanced and reliable system by addressing both the limitations of LLMs (e.g., lack of domain-specific knowledge) and human supervision (e.g., inherent biases). By enabling human feedback bias flagging and correction, our approach improves reinforcement learning performance and reduces reliance on potentially biased human feedback. Empirical experiments show that biased human feedback significantly reduces performance, with Average Episodic Reward dropping by nearly 94% compared to unbiased approaches. In contrast, LLM-based methods sustain performance at a similar level to unbiased feedback, even in challenging edge-case scenarios.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。