Long-horizon narrative reasoning games require agents to integrate clues, retrieve memories, acquire evidence and advance the story through concrete actions. Reasoning and execution are interdependent during interaction, while a shared outcome signal makes it difficult to distinguish errors in intent from failures in execution. To address this problem, we construct Game408, a dataset for game reasoning that provides fine-grained supervision across 54 games, 408 checkpoints, and over 24K human reasoning and action records. Building on Game408, we introduce GameHunter. Supervised fine-tuning establishes reasoning and action generation, followed by stage-wise decoupling through action bootstrapping to focus on execution. Local distillation on autonomous trajectories then jointly trains reasoning and actions for sustained coordination. Experiments show that GameHunter outperforms general-purpose models and existing game agents in both task completion rate and action selection accuracy on long-horizon reasoning games. Ablations validate the effectiveness of stage-wise decoupling and local distillation for autonomous trajectory generation.
Figures & tables
Resource
Language
CoT
Narrative
Games
Atari Grand Challenge [ 32 ]
✘
✘
✘
5
MineRL [ 21 ]
✘
✘
✘
1
VPT dataset [ 9 ]
✘
✘
✘
1
MineDojo [ 20 ]
✓
✘
✘
1
Jericho [ 24 ]
✓
✘
✓
56
TALES [ 17 ]
✓
✘
✓
122
Table 1: Comparison of representative game datasets and environment resources. Language, CoT, and narrative indicate the availability of language annotations, process-level supervision, and narrative gameplay, respectively. Games denotes the number of covered games.
Figure 2: GameHunter training pipeline. (A) SFT uses Game408 annotations. (B) Stage-wise decoupling trains execution with teacher-fixed intent and correctness-constrained GRPO. (C) Trajectory quality triggers local joint OPD on autonomous student trajectories.
Figure 3: Game408-CoT examples from seven games. Each example links the observed scene and interaction target to human reasoning about the current state and the action, covering investigation, dialogue, clue retrieval, exploration, and object interaction.
Figure 4: Sliding Window OPD threshold analysis. (a) Free-exploration steps for six groups of games. (b) Mean exploration steps under five trajectory-quality thresholds. (c) Normalized Score, Action, and Reasoning compare performance across thresholds.
Figure 5: Qualitative comparison across three training stages. On the same investigation, SFT repeats clicks. GRPO improves actions but leaves clues disconnected. OPD links evidence across decisions to infer the missing time and complete the report.
Models
Size
Score
Efficiency
Time(s) ↓
Action Performance (%)
Reasoning Quality (%)
Action Selection
Target Grounding
Logic Valid
Traj. Consist
Clue Use
Mem. Recall
Action Judge
Qwen2.5-VL [ 8 ]
7B
2.49
7.98
7.47
19.82
62.47
6.83
4.67
3.84
5.29
7.16
Qwen3-VL-Instruct [ 7 ]
32B
19.07
16.11
12.11
32.68
79.63
19.42
16.87
15.63
18.74
21.36
Qwen3.5 [ 63 ]
9B
14.62
13.76
14.11
25.68
69.65
9.45
6.49
7.71
13.43
12.62
GPT-4o [ 53 ]
–
31.08
24.27
14.27
62.74
86.16
45.26
25.87
32.46
35.74
27.63
GPT-5.6-Terra [ 54 ]
–
53.48
45.57
14.53
82.13
90.42
59.73
46.82
53.16
57.34
48.67
Table 2: Model comparison on Game408. Score measures task completion. Efficiency is the ratio of effective to total action steps. Time reports average end-to-end action latency. Action performance assesses action selection and target grounding. Reasoning quality assesses logical validity, trajectory consistency, clue use, memory recall, and action assessment. -- denotes unavailable values.
Models
Train
Metrics
SFT
GRPO
OPD
Score
Efficiency
Avg.Time(s) ↓
Action
Reasoning
GameHunter w/o CoT
✓
–
–
16.21
34.76
20.18
49.26
16.36
GameHunter - SFT only
✓
–
–
18.74
38.23
24.46
53.47
27.74
GameHunter w/o Warm-up
✓
–
✓
42.63
54.27
18.53
78.46
42.36
GameHunter w/o Reasoning
✓
✓
✓
54.18
63.42
17.26
82.24
52.72
GameHunter w/o Distill
✓
✓
–
32.01
39.86
12.27
80.26
31.97
Table 3: Training ablations on Game408. Checkmarks indicate enabled training stages. ✓ masks both teacher reasoning and actions. Full Distill. trains after each 16-step rollout. Stepwise Distill. trains after each step. Score and Efficiency follow Tab. 2 . Action is the mean of two action metrics. Reasoning is the mean of five reasoning metrics. Avg.Time reports average end-to-end action latency in seconds.
Teacher model
Scope
Student metrics (9B)
Score
Action
Reasoning
Qwen3.5-4B
All games
16.17
33.47
10.71
Qwen3.5-9B
All games
17.68
36.82
11.83
Qwen3.5-27B
All games
19.23
39.64
13.46
Qwen3.5-4B
Per game
46.63
74.18
32.38
Qwen3.5-9B
Per game
55.24
85.86
47.84
Table 4: Ablation of teacher size and supervision scope. Score measures task completion. Action and Reasoning follow Tab. 3 . Each checkpoint-stage teacher covers 3 checkpoints on average.
Figure 6: Cover art for the 54 entries in the Game408 catalog.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Task type
Required skill
Example games
Interface and document investigation
Locate relevant fields in records, databases, or dialogue transcripts, cross-check what they say about people or events, and submit evidence or act on it.
The Operator , Legal Dungeon
Investigation and case reconstruction
Compare testimony, scene observations, and physical evidence to infer relationships, chronology, and causality.
The Case of the Golden Idol
Character dialogue and choices
Use character relationships, earlier statements, and the current branch to decide when to follow up and which dialogue option can fill an information gap.
A Case of Distrust
Item combination and contextual puzzles
Track where items came from and what they do, check inventory and prerequisites, and choose what to combine, exchange, or hand over.
The Legend of Skye
Scene exploration and mechanisms
Track locations and mechanism states across scenes and apply earlier clues to subsequent operations.
The Abandoned Planet , Boxville 2
Visual clues and sequential interaction
Infer order and correspondences from images or scene states to select the next interaction.
Read Only Memories , CHUCHEL
Appendix
Table B.1 : Six representative task types and the skills they require.
Level
Evidence needed for the action
D0
The current observation suffices for a basic action.
D1
The decision also requires a recent action or a clue from the same scene.
D2
The choice depends on multiple clues, item prerequisites, or earlier records within a local story segment.
D3
The choice draws on evidence, branch states, or long-term goals across scenes or stages.
Appendix
Table C.1 : Reasoning horizons and required evidence.
Group
Criterion
Full-credit condition
Typical deductions
Action
Action Selection
The chosen operation fits the subgoal and known constraints and can advance the task or distinguish hypotheses.
The choice overlooks a prerequisite or repeats a known ineffective attempt.
Action
Target Grounding
The call targets an object or an equivalent control that matches the intent. Check the object for a click, both endpoints for a drag, the input field for typing, and the pane for scrolling.
A wrong critical target scores zero, as when the right key is dragged to the wrong lock. Action selection is scored independently.
Reasoning
Logical Validity
The conclusion follows from known facts and stated assumptions, with evidence for the key causal links.
The reasoning omits a key premise or draws a conclusion that the observations do not support.
Reasoning
Trajectory Consistency
The reasoning reflects the current task state, prior outcomes, and remaining prerequisites.
It uses an outdated state or skips a prerequisite step.
Reasoning
Clue Use
The reasoning shows how clues support the choice or rule out alternatives.
It omits a decisive clue or repeats a clue without applying it to the choice.
Reasoning
Memory Recall
The reasoning accurately recalls an earlier fact that remains relevant and connects it to the decision.
It misremembers an earlier fact or omits a memory needed for the current step.
Appendix
Table D.1 : Scoring criteria for actions and reasoning.
Score
Criterion-level judgment
5
Meets the criterion, with sufficient evidence for the key judgment or operation.
4
A minor error leaves the central judgment or operation intact.
3
The direction is broadly sound, but an important clue or condition is missing.
2
A major gap leaves only part of the judgment or operation supported.
1
Only a small part is correct and the central judgment or operation is wrong.
0
Contradicts explicit evidence or a task constraint, or omits information essential to the step.
Appendix
Table D.2 : Common score levels for the seven criteria.
Figure 0.1 : Pre-action evidence, original annotations, recorded outcomes, and seven criterion scores for two consecutive steps in The Legend of Skye . H, M, C, and A denote earlier records, recalled memories, the current frame, and the tool call, respectively, and the numbers are the original action IDs.
Figure 0.2 : GPT single-step scoring and volunteer review.
Figure F.1 : Orwell: Keeping an Eye On You , original steps 182–187.
Figure F.2 : Orwell: Keeping an Eye On You , original steps 188–193.
Figure F.3 : The Abandoned Planet , original steps 345–350.
Figure F.4 : The Abandoned Planet , original steps 351–356.
Large language model (LLM) agents achieve state-of-the-art performance across domains through chain-of-thought (CoT) reasoning. Despite their ubiquitous use, little is understood about the relationship between the externalized trace and the model's actual computation. We address this by investigating how LLM agents make decisions in iterative games with incomplete information. Using a series of mechanistic interpretability techniques, we find that the model forms and iteratively revises an internal representation of the game throughout the CoT. Once the model prematurely commits to an incorrect belief, it rarely recovers. This failure is manifested in both the literal trace and the layer activations. Ultimately, as multi-agent systems are more prevalent, our work opens the door to a more focused diagnosis of their strategic reasoning errors. For illustrative purposes, we offer an interactive visualizer of our methodology on selected sample traces at https://interp-self.github.io/gametrace/
Mobile agents are increasingly expected to operate everyday applications from screenshots and language goals, where reliable control requires reasoning over screen affordances, multi-step navigation, and future state changes. However, many agents externalize this computation as long textual chains of thought, which slows interaction, increases supervision cost, and complicates deployment. We introduce MIRAGE, a framework that learns continuous latent reasoning representations from visible textual reasoning traces. MIRAGE transfers explicit reasoning into compact hidden states, enabling the agent to reason internally without decoding long rationales. It also incorporates a generative world-model objective: latent reasoning vectors are aligned with future screenshots, encouraging the agent to anticipate upcoming interface states before acting. This turns hidden computation into both a compressed thought representation and a forward-looking model of environment dynamics. At inference time, MIRAGE reasons in continuous latent space, reducing token generation while improving execution efficiency. On AndroidWorld, MIRAGE matches explicit chain-of-thought supervised fine-tuning in the 4B ablation with a 3-5x lower decoded-token budget and improves a comparable instruction-tuned baseline by 10.2 points; on AndroidControl, it improves action grounding while generating over 75% fewer tokens.
Zhichao Yang, Yuanze Hu, Haojie Hao +7
Beihang University · Northwestern Polytechnical University · Institute of Software, Chinese Academy of Sciences +2
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.