PlayScriptBench 提出:考察视觉语言模型能否合成可运行的游戏程序
Can Vision-Language Models Synthesize Executable Game-Playing Programs?
这份基准换了个角度看 VLM 玩游戏:不是一步步发指令,而是让模型直接写一段能自己跑的程序。16 款游戏测下来强模型也做不好,如果你在做智能体或游戏自动化,这个评测思路很值得抄。
一项发表于 arXiv 的研究提出 PlayScriptBench,一个脚本化游戏基准,考察 VLM 能否从游戏状态直接合成可执行的游戏程序,而非逐步交互选择动作。研究团队设计了四阶段流水线——Explore、Perception、API Construction 和 Strategy Composition,把控制器合成拆解为游戏探索、状态感知、接口构造和策略组合,让模型渐进式搭建可执行程序。
现有游戏基准多采用每一步都把当前视觉观测发给模型的交互范式,这带来两个问题:游戏循环必须等待模型推理,难以做到实时交互;频繁调用 VLM 也产生可观成本。脚本化合成一次性评估视觉定位、游戏动态理解、长程策略推理和程序生成四项能力。
基准覆盖 4 个游戏类型的 16 款游戏,实验显示即便强 VLM 也难以完成,说明被动式视觉游戏理解与可执行闭环控制之间存在明显差距。
Can Vision-Language Models Synthesize Executable Game-Playing Programs?
Recent advances in vision-language models (VLMs) have endowed multimodal agents with increasingly strong visual perception and long-horizon reasoning capabilities, making VLM-based autonomous game playing feasible. Existing game benchmarks primarily evaluate whether an agent can select appropriate actions from the current visual state across different scenarios and games. However, most of them adopt a step-by-step interaction paradigm where the current visual observation is sent to the agent before each action. In practical deployment, this paradigm introduces two fundamental limitations: the game loop must wait for model inference, making real-time interaction impractical, and repeated VLM calls incur substantial cost. Therefore, we propose PlayScriptBench, a script-based game benchmark that evaluates whether VLMs can synthesize an executable game-playing program from game states. This setting jointly evaluates visual grounding, understanding of game dynamics, long-horizon strategic reasoning, and executable program synthesis, providing a more comprehensive assessment of game-playing agents. To support more tractable evaluation for current general-purpose VLMs, we further introduce a four-stage pipeline --- Explore, Perception, API Construction, and Strategy Composition --- that decomposes controller synthesis into game exploration, state perception, interface construction, and strategic control, enabling agents to progressively construct an executable program. Experiments on 16 games spanning 4 genres show that even strong VLMs struggle on our benchmark, revealing a substantial gap between passive visual game understanding and executable closed-loop game control. These results establish script-based controller synthesis as a complementary direction for benchmarking VLM-based game-playing agents.
This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include VLM, PlayScriptBench, program synthesis, multimodal.
Source attribution: curated from arXiv cs.AI (@Yao Tong, Jiaxin Qi, Dingyu Zhang, Jianqiang Huang).