Papers
Topics
Authors
Recent
Search
2000 character limit reached

Gamer: A Generalist Vision-Language-Action Foundation Model for Long-Horizon Real-Time Game Agent

Published 13 Nov 2026 in cs.CL, cs.AI, and cs.CV | (2611.18397v1)

Abstract: We introduce Gamer, a generalist agent framework built for long-horizon tasks in complex interactive environments. Its end-to-end architecture combines perception, memory management, and multi-step reasoning. A shared training and deployment pipeline supports interaction with both conventional 2D graphical interfaces and complex 3D simulated worlds. We first continue pre-training on a dataset constructed from tens of thousands of hours of device-level keyboard and mouse interaction. These trajectories span simulated games and embodied environments, allowing the model to learn environmental dynamics across both physical and virtual domains. Sparse-thinking instruction tuning then substantially reduces redundant computation while preserving the reasoning needed for complex decisions. We train the policy for long-horizon interaction with a stable multi-turn reinforcement learning method that addresses finite context windows, accumulated rollout errors, and sparse rewards. For real-time interaction, a cloud-edge inference engine serves numerous simulated game environments concurrently, supports unbounded-context execution, and keeps online inference latency low. Across multiple challenging 3D open-world games, Gamer demonstrates solid generalization and operational efficiency comparable to skilled players. It also achieves competitive results on a range of conventional 2D game benchmarks. These results suggest that even repetitive keyboard and mouse trajectories can support substantial gains from scaling data and learning algorithms. Training on these trajectories helps Gamer learn complex skills more steadily in environments with both physical and digital properties. This approach offers a path toward generalist agents that can interact across digital and physical worlds.

Authors (27)

Summary

  • The paper presents 'Gamer', using a single vision-language-action (VLA) policy to operate across diverse games and interface via native keyboard/mouse in real-time.
  • Staged training includes continued pre-training and supervised fine-tuning with Temporal-Aware Group Relative Policy Optimization (TA-GRPO) to enhance task-conditioned long-horizon interactions.
  • Real-time execution relies on Streamling-vLLM, achieving ultra-low latencies, and demonstrating that latency is a critical component of policy competence.

Problem setting and central thesis

Modern game agents are often optimized for a single environment, rely on privileged state or game-specific APIs, and are evaluated under paused interaction. “Gamer: A Generalist Vision-Language-Action Foundation Model for Long-Horizon Real-Time Game Agent” (2611.18397) addresses a more demanding setting: a single VLA policy must operate across visually and mechanically heterogeneous games, receive only rendered screen observations, and control the environment through native keyboard and mouse events while the game continues to evolve during inference.

The paper’s central claim is that generalist game control can be constructed through a shared device-level interface and a staged training procedure. Gamer combines continued pre-training (CPT) on heterogeneous gameplay trajectories, supervised fine-tuning (SFT) on task-conditioned reasoning and memory annotations, and Temporal-Aware Group Relative Policy Optimization (TA-GRPO) using online, environment-verifiable feedback. The same autoregressive model emits optional reasoning or memory summaries followed by executable keyboard–mouse actions. A complementary serving system, Streaming-vLLM, maintains stateful context and reduces inference latency sufficiently to support real-time evaluation and online rollout collection.

The paper therefore treats generalist gameplay as a coupled modeling and systems problem. Cross-game transfer depends on the representation and composition of behavioral data; long-horizon execution depends on task conditioning and memory; and reinforcement learning depends on whether the policy can act quickly enough for its trajectories to remain temporally aligned with the environment.

Unified visual-control representation

Gamer uses raw screen images, task context, recent interaction history, long-term memory, and a game-specific control specification as inputs. The policy does not receive game state, object coordinates, or a dedicated action API. Instead, physical inputs are mapped to logical functions through a control specification supplied in context, allowing the same output vocabulary to represent different bindings across games.

The observation rate is 5 Hz. Each 200 ms interval is represented by accumulated mouse displacement and six sequential keyboard–mouse action blocks, each lasting approximately 33 ms. This produces an effective 30 Hz low-level control stream while avoiding the computational cost of processing a new visual observation at every control block. The serialization supports held keys, short presses, simultaneous inputs, dragging, and mouse movement without requiring an additional action head.

Two CPT interventions target biases in gameplay data. First, random key remapping applies a trajectory-consistent permutation to rebindable keys and to the corresponding control specification. This discourages the model from associating a fixed key identity with a semantic operation such as “move left.” Second, repeat-aware loss decay down-weights consecutive repetitions of the same action, using a decay factor of 0.9. This is motivated by the observation that more than 85% of action steps repeat the preceding action. The procedure preserves action duration while emphasizing transitions such as stopping, turning, or initiating an interaction.

These choices embody a strong and testable claim: the keyboard–mouse interface itself provides enough shared structure for substantial cross-game behavioral transfer, even though visual appearance, game mechanics, and task objectives vary considerably. The claim is not that interface pre-training solves generalization. The paper’s scaling experiments explicitly show that additional data eventually ceases to help distant unseen games unless the training distribution contains relevant behavioral coverage.

Continued pre-training and composition-dependent scaling

The CPT stage is trained on thousands of hours of gameplay and general multimodal data. The controlled GameScaling study varies four model sizes—0.8B, 2B, 9B, and 27B—six gameplay budgets from 50 to 1,600 hours, and five mixtures with different proportions of Minecraft and other games, yielding 120 configurations. Gameplay accounts for 85% of the token mixture and general vision-language data for the remaining 15%.

The results separate three effects that are frequently conflated in scaling analyses: model capacity, total interaction data, and target-relevant data composition. Early CPT produces rapid improvements in keyboard, mouse, action-format, and directional prediction losses, indicating that interface adaptation occurs before extensive game-specific learning. Later gains are distribution-dependent. Minecraft-heavy mixtures continue improving Minecraft validation performance, whereas multi-game mixtures are more effective on the remaining training-game distribution. Training on a single game can improve that game while degrading transfer to others.

The composition-aware scaling relation fits the measured in-corpus regime well. It achieves R2=0.982R^2 = 0.982 and RMSE =0.0020= 0.0020 for Minecraft validation, and R2=0.995R^2 = 0.995 and RMSE =0.0012= 0.0012 for the remaining training-game distribution. Block-wise holdout errors remain small for model-size and data-budget extrapolation within the tested range. However, the paper is appropriately restrictive about interpretation: for distant unseen games, the within-mixture explanatory power is only R2=0.079R^2 = 0.079, and the fitted data exponent is close to zero. Thus, the scaling relation is not a universal law of gameplay transfer. It describes the observed regime for distributions related to the training data.

This limitation has a direct implication for dataset construction. Scaling gameplay hours without scaling behavioral diversity is insufficient for distant transfer. The relevant quantity is not merely the number of trajectories but their coverage of control dynamics, visual layouts, interaction patterns, and task structures. This conclusion is consistent with the broader scaling analysis in “Scaling in games: Continued pre-training for embodied agents in diverse virtual worlds” (Zhang et al., 20 Oct 2026), which the paper uses as the basis for its CPT study.

On four public benchmarks, the final CPT policies demonstrate substantial real-time control. Gamer-8B-CPT reaches an average score of 29.5, while Gamer-35B-A3B-CPT reaches 31.5. The corresponding scores on MCU are 47.7 and 65.3, substantially above the listed general-purpose multimodal baselines. The dense 8B model performs particularly well on OmniGameArena and GameWorld relative to the MoE model, whereas the MoE model is stronger on MCU. This complementarity suggests that backbone capacity alone does not determine cross-game behavior; training distribution and architectural characteristics interact with benchmark distance.

The real-time versus time-paused comparison is especially important. Most general multimodal baselines degrade substantially when the environment continues during inference. Gamer-8B-CPT loses only modestly on average, while Gamer-35B-A3B-CPT obtains a positive average RT–TP difference of +3.4 points. The positive difference is attributed to faster execution rather than to a general advantage of real-time evaluation. It shows that latency can be part of policy competence: a policy that acts before the observed state becomes stale may outperform the same policy under a slower or less responsive execution path.

Sparse reasoning and persistent memory

CPT establishes executable control but does not, by itself, specify what the agent should accomplish. SFT introduces three levels of task conditioning: local operations, intermediate subgoals, and complete task stages. All levels retain the same action representation and supervise the same policy, but differ in temporal scope.

The output sequence can contain no explicit reasoning, current-decision reasoning, or a memory summary. Routine movement and repeated actions are trained to proceed directly to execution. Reasoning is reserved for decisions such as route changes, target selection, objective transitions, and recovery from failed attempts. Memory summaries encode task progress, locations, resource states, failed attempts, and remaining plans. They are generated before relevant history is removed from the active context and are then concatenated to the persistent memory state.

The sparse-reasoning design makes an important architectural commitment. There is no separate reasoning router or memory model; the policy learns when to emit reasoning or memory updates within the same autoregressive process that generates actions. This reduces system modularity but preserves a single interface for supervision, online optimization, and deployment. The paper also distinguishes explicit supervised reasoning from latent computation: the absence of a Think sequence does not imply the absence of internal computation.

The annotation pipeline begins with tens of thousands of hours of raw gameplay and produces approximately 1,000 hours of curated SFT trajectories. The HSR track alone contains approximately 68,000 sessions and 11,000 hours of video before filtering, while the curated SFT source consists of approximately 3,200 sessions and 1,000 hours. LLM-assisted annotation produces approximately 1.2 million decision-focused Think annotations, 63,000 task segments, and 223,000 memory annotations. The resulting SFT corpus contains approximately 261,000 operation-level, 211,000 subgoal-level, and 234,000 task-level samples.

The data pipeline is a substantive contribution because it preserves the original observation–action sequence while adding temporal hierarchy and task state. However, the reasoning and memory labels are generated by another LLM, GPT-5.6-Luna, rather than directly recovered from the demonstrator’s internal decision process. Consequently, they should be interpreted as structured behavioral explanations and state summaries, not necessarily faithful accounts of the original player’s cognition.

Temporal-Aware GRPO for long-horizon optimization

Standard online RL is difficult in the target setting for two independent reasons. Long trajectories exceed the context window, and delayed actions alter the game state before the policy responds. Gamer addresses the context problem with memory-linked rollouts and the temporal problem with real-time serving.

TA-GRPO partitions a long rollout into finite segments linked by generated memory summaries. Multiple rollouts from the same task are grouped by task condition and compaction stage. Their segment outcomes are compared using group-relative advantages, without requiring restoration of identical intermediate game states. This avoids expensive branching from a common state, although the segments in a comparison group may differ in difficulty and state distribution.

Rewards are supplied by environment-side verifiers. These verifiers can identify milestone completion, navigation success, puzzle completion, or other task-specific outcomes. No learned process reward model or value critic is used. A segment-level advantage is distributed across the segment using normalized exponentially decaying temporal weights with β=0.9\beta = 0.9, assigning greater weight to actions closer to the verified outcome. The paper explicitly notes that this is a temporal prior, not evidence that later actions causally contribute more to success.

The method updates the complete reasoning–memory–action sequence with token-level clipped GRPO ratios. Thus, the same policy gradient can modify explicit reasoning, memory summaries, and executable actions. This is operationally coherent but introduces an attribution limitation: a single segment-level reward does not identify which reasoning token, memory update, or action caused success. TA-GRPO addresses temporal proximity but not causal credit assignment.

Data construction and automated environments

The paper’s HSR environment is not a lightweight simulator. It uses a full commercial game client with GPU rendering, online dependencies, and complex state transitions. To make this environment suitable for RL and evaluation, the authors instrument the game engine with task initialization, completion checks, termination rules, and game-master commands. These privileged mechanisms remain entirely inside the environment backend; the policy still sees only screen observations and task context and acts through keyboard–mouse events.

This separation is methodologically important. It permits reproducible initialization and objective verification without granting the policy privileged state. At the same time, it means that the benchmark depends on infrastructure unavailable in ordinary deployment. The policy is non-invasive at inference, but the training and evaluation pipeline is not environment-agnostic: online RL requires access to game-native verifiers and reproducible reset mechanisms.

The evaluation tasks are held out at the task level within a familiar game. They therefore measure generalization to new objectives and instances in HSR, not zero-shot transfer to an unseen game. The paper’s claims about generalist behavior should be read accordingly.

Long-horizon quest and minigame results

The ablation across training stages demonstrates a clear progression.

Model Opportunity Makes the Thief Bestial Ferocity Minigame macro-average
Qwen3-VL-8B base 0.0% 13.9% 3.2%
Gamer-CPT 34.4% 47.9% 15.0%
Gamer-SFT 72.2% 69.1% 39.2%
Gamer-RL 80.0% 83.6% 49.7%

The first side quest contains 30 milestones, while the second contains 55 milestones and includes navigation, dialogue, combat, UI interaction, and three repair puzzles. Relative to HSR-augmented CPT, SFT adds 37.8 percentage points on Opportunity Makes the Thief and 21.2 points on Bestial Ferocity. This is strong evidence that task-conditioned supervision and memory are not merely auxiliary language capabilities: they improve verified progress through multi-stage visual-control tasks.

TA-GRPO adds a further 7.8 points on the first quest and 14.5 points on the second. Navigation improves from 47.6% to 69.1% on the first quest and from 55.2% to 80.2% on the second. Dialogue reaches 100% on Bestial Ferocity after RL. The larger improvement on the more complex quest is consistent with the intended role of online feedback in correcting accumulated execution errors, although the evaluation does not isolate whether the gains arise primarily from memory maintenance, navigation policy refinement, or better interaction timing.

The minigame suite contains 40 instances across seven types and reports an unweighted macro-average, preventing types with more tasks from dominating the metric. SFT increases the macro-average from 15.0% to 39.2%, with nonzero performance in all seven types. TA-GRPO raises it to 49.7%, including a particularly large improvement on Navigation Compass from 50.0% to 95.8%. The improvement is broad but uneven: Gamer-RL reaches only 22.2% on Abacus Circuitry and 23.8% on Janus’s Maze. The model therefore demonstrates increased breadth without achieving uniform competence across mechanics.

The appendix additionally reports approximately 50 hours of main-story evaluation across five story arcs and 160 mission entries, with autonomous operation for more than 95% of evaluation time. This result indicates sustained operation, but it is not directly comparable to the milestone accuracy metrics: autonomy time does not establish successful completion of every mission or uninterrupted autonomous progress. The paper’s more tightly specified side-quest and minigame metrics provide stronger evidence for task success.

Real-time inference as part of learning

Streaming-vLLM is designed specifically for persistent, concurrent interaction. It retains KV states across turns, supports memory compaction, updates retained RoPE phases after context shortening, uses architecture-specific execution paths for dense and MoE models, and applies FSM-guided speculative decoding with BF16 verification. Action blocks can be dispatched before the full action packet has finished decoding.

On the measured Qwen3.5-35B-A3B MoE configuration on an NVIDIA H200, cumulative optimizations reduce end-to-end latency from approximately 1.31 seconds to 65 ms, a 20.1-fold reduction. The reported step rate increases from 0.77 Hz to 15.36 Hz, and the theoretical six-block control rate rises to 92.16 Hz. The latter is explicitly a throughput-derived capacity, not a direct measurement of the game client’s realized frame rate; the client still executes the nominal 30 Hz block schedule when actions arrive in time.

On streaming visual-understanding benchmarks, Streaming-vLLM reaches 83.29 on StreamingBench and 62.3 on OVO-Bench with Qwen3-VL-8B, reducing matched-backbone latency from 0.53 seconds with DSCache to 0.08 seconds. With Qwen3.5-9B, latency falls from 1.56 seconds to 0.16 seconds while accuracy remains comparable or improves.

The closed-loop RL comparison is more consequential than the standalone serving benchmarks. Across eight navigation tasks, real-time Streaming-vLLM produces earlier and higher rewards than a low-FPS baseline operating at approximately 0.6 FPS. Several low-FPS runs undergo later reward collapse, whereas the real-time setting remains more stable. The result supports the paper’s claim that inference latency is part of the learning environment: delayed actions generate stale-state trajectories, reduce the informativeness of feedback, and can bias subsequent policy updates.

Limitations and open questions

The empirical scope is narrower than the generalist terminology might suggest. The most detailed long-horizon evaluation is conducted within HSR, and the public cross-game benchmarks primarily assess control rather than extended task completion. HSR task generalization is held out at the task level but remains within a game represented during training. The paper does not establish comparable long-horizon performance in completely unseen commercial games.

The composition-aware scaling law is also explicitly limited. Its strong fit applies to the measured in-corpus distributions and nearby configurations. For distant unseen games, additional CPT data does not produce sustained gains. This contradicts a naive interpretation of gameplay scaling as universally beneficial and leaves open how to select trajectories for transfer to environments with substantially different mechanics.

The evaluation uses game-native verifiers and privileged engine access during training and testing. This is appropriate for objective measurement, but it introduces infrastructure assumptions that are absent from deployment. The results do not show whether comparable RL improvements can be obtained when only screen-based success detection is available.

TA-GRPO uses segment-level verified rewards and a hand-designed temporal prior. The method does not provide fine-grained causal attribution, and comparison segments need not begin from identical states. Consequently, the measured gains may reflect a combination of policy improvement, task distribution effects, and verifier structure. More controlled ablations of memory compaction, temporal weighting, reward density, and group construction are needed to identify the source of each improvement.

Finally, the system’s real-time results depend on high-end hardware: the principal rollout infrastructure uses 64 NVIDIA H200 GPUs and 32 parallel Windows environments. The paper acknowledges that cost reduction and deeper deliberation remain unresolved. Sparse reasoning reduces redundant generation, but it does not establish reliable strategic planning in tasks requiring extended deliberation. A specific open question is whether a hierarchical architecture can combine a slow deliberative policy with a low-latency reactive controller without introducing inconsistencies between planning, memory, and action execution.

Conclusion

Gamer presents a unified VLA framework for real-time, long-horizon game interaction through raw visual observations and native keyboard–mouse control. Its principal technical contributions are the cross-game CPT representation, multi-level SFT with sparse reasoning and persistent summaries, memory-linked TA-GRPO, and Streaming-vLLM for low-latency concurrent execution.

The experimental results support a staged interpretation. CPT establishes transferable device-level control; SFT produces the largest gains in task-conditioned long-horizon execution; and online RL further improves verified quest and minigame performance. The strongest numerical results are the increase to 80.0% and 83.6% on the two held-out side quests, the rise to 49.7% on the seven-type minigame macro-average, and the reduction of measured inference latency to 65 ms. At the same time, the paper shows that gameplay scaling is composition-dependent, distant transfer remains limited, and online optimization depends materially on real-time serving. Gamer’s contribution is therefore not a claim that a single policy has solved general game intelligence, but a concrete integration of data scaling, task supervision, memory, reinforcement learning, and systems support for a demanding class of interactive environments.

Whiteboard

Explain it Like I'm 14

1. What is this paper about?

This paper introduces Gamer, an artificial intelligence system designed to play many different kinds of video games.

Unlike a program made for only one game, Gamer is meant to work across many games, including:

  • 2D games with simple screens
  • Complex 3D open-world games
  • Games involving exploration, fighting, driving, building, and strategy

Gamer plays in a way similar to a human. It looks at the game screen and uses ordinary keyboard and mouse controls. It does not need special access to the game’s hidden code or internal information.

The researchers hope that systems like Gamer could eventually help create general-purpose robots and computer agents that can operate in many different digital and physical environments.

2. What questions are the researchers trying to answer?

The paper focuses on several main questions:

  1. Can one AI learn to play many different games? The researchers want to know whether knowledge learned in one game can help the AI in another game.
  2. Can the AI complete tasks that take a long time? Some game missions may last minutes or hours. The AI must remember what it has already done and what it still needs to do.
  3. Can the AI make decisions from only what appears on the screen? A human player usually sees the screen and controls the game. Gamer must do the same instead of receiving secret information from the game.
  4. Can the AI react quickly enough for real-time play? If the AI thinks too slowly, the game may change before its action happens. This can cause mistakes.
  5. Can the AI learn from ordinary gameplay recordings? The researchers investigate whether large amounts of keyboard-and-mouse gameplay can teach the AI useful skills.

3. How did the researchers build and train Gamer?

Gamer is a vision-language-action model, or VLA model. This means it combines three abilities:

  • Vision: understanding what is shown on the screen
  • Language: understanding instructions and describing plans
  • Action: pressing keys and moving the mouse

A simple way to imagine Gamer is as a player following this repeating loop:

  1. Look at the screen.
  2. Remember recent events and important past information.
  3. Decide what to do next.
  4. Press keys or move the mouse.
  5. Look at the new screen and repeat.

Learning from gameplay examples

The researchers collected tens of thousands of hours of gameplay from many games. These recordings included the screen, keyboard presses, mouse movements, and timing.

First, Gamer learned by copying these examples. This is similar to learning basketball by watching many skilled players and practicing their movements. This stage is called continued pre-training.

The researchers changed the names of some keyboard keys during training. For example, the key used for “move left” might sometimes be changed from A to another key. This encouraged Gamer to understand the meaning of an action rather than simply memorizing that one particular letter always means “left.”

They also reduced the importance of repeated actions. If a player holds a key for a long time, the same action may appear many times in the recording. Gamer still learns that the key is being held, but it pays more attention to important changes, such as stopping, turning, or interacting with an object.

Adding instructions and explanations

Raw gameplay recordings usually do not explain the player’s goal. To solve this problem, the researchers used LLMs to add information such as:

  • The overall task, such as “complete this mission”
  • Smaller goals, such as “find the character” or “collect an item”
  • Short explanations of important decisions
  • Summaries of what has happened so far

Gamer was trained to think only when thinking is useful. During routine movement, it can act directly. When something important happens, it may create a short plan or update its memory.

This is called sparse reasoning. It is similar to a student who does not stop to write down every tiny step, but makes a plan before a difficult problem.

Giving Gamer a long-term memory

Long games create a problem: the AI cannot keep every past screen and action in its working memory forever.

Gamer solves this by creating short summaries. For example, it might remember:

“The player found the key, failed to open the first door, and still needs to reach the castle.”

Older detailed events can then be removed while the important information is saved. This works somewhat like a person keeping notes about a long project.

Learning through trial and error

The researchers also used reinforcement learning, in which the AI receives feedback from the game.

For example:

  • Completing a small objective gives a positive reward.
  • Failing a mission gives a poor result.
  • Reaching an important milestone gives useful feedback.

The researchers created a method called Temporal-Aware Group Relative Policy Optimization, or TA-GRPO. In simple terms, Gamer tries several attempts at the same task, compares their results, and learns which choices led to better outcomes.

Because some tasks are very long, the researchers split them into sections connected by memory summaries. This allows the AI to learn from long missions without needing to remember the entire mission at once.

Making Gamer fast enough

A major technical challenge is speed. A slow AI may decide to move left, but by the time the action happens, the game character may already be somewhere else.

To reduce delays, the researchers built a system called Streaming-vLLM. It helps Gamer by:

  • Reusing information it has already processed
  • Sending keyboard and mouse actions as soon as parts of them are ready
  • Running many game environments at the same time
  • Organizing the AI’s memory efficiently

This is like a restaurant preparing several parts of a meal at once instead of waiting for every part to be completely finished before serving anything.

4. What did the researchers find?

The paper reports several important results.

Gamer worked across many different games

Gamer was tested on challenging 3D games and traditional 2D game benchmarks. It was able to perform tasks in several different environments using only:

  • Screen images
  • Task instructions
  • Recent history
  • Keyboard and mouse controls

This suggests that one model can learn useful skills that transfer between games.

Gamer handled longer tasks

The memory system helped Gamer continue working on tasks after earlier details were no longer directly visible to the model.

It could remember information such as:

  • Which objectives had been completed
  • Where important places were located
  • Which strategies had failed
  • What it planned to do next

This is important because many real-world activities also require remembering earlier steps.

Gamer’s performance was close to skilled human players in some tasks

The researchers state that Gamer achieved performance and efficiency comparable to skilled human players on several difficult 3D game tasks. It also performed competitively on several 2D games.

This does not mean Gamer is better than humans at every game. Instead, it shows that the general approach can work across a wide range of game types.

More gameplay data helped, but not always

The researchers found that adding more training data usually improved performance, especially when the new data came from games similar to the target game.

However, simply adding more data from very different games did not always help with completely unfamiliar environments. This means that the quality and variety of the training data matter, not just the total number of hours.

Fast response was very important

The experiments showed that Gamer’s performance could drop sharply when the game continued changing while the AI was still thinking.

This finding is important because real-time interaction is different from a test where the game pauses after every action. An AI must not only make good decisions; it must make them quickly enough to matter.

5. Why is this research important?

Gamer shows a possible way to build AI systems that can operate in many different environments without needing a special program for each one.

The key idea is to use the same general interface that people use:

  • See the world through images
  • Understand instructions
  • Use ordinary controls
  • Remember important information
  • Learn from experience

This could eventually be useful beyond video games. Similar abilities might help AI systems:

  • Use computer programs
  • Control robots
  • Navigate virtual worlds
  • Operate machines
  • Complete long, complicated tasks

Games are useful for this research because they provide safe and repeatable environments. Researchers can test an AI many times without risking damage to people or expensive equipment.

However, there are still limitations. A game is not the same as the real world. Real environments are less predictable, and mistakes can be much more serious. Gamer also depends on large amounts of data, powerful computers, and systems that make decisions very quickly.

Conclusion

The paper presents Gamer as a general-purpose game-playing AI that learns from screens, instructions, memories, and keyboard-and-mouse actions. It combines visual understanding, planning, memory, learning from examples, and real-time control.

The results suggest that AI can learn skills that transfer across many different games, especially when trained on large and varied collections of gameplay. The research may be an important step toward AI agents that can complete long tasks in both digital worlds and, eventually, physical environments.

Practical Applications

Immediate Applications

  • Game-playing automation and accessibility tools — entertainment/software
    • Deploy a screen-to-keyboard/mouse agent for repetitive or long-running tasks such as navigation, resource collection, inventory management, quest progression, tutorial completion, and routine combat.
    • Potential products include an accessibility assistant for players with motor impairments, an automated testing bot for game studios, and an intelligent game companion that executes user-approved subtasks.
    • Basis: Gamer operates from raw screen pixels and standard input events rather than privileged game APIs, and combines persistent memory with sparse reasoning for multi-stage objectives.
    • Dependencies and assumptions: The target game must expose controllable keyboard/mouse interactions; screen layouts and control rules must be sufficiently stable; deployment must comply with game terms of service and anti-cheat policies. Human approval and rate limits may be necessary in multiplayer environments.
  • Automated quality assurance for games and graphical interfaces — software/industry
    • Use Gamer-like agents to execute regression tests across menus, quests, tutorials, combat systems, and edge-case sequences that are difficult to cover with scripted tests.
    • A testing workflow could provide a task instruction, launch multiple game instances, collect screenshots and action traces, and flag failures such as inaccessible objectives, broken UI transitions, soft locks, or unexpected state changes.
    • Basis: The framework supports concurrent environments, verifiable task outcomes, failure-trajectory collection, and real-time interaction through the same interface used by human players.
    • Dependencies and assumptions: Reliable success and milestone verifiers are required for automated pass/fail judgments. Agents may still miss rare bugs or produce false positives, so human or deterministic validation remains important.
  • Interactive-agent benchmarking and evaluation — academia
    • Use diverse commercial-style games as controlled benchmarks for visual grounding, planning, memory, low-level control, sparse-reward learning, and real-time inference.
    • Researchers can compare agents using task completion, recovery from errors, latency, action efficiency, memory retention, and performance under altered key mappings or unseen game mechanics.
    • Basis: Gamer provides a unified observation-action protocol, multi-level tasks, memory compaction, and a real-time serving pipeline that can support reproducible rollouts.
    • Dependencies and assumptions: Benchmark environments must be legally distributable or reproducible, and evaluation must control for model access, hardware, latency, game version, and use of privileged state.
  • Training-data and imitation-learning pipelines — AI research/industry
    • Adapt the paper’s annotation workflow to convert raw gameplay recordings into training examples containing task descriptions, subgoals, sparse reasoning, and memory summaries.
    • The same workflow could be applied to GUI demonstrations, customer-support sessions, simulation traces, or robotics teleoperation data to create multimodal instruction datasets.
    • Basis: Gamer uses LLM-assisted segmentation and annotation across local operations, intermediate goals, and complete tasks, while preserving observation-action sequences.
    • Dependencies and assumptions: Annotation models must produce accurate descriptions and not invent unavailable state. Data licensing, privacy, quality control, and alignment between timestamps, observations, and actions are essential.
  • Low-latency multimodal inference serving — software/infrastructure
    • Use the Streaming-vLLM design principles in interactive applications such as game assistants, GUI automation, visual copilots, and real-time simulation control.
    • Potential tools include stateful KV-cache reuse, paged per-session context, memory-aware context compaction, architecture-specific kernels, speculative decoding for predictable output structures, and streaming of executable action prefixes.
    • Basis: The system is explicitly designed to reduce action latency, preserve state across turns, and serve many concurrent environments.
    • Dependencies and assumptions: Benefits depend on suitable GPU infrastructure, efficient client-server communication, stable structured output formats, and careful scheduling so that queueing delays do not make actions stale. Early dispatch must include safety validation before execution.
  • GUI automation and digital workflow assistance — enterprise software
    • Apply the screen-to-action interface to repetitive workflows in desktop software, browser applications, virtual desktops, and internal tools—for example, data entry, report generation, application navigation, and routine configuration.
    • A practical workflow would combine a natural-language task, a restricted application sandbox, visual observations, action logging, and human confirmation before irreversible operations.
    • Basis: The model does not require application-specific APIs and can act through ordinary mouse and keyboard events.
    • Dependencies and assumptions: GUI layouts must remain sufficiently stable, and robust safeguards are required for authentication, financial transactions, deletion, external communication, and sensitive data. Performance may degrade substantially on interfaces unlike the training distribution.
  • Player and developer analytics — games/marketing
    • Analyze long interaction trajectories to identify where players abandon quests, repeatedly fail, waste resources, or encounter confusing interfaces.
    • Gamer-style memory summaries and milestone verification can support automated reports on progression bottlenecks and difficulty balance.
    • Basis: The framework represents task stages, failures, resource states, and remaining plans explicitly enough to support trajectory-level analysis.
    • Dependencies and assumptions: Player consent and privacy protections are required. Agent-generated explanations should be treated as hypotheses unless corroborated by event logs or human analysis.
  • Training for human operators and interface design — education/UX
    • Use the agent as a simulator for teaching interface operation, planning under partial observability, or recovery from failures. Designers can also test whether a new interface exposes enough visual cues for an autonomous user.
    • Basis: The model’s evaluation loop naturally records observations, decisions, actions, latency, and task outcomes.
    • Dependencies and assumptions: Game-like success metrics may not capture usability, learning outcomes, or human preferences. Educational deployment requires curriculum design and instructor oversight.

Long-Term Applications

  • General-purpose embodied control — robotics
    • Transfer the shared screen-to-action, memory, and long-horizon reasoning framework to robots operating through camera observations and discrete or continuous control interfaces.
    • Potential applications include household robots, warehouse navigation, inspection, manipulation, and multi-step service tasks in partially observed environments.
    • Basis: The paper argues that gameplay trajectories can expose agents to environments with both physical and digital properties, and its architecture separates visual decision-making from low-level action execution.
    • Dependencies and assumptions: Game controls are substantially safer and more predictable than physical actuation. Real-world deployment requires grounding in 3D geometry, force and contact dynamics, uncertainty estimation, safety-certified controllers, recovery behaviors, and extensive physical testing. Performance in games does not establish reliable physical-world competence.
  • Industrial digital-twin and simulation control — manufacturing/energy/logistics
    • Deploy Gamer-like agents in high-fidelity simulators to manage multi-stage procedures such as factory configuration, warehouse routing, equipment inspection, grid balancing, or plant operations before limited real-world deployment.
    • The agent could receive visual observations and operational goals, maintain state summaries, and optimize milestone completion under delayed rewards.
    • Basis: TA-GRPO supports long-horizon rollouts, sparse rewards, segment-level verification, and training without restoring every intermediate state.
    • Dependencies and assumptions: Simulators must accurately model failures, costs, and safety constraints. Domain randomization, calibrated digital twins, human approval, and formal constraint handling are needed before any physical actuation.
  • Robust web and enterprise agents — software/knowledge work
    • Build agents that complete extended cross-application workflows, such as collecting information, updating records, preparing documents, and coordinating steps across multiple graphical systems.
    • Persistent summaries could retain task progress, unresolved issues, credentials-independent state, and next actions across long sessions.
    • Basis: Gamer’s memory compaction and unified visual-action protocol address context limits and heterogeneous interfaces.
    • Dependencies and assumptions: Enterprise workflows require stronger identity, authorization, auditability, data governance, and transactional consistency than games. The agent must distinguish observation from authorization and should use approval checkpoints for consequential actions.
  • Assistive technologies for complex digital environments — healthcare/accessibility
    • Develop agents that help users with motor, visual, or cognitive impairments navigate software, games, educational platforms, and virtual environments.
    • Functions could include translating high-level instructions into mouse/keyboard actions, remembering prior navigation, offering recovery from mistakes, and operating at a user-configurable level of autonomy.
    • Basis: Native input control, long-term memory, and adaptive sparse reasoning are well suited to reducing repetitive interaction burdens.
    • Dependencies and assumptions: Accessibility systems must support user override, transparent action previews, personalization, privacy, and predictable failure behavior. Medical or clinical use would require regulatory evaluation and should not rely on unverified autonomous decisions.
  • Autonomous tutoring and interactive learning environments — education
    • Use long-horizon agents in educational simulations, virtual laboratories, strategy environments, and software training to guide learners through multi-step tasks.
    • The agent could track progress, identify failed attempts, adapt the next subgoal, and generate feedback based on observable actions rather than only final answers.
    • Basis: The paper’s multi-level conditioning distinguishes local operations, intermediate subgoals, and complete tasks, while memory summaries preserve progress across lengthy sessions.
    • Dependencies and assumptions: Educational effectiveness must be validated with learning studies. The agent needs pedagogically sound feedback, age-appropriate safeguards, bias evaluation, and mechanisms preventing it from completing assessed work on behalf of students.
  • Autonomous cyber-range and emergency-response simulation — security/public safety
    • Apply the methodology to sandboxed cyber ranges or crisis-management simulators where agents must plan and execute long sequences under incomplete information.
    • Uses may include testing incident-response playbooks, evaluating operator interfaces, and generating difficult scenarios for human training.
    • Basis: Gamer supports concurrent environments, sparse rewards, failure-driven improvement, and verifiable milestones.
    • Dependencies and assumptions: Deployment should remain isolated from production systems. Cyber or emergency actions require explicit authorization, strong containment, scenario validation, and safeguards against transferring unsafe behavior outside the simulation.
  • Financial and operational process automation — finance/business
    • In the longer term, visually grounded agents could execute carefully bounded workflows such as reconciling dashboards, monitoring operational indicators, preparing drafts, or escalating anomalies.
    • Memory-linked task execution may help with recurring processes that span multiple applications and reporting periods.
    • Basis: The framework addresses persistent state, delayed outcomes, and real-time interaction across heterogeneous interfaces.
    • Dependencies and assumptions: Direct autonomous trading, payments, lending, or compliance decisions are not established by the paper and would require far stronger verification. Audit trails, segregation of duties, deterministic controls, human approval, and regulatory compliance are mandatory.
  • Generalist multi-domain foundation models — AI research
    • Extend the unified trajectory-training recipe beyond games by combining digital interfaces, simulated robotics, GUI tasks, and eventually physical demonstrations in a shared vision-language-action model.
    • Research directions include learning when to reason, deciding what to store in memory, adapting to unseen action semantics, and combining environment-verifiable rewards with safety constraints.
    • Basis: Gamer demonstrates a common device-level action representation, cross-domain trajectory scaling, sparse reasoning, persistent memory, and critic-free temporal credit assignment.
    • Dependencies and assumptions: Cross-game transfer does not guarantee transfer to distant domains; the paper itself notes diminishing benefits for unseen environments. Progress depends on diverse and licensed data, better task and reward verifiers, calibrated uncertainty, robust out-of-distribution evaluation, and methods for preventing harmful or irreversible actions.

Glossary

  • Autoregressive policy: A model that generates each output token based on previously generated tokens. “The resulting context is”
  • Behavior cloning (BC): Learning to imitate actions demonstrated in recorded trajectories. “Here, BC, SFT, CPT, and RL denote behavior cloning, supervised fine-tuning, continued pre-training, and reinforcement learning, respectively.”
  • BF16: A 16-bit floating-point numerical format used for efficient deep-learning computation. “Streaming-vLLM combines stateful KV-cache reuse, architecture-aware execution, FSM-guided speculative decoding with BF16 verification, and streaming action dispatch to reduce inference latency.”
  • Closed-loop execution: Acting, observing the resulting environment state, and continually updating subsequent actions. “This environment features nested objectives and long-term progression that challenge an agent’s cross-task generalization, long-term memory, and closed-loop execution.”
  • Continued pre-training (CPT): Further pre-training of an existing model on domain-specific data. “We first conduct continued pre-training (CPT) on thousands of hours of multi-source gameplay trajectories”
  • Context compaction: Compressing or removing older context while preserving important information in summaries. “Context memory compaction preserves task progress across long interactions”
  • Critic-free estimate: A reinforcement-learning advantage estimate that does not use a learned value critic. “This critic-free estimate follows GRPO [39].”
  • CUDA Graph replay: Reusing a captured sequence of GPU operations to reduce execution overhead. “We combine operator fusion, tensor-parallel execution, communication overlap, and CUDA Graph replay to reduce serial overhead.”
  • D-CPT Law: A scaling relation that models how continued-pre-training performance depends on model size, data quantity, and data composition. “a composition-aware scaling relation based on D-CPT Law [35] is adopted.”
  • Decoder launch: The initiation of a computational operation that generates the next sequence of model tokens. “Frequent short requests incur costs beyond prefill, including decoder launches, inter-device communication, and architecture-specific operations.”
  • Embodied artificial general intelligence (AGI): General-purpose intelligence capable of perceiving and acting in physical or simulated environments. “vision-language-action (VLA) models [24, 28, 46, 58] offer a promising path toward embodied artificial general intelligence.”
  • Finite-state machine (FSM): A computational model that transitions among a finite set of states according to defined inputs. “A fast finite-state-machine (FSM) drafter proposes predictable structural tokens in the reasoning–action output.”
  • Finite-state-machine speculation: Predicting structurally predictable output tokens with an FSM before the main model verifies them. “FSM-guided speculative decoding with BF16 verification”
  • GameScaling: An analysis of how model capacity, gameplay data, and game composition affect control learning. “We then summarize findings from GameScaling [58] on how model capacity, gameplay data, and game composition affect control learning and cross-game generalization.”
  • Group Relative Policy Optimization (GRPO): A reinforcement-learning method that estimates advantages by comparing outcomes within groups of sampled trajectories. “This critic-free estimate follows GRPO [39].”
  • Held-out prediction: Evaluation on data or environments excluded from the fitting or training process. “The scaling relation fits the training-game distributions and supports held-out prediction within the measured range.”
  • Inference latency: The time required for a model to produce an output after receiving an input. “Conventional inference engines introduce high inference latency”
  • Instruction tuning: Fine-tuning a model to follow natural-language instructions. “Sparse-thinking instruction tuning then substantially reduces redundant computation”
  • KV cache: Stored key and value representations from attention computation that allow previously processed context to be reused. “Streaming-vLLM instead preserves KV states of retained context and computes new states only for newly appended tokens”
  • Long-horizon task: A task requiring coordinated decisions and actions over an extended sequence or duration. “We introduce Gamer, a generalist agent framework built for long-horizon tasks in complex interactive environments.”
  • Mixture-of-experts (MoE): A neural architecture that selectively activates subsets of specialized model components for each input. “including dense and mixture-of-experts (MoE) backbones.”
  • Multimodal LLM (MLLM): A LLM that processes multiple modalities, such as text and images. “Multimodal LLMs (MLLMs) [2, 6, 7, 13, 25, 45] are rapidly evolving from static input processors into interactive agents”
  • Online reinforcement learning: Reinforcement learning in which a policy learns from interactions it generates while operating in an environment. “This latency penalty also affects online reinforcement learning (RL)”
  • Operator fusion: Combining multiple computational operations into a single optimized operation to reduce execution overhead. “We combine operator fusion, tensor-parallel execution, communication overlap, and CUDA Graph replay to reduce serial overhead.”
  • Policy optimization: Adjusting a policy so that it selects actions with greater expected reward. “Temporal-Aware GRPO for Long-Horizon Policy Optimization”
  • Privileged internal state: Environment information available to an agent during training but normally hidden from an external player. “these methods typically use privileged internal states”
  • Reinforcement learning (RL): Learning a policy through rewards or feedback from interactions with an environment. “Here, BC, SFT, CPT, and RL denote behavior cloning, supervised fine-tuning, continued pre-training, and reinforcement learning, respectively.”
  • RoPE: Rotary positional embedding, a technique that encodes token positions by rotating attention representations. “The model-facing interface is shared across Qwen3-VL [3] and Qwen3.5 [36], including dense and mixture-of-experts (MoE) backbones.”
  • Rollout: A sequence of actions and observations generated by a policy interacting with an environment. “TA-GRPO divides long rollouts into finite segments linked by the same memory compaction mechanism used during SFT.”
  • Sparse rewards: Rewards provided only occasionally, often at milestones or task completion. “address accumulated execution errors and sparse rewards over extended interactions.”
  • Speculative decoding: Accelerating autoregressive generation by proposing tokens with a faster mechanism and verifying them with the main model. “The target model verifies FSM proposals using BF16 computation, and only accepted prefixes are committed.”
  • Supervised fine-tuning (SFT): Training a pretrained model on labeled examples to improve performance on a specific task or behavior. “We extend Verl [40] to support CPT, SFT, and online RL within a shared training framework”
  • TA-GRPO: Temporal-Aware Group Relative Policy Optimization, which distributes group-relative reinforcement-learning advantages across decisions according to their temporal proximity to an outcome. “Finally, we introduce Temporal-Aware Group Relative Policy Optimization (TA-GRPO)”
  • Tensor parallelism: Splitting a model’s tensor computations across multiple devices. “We apply tensor parallelism selectively.”
  • Token-level clipping: Restricting policy-update probability ratios separately for each generated token to stabilize optimization. “Token-level clipping avoids a single sequence-wide probability ratio”
  • Trajectory: A time-ordered sequence of observations, actions, and resulting interactions. “These trajectories span simulated games and embodied environments”
  • Transferable control: The ability to apply learned action-selection behavior across different environments or games. “CPT thus provides transferable control”
  • Vision-language-action (VLA) model: A model that jointly interprets visual and linguistic inputs to generate actions. “vision-language-action (VLA) models [24, 28, 46, 58] offer a promising path toward embodied artificial general intelligence.”
  • Wall-clock collection time: The actual elapsed time required to gather interaction data. “delayed rollouts not only inflate wall-clock collection times”
  • W8A8: An 8-bit weight and 8-bit activation quantization format for neural-network computation. “Optional W8A8 paths are evaluated independently because lower precision does not always improve latency”

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 5 tweets with 1284 likes about this paper.