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

智能体畅玩数千款3D电子游戏

Agents Play Thousands of 3D Video Games

Tencent(腾讯)

Zhongwen Xu, Xianliang Wang, Siyi Li, Tao Yu, Liang Wang, Qiang Fu, Wei Yang

AI总结:

本文提出PORTAL框架,利用LLM生成DSL行为树并结合混合策略与双反馈机制,使AI智能体能够低成本地在数千款3D FPS游戏中部署、泛化与迭代改进。

摘要:

我们提出了PORTAL,这是一个新颖的框架,用于开发能够通过语言引导的策略生成来游玩数千款3D电子游戏的人工智能智能体。通过将决策问题转化为语言建模任务,我们的方法利用大型语言模型(LLM)生成以领域特定语言(DSL)表示的行为树。该方法消除了传统强化学习方法所伴随的计算负担,同时保留了策略深度和快速适应性。我们的框架引入了一种混合策略结构,将基于规则的节点与神经网络组件相结合,从而同时实现高层策略推理和精确的低层控制。融合定量游戏指标与视觉-语言模型分析的双反馈机制,可在战术和战略两个层面促进策略的迭代改进。所得策略可即时部署、可供人类解释,并能够在多样化游戏环境中泛化。实验结果证明了PORTAL在数千款第一人称射击(FPS)游戏中的有效性,与传统方法相比,在开发效率、策略泛化和行为多样性方面展现出显著提升。PORTAL代表了游戏AI开发的一项重要进展,为构建能够以极低开发开销在数千款商业电子游戏中运行的复杂智能体提供了实用解决方案。3D电子游戏上的实验结果最适合在https://zhongwen.one/projects/portal查看。

英文摘要:

We present PORTAL, a novel framework for developing artificial intelligence agents capable of playing thousands of 3D video games through language-guided policy generation. By transforming decision-making problems into language modeling tasks, our approach leverages large language models (LLMs) to generate behavior trees represented in domain-specific language (DSL). This method eliminates the computational burden associated with traditional reinforcement learning approaches while preserving strategic depth and rapid adaptability. Our framework introduces a hybrid policy structure that combines rule-based nodes with neural network components, enabling both high-level strategic reasoning and precise low-level control. A dual-feedback mechanism incorporating quantitative game metrics and vision-language model analysis facilitates iterative policy improvement at both tactical and strategic levels. The resulting policies are instantaneously deployable, human-interpretable, and capable of generalizing across diverse gaming environments. Experimental results demonstrate PORTAL's effectiveness across thousands of first-person shooter (FPS) games, showcasing significant improvements in development efficiency, policy generalization, and behavior diversity compared to traditional approaches. PORTAL represents a significant advancement in game AI development, offering a practical solution for creating sophisticated agents that can operate across thousands of commercial video games with minimal development overhead. Experiment results on the 3D video games are best viewed on https://zhongwen.one/projects/portal .

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

↑