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

整合强化学习、动作模型学习与数值规划以应对复杂任务

Integrating Reinforcement Learning, Action Model Learning, and Numeric Planning for Tackling Complex Tasks

Ben-Gurion University of the Negev(内盖夫本-古里安大学)

Yarin Benyamin, Argaman Mordoch, Shahaf S. Shperberg, Roni Stern

AI总结:

本文面向数值规划中的领域模型获取难题,在 Minecraft 离线与在线任务中结合 NSAM、数值规划及提出的 RAMP,证明模型学习与强化学习协同可提升长期规划、泛化和求解效率。

摘要:

自动规划算法需要一个领域模型,用以指定每个动作的前提条件和效果。获得这样的领域模型是众所周知的难题。虽然已有用于学习领域模型的算法,但在数值规划环境(即状态同时包含离散状态变量和数值状态变量)中,学习领域模型并进行规划是否是一种有效方法,仍不清楚。在本工作中,我们探索学习数值领域模型的收益,并将其与替代性的无模型方案进行比较。作为案例研究,我们使用热门沙盒游戏 Minecraft 中的两个任务,该游戏一直被用作一项 AI 挑战。首先,我们考虑离线学习设置,在该设置中可以利用一组专家轨迹进行学习。这是学习领域模型的标准设置。我们使用 Numeric Safe Action Model Learning(NSAM,数值安全动作模型学习)算法学习一个数值领域模型,并使用学到的领域模型和一个数值规划器求解新问题。我们将这种基于模型的方案称为 NSAM_(+p),并将其与若干无模型模仿学习(IL)和离线强化学习(RL)算法进行比较。实证结果表明,一些 IL 算法能够更快学会求解简单任务,而 NSAM_(+p) 则能够求解需要长期规划的任务,并能够泛化以求解更大环境中的问题。随后,我们考虑在线学习设置,其中学习通过让智能体在环境中移动来完成。针对这一设置,我们提出了 RAMP。在 RAMP 中,智能体执行期间收集的观测被用于同时训练一个 RL 策略并学习一个规划领域动作模型。这在 RL 策略与学到的领域模型之间形成了一个正反馈循环。我们通过实验证明了使用 RAMP 的收益,结果显示,与若干 RL 基线相比,它能找到更高效的规划并求解更多问题。

英文摘要:

Automated Planning algorithms require a model of the domain that specifies the preconditions and effects of each action. Obtaining such a domain model is notoriously hard. Algorithms for learning domain models exist, yet it remains unclear whether learning a domain model and planning is an effective approach for numeric planning environments, i.e., where states include discrete and numeric state variables. In this work, we explore the benefits of learning a numeric domain model and compare it with alternative model-free solutions. As a case study, we use two tasks in Minecraft, a popular sandbox game that has been used as an AI challenge. First, we consider an offline learning setting, where a set of expert trajectories are available to learn from. This is the standard setting for learning domain models. We used the Numeric Safe Action Model Learning (NSAM) algorithm to learn a numeric domain model and solve new problems with the learned domain model and a numeric planner. We call this model-based solution NSAM_(+p), and compare it to several model-free Imitation Learning (IL) and Offline Reinforcement Learning (RL) algorithms. Empirical results show that some IL algorithms can learn faster to solve simple tasks, while NSAM_(+p) allows solving tasks that require long-term planning and enables generalizing to solve problems in larger environments. Then, we consider an online learning setting, where learning is done by moving an agent in the environment. For this setting, we introduce RAMP. In RAMP, observations collected during the agent's execution are used to simultaneously train an RL policy and learn a planning domain action model. This forms a positive feedback loop between the RL policy and the learned domain model. We demonstrate experimentally the benefits of using RAMP, showing that it finds more efficient plans and solves more problems than several RL baselines.

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

↑