Cultivating Game Sense for Yourself: Making VLMs Gaming Experts

Wenxuan Lu, Jiangyang He, Zhanqiu Zhang, Yiwen Guo, Tianning ZangarXiv 2025 · DOI

Introduction

Vision Language Models (VLMs) have shown immense potential as general-purpose agents, yet their application in real-time gaming has been hindered by a fundamental architectural mismatch. Traditional VLM agents operate on a "pause-and-plan" loop, which is incompatible with the fluid, high-stakes nature of modern action games. GameSense introduces a paradigm shift, moving VLMs from direct controllers to high-level developers that cultivate specialized, real-time "reflexes" for the agent.

The Problem: The Latency Bottleneck

Current VLM-based gaming agents, such as Cradle, typically capture a screenshot, perform several seconds of inference to "think," and then issue a single command. This approach suffers from three critical flaws:

  1. Latency: In fast-paced titles, a three-second inference delay often results in the character's defeat before a dodge command can even be issued.
  2. Incompatibility: Many modern games, particularly online or competitive titles, do not support pausing, rendering traditional agents ineffective.
  3. Lack of "Flow": Human players do not deliberate over every individual keystroke; they rely on "game sense"—a combination of trained reflexes and pattern recognition that existing agents lack.
The latency bottleneck: Direct VLM control often fails in real-time scenarios because the agent is still 'thinking' while the enemy attacks.

Methods: The GameSense Framework

GameSense addresses these issues by bifurcating the agent into two distinct layers: a high-level strategic "Brain" and low-level reactive "Reflexes."

1. The High-Level VLM Agent (The Brain)

Instead of micro-managing inputs, the VLM acts as a strategist and developer. It performs environment analysis, reflects on historical data stored in episodic and procedural memory, and generates high-level task plans (e.g., "Engage the boss" or "Navigate to the exit").

2. Game Sense Modules (GSMs) (The Reflexes)

The VLM develops and optimizes specialized modules to handle real-time interaction:

  • Rule-based GSMs: For tasks with clear logic but high speed requirements (e.g., FPS shooting), the VLM utilizes vision tools like Grounding Dino for target detection and writes the corresponding control logic.
  • RL-based GSMs: For complex, dynamic tasks like boss fights, the VLM designs the Reinforcement Learning (RL) environment—defining state spaces, action spaces, and reward functions—and initiates a training pipeline to teach a smaller, faster neural network how to react.
The GameSense Architecture: A high-level VLM 'Brain' develops and optimizes low-level Game Sense Modules (GSMs) for real-time execution.

The "Train-Analyze-Optimize" Loop: The VLM iteratively refines these modules. By observing performance logs and gameplay footage, it adjusts the code or reward functions to improve the agent's efficiency over multiple cycles.

Experimental Evaluation

The framework was evaluated on three diverse, high-stakes environments without the use of internal game APIs, relying solely on visual input and keyboard/mouse signals:

  • Black Myth: Wukong (ACT): Requires precise timing for dodges and combos.
  • DOOM (FPS): Demands rapid target acquisition and movement.
  • Flappy Bird: A reflex-intensive game where pausing is impossible.

Key Results

GameSense significantly outperformed the state-of-the-art Cradle baseline across all metrics:

  • Combat Success: In Black Myth: Wukong boss battles, GameSense achieved a 60% success rate, while the baseline scored 0%.
  • FPS Reactivity: In DOOM, GameSense reached an 85% success rate on mob shooting, compared to 10% for the baseline.
  • Mastering the Un-pausable: GameSense is the first VLM-based agent to master Flappy Bird, averaging 28.3 pipes, a feat impossible for agents requiring a "pause-to-think" loop.

Conclusion and Future Work

GameSense demonstrates that VLMs are most effective when used as code generators and strategists rather than direct joysticks. By automating reward engineering and iterative optimization, the framework allows agents to develop near-human reflexes. Future work will focus on autonomous module initialization—allowing the VLM to decide when a new module is needed—and reducing the computational overhead of the high-level reflection phase.

Summary updated

BibTeX
@misc{lu2025cultivating,
  author = {Wenxuan Lu and Jiangyang He and Zhanqiu Zhang and Yiwen Guo and Tianning Zang},
  title = {{Cultivating Game Sense for Yourself: Making VLMs Gaming Experts}},
  year = {2025},
  eprint = {2503.21263},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.21263},
}
Figure