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

提升强化学习中基于势能的奖励塑形的有效性

Improving the Effectiveness of Potential-Based Reward Shaping in Reinforcement Learning

L3S Research Center(L3S研究中心)

Henrik Müller, Daniel Kudenko

AI总结:

本文研究基于势能的奖励塑形在强化学习中的有效性,提出通过势能函数的线性平移在不改变编码偏好和初始Q值的情况下提升塑形效果,并给出理论局限性与实验验证。

摘要:

基于势能的奖励塑形通常被用于将如何解决任务的先验知识引入强化学习,因为它能够正式保证策略不变性。因此,最优策略以及按回报对策略的排序不会因基于势能的奖励塑形而改变。在本工作中,我们强调了有效的基于势能的奖励塑形对初始 Q 值和外部奖励的依赖性,这些因素决定了智能体利用塑形奖励来引导其探索并实现更高样本效率的能力。我们正式推导了如何通过对势能函数进行简单的线性平移来提升奖励塑形的有效性,而无需改变势能函数中编码的偏好,也无需调整初始 Q 值,后者在深度强化学习中可能具有挑战性且并不理想。我们展示了连续势能函数在正确分配正负奖励塑形值方面的理论局限性。我们在具有稀疏且无信息奖励函数的 Gridworld 领域以及 Cart Pole 和 Mountain Car 环境中通过实验验证了我们的理论发现,并在这些环境中展示了我们的结果在深度强化学习中的应用。

英文摘要:

Potential-based reward shaping is commonly used to incorporate prior knowledge of how to solve the task into reinforcement learning because it can formally guarantee policy invariance. As such, the optimal policy and the ordering of policies by their returns are not altered by potential-based reward shaping. In this work, we highlight the dependence of effective potential-based reward shaping on the initial Q-values and external rewards, which determine the agent's ability to exploit the shaping rewards to guide its exploration and achieve increased sample efficiency. We formally derive how a simple linear shift of the potential function can be used to improve the effectiveness of reward shaping without changing the encoded preferences in the potential function, and without having to adjust the initial Q-values, which can be challenging and undesirable in deep reinforcement learning. We show the theoretical limitations of continuous potential functions for correctly assigning positive and negative reward shaping values. We verify our theoretical findings empirically on Gridworld domains with sparse and uninformative reward functions, as well as on the Cart Pole and Mountain Car environments, where we demonstrate the application of our results in deep reinforcement learning.

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

↑