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

通过奖励函数优化实现行为对齐

Behavior Alignment via Reward Function Optimization

University of Massachusetts(马萨诸塞大学);Stanford University(斯坦福大学);University of Alberta(阿尔伯塔大学)

Dhawal Gupta, Yash Chandak, Scott M. Jordan, Philip S. Thomas, Bruno Castro da Silva

AI总结:

本文提出一种基于双层目标的行为对齐奖励函数学习框架,自动融合设计者启发式辅助奖励与环境主奖励,提升对奖励错误指定和RL算法偏差的鲁棒性,并在多样化任务中验证其有效性。

摘要:

设计奖励函数以高效引导强化学习(RL)智能体朝着特定行为发展是一项复杂的任务。这一挑战在于需要识别出既非稀疏、又能避免无意中诱发不良行为的奖励结构。天真地修改奖励结构以提供更密集、更频繁的反馈可能导致非预期的结果,并促使智能体表现出与设计者预期目标不一致的行为。尽管基于势能的奖励塑形常被建议作为一种补救措施,我们系统地研究了部署该方法常常显著损害性能的设定。为了解决这些问题,我们引入了一个新的框架,该框架使用双层目标来学习行为对齐奖励函数。这些函数将反映设计者启发式知识和领域知识的辅助奖励与环境的主要奖励相结合。我们的方法自动确定混合这些类型反馈的最有效方式,从而增强对启发式奖励错误指定的鲁棒性。值得注意的是,它还可以调整智能体的策略优化过程,以缓解由底层RL算法固有的局限性和偏差所导致的次优性。我们在从规模实验到高维控制挑战的多样化任务集上评估了我们方法的有效性。我们研究了质量参差不齐的启发式辅助奖励——其中一些对学习过程有益,另一些则有害。我们的结果表明,我们的框架提供了一种鲁棒且有原则的方式来整合设计者指定的启发式知识。它不仅解决了现有方法的关键缺陷,而且即使在给定不一致或指定不当的辅助奖励函数时,也能持续产生高性能的解决方案。

英文摘要:

Designing reward functions for efficiently guiding reinforcement learning (RL) agents toward specific behaviors is a complex task. This is challenging since it requires the identification of reward structures that are not sparse and that avoid inadvertently inducing undesirable behaviors. Naively modifying the reward structure to offer denser and more frequent feedback can lead to unintended outcomes and promote behaviors that are not aligned with the designer's intended goal. Although potential-based reward shaping is often suggested as a remedy, we systematically investigate settings where deploying it often significantly impairs performance. To address these issues, we introduce a new framework that uses a bi-level objective to learn \emph{behavior alignment reward functions}. These functions integrate auxiliary rewards reflecting a designer's heuristics and domain knowledge with the environment's primary rewards. Our approach automatically determines the most effective way to blend these types of feedback, thereby enhancing robustness against heuristic reward misspecification. Remarkably, it can also adapt an agent's policy optimization process to mitigate suboptimalities resulting from limitations and biases inherent in the underlying RL algorithms. We evaluate our method's efficacy on a diverse set of tasks, from small-scale experiments to high-dimensional control challenges. We investigate heuristic auxiliary rewards of varying quality -- some of which are beneficial and others detrimental to the learning process. Our results show that our framework offers a robust and principled way to integrate designer-specified heuristics. It not only addresses key shortcomings of existing approaches but also consistently leads to high-performing solutions, even when given misaligned or poorly-specified auxiliary reward functions.

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

↑