arXiv:2608.29197cs.LGAug 2026

Manuscript Offprint

arXiv:2608.29197

PokaiTrainer: Scaling Belief-State Search to Competitive Pokémon VGC

Max Yu

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

ABSTRACT

Decision-time equilibrium search carried poker to superhuman play, but it has so far relied on tractable subgames: a handful of actions per decision, chance confined to card deals, one player moving at a time. Competitive Pokémon in its official doubles format (VGC) breaks all three assumptions at once. Both players act simultaneously from joint menus in the hundreds, each joint action resolves to hundreds of stochastic outcomes, and the opponent's reserves and stat allocations are hidden. We set out to build a strong VGC agent and report what that took. PokaiEngine, our Rust battle engine, enumerates a joint action's full weighted outcome distribution in one pass, at ~99% parity with Pokémon Showdown and a fraction of the cost of sampling it. On top of the engine, PokaiTrainer adapts Student of Games to this scale, solving every decision as a Bayesian matrix game over public belief states and growing subgames under an explicit compute budget. On the live Showdown best-of-three ladder, the agent wins 59% of 150 sets against a human field averaging ~1320 Elo. It settles into a 1350–1400 Elo band, and at its peak briefly entered the format's top 500.

1 INTRODUCTION

Equilibrium search has produced many of the landmark results in imperfect-information games, carrying poker from competitive to superhuman play (Zinkevich et al., 2007; Moravčík et al., 2017; Brown & Sandholm, 2018; 2019a). Its modern form, exemplified by ReBeL (Brown et al., 2020) and Student of Games (Schmid et al., 2023), solves a depth-limited subgame rooted at the current public belief state, with a learned value function at the leaves and self-play training. The recipe has so far relied on tractable subgames: poker offers a handful of actions per decision and confines chance to card deals, so ReBeL can enumerate its subgames exhaustively. Even Student of Games, growing its subgames incrementally, branches on a single player's move at a time. Equilibrium search also reached human level in no-press Diplomacy (Gray et al., 2021; Meta Fundamental AI Research Diplomacy Team (FAIR) et al., 2022), whose turns are simultaneous, but there the game is deterministic and the search is one step deep over a few dozen sampled candidate actions rather than a solved subgame.

Competitive Pokémon Battling, in its official doubles format (VGC), breaks that tractability on every axis. Turns are simultaneous, with hundreds to thousands of joint actions, and each joint action resolves to hundreds of possible stochastic outcomes. Prior Pokémon agents sidestep this: whether heuristic, LLM-driven, or trained by offline RL (Lee & Togelius, 2017; Hu et al., 2024; Karten et al., 2025; Grigsby et al., 2025; Angliss et al., 2026), they act from a policy at decision time and none performs equilibrium search (Section 6). Whether belief-state search scales to this regime has been an open question, and we report what answering it took.

To handle the outcome stochasticity of Pokémon, we built PokaiEngine, a Rust battle engine that enumerates the chance outcomes of a joint action exactly, returning the full weighted outcome distribution in one pass. It reaches ~99% behavioral parity with Pokémon Showdown (Luo & contributors, 2011), simulates single timelines 26×26 \times faster, and recovers an outcome distribution more accurately than 256 Showdown replays at 1/500th of their cost (Section 3).

We then train PokaiTrainer, a search agent in the Student of Games (Schmid et al., 2023) mold: CFR-based subgame solving over public belief states with value-network leaves, the subgame grown incrementally under an explicit compute budget, trained by self-play. The domain forced adaptations at every layer. Decisions are solved as simultaneous-move Bayesian matrix games with exactly enumerated chance nodes; expansion is priced by compute cost rather than node count; hidden stat spreads are inferred by re-branching observed turns through the engine itself; and supervision is harvested from the interior of every solve, grounded by realized outcomes, and extended by hypothetical augmentation to positions self-play under-visits.

The recipe works within limits we map. The trained agent wins 59% of 150 best-of-three sets on the live Showdown ladder against a human field averaging ∼\sim1320 Elo, holding a 1350–1400 Elo band and at its peak briefly entering the format's top 500 (Section 5.4). Search carries the strength: the policy network alone loses even to a shallow material-heuristic search, while the same network under full search beats both (Section 5.2). Training returns are now steeply diminishing, and the defect that persists is the value network's early-game optimism, which deeper solves mask rather than fix.

We evaluate under Open Team Sheets and leave closed sheets, where the opponent's unrevealed sets must be inferred, as future work. We claim no algorithmic novelty beyond the adaptations above: the contributions are the system, the empirical findings on what belief-state search requires at this scale, and a mapped frontier of what remains hard. We are coordinating the release of our code with the Showdown administrators to prevent bots from overrunning the online ladder. Similarly, trained checkpoints will likely not be released while the format they were trained on is in play.

References (31)