arXiv:2611.06704cs.LGNov 2026

Manuscript Offprint

arXiv:2611.06704

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

Xinglu Wang, Edward Wang, Yong Zhang, Zhenan Fan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Training an agent to play Pac-Man with only up, down, left and right actions raises a basic question: when performance is poor, what should be improved? Difficulty can arise from reading the screen or from choosing actions over a long sequence. We examine these problems in a Qwen3.5-9B-based agent through separate perception checks and primitive-policy reinforcement-learning studies. In the policy study, which uses textual boards to remove image transcription from the decision interface, completion on eight held-out mazes increased from 0% before this optimization to 80.2% at a selected checkpoint, with three extra lives. The perception checks show that accurate static screenshot reading can coexist with errors during interaction. A separate policy comparison also shows that further optimization can accompany worse action choices. Together, these findings motivate concrete checks for post-training: evaluate perception in use, distinguish training success from full-game validation, and examine decisions and later performance rather than relying on one selected score. The study provides empirical lessons for improving future agent training and evaluation.

1 Introduction

Long-horizon spatial control requires an agent to interpret its observations and choose actions whose consequences unfold over many steps. Even when the action interface is only up, down, left and right, successful post-training is not established by a high training win rate or one strong validation checkpoint. The central question in this paper is which measured perception and decision problems must be checked before interpreting a primitive-action RL result as a reliable improvement in play.

We examine this question using the development records of a Qwen3.5-9B-based Pac-Man agent (Qwen Team 2026). The main setting is deliberately simple: a policy selects primitive directions to clear ordinary pellets while avoiding ghosts. Perception and policy learning are studied through distinct evidence families. Screenshot audits measure the reading of visible board state; historical ASCII primitive-action runs study decisions without image transcription. They are related parts of agent development, not one uniform end-to-end RL experiment.

The primary empirical result is a documented normal-start validation improvement on eight fixed held-out mazes: checkpoint 0 before this policy optimization clears 0/96 episodes, and selected checkpoint 270 clears 77/96. The complete retained trajectory is less simple than that endpoint contrast. Its highest observed count is 78/96 at 335, while the last complete check at 425 is 60/96. Earlier-stage validation also shows mixed outcomes while lower-stage rehearsal continues. These observations distinguish attained performance on a repeatedly used panel from stable retention or generalization to a fresh maze sample.

The other records identify pitfalls relevant to interpreting that training result. A reader can transcribe a static image bank correctly yet make errors on different observations during interaction. In a separate ASCII primitive-policy lineage, continued optimization reduces validation clears and replay cases include immediately lethal choices. Neither result identifies a single cause of RL failure: prompt compatibility, observation conditions, start distributions and the learning objective require separate tests. Higher success after end-to-end training likewise leaves open whether skills transfer or gains reflect overfitting to familiar layouts, including possible memorization of layout-specific action patterns.

A small action vocabulary does not remove the scientific difficulty of evaluating a learned controller. The same available direction can collect a pellet, enter a dangerous corridor or postpone a mistake whose consequence appears much later. A completion score combines these choices across the game. To improve an agent, a developer therefore needs evidence that connects the score to an actionable question: whether the observation was read correctly, whether the chosen direction was useful, and whether the evaluation still measures the intended starting task.

The contribution is empirical rather than algorithmic. We organize the retained measurements around three comparisons: selected and later normal-start checkpoints, static and interactive perception tasks, and training wins from different starting situations. Each comparison supplies a different unit of evidence. Together they show why learning-curve interpretation requires more than reporting an endpoint, while leaving the causal contribution of individual training choices open.

Interactive-agent benchmarks compare performance across tasks and interfaces (Paglieri et al. 2024; Hu et al. 2025); studies of learned control and agent interfaces provide further context (Wang et al. 2025; Ichter et al. 2023). Appendix P.1 gives the full positioning. The anonymous com-panion provides papers and demonstrations; 1^{1} Appendix Q records material scope and release status.