PlaySmith:用自构建代码世界模型自动玩视频游戏
From Watching to Playing: Auto-Playing Video Games with a Self-Constructed Code World Model
AI 导读
PlaySmith 是一个从视觉游戏画面中构建三个模块的智能体框架:视觉 Observer 追踪带持久身份的游戏物体,动作条件位移(ACD)区分动作驱动运动与自主物理运动并构建有状态 Predictor,控制器据此多步评估候选动作序列。
正文 · 原文
Abstract:Vision-language model (VLM) agents can play video games by selecting actions from successive screenshots, but calling a VLM at each decision step incurs prohibitive time and token costs. Compiling a VLM's game knowledge into reusable code would amortize these costs, yet raw visual gameplay entangles autonomous physics with player actions, obscuring the transition dynamics a compiled model needs. To address both challenges, we present PlaySmith, an agent harness that constructs three modules from visual gameplay. First, a visual Observer detects game objects and tracks them across frames with persistent identity. Second, action-conditioned displacement (ACD) links actions to object motion, guiding construction of a stateful Predictor that distinguishes action-driven motion from autonomous physics. Third, a controller uses the Predictor to evaluate candidate action sequences multiple steps ahead and executes the selected action. Across eight 2D browser games, PlaySmith achieves competitive scores relative to direct VLM gameplay using the same backbone, while consuming no VLM tokens during evaluation episodes per game and reducing mean per-step latency from 4.526 to 0.293 seconds. These results demonstrate that a self-constructed code world model can be more practical than direct VLM play in settings requiring repeated deployment.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.35702 [cs.AI] |
| (or arXiv:2611.35702v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.35702 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Jiaxin Qi [view email]
[v1]
Thu, 26 Nov 2026 07:46:29 UTC (3,997 KB)
来源:arXiv cs.AI · arxiv.org