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

大型语言模型玩《星际争霸 II》:基准测试与一种摘要链方法

Large Language Models Play StarCraft II: Benchmarks and A Chain of Summarization Approach

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Nanjing Artificial Intelligence Research of IA(南京人工智能研究院(IA));Department of Computer Science, University College London(伦敦大学学院计算机科学系)

Weiyu Ma, Qirui Mi, Yongcheng Zeng, Xue Yan, Yuqiao Wu, Runji Lin, Haifeng Zhang, Jun Wang

AI总结:

本文构建文本化 TextStarCraft II 环境并提出摘要链方法,通过专家评估与游戏实验验证 LLM 的《星际争霸 II》知识、规划和对战能力。

摘要:

《星际争霸 II》对 AI 智能体而言是一项具有挑战性的基准,因为它既需要精确的微观层面操作,也需要战略性的宏观意识。以往工作(如 Alphastar 和 SCC)在应对《星际争霸 II》方面取得了令人瞩目的性能,但在长期战略规划和策略可解释性方面仍存在不足。新兴的大型语言模型(LLM)智能体(如 Voyage 和 MetaGPT)在解决复杂任务方面展现出巨大潜力。受此启发,我们旨在验证 LLM 在《星际争霸 II》这一高度复杂的 RTS 游戏上的能力。为方便充分利用 LLM 的推理能力,我们首先开发了一个文本化的 StratCraft II 环境,称为 TextStarCraft II,LLM 智能体可以与其交互。其次,我们提出了一种摘要链(Chain of Summarization)方法,包括用于处理原始观测的单帧摘要,以及用于分析游戏信息、提供指令建议和生成战略决策的多帧摘要。我们的实验由两部分组成:第一,由人类专家进行评估,包括评估 LLM 对《星际争霸 II》知识的掌握程度以及 LLM 智能体在游戏中的表现;第二,LLM 智能体在游戏中的表现,涵盖胜率以及摘要链的影响等方面。实验结果表明:1. LLM 具备应对《星际争霸 II》场景所需的相关知识和复杂规划能力;2. 人类专家认为 LLM 智能体的表现接近玩过《星际争霸 II》八年的普通玩家;3. LLM 智能体能够击败难度为 Harder(Lv5)的内置 AI。我们已开源代码,并发布了 LLM 智能体玩《星际争霸 II》的演示视频。

英文摘要:

StarCraft II is a challenging benchmark for AI agents due to the necessity of both precise micro level operations and strategic macro awareness. Previous works, such as Alphastar and SCC, achieve impressive performance on tackling StarCraft II , however, still exhibit deficiencies in long term strategic planning and strategy interpretability. Emerging large language model (LLM) agents, such as Voyage and MetaGPT, presents the immense potential in solving intricate tasks. Motivated by this, we aim to validate the capabilities of LLMs on StarCraft II, a highly complex RTS game.To conveniently take full advantage of LLMs` reasoning abilities, we first develop textual StratCraft II environment, called TextStarCraft II, which LLM agent can interact. Secondly, we propose a Chain of Summarization method, including single frame summarization for processing raw observations and multi frame summarization for analyzing game information, providing command recommendations, and generating strategic decisions. Our experiment consists of two parts: first, an evaluation by human experts, which includes assessing the LLMs`s mastery of StarCraft II knowledge and the performance of LLM agents in the game; second, the in game performance of LLM agents, encompassing aspects like win rate and the impact of Chain of Summarization.Experiment results demonstrate that: 1. LLMs possess the relevant knowledge and complex planning abilities needed to address StarCraft II scenarios; 2. Human experts consider the performance of LLM agents to be close to that of an average player who has played StarCraft II for eight years; 3. LLM agents are capable of defeating the built in AI at the Harder(Lv5) difficulty level. We have open sourced the code and released demo videos of LLM agent playing StarCraft II.

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

↑