arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01458cs.AIcs.LG
收藏

从奖励塑造到 Q-Shaping:利用 LLM 引导的知识实现无偏学习

From Reward Shaping to Q-Shaping: Achieving Unbiased Learning with LLM-Guided Knowledge

Wuhan University(武汉大学)

Xiefeng Wu

AI总结:

提出 Q-shaping,将 LLM 提供的领域知识直接用于塑造 Q 值,并在 20 个环境中证明其显著优于基线和 LLM 奖励塑造方法。

摘要:

Q-shaping 是 Q 值初始化的扩展,可作为奖励塑造的替代方案,用于纳入领域知识以加速智能体训练,从而通过直接塑造 Q 值来提升样本效率。该方法在多种任务上兼具通用性与稳健性,支持即时影响评估,同时保证最优性。我们使用大型语言模型(LLM)作为启发式信息提供方,在 20 个不同环境中评估了 Q-shaping。结果表明,Q-shaping 显著提升了样本效率:在每个环境中相对最佳基线取得 16.87% 的提升,而与基于 LLM 的奖励塑造方法相比提升达 253.80%。这些发现确立了 Q-shaping 是强化学习中优于传统奖励塑造且无偏的替代方案。

英文摘要:

Q-shaping is an extension of Q-value initialization and serves as an alternative to reward shaping for incorporating domain knowledge to accelerate agent training, thereby improving sample efficiency by directly shaping Q-values. This approach is both general and robust across diverse tasks, allowing for immediate impact assessment while guaranteeing optimality. We evaluated Q-shaping across 20 different environments using a large language model (LLM) as the heuristic provider. The results demonstrate that Q-shaping significantly enhances sample efficiency, achieving a \textbf{16.87\%} improvement over the best baseline in each environment and a \textbf{253.80\%} improvement compared to LLM-based reward shaping methods. These findings establish Q-shaping as a superior and unbiased alternative to conventional reward shaping in reinforcement learning.

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

↑