Tokenizer Choice Shapes Generalization in State-Centric Learning for Planning
Abstract
State-centric learned planning trains a goal-conditioned transition model over state representations and recovers actions by matching predicted successor states to symbolic successors, but prior work has relied mainly on Weisfeiler–Leman (WL) representations, leaving the role of the representation map itself, the tokenizer, unclear. We ask how much of held-out, within-domain size generalization is determined by tokenizer choice. We answer with a controlled factorial study: five tokenizer families (WL, shortest-path, GraphBPE, SimHash, and a deterministic random reference) are swapped inside one fixed pipeline, crossed with two predictors, two predictive formulations, and two training protocols, and evaluated on held-out interpolation and strictly larger extrapolation instances of classical planning domains. Tokenizer choice is the dominant factor in the studied configurations: it explains 57% of held-out performance variance, more than predictor architecture or any other pipeline factor (each at most 1.2%), and the conclusion is robust to removing the largest domain. WL is strongest overall, yet no tokenizer wins everywhere; the leading representation changes by domain, leaders reverse between interpolation and extrapolation in 5 of 8 configuration families, and a per-domain analysis traces successes and failures to measurable properties of each representation. With the right tokenizer, tree predictors that are orders of magnitude smaller exceed the best published symmetry-aware transformer on 3 of 4 shared benchmark domains. Representation choice is therefore a first-order modeling decision for state-centric learned planning rather than a fixed preprocessing step. Code: https://github.com/ai4society/planfm-state-centric-tokenization.