Driving · 2026-11-30
Apprentice: Teaching Visual Game Agents to Play with Programmatic Experts as Demonstrators and Step-Level Judges
Zhuotong Zhou, Qian Zeng, Zijun Liu, Wentao Liu, Biao Yuan, Siyu Song, Jingying Zhou, Youjia Li, Xiaokun Wang, Min Ji, Ji Wan
AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.
TL;DR
Apprentice trains a unified visual game agent that maps screenshots and device states to native keyboard-and-mouse actions across 45 tasks (9 browser games). It uses lightweight programmatic experts (reading internal game state during training) as offline demonstrators and online step-level judges. Training is three stages: action-focused SFT, then expert-guided on-policy learning with criticality-adaptive imitation and expert-rewarded policy optimization over truncated rollouts.
Why it matters
The authors target long-horizon, decision-dense visual control with sparse terminal rewards and exposure bias. By using programmatic experts that can access internal states during training, they provide dense step-level supervision (demonstrations and step-judges) while counteracting supervision dilution from verbose rationales and many waiting steps. They report improved gameplay over a strong VLM baseline across many tasks and games.
Method
- Programmatic experts per game synthesize verified trajectories at high success rates by reading internal game state via a game API; trajectories are annotated offline with step-level rationales and goals.
- Action-Focused Supervised Fine-Tuning: act-first prediction, intra-step field rebalancing to equalize supervision across action/rationale/goal fields, and temporal step reweighting to reduce dominance of waiting steps.
- Expert-guided on-policy learning over truncated rollouts: expert supervises visited states with criticality-weighted on-policy imitation and expert-rewarded policy optimization using an expert step-criticality measure and dense step-level rewards.
Abstract (from arXiv)
Training visual game agents that map multimodal observations directly to native keyboard-and-mouse actions is challenging: offline imitation suffers from costly data collection, diluted action supervision, and poor generalization to unseen states, whereas online reinforcement learning struggles with sparse terminal rewards over long horizons. We propose Apprentice, a three-stage framework that trains a unified visual game agent across diverse games, leveraging lightweight programmatic experts that read internal game states during training as both offline demonstrators and online step-level judges. First, programmatic experts synthesize verified gameplay trajectories at high success rates, which are annotated offline with step-level rationales and goals. Second, Action-Focused Supervised Fine-Tuning cold-starts the agent while counteracting supervision dilution from verbose rationales and repetitive waiting steps without extra inference latency. Third, Expert-Guided On-Policy Learning updates the agent over truncated rollouts via criticality-adaptive on-policy imitation and expert-rewarded policy optimization, providing dense step-level supervision to generalize to unseen states. Across 45 tasks from nine games, our trained agent outperforms the strongest VLM baseline by 39.7% in success rate, 38.6% in progress rate, and 40.0% in task coverage.
Related papers
- From Game Generation to Game Playing: Fully Automated Ability Training for Vision-Language-Action Models
- Player-1: Learning to Play from Synthetic Experience
- Gamer: A Generalist Vision-Language-Action Foundation Model for Long-Horizon Real-Time Game Agent
- AgentGarten: Code Worlds for Evolving Agents
- AceAction-5M: Hierarchical Goals for Generalist Action Learning Across 3D Game Worlds
Publication record
Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.
First public release: 2026-11-27 · Indexed by Pub-AI: 2026-11-30 UTC
Apprentice: Teaching Visual Game Agents to Play with Programmatic Experts as Demonstrators and Step-Level Judges
Preprint posted: 2026-11-27 · Original record ↗
- arxiv
- 2611.37849
Explicit source versions (1)
- v1 · 2026-11-27
- Preprint available
Source date: 2026-11-27 · First detected: 2026-11-30 UTC · Historical baseline
Source evidence (2)
- Official evidence ↗ · RSS guid=oai:arXiv.org:2611.37849v1; arxiv:announce_type=new; item pubDate (official metadata)
- Official evidence ↗ · atom:published (official metadata)
Abstract · arxiv
Training visual game agents that map multimodal observations directly to native keyboard-and-mouse actions is challenging: offline imitation suffers from costly data collection, diluted action supervision, and poor generalization to unseen states, whereas online reinforcement learning struggles with sparse terminal rewards over long horizons. We propose Apprentice, a three-stage framework that trains a unified visual game agent across diverse games, leveraging lightweight programmatic experts that read internal game states during training as both offline demonstrators and online step-level judges. First, programmatic experts synthesize verified gameplay trajectories at high success rates, which are annotated offline with step-level rationales and goals. Second, Action-Focused Supervised Fine-Tuning cold-starts the agent while counteracting supervision dilution from verbose rationales and repetitive waiting steps without extra inference latency. Third, Expert-Guided On-Policy Learning updates the agent over truncated rollouts via criticality-adaptive on-policy imitation and expert-rewarded policy optimization, providing dense step-level supervision to generalize to unseen states. Across 45 tasks from nine games, our trained agent outperforms the strongest VLM baseline by 39.7% in success rate, 38.6% in progress rate, and 40.0% in task coverage.
