GTAGym:用于评估和强化学习的真实AAA游戏任务环境
研究论文 · 2026/11/12
GTAGym 是一个用于在《GTA V》任务上进行评估和强化学习的框架与环境。其评估基准 GTAVBench 包含 103 个在线任务(源自 GTA V 主线任务,分为九个任务族)以及 47 个基于图像的射击和狙击任务。通过 Web 服务器提供在线环境和评估接口,支持并行测试,利用截图和键鼠动作并自动检查引擎状态结果。在 GTAVBench-AGI 分支(指令仅出现在第一张截图,并自动压缩交互历史)上,最佳配置达到 70.9% 的整体准确率,但空中导航、躲避和拦截仍然困难。GTAGym 还提供了一个可扩展的生成器,在固定模板下根据用户指定的范围和选项集采样任务参数,批量创建用于强化学习的 3D 和基于图像的射击环境,并自动提供奖励和终止信号。在生成的徒步导航任务上对 Qwen3.8-27B 进行 LoRA 强化学习,提升了域内性能,并迁移到域外任务类别,原生 GTA V 任务从 15% 提升到 23%。
该工作为在复杂 AAA 游戏(如 GTA V)中评估和训练智能体提供了首个系统化框架,结合了大规模基准测试与可扩展的强化学习环境生成器,并展示了强化学习在真实游戏任务上的迁移效果,对游戏 AI 和通用智能体研究具有重要价值。
AAA games offer a rich testbed for evaluating agent perception, reasoning, and control. However, evaluating whether agents can complete tasks in AAA games is challenging and often human-annotated because task outcomes are often difficult to verify automatically, let alone applying it for Reinforcement Learning (RL). We introduce GTAGym, an environment and framework for evaluation and RL on GTA V tasks. Its evaluation benchmark, GTAVBench, derived from GTA V main-story missions, contains 103 online tasks reconstructed across nine task families, alongside 47 image-based shooting and sniping tasks using GTA V imagery. A web server provides access to the online environment and evaluation interface, supporting parallel testing through screenshots and keyboard-mouse actions with automatic engine-state outcome checks. We evaluate six frontier LLMs on GTAVBench with textual task instructions and on its GTAVBench-AGI branch, where instructions appear only in the first screenshot and a harness automatically compresses interaction history. The best configuration achieves 70.9% overall accuracy in GTAVBench-AGI, yet aerial navigation, evasion and interception remain difficult. GTAGym also provides a scalable generator that samples task parameters within user-specified ranges and option sets under fixed templates, creating batches of 3D and image-based shooting environments for RL with automatic reward and termination signals. LoRA RL of Qwen3.8-27B on generated on-foot navigation tasks improves the in-domain performance and transfers to out-of-domain task categories, and native GTA V tasks from 15% to 23%.