arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.20018cs.MAcs.CLcs.LG
收藏

具有自然语言约束的安全多智能体强化学习

Safe Multi-agent Reinforcement Learning with Natural Language Constraints

King’s College London(伦敦国王学院);University of Liverpool(利物浦大学);Eindhoven University of Technology(埃因霍温理工大学);Carnegie Mellon University(卡内基梅隆大学)

Ziyan Wang, Meng Fang, Tristan Tomilin, Fei Fang, Yali Du

AI总结:

提出SMALL方法,利用微调语言模型将自然语言约束转化为语义嵌入,集成到多智能体策略学习中,在LaMaSafe基准上实现相当奖励且显著减少约束违规。

摘要:

自然语言约束在安全多智能体强化学习(MARL)中的作用至关重要,却常被忽视。尽管Safe MARL具有巨大潜力,特别是在机器人和自动驾驶车辆等领域,但其潜力受限于需要以预先设计的数学术语定义约束,这需要广泛的领域专业知识和强化学习知识,阻碍了其更广泛的应用。为了解决这一限制并使Safe MARL更易于访问和适应,我们提出了一种名为具有自然语言约束的安全多智能体强化学习(SMALL)的新方法。我们的方法利用微调的语言模型来解释和处理自由形式的文本约束,将其转换为捕获禁止状态和行为本质的语义嵌入。然后将这些嵌入集成到多智能体策略学习过程中,使智能体能够学习最小化约束违规同时优化奖励的策略。为了评估SMALL的有效性,我们引入了LaMaSafe,这是一个多任务基准,旨在评估多个智能体在遵守自然语言约束方面的性能。跨各种环境的实证评估表明,SMALL实现了相当的奖励和显著更少的约束违规,突显了其在理解和执行自然语言约束方面的有效性。

英文摘要:

The role of natural language constraints in Safe Multi-agent Reinforcement Learning (MARL) is crucial, yet often overlooked. While Safe MARL has vast potential, especially in fields like robotics and autonomous vehicles, its full potential is limited by the need to define constraints in pre-designed mathematical terms, which requires extensive domain expertise and reinforcement learning knowledge, hindering its broader adoption. To address this limitation and make Safe MARL more accessible and adaptable, we propose a novel approach named Safe Multi-agent Reinforcement Learning with Natural Language constraints (SMALL). Our method leverages fine-tuned language models to interpret and process free-form textual constraints, converting them into semantic embeddings that capture the essence of prohibited states and behaviours. These embeddings are then integrated into the multi-agent policy learning process, enabling agents to learn policies that minimize constraint violations while optimizing rewards. To evaluate the effectiveness of SMALL, we introduce the LaMaSafe, a multi-task benchmark designed to assess the performance of multiple agents in adhering to natural language constraints. Empirical evaluations across various environments demonstrate that SMALL achieves comparable rewards and significantly fewer constraint violations, highlighting its effectiveness in understanding and enforcing natural language constraints.

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

↑