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

LuckyMera:用于构建混合NetHack智能体的模块化AI框架

LuckyMera: a Modular AI Framework for Building Hybrid NetHack Agents

Department of Computer Science, University of Pisa(比萨大学计算机科学系);Journal Production Department, IOS Press(IOS Press期刊生产部)

Luigi Quarantiello, Simone Marzeddu, Antonio Guzzi, Vincenzo Lomonaco

AI总结:

本研究提出围绕NetHack游戏构建的模块化AI框架LuckyMera,支持符号、神经及混合智能体开发,配套轨迹存储等工具,经实证验证其基线智能体在完整NetHack中达SOTA性能,且已开源。

摘要:

过去几十年间,得益于各类测试平台(大多基于模拟环境和电子游戏)的出现,人工智能(AI)领域取得了显著发展。其中,肉鸽(roguelike)类游戏在环境复杂度与计算成本之间实现了极佳的平衡,非常适合用于测试AI智能体的泛化能力。本文提出了LuckyMera——一款围绕热门终端单人肉鸽电子游戏NetHack打造的灵活、模块化、可扩展且可配置的AI框架。该库旨在简化并加速能够顺利通关该游戏的AI智能体开发,同时为设计游戏策略提供高层接口。LuckyMera内置了一套现成的符号模块与神经模块(称作“技能”):这些模块既可以是硬编码行为,也可以是神经强化学习方法,还支持构建组合式混合解决方案。此外,LuckyMera还配备了一系列实用功能:可将智能体的经验以轨迹形式保存以供后续分析,也可将这些轨迹用作训练神经模块的数据集,同时还提供与NetHack Learning Environment(NetHack学习环境)和MiniHack的直接接口。通过实证评估,我们验证了所实现的各类技能的有效性,并提出了一个性能强劲的基线智能体,该智能体在完整NetHack游戏中可达到当前最优性能水平。LuckyMera为开源项目,可通过https://github.com/Pervasive-AI-Lab/LuckyMera获取。

英文摘要:

In the last few decades we have witnessed a significant development in Artificial Intelligence (AI) thanks to the availability of a variety of testbeds, mostly based on simulated environments and video games. Among those, roguelike games offer a very good trade-off in terms of complexity of the environment and computational costs, which makes them perfectly suited to test AI agents generalization capabilities. In this work, we present LuckyMera, a flexible, modular, extensible and configurable AI framework built around NetHack, a popular terminal-based, single-player roguelike video game. This library is aimed at simplifying and speeding up the development of AI agents capable of successfully playing the game and offering a high-level interface for designing game strategies. LuckyMera comes with a set of off-the-shelf symbolic and neural modules (called "skills"): these modules can be either hard-coded behaviors, or neural Reinforcement Learning approaches, with the possibility of creating compositional hybrid solutions. Additionally, LuckyMera comes with a set of utility features to save its experiences in the form of trajectories for further analysis and to use them as datasets to train neural modules, with a direct interface to the NetHack Learning Environment and MiniHack. Through an empirical evaluation we validate our skills implementation and propose a strong baseline agent that can reach state-of-the-art performances in the complete NetHack game. LuckyMera is open-source and available at https://github.com/Pervasive-AI-Lab/LuckyMera.

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

↑