arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.07904cs.LGcs.AI
收藏

连续控制中的测试驱动强化学习

Test-driven Reinforcement Learning in Continuous Control

Zhao Yu, Xiuping Wu, Liangjun Ke

AI总结:

本文提出测试驱动强化学习框架,通过多测试函数替代传统奖励函数,简化任务定义并提升多目标优化能力。

摘要:

强化学习(RL)已被认为是机器人控制任务中强大的工具。RL通常使用奖励函数来定义任务目标并指导智能体学习。然而,由于奖励函数具有双重作用,即定义最优目标并指导学习,因此手动设计奖励函数具有挑战性,这往往导致任务表示次优。为了解决RL中的奖励设计挑战,受满意理论的启发,我们提出了测试驱动强化学习(TdRL)框架。在TdRL框架中,多个测试函数用于表示任务目标,而不是单一奖励函数。测试函数可以分为通过-失败测试和指示测试,分别用于定义最优目标和指导学习过程。这使得定义任务变得更加容易。基于此类任务定义,我们首先证明,如果轨迹回报函数对更接近最优轨迹集的轨迹赋予更高的回报,基于此回报函数的最大熵策略优化将产生更接近最优策略集的策略。然后,我们引入一种序数启发法方法,用于比较轨迹与最优轨迹集之间的相对距离关系,以学习轨迹回报函数。此外,我们开发了TdRL的算法实现。在DeepMind控制套件基准测试中的实验结果表明,TdRL在策略训练中与手工制作的奖励方法匹配或优于,具有更大的设计简便性和内在支持多目标优化的能力。我们认为,TdRL为表示任务目标提供了新的视角,这可能有助于解决RL应用中的奖励设计挑战。

英文摘要:

Reinforcement learning (RL) has been recognized as a powerful tool for robot control tasks. RL typically employs reward functions to define task objectives and guide agent learning. However, since the reward function serves the dual purpose of defining the optimal goal and guiding learning, it is challenging to design the reward function manually, which often results in a suboptimal task representation. To tackle the reward design challenge in RL, inspired by the satisficing theory, we propose a Test-driven Reinforcement Learning (TdRL) framework. In the TdRL framework, multiple test functions are used to represent the task objective rather than a single reward function. Test functions can be categorized as pass-fail tests and indicative tests, each dedicated to defining the optimal objective and guiding the learning process, respectively, thereby making defining tasks easier. Building upon such a task definition, we first prove that if a trajectory return function assigns higher returns to trajectories closer to the optimal trajectory set, maximum entropy policy optimization based on this return function will yield a policy that is closer to the optimal policy set. Then, we introduce a lexicographic heuristic approach to compare the relative distance relationship between trajectories and the optimal trajectory set for learning the trajectory return function. Furthermore, we develop an algorithm implementation of TdRL. Experimental results on the DeepMind Control Suite benchmark demonstrate that TdRL matches or outperforms handcrafted reward methods in policy training, with greater design simplicity and inherent support for multi-objective optimization. We argue that TdRL offers a novel perspective for representing task objectives, which could be helpful in addressing the reward design challenges in RL applications.

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

↑