arXiv:2504.04395cs.LG2025-04被引 5

用大规模离线强化学习训练出能打上顶尖段位的宝可梦AI。

Human-Level Competitive Pokémon via Scalable Offline Reinforcement Learning with Transformers

  • 从人类对战日志重建第一视角,构建十余年真实对战数据集。
  • 无需搜索直接根据对手动作序列选择策略,击败强基线模型。
  • 在真实线上对战中跻身前10%玩家,适合研究离线RL与博弈策略。

竞技宝可梦单打(CPS)是一款流行策略游戏,玩家需在信息不完全、持续百回合以上的随机对战中适应对手。当前AI研究多依赖启发式树搜索和在线自对弈,但本工作探索了基于大规模数据的离线策略训练。我们构建了一套管道,将观察者视角的日志还原为代理的第一人称视角,从而解锁了超过十年的真实人类对战数据集,且数据持续增长。该数据集支持黑箱方法:训练大型序列模型仅依据输入动作轨迹实时适应对手,无需任何显式搜索。我们研究了从模仿学习到离线强化学习,再到自对弈数据上的离线微调,在宝可梦四个最老且部分可观测的游戏世代中的演进。最终模型超越近期基于大语言模型的智能体及强启发式搜索引擎。在匿名线上对战中,最佳模型排名进入活跃玩家前10%。所有模型检查点、训练细节、数据集及基线代码均开源于https://metamon.tech。

原文摘要 · Abstract (English)

Competitive Pokémon Singles (CPS) is a popular strategy game where players learn to exploit their opponent based on imperfect information in battles that can last more than one hundred stochastic turns. AI research in CPS has been led by heuristic tree search and online self-play, but the game may also create a platform to study adaptive policies trained offline on large datasets. We develop a pipeline to reconstruct the first-person perspective of an agent from logs saved from the third-person perspective of a spectator, thereby unlocking a dataset of real human battles spanning more than a decade that grows larger every day. This dataset enables a black-box approach where we train large sequence models to adapt to their opponent based solely on their input trajectory while selecting moves without explicit search of any kind. We study a progression from imitation learning to offline RL and offline fine-tuning on self-play data in the hardcore competitive setting of Pokémon's four oldest (and most partially observed) game generations. The resulting agents outperform a recent LLM Agent approach and a strong heuristic search engine. While playing anonymously in online battles against humans, our best agents climb to rankings inside the top 10% of active players. All agent checkpoints, training details, datasets, and baselines are available at https://metamon.tech.

强化学习宝可梦AI离线训练序列建模

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