TaskFrame: Connecting Task-Level Planning with Frame-Level Control for Game Agents
Guangzhi Wang, Junfu Pu, Yiran Wang, Xingyilang Yin, Honghao Chen, Cheng Cheng, Lingen Li, Yinan Zhou, Jiarui Wu, Yinuo Jiang, Hongbo Jin, Xiaodong Cun, Ying Shan
Abstract
Building general game agents requires both high-level task reasoning and low-latency action control in rapidly changing visual environments. These capabilities favor models with substantially different computational profiles, making them difficult to realize within a single model. In this work, we present TaskFrame, a hierarchical planner-controller framework that connects task-level planning with frame-level keyboard-and-mouse control. A vision-language task planner decomposes a high-level goal into an ordered sequence of atomic instructions and is optimized through supervised learning and dependency-aware GRPO. The hidden states of special goal tokens that terminate each atomic instruction provide continuous goal embeddings that are cached and reused across control steps. A causal Transformer controller combines the embedding of the active goal with recent observations to predict discrete keyboard and mouse-button actions and continuous camera motion at every game step. We train the system in three stages: planner training, controller pretraining, and joint alignment. Experiments in Minecraft show that TaskFrame is competitive with general-purpose vision-language models on instruction decomposition, and that in closed-loop evaluation the agent achieves a higher combat success rate than the evaluated baselines.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
StreamDuo: A Live Commentator and a Research Agent for Unseen Games
Shared title terminologycs.CVZixian Gao, Penghao Luo, Xiangcheng Cao et al.
SketchBloom: Training-Free Vector Sketch Outpainting with Stroke-Level Style Control
Shared title terminologycs.CVQuang-Thinh Nguyen, Duy-Khang Do, Tam V. Nguyen et al.
MATS: A Multi-Agent Framework for Controllable and Reflective Tumor Synthesis
Shared title terminologycs.CVZhongnan Shi, Keyang Zhou, Siyi Li et al.
Wizard: Manipulate Any World in Real Time via Agentic Control
Shared title terminologycs.CVYuzhe Wu, Zijun Lin, Cheston Tan et al.
Medical Image Segmentation Is Now Just Another Coding Task
Shared title terminologycs.CVShuheng Cao, Ruiqi Chen, Qizhen Lan et al.
GoldiBench: Right Tools, Wrong Amount -- Benchmarking Agents on Effect Judgement in Professional Editing
Shared title terminologycs.CVWang Yang, Xinpeng Li, Yanyan Zhang et al.