Tokenizer Choice Shapes Generalization in State-Centric Learning for Planning

Vishal Pallagani, Nitin Gupta, John A. Aydin, Biplav SrivastavaNeurIPS 2026

TL;DR

When teaching AI to solve planning puzzles that scale up in size, we usually obsess over model architecture—like tweaking Transformers or scaling parameters. This paper flips that assumption on its head: in state-centric planning, how you translate symbolic states into vectors (your "tokenizer") explains a massive 57% of generalization variance, while model architecture accounts for barely 1%. Pair the right graph representation with a tiny, old-school decision tree, and it handily beats a 35-million-parameter specialized Transformer.

What Problem Does This Paper Address?

Imagine teaching an AI to stack 5 toy blocks, and then asking it to stack 17. In generalized planning, the goal is learning reusable strategies on small problems that effortlessly transfer to much larger ones.

Broadly, there are two ways to use machine learning here:

  1. Action-centric learning: Models (like Transformers) read a problem and spit out a sequence of actions directly, keeping the evolving world state implicit inside hidden layers.
  2. State-centric learning: Models look at the current state and goal, and predict what the next state should look like in vector space. A symbolic planner then checks all legal next moves and picks the one that best matches that prediction.
Figure 1: Overview of the setting studied in this paper. Left panel: generalized planning seeks trans- fer across related instances. Middle panel: action-centric models decode action sequences directly and keep world states implicit. Right panel: in the state-centric setting, tokenized state and goal representations condition a learned transition predictor, whose predicted next-state representation is matched against symbolic successors with beam search to recover a valid action sequence.

Recent state-centric planners have shown impressive generalization while staying compact. However, they almost universally rely on one specific graph representation: Weisfeiler–Leman (WL) features. That leaves a nagging scientific question: does state-centric planning work so well because of the prediction-and-search setup, or was the representation quietly doing all the heavy lifting?

Methods

Note: "tokenizer" here doesn't mean chopping text into subwords like in LLMs. Instead, it means the mathematical map converting symbolic planning states (objects, predicates, and goals) into fixed-length numerical vectors.

To isolate what actually drives performance, the authors built a unified symbolic beam-search pipeline and ran a controlled factorial experiment across 40 distinct configurations, crossing four design choices:

  • 5 Tokenizer Families: WL (graph color refinement histograms), Shortest-Path (histograms of graph path lengths), GraphBPE (byte-pair encoding adapted to merge frequent graph substructures), SimHash (locality-sensitive random projections of sparse counts), and Random (deterministic seeded vectors as an unstructured baseline).
  • 2 Predictors: Recurrent neural networks (LSTM) vs. gradient-boosted decision trees (XGBoost).
  • 2 Formulations: Predicting the next state vector directly (state) vs. predicting the change vector from the current state (delta).
  • 2 Training Protocols: Training one model per domain (Domain-Dependent) vs. pooling data across all domains (All-Domains).

Generated plans are verified for strict legal execution using standard PDDL validation tools.

Datasets

The authors adopt an unchanged classical planning benchmark suite from recent literature (SymT) featuring four PDDL domains: blocks (stacking blocks), gripper (moving balls between rooms), logistics (routing packages via trucks and planes), and visitall-from-everywhere (grid graph traversal).

Crucially, models train on small object counts and are tested on two splits: interpolation (unseen problems within the training size range) and extrapolation (strictly larger object counts—e.g., training on up to 16 grid cells in visitall, then testing on up to 121).

Key Insights and Ideas

  • Representation is first-order, not preprocessing: Tokenizer choice accounts for 57% of held-out performance variance. Predictor type, formulation, and training protocol explain at most 1.2% each.
  • Interpolation lies about extrapolation: Testing on familiar problem sizes will mislead you. Across the 8 pipeline families, the winning tokenizer on interpolation loses the crown on extrapolation 5 out of 8 times!
Figure 3: Held-out extrapolation diagnostics. Left: interpolation versus extrapolation solved rate across all 40 configurations, one point per configuration colored by tokenizer; points below the dashed identity line lose performance under extrapolation, and the vertical spread at fixed interpo- lation shows that extrapolation separates tokenizers more sharply. Right: size-resolved extrapola- tion solved rate for all five tokenizers under DOMAIN-DEPENDENT + XGBoost + delta in blocks and visitall-from-everywhere; the horizontal axis is the actual object count, the muted row above the blocks panel gives the number of benchmark instances per size, and no seed band is drawn because the seed variance of these XGBoost cells is exactly zero (Appendix A.7). WL de- grades gracefully on blocks while every other tokenizer stays at zero, and the pattern reverses on visitall-from-everywhere, where shortest-path, WL, and Random (dashed) remain at 100% throughout.
  • Domain physics dictate the winner: While WL is strongest overall, no single tokenizer rules them all. WL dominates blocks (64.1% mean), GraphBPE nearly perfects gripper (99.1%), and Shortest-Path wins visitall (99.4%)—because each domain relies on different relational invariants.
  • Why logistics breaks everything: When models hit 0% on logistics extrapolation, is the search budget just too small? No. Even multiplying the search budget 10x yields 0 solves. Mechanistic analysis shows "embedding collisions": on 69–100% of steps, tokenizers map the optimal move and a bad move to the exact same vector, making them mathematically indistinguishable.

Key Results

Heatmap of solved rates across all 40 configurations, highlighting the dominance of WL + XGBoost + Delta.

Figure 2: Held-out result matrix over all 40 tokenizer-predictor-formulation-protocol configurations. Left: Macro8, averaged over the eight held-out domain-split cells. Right: Macroext, averaged over the four extrapolation cells. Entries are averaged over three seeds. Row labels abbreviate training protocol (DD: DOMAIN-DEPENDENT, AD: ALL-DOMAINS), predictor (LSTM, XGB: XGBoost), and formulation (S: state, D: delta); higher is better, and the best cell in each panel is DD/XGB-D under WL.
  • Tiny trees beat giant Transformers: The best overall setup (Domain-Dependent + WL + XGBoost + delta) uses just $10^4\text{--}10^5$ tree nodes, yet achieves 67.5% average extrapolation solved rate compared to 35.8% for SymT, a 25–35M parameter symmetry-aware Transformer. It beats SymT on 3 of 4 domains: blocks (70% vs. 13%), gripper (100% vs. 79%), and visitall (100% vs. 64%), tying at 0% on logistics.
  • Sharp Extrapolation Drop: Across all 40 configurations, average solved rates drop from 51.4% on interpolation to 24.5% on extrapolation.
  • Dramatic Formulation Interactions: Pairing WL with XGBoost and switching from predicting state to predicting delta boosts extrapolation accuracy by a staggering 57.6 percentage points (from 9.9% to 67.5%).

Limitations and Future Work

None of the studied representations could crack logistics extrapolation, confirming known theoretical expressiveness limits of standard graph features on complex multi-step routing problems. Additionally, pooling training data across domains occasionally washed out useful domain-specific structure, hurting top performers like WL.

Looking ahead, the authors aim to develop a predictive theory linking representation expressiveness directly to domain transition structures. They also plan to expand into richer PDDL settings (numeric fluents and temporal constraints), add learned concept-language feature pools as a sixth tokenizer family, and test these state tokenizers on tasks like plan summarization and validity prediction.

Summary updated

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.
BibTeX
@inproceedings{pallagani2026tokenizer,
  author = {Vishal Pallagani and Nitin Gupta and John A. Aydin and Biplav Srivastava},
  title = {{Tokenizer Choice Shapes Generalization in State-Centric Learning for Planning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=fBjXy542NQ},
}
Figure