PokéChamp:一个专家级 Minimax 语言智能体
PokéChamp: an Expert-level Minimax Language Agent
AI总结:
PokéChamp是一个基于大语言模型增强minimax树搜索的宝可梦对战智能体,无需额外训练即在多种赛制下击败现有最强机器人,并跻身人类玩家前列,同时发布了最大规模对战数据集与基准。
摘要:
我们介绍了PokéChamp,一个由大语言模型(LLMs)驱动的用于宝可梦对战的minimax智能体。PokéChamp构建在一个用于双人竞技游戏的通用框架之上,利用LLM的通用能力来增强minimax树搜索。具体而言,LLM取代了三个关键模块:(1)玩家动作采样,(2)对手建模,以及(3)价值函数估计,使智能体能够有效利用对战历史和人类知识来减少搜索空间并解决部分可观测性问题。值得注意的是,我们的框架不需要额外的LLM训练。我们在流行的Gen 9 OU赛制下评估了PokéChamp。在GPT-4o的驱动下,它对现有的最佳基于LLM的机器人胜率为76%,对最强的基于规则的机器人胜率为84%,展现了其卓越的性能。即使使用开源的80亿参数Llama 3.1模型,PokéChamp的表现也始终优于之前最佳的基于LLM的机器人(由GPT-4o驱动的Pokéllmon),胜率为64%。PokéChamp在Pokémon Showdown在线天梯上达到了1300-1500的预计Elo,跻身人类玩家的前30%-10%。此外,这项工作编制了最大的真实玩家宝可梦对战数据集,包含超过300万场游戏,其中包括超过50万场高Elo比赛。基于该数据集,我们建立了一系列对战基准和谜题来评估特定的对战技能。我们进一步对本地游戏引擎提供了关键更新。我们希望这项工作能促进进一步的研究,将宝可梦对战作为基准,把LLM技术与博弈论算法相结合,以解决一般的多智能体问题。视频、代码和数据集可在https://sites.google.com/view/pokechamp-llm获取。
英文摘要:
We introduce PokéChamp, a minimax agent powered by Large Language Models (LLMs) for Pokémon battles. Built on a general framework for two-player competitive games, PokéChamp leverages the generalist capabilities of LLMs to enhance minimax tree search. Specifically, LLMs replace three key modules: (1) player action sampling, (2) opponent modeling, and (3) value function estimation, enabling the agent to effectively utilize gameplay history and human knowledge to reduce the search space and address partial observability. Notably, our framework requires no additional LLM training. We evaluate PokéChamp in the popular Gen 9 OU format. When powered by GPT-4o, it achieves a win rate of 76% against the best existing LLM-based bot and 84% against the strongest rule-based bot, demonstrating its superior performance. Even with an open-source 8-billion-parameter Llama 3.1 model, PokéChamp consistently outperforms the previous best LLM-based bot, Pokéllmon powered by GPT-4o, with a 64% win rate. PokéChamp attains a projected Elo of 1300-1500 on the Pokémon Showdown online ladder, placing it among the top 30%-10% of human players. In addition, this work compiles the largest real-player Pokémon battle dataset, featuring over 3 million games, including more than 500k high-Elo matches. Based on this dataset, we establish a series of battle benchmarks and puzzles to evaluate specific battling skills. We further provide key updates to the local game engine. We hope this work fosters further research that leverage Pokémon battle as benchmark to integrate LLM technologies with game-theoretic algorithms addressing general multiagent problems. Videos, code, and dataset available at https://sites.google.com/view/pokechamp-llm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。