Can Vision-Language Models Synthesize Executable Game-Playing Programs?
Yao Tong, Jiaxin Qi, Dingyu Zhang, Jianqiang Huang
Key points
From the paper's conclusion- Therefore, we propose PlayScriptBench, a script-based game benchmark that evaluates whether VLMs can synthesize an executable game-playing program from game states.
Abstract
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- From Game Generation to Game Playing: Fully Automated Ability Training for Vision-Language-Action ModelsarXiv · 2026
- PlaySuite: A Large-Scale Benchmark for Interactive Visual IntelligencearXiv · 2026
- Acting by Intent, Reacting by Sight: Visual Conditioned Reflexes for Real-Time VLM AgentsarXiv · 2026
- Game2Player: Scaling Gameplay Experience for Visual Agents through Environment-Player Co-DevelopmentarXiv · 2026
- AutoPILOT: A Visual Agent Harness for Real-Time GameplayarXiv · 2026
- Gamer: A Generalist Vision-Language-Action Foundation Model for Long-Horizon Real-Time Game AgentarXiv · 2026