cs.LGNov 19, 2026
SaveNitroGen: Observations on the Action Dynamics, Visual Instruction Following, and Spatial Exploration
Organizations: Carnegie Mellon University
Abstract
NitroGen is an open vision-action foundation model for game control. It is trained by behavior cloning on online gameplay videos. In this paper, we study the frozen controller in Hollow Knight and Trackmania as examples along three dimensions: action adaptation, visual instruction following, and spatial exploration. Our results indicate that NitroGen can adapt its actions to local context, but it lacks the planning, recovery, and exploration needed for longer-horizon game control.
Figures & tables
| Attribute | Description |
|---|---|
| Training source | 40,000 hours of gameplay videos |
| Game coverage | 1,000 games |
| Model scale | 500M-parameter DiT |
| Control scope | Pixel observations to gamepad actions; the released 500M model should be treated as a fast-reacting System-1 controller rather than a long-horizon end-to-end player. |
Table 1: NitroGen overview and evaluation-relevant caveat.
| Study | Failure mode | Conclusion |
|---|---|---|
| D1 | Local adaptation | Horizontal control decreases and jumping increases, but the obstacle remains uncleared |
| D2 | Semantic blindness | Limited, modality and environment-dependent prompt effect |
| D3 | Spatial confinement | Concentrated visitation; coverage ordering depends on the setting |
Table 2: Organization of Experimental Results and Evidence Chain.
| Study | Time horizon | Setting | Measured outcome |
|---|---|---|---|
| D1 | Five six-minute Hollow Knight trials; windows at – s, – s, and – s | Corridor followed by a jump puzzle | Horizontal-control activity, jump frequency, direction switching, and sustained direction states |
| D2 | short trials per condition | No prompt, right-arrow prompt, and “Go Right” text prompt | Mean right/left movement and |
| D3 | Fifteen-minute open-space trajectories sampled at 1 FPS | NitroGen, Random, and Human play | Visited clusters, entropy, PCA projection, bootstrap entropy distribution |
Table 3: Experimental scope. The study is diagnostic; all rows use the frozen NitroGen controller without weight updates.
| Metric | High value means | Low value means |
|---|---|---|
| Horizontal activity | More frames contain substantial left/right joystick input | Horizontal control is used less often |
| Jump frequency | Jump is selected more often in the window | Jump is selected less often in the window |
| Direction-switch rate | Direction state changes frequently | Longer sustained direction states |
| Rightward movement dominates more trials | Rightward movement dominates fewer trials | |
| State entropy | Broader or more balanced visual-state coverage | Concentrated visitation in fewer visual clusters |
Table 4: Interpretation of the main diagnostic metrics.
Figure 1: Representative Hollow Knight contexts for D1. The Early window contains corridor navigation; the Late window contains a jump puzzle that requires roughly four coordinated jumps with horizontal control before the agent can enter the next scene.
| Window | Horizontal active | Jump pressed | Direction switches | Longest direction run (s) |
|---|---|---|---|---|
| Immediate ( – s) | ||||
| Early ( – s) | ||||
| Late ( – s) |
Table 5: D1 metrics across five independent Hollow Knight trials. Values are mean standard deviation across trials.
Figure 2: Paired action-distribution changes from the Early corridor to the Late jump-dependent obstacle. Thin lines show individual trials and thick lines show means. Horizontal activity decreases in all five trials, while jump frequency increases in all five trials.
Figure 3: No-guidance condition for visual instruction-following evaluation.
Figure 4: Visual-guidance conditions used in D2: (a) a visible right-arrow overlay and (b) a natural-language instruction embedded in the frame.
| Mean Right | ||
|---|---|---|
| Prompt Type | Hollow Knight | Trackmania |
| No Prompt | 20.55% | 1.54% |
| Arrow | 19.16% | 23.52% |
| “Go Right” Text | 13.62% | 6.88% |
Table 6: Mean rightward movement per condition ( trials).
| Mean Left | ||
|---|---|---|
| Prompt Type | Hollow Knight | Trackmania |
| No Prompt | 21.97% | 7.18% |
| Arrow | 12.73% | 9.62% |
| “Go Right” Text | 9.35% | 8.10% |
Table 7: Mean leftward movement per condition ( trials).
| Prompt Type | Hollow Knight | Trackmania |
|---|---|---|
| No Prompt | 39% | 18% |
| Arrow | 52% | 60% |
| “Go Right” Text | 46% | 34% |
Table 8: Trial-level directional dominance per condition ( trials).
| Agent | Visited Clusters / 50 | Entropy |
|---|---|---|
| NitroGen | 18 | 2.55 |
| Random | 22 | 2.84 |
| Human | 39 | 3.28 |
Table 9: Spatial entropy and state coverage over fifteen-minute open-space trajectories sampled at 1 FPS. NitroGen visits fewer visual states and has lower entropy than both random and human baselines.
Figure 5: State visitation distribution for fifteen-minute open-space trajectories. NitroGen occupies fewer clusters and concentrates more visits in the most frequent clusters.
Figure 6: PCA projection of embedded visual states from fifteen-minute open-space trajectories. NitroGen samples a narrower region than the human baseline.
Figure 7: Bootstrap entropy distribution with resamples from fifteen-minute open-space trajectories. NitroGen remains separated from the random and human baselines.
| Supported by our experiments | Not established by our experiments |
|---|---|
| The tested controller changes its local action distribution with gameplay context but fails to clear the obstacle. | The action shift proves semantic scene understanding or successful planning. |
| Simple visual prompts are not a reliable command channel. | No possible prompt or adapter can steer the model. |
| NitroGen has lower mean entropy than Random in the additional runs. Its entropy ordering relative to Human depends on the cluster count. | State entropy is identical to game progress or task success. |
| Inference-time steering must overcome low-level execution constraints. | High-level reasoning modules are useless in all settings. |
Table 10: Scope of conclusions supported by the current evidence.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Starting region | Trials | First 60 s | Last 60 s |
|---|---|---|---|
| Spawn | 10 | 12.52% | 25.59% |
| Corridor | 4 | 21.90% | 26.82% |
| Jump section | 5 | 25.17% | 20.47% |
Table A.1: Mean jump-button frequency in the 19 locally logged D1 trials. These trials are the same ones used in Figure A.1 .
Figure A.1: D1 actions in the first and last 60 nominal control seconds. Top: mean left, no-horizontal-input, and right proportions. Each trial/window sums to 100%. Bottom: mean jump and attack frequencies. Whiskers show one sample standard deviation across trials, clipped at 0% and 100%. Jump and attack can occur together and during movement. Sample sizes are 10, four, and five for Spawn, Corridor, and the jump section.
Figure A.2: Saved input 771 from D1 jump trial 1, followed by its 18 issued commands. This input occurs at 231.3 nominal control seconds. The blue outline marks the first command. Green cells mark active buttons. Column 15 is SOUTH , the jump button. The joystick display shows the first command. Only the 17 logged button channels are shown. The figure uses the runtime visualization layout and is reconstructed from saved data.
Figure B.1: D2 directional-cue results. Each region has 31 trials per cue. Top: mean left and right action frequencies with 95% whole-trial bootstrap intervals. Bottom: the fraction of trials with more right than left actions, with 95% Wilson intervals. This bottom measure is not cue-following accuracy. Action frequencies are not displacement or task success.
Figure B.2: Results from the separate 200-trial control campaign. Each condition has 14 Spawn trials, 13 Corridor trials, and 13 jump-section trials. Top: left and right action frequencies with 95% whole-trial bootstrap intervals. Bottom: rightward dominance with 95% Wilson intervals. These trials are not contemporaneously paired with Figure B.1 .
| Run | NitroGen seed | Random seed |
|---|---|---|
| 1 | 157876371 | 3739848299 |
| 2 | 1628221928 | 3082041475 |
| 3 | 302451431 | 1420231591 |
| 4 | 3014110286 | 3885075862 |
| 5 | 2157628747 | 2427701693 |
| 6 | 4169213753 | 538775866 |
Table C.1: Recorded seeds for the additional automated D3 trajectories. A dash means that no completed NitroGen run is included at that index.
| Agent | Runs | Visited clusters | Entropy | Top-5 share | |
|---|---|---|---|---|---|
| 50 | NitroGen | 13 | 32.62 | 2.854 | 51.9% |
| 50 | Random | 14 | 27.57 | 2.987 | 41.0% |
| 50 | Human | 4 | 40.50 | 2.829 | 58.8% |
| 100 | NitroGen | 13 | 53.46 | 3.373 | 37.8% |
| 100 | Random | 14 | 46.79 | 3.533 | 28.3% |
| 100 | Human | 4 | 65.25 | 3.514 | 35.3% |
Table C.2: Mean D3 metrics across complete trajectories in the full additional dataset. Human values describe the four recorded participants.
Figure C.1: D3 visual-state visitation at , 100, and 200. Each trajectory is normalized and sorted before averaging within an agent group. All panels use the same vertical scale. Titles give mean per-trajectory entropy and visited-cluster count. State rank does not align cluster identities across agents. Higher divides the same frames into finer categories; it is not a new gameplay experiment.
Figure C.2: Mean visited-cluster count, entropy, and top-five-cluster share in the full D3 dataset. There are 13 NitroGen, 14 Random, and four Human trajectories. Points are means, not confidence intervals. Compare agents within each . Changes across reflect the visual-state definition, not changes in game progress.
Figure C.3: Mean-entropy bootstrap from 20,000 resamples of complete automated trajectories. Dashed lines mark automated-group means. Shaded bands mark their conditional 95% bootstrap intervals. Blue diamonds show the four observed human entropies; the solid blue line marks their mean. Each panel uses its own fixed shared clusters. Reported -values are unadjusted two-sided run-level permutation results.
More in this topic
Game-Playing Agents
Game-playing agents use search, learning, and reasoning to choose actions in games with strategic, uncertain, or changing environments.
See all 234 papersModern video games combine first-person perception, rapid visual changes, persistent world state, and heterogeneous native controls. Existing game agents map visual and task context directly to actions but lack explicit world dynamics modeling, whereas interactive game world models predict visual futures from supplied actions but do not serve as task policies. World-Action Models (WAMs) unify these objectives, but remain largely unexplored under the dynamics and open-ended interaction of video games. We introduce GameWAM, to our knowledge the first WAM for native closed-loop gameplay and GUI control. GameWAM jointly generates future visual observations and executable keyboard-mouse trajectories through parallel visual and action generative processes with block-causal conditioning and flow matching. To support joint world-action learning, we construct synchronized gameplay and GUI trajectories. To handle heterogeneous native control, GameWAM predicts a gameplay/GUI mode per action step and generates actions with mode-specific prediction distributions and continuous-action normalization. For long-horizon interaction, block-cycle control coordinates prediction, execution, and temporal context: it predicts beyond the committed horizon, executes short action blocks, replans from new observations, and hierarchically structures context from fine-grained within-cycle history to persistent cross-cycle history. Experiments demonstrate competitive task success with fewer executed native actions than the compared agents. We further uncover Low-Frequency Action Source Imprinting (LASI), in which low-frequency components of the sampled action source systematically steer coarse generated camera motion under fixed conditioning, revealing a source-sensitivity failure mode in generative control. Project page is available at https://yunncheng.github.io/GameWAM/.
ActionRoPE: Action as Coordinates for Spatially Consistent Control in Planar-Camera Game World Models
Game world models have made rapid progress toward real-time interactive generation. Yet action control is still predominantly implemented as feature conditioning, leaving the model to learn from training data how each action should move the visual world. This formulation is poorly matched to a broad class of planar-camera worlds, such as top-down and isometric games. In these worlds, player motion induces a geometrically well-defined planar camera displacement. We observe that the key to spatially consistent control in such worlds is to represent the effect of each action directly in world coordinates. To this end, we introduce ActionRoPE, a parameter-free action interface that converts action-driven camera displacement into world-coordinate rotary positions. As a result, tokens corresponding to the same world location retain the same positional address across time. These world coordinates further expose a spatial asymmetry in generation: regions covered by the initial observation are geometrically known, while newly revealed regions remain to be synthesized. We therefore propose Coordinate-Conditioned Noise Scheduling (CNS), which assigns token-wise denoising schedules according to this known-new structure. It allows observed regions to stabilize earlier, while new content is generated with reference to them. Compared with four representative action-conditioning mechanisms, our approach follows the commanded motion more faithfully and reduces the revisit drift by 66% over the strongest baseline. The same interface transfers across video backbones from 1.3B to 33B parameters and to out-of-distribution scenes. Project Page: https://teawhite.cn/ActionRoPE/.
AutoPILOT: A Visual Agent Harness for Real-Time Gameplay
Multimodal foundation models can play video games well when the game waits for them, but often fail when it keeps running. We find that much of this gap lies in the harness, which decides what the model sees, what it remembers, and how its outputs become actions over time. Existing harnesses such as VISTA improve the first two, yet turn each model call into at most one action, so the agent acts only as often as its model thinks. We introduce AutoPILOT, which changes the third: in each model call, the model can send a primitive action, start an open-loop macro, or write a closed-loop controller that keeps playing from the screen without further model calls until it hands control back. To evaluate agents in real-time games, we build AFK-Bench, 120 diverse browser games grouped by how they respond to inaction and playable in real time or with the clock paused. With GPT-6.1 Sol under the same budgets, AutoPILOT reaches 68.6% real-time success against 38.3% for VISTA, and on GameWorld it keeps 80.0% in real time while VISTA drops from 84.1% to 42.9%. Its gains hold across closed and open-source models, and it reaches VISTA's final success rate at a fifth of its API cost. Our results suggest that how a harness turns model outputs into actions over time is a central yet underexplored part of agent design, and we hope AutoPILOT and AFK-Bench will serve as a foundation for agents in a world that does not wait.