arXiv:2505.22597cs.AIcs.LG2025-05中稿 · Proceedings of ICA…被引 4

将分层规划与强化学习结合,支持多智能体协作的仿真工具

HDDLGym: A Tool for Studying Multi-Agent Hierarchical Problems Defined in HDDL with OpenAI Gym

  • 基于HDDL语言自动生成OpenAI Gym环境,打通分层规划与RL的接口
  • 支持多智能体协同,已在Transport和Overcooked场景验证有效性
  • 适合研究分层强化学习、多智能体系统及规划与学习融合的学者

近年来,强化学习(RL)广泛使用OpenAI Gym等工具进行测试,但许多任务若结合分层规划可获益更多。现有工具缺乏对分层规划与RL的无缝集成。本文提出HDDLGym,一个基于Python的工具,可自动将HDDL(分层领域定义语言)中的领域与问题转换为OpenAI Gym环境。该工具连接了经典规划与强化学习,支持多智能体场景下的协同规划。文章阐述了其设计与实现,重点分析了将HDDL与Gym接口整合所面临的挑战与决策,并展示了在国际规划竞赛的Transport领域中的应用。同时,提供创建新多智能体HDDL领域的指南,并以Overcooked为例演示实际使用。通过融合HDDL与Gym的优势,HDDLGym旨在成为研究分层强化学习,尤其在多智能体情境下的有力工具。

原文摘要 · Abstract (English)

In recent years, reinforcement learning (RL) methods have been widely tested using tools like OpenAI Gym, though many tasks in these environments could also benefit from hierarchical planning. However, there is a lack of a tool that enables seamless integration of hierarchical planning with RL. Hierarchical Domain Definition Language (HDDL), used in classical planning, introduces a structured approach well-suited for model-based RL to address this gap. To bridge this integration, we introduce HDDLGym, a Python-based tool that automatically generates OpenAI Gym environments from HDDL domains and problems. HDDLGym serves as a link between RL and hierarchical planning, supporting multi-agent scenarios and enabling collaborative planning among agents. This paper provides an overview of HDDLGym's design and implementation, highlighting the challenges and design choices involved in integrating HDDL with the Gym interface, and applying RL policies to support hierarchical planning. We also provide detailed instructions and demonstrations for using the HDDLGym framework, including how to work with existing HDDL domains and problems from International Planning Competitions, exemplified by the Transport domain. Additionally, we offer guidance on creating new HDDL domains for multi-agent scenarios and demonstrate the practical use of HDDLGym in the Overcooked domain. By leveraging the advantages of HDDL and Gym, HDDLGym aims to be a valuable tool for studying RL in hierarchical planning, particularly in multi-agent contexts.

强化学习分层规划多智能体仿真工具

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。