基于势能的奖励塑形通常被用于将如何解决任务的先验知识引入强化学习,因为它能够正式保证策略不变性。因此,最优策略以及按回报对策略的排序不会因基于势能的奖励塑形而改变。在本工作中,我们强调了有效的基于势能的奖励塑形对初始 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.
Learning to Utilize Shaping Rewards: A New Approach of Reward Shaping
College of Intelligence and Computing, Tianjin University(天津大学智能与计算学部);School of Computer Science and Technology, University of Science and Technology of China(中国科学技术大学计算机科学与技术学院);Noah’s Ark Lab, Huawei(华为诺亚方舟实验室);Netease Fuxi AI Lab, Netease, Inc.(网易公司网易伏羲人工智能实验室)
Shaping Sparse Rewards in Reinforcement Learning: A Semi-supervised Approach
Department of Mathematics, The University of Hong Kong (HKU)(香港大学数学系);Department of Data and Systems Engineering, HKU(香港大学数据与系统工程系);Musketeers Foundation Institute of Data Science, HKU(穆斯克特基金会数据科学研究所)
SLOPE: Optimistic Potential Landscape Shaping for Model-based Reinforcement Learning
Beijing Institute of Technology(北京理工大学);Heriot-Watt University(赫瑞-沃森大学);Shenzhen Institutes of Advanced Technology, CAS(深圳先进技术研究院);Microsoft Research NY(微软研究院纽约分部);Tsinghua University(清华大学);Jilin University(吉林大学)
Environment Shaping in Reinforcement Learning using State Abstraction
EPFL(洛桑联邦理工学院);MPI-SWS(马克斯·普朗克软件系统研究所)
强化学习(RL)代理所面临的核心挑战之一是在具有稀疏和噪声反馈信号的大状态空间的环境中有效地学习(接近)最优策略。在实际应用中,具有额外领域知识的专家可以通过\emph{shaping the environment}帮助加速学习过程,即,使学习环境更加友好。文献中流行的范例是\emph{potential-based reward shaping},其中环境的奖励函数使用潜在函数用额外的局部奖励来增强。然而,基于潜力的奖励塑造的适用性在以下设置中受到限制:(i)状态空间非常大,并且计算适当的潜力函数具有挑战性;(ii)反馈信号是嘈杂的,并且即使具有整形的奖励,代理也可能陷入局部最优;以及(iii)单独改变奖励是不够的,并且有效的整形需要改变动态。我们解决这些限制的潜在的成形方法,并提出了一个新的框架\emph{environment shaping using state abstraction}。我们的主要思想是压缩环境的大状态空间与嘈杂的信号到一个抽象的空间,并使用这种抽象在创建更平滑,更有效的反馈信号的代理。我们研究了我们的抽象为基础的环境塑造的理论基础,并表明,代理人的政策在塑造的环境中保存在原始环境中接近最优的行为。
Enhancing Inverse Reinforcement Learning through Encoding Dynamic Information in Reward Shaping
Department of Electrical and Computer Engineering(电气与计算机工程系);Northwestern University(西北大学);School of Electronics and Computer Science(电子与计算机科学学院);University of Southampton(南安普顿大学)
Balance Between Efficient and Effective Learning: Dense2Sparse Reward Shaping for Robot Manipulation with Environment Uncertainty
Institute of Intelligent Machines, Hefei Institute of Physical Science, CAS(中国科学院合肥物质科学研究院智能机械研究所);Institute of Plasma Physics, Hefei Institute of Physical Science, CAS(中国科学院合肥物质科学研究院等离子体物理研究所)
Reward Shaping for Reinforcement Learning with Omega-Regular Objectives
Queen’s University Belfast(贝尔法斯特女王大学);Institute of Software, CAS(中国科学院软件研究所);University of Colorado Boulder(科罗拉多大学博尔德分校);University of Liverpool(利物浦大学)
Optimistic Curiosity Exploration and Conservative Exploitation with Linear Reward Shaping
University of Cambridge(剑桥大学);Tencent RoboticsX(腾讯机器人X实验室);Hong Kong University of Science and Technology(香港科技大学);Tsinghua University(清华大学);IDEA(粤港澳大湾区数字经济研究院);University of California, Los Angeles(加利福尼亚大学洛杉矶分校)
Policy-Invariant Reward Shaping from LLM Feedback: A Framework for Hybrid RL Agents
AI Research and Innovation Nexus for Africa (AIRINA Labs)(非洲AI研究与创新中心(AIRINA实验室));Sefako Makgatho Health Sciences University (SMU)(塞法科·马加托健康科学大学);African Center for Advanced Studies (ACAS)(非洲高级研究中心);African Institute for Mathematical Sciences(非洲数学科学学院)
EAGER: Asking and Answering Questions for Automatic Reward Shaping in Language-guided RL
Inria(法国国家信息与自动化研究所);Université de Bordeaux(波尔多大学);ISIR Sorbonne Université(索邦大学智能系统与机器人研究所);Univ Angers(昂热大学);Microsoft Research Montreal(微软研究院蒙特利尔分院)