Pac-Man · Spatial agents · Diagnostic case study

Where
it breaks.

Learn the task.
Ground the image.
Maintain the state.

On eight held-out mazes at the same difficulty, text-based primitive control reaches 78 / 96 normal-start clears (81.25%). Visual adaptation and fixed-weight harness comparisons then show why reading, state maintenance, and execution must be measured separately.

Anonymous review companion · updated 15 November 2026 · English paper: 7 main / 27 total pages

A recorded diagnostic observation№ 59
Native recorded Pac-Man observation 59, used to diagnose a one-cell memory error.
[17,16] → [17,17]One cell changes the remembered maze.A corrected current reading need not repair previously corrupted terrain.Inspect the recorded evidence ↗
THE CENTRAL PRINCIPLE

Diagnose the failure.
Then choose the intervention.

Follow the research steps ↗

01 / Research trajectory

Four research steps.
Different information sources.

STEP 1

Text-based primitive control

Learn U/D/L/R decisions through T1–T7, with a small rehearsal share only for the immediately preceding tier. Failure-state restarts begin only in T7. Evaluate full games from normal starts on held-out layouts.

T1–T7: curriculum tiers within Step 1
STEP 2

Visual grounding + assisted routes

Adapt the visual reader. Engine state supports candidate generation and bounded risk checks; the model selects routes from screenshots and permitted summaries.

Orange dashed state-source branch
STEP 3

Observation-driven state

Use screenshots and public feedback to maintain allowed spatial state. Diagnose persistent map errors and missing ghost-motion inputs.

Purple solid state-source branch
STEP 4

Joint policy–harness improvement

A direction for controlled future work: improve learning objectives and runtime support together, while keeping information access and evaluation budgets explicit.

Research direction, not a new reported gain
Paper Figure 3: Step 2 uses an orange dashed engine-state branch; Step 3 uses purple solid screenshot and public-feedback branches. Each instance enables one source. Screenshots and permitted route summaries reach the policy; primitive execution updates the environment.
Current paper Figure 3. One state source per instance: Step 2 or Step 3, not both. The later route-generation, bounded-check, model-choice and primitive-execution loop is shared at the functional level; versions retain their own rules.

Steps are not tiers. Step 1–4 describe the research trajectory; T1–T7 are training curriculum tiers. System 0 is runtime support, System 1 is the learned model, and System 2 is the investigator outside the execution loop. Private audit truth is not a Step 3 policy input.

02 / Main findings

Progress has
more than one unit.

01

Transfer within the trained difficulty.

Checkpoint 335 clears 78/96 normal-start attempts on eight held-out layouts, compared with 0/96 for the pretrained final-stage baseline. The same validation panel supports monitoring, checkpoint selection and reporting.

Read the matched validation evidence ↗
02

A training win can be a short suffix.

A separately sampled mixed-start batch clears 192/192. Of its 132 final-tier restarts, 96 start with at most 15 of the original 118 pellets remaining; 48 start with one. Normal-start evaluation tests the missing earlier route.

Compare the task distributions ↗
03

Grounding and control improve differently.

Exact map transcription rises from 48.2% to 80.4% on one screenshot stream. With adapted weights fixed, control changes raise single-map three-extra-life completion from 40/64 to 62/64.

Separate visual and harness effects ↗
04

State must persist—and include motion.

One local reading error overwrites a wall in memory. In a separate 431-state diagnostic, correct player and pellet positions coexist with missing ghost headings that constrain route checks.

Inspect the local diagnostic ↗

03 / Evidence and its conditions

Read the result.
Keep the protocol.

These panels measure different tasks and populations. They are not a common leaderboard.

8 HELD-OUT LAYOUTS × 12 SAMPLES / NORMAL RESETS

0/96 → 78/96 on the same-difficulty panel.

Text-based primitive-action control, three extra lives and a 512-environment-action cap. A clear collects all ordinary pellets. These are repeated samples on eight layouts. The panel is reused for monitoring, selection (including checkpoint 335) and reporting; it is not an independent final test. The per-training-sample map manifest remains incomplete.

Normal-start final-tier validation. Checkpoint labels count optimizer updates, not environment steps.
Policy checkpointClearsObserved fraction
Pretrained (0)0 / 960%
27077 / 9680.2%
33578 / 9681.25%
Current paper Figure 2: mixed-start training and normal-start validation across T1–T7, with optimizer updates on the horizontal axis. The T1 initial validation point is 2/96; the final-tier pretrained baseline is 0/96.
Paper Figure 2. Upper panel: first-pass and filtered training summaries (192 slots each). Lower panel: normal-start validation. T1–T7 are curriculum tiers, not research steps.

Transfer beyond direct rehearsal. After main training moves to T7 at update 250, only T6 receives a small rehearsal share. T4 and T5 receive no further direct training, yet improve from 91/96 and 83/96 clears at update 249 to 96/96 each at 335.

Different remaining tasks. In the separately sampled batch-333 audit, 192/192 first-pass attempts win without rejected groups, but the restart attempts reuse eleven states from two training maps and three source episodes. This batch is separate from the plotted restored lineage. High state turnover can coexist with concentrated sources.

Harder-task boundary. Independently loaded checkpoints 270 and 310 each clear 0/96 on T8, while their T7 results are 77/96 and 61/96. T8 changes geometry and the ordinary-pellet objective from 118 to 192; it does not isolate maze size.

04 / Inspect what happened

Three demonstrations.
Actual recorded evidence.

Explore the recorded game, route execution, and a map error.

DEMO 01

A complete clear, one decision at a time.

Scrub the recorded observations. The policy selects an option; the harness may continue it without another model call.

Recorded-state reconstruction
GPT-6.1 SOL / CODEX CLI

Text-based maze + structured state · experimental route-option harness · seed 0 · low reasoning effort.

Loading the recorded game…

Loading the replay data.

Game step
—
Score
—
Normal pellets
—
Completed model calls
—
——

Frames 0–385 are observations before the next action. Step 386 reconstructs the recorded terminal native state. Playback speed is illustrative, not model latency.

One preliminary game: 1 / 1. The native offline replay matches 387 / 387 original frames. This is not a stable win-rate estimate.

Watch the 43-second reconstruction video

Reconstruction from recorded text-based maze observations and a recorded final native state; this is not the original engine video.

DEMO 02

One choice.
Eighteen actions.

This selected segment contains one model choice followed by 17 harness continuation actions. It makes the boundary between policy selection and route execution visible.

This is an excerpt from Demo 01, not another independent sample or a comparison against an unbound control.

Inspect steps 361–378 in the player ↗
Recorded-state reconstruction. The 9-second presentation speed is arbitrary.
DEMO 03

When a one-cell error becomes a map error.

A primary actor query locates Pac-Man correctly but is rejected for five ghost records. Same-frame full-map recovery places Pac-Man one cell to the right, on a real wall. The maintained terrain then represents that cell as floor.

At observation 59, the native image and visible-label audit place Pac-Man at row 17 column 16. The maintained belief places it at column 17 and treats the real wall there as floor.
Fixed-map seed 984001, 0 extra lives, observation 59 in a 64-action diagnostic window. The left panel is an exact-replay native image; the right panels reconstruct logged labels and memory. The error at [17,17] is audited at observations 59–61, not established as permanent. Two neighboring errors are recorded separately at 61–63. · Native image ↗

A ghost also overlaps a wall in this scene, an unresolved engine anomaly. Private state is used only to score the diagnosis. This single case illustrates error propagation without isolating its frequency or effect on full-game completion.

05 / Reading the evidence

The protocol
is part of the result.

Separate state sources.

Step 2 uses engine-state assistance. Step 3 derives allowed state from screenshots and public feedback. Each runtime instance enables one pathway; private audit truth is kept out of policy inputs.

Keep the unit explicit.

Layouts, repeated episode samples, screenshot items, correlated decision states and matched-success cost subsets have different denominators. A new random seed on one map is not a new layout.

Keep selection separate from testing.

The eight-layout Step 1 panel is reused for monitoring and checkpoint selection. Complete training-map manifests, independent reporting layouts and repeated training seeds would strengthen the result.

Preserve timing and intervention scope.

Model inference pauses game advancement. Environment steps, model choices and perception queries are different counts. Local replay/substitution audits do not establish full-game causal repairs or real-time play.

THE NEXT CONTROLLED COMPARISONS

Improve perception, state maintenance and learning without changing their evidence boundaries.

Evaluate curriculum and restart choices, unseen-layout visual control, deployable motion estimates, and joint policy–harness changes with matched information access and budgets.

Read the complete case study

Where It Breaks

Diagnosing Perception, Memory, and Decision Failures
of a Vision-Language Agent in Pac-Man

English: 7 main-text pages, 27 total. Updated 15 November 2026. No new experiments were collected for this website update.