betaFeedback

WorksComputer Science

GADAR: Generalizing Across Domains via Action Ranking for Classical Planning

Abstract

Learned policies for classical planning act without search, but each is tied to the domain it was trained on: network modules per action schema, parameters per predicate, or vocabulary-sized encodings mean a trained policy cannot even be executed on a new domain's predicates and action schemas. We present GADAR (Generalizing Across Domains via Action Ranking), a policy that takes the domain description as input, π(s, G, D), and constructs grounded actions in domains never seen in training, without search. Symbols are described by the roles they play in the domain rather than by their names, in three layers that each extend the previous one: (i) a lifted domain layer embeds D in every state graph through structural signatures; (ii) a binding layer ties each ground action's applicability to the lifted preconditions it instantiates; and (iii) a chain layer states which schema produces what another needs and how far each schema stands from the goal. The same network therefore runs on every domain, seen or unseen. We evaluate zero-shot generalization leave-one-domain-out over eight benchmark domains. A single GADAR policy trained on seven domains solves 58.3% of their test instances, one point below the 59.3% of dedicated single-domain GADAR models, so one policy serves many domains at no cost in coverage; a multi-task control that keeps symbol identity in its weights, while strong on some of the domains it trains on, transfers to none of the held-out ones. Zero-shot, GADAR executes on every held-out domain and exceeds random choice under the same executor on the large test instances of all eight: it solves 22.6% of them on average, against 3.3% for random choice and 0.6% for the same representation without the chain layer, and reaches 68% on held-out Visitall. Zero-shot coverage nonetheless remains well below in-domain coverage on most domains, and we analyze where it is weakest.

Introduction

Classical planning finds action sequences achieving goals in deterministic environments. Traditional planners solve small problems optimally by search and heuristics but scale poorly [16, 2], which motivates learning-based planning: a model trained on solved problems captures regularities that carry over to new ones. Two families of learned guidance have developed largely in parallel. Learned heuristics estimate cost-to-go and guide a search algorithm [34, 4, 11]; learned policies select actions directly, executing plans greedily without search [39, 35, 28].

Learned policies generalize well within a domain. ASNets learn per-schema network modules that transfer across problem sizes [39]; relational GNN policies learn value functions whose greedy execution solves instances far larger than those seen in training [35, 38]; GABAR encodes states as action-centric graphs and constructs grounded actions by ranking them [28]. All share a design choice: the domain’s schemas and predicates are reflected in the network itself, as modules, parameters, or feature dimensions. Shaping the network to its domain aids within-domain generalization, but it is also what binds each policy to that domain, which cannot even be executed where its schemas and predicates have no slots.

For learned heuristics, a different treatment of the domain has emerged. STRIPS-HGN computes structural features that make no reference to symbol identity [34], and GOOSE’s lifted learning graph encodes the full domain description as part of the heuristic’s input, training one heuristic across many domains and evaluating on held-out ones [11]. The input side of learning for planning can therefore be made domain-agnostic. Heuristics, however, delegate action construction to search; the corresponding step for policies, which must construct grounded actions themselves, remains open, and Chen et al. [11] name it as future work. It is not a trivial step: the same authors prove that message passing over the lifted graph cannot compute even haddh^{\mathrm{add}}, and their domain-independent setting is empirically their hardest.

In this work we take that step, and our key idea is to change what the network is told about symbols: not which symbol something is, but what role the symbol plays in the domain. A predicate is described by where it appears (which schemas require it, which produce or destroy it, at which argument positions), and under that description gripper’s pick-then-drop and miconic’s board-then-depart are one structure, which a policy can learn in one domain and reuse in another. Two things are then needed to make the description usable: every ground action’s applicability must be tied to that structure, so that “why is this action available” is said in the domain’s own vocabulary; and the relation planning turns on, that one schema produces what another needs, must be stated explicitly rather than left for message passing to recover. The result is a policy π(s,G,D)\pi(s, G, D) that is at once domain-general and search-free, where classical planners buy generality with search and learned policies buy reactivity with specialization. The question we study is what such a policy can transfer, not whether it outraces search.

We build this capability as a ladder of three systems, each adding one group of representational commitments to the previous one, so that every adjacent comparison isolates that group. UNION is the control: symbol-identity features widened to the union of the training vocabularies, which is multi-task learning with the domain in the weights. GADAR-BIND replaces symbol identity with structural features and puts DD into every state graph, as a lifted domain layer plus the binding layer. Structure alone is not yet transfer: “schema AA produces what schema BB consumes” is only a two-hop path through a shared predicate hub, and the hub loses the pairing. Full GADAR therefore adds the chain layer, stating that relation directly and marking how far each schema stands from the goal. All three share one encoder, one ranking decoder, and the same search-free execution, so every comparison varies the representation and not the architecture.

We evaluate zero-shot generalization leave-one-domain-out over all eight benchmark domains. One GADAR policy serves every domain it is trained on: trained on seven domains, it matches the in-domain coverage of dedicated single-domain models (58.3% against 59.3%). Zero-shot, on the large test instances of held-out domains, it exceeds random choice under the same executor on all eight (22.6% against 3.3% on average), reaching 68% on Visitall at plan quality 0.97, against 4% without the chain layer and 0% for the union-vocabulary control. Elsewhere it solves 4–29%, and the per-domain results suggest where transfer breaks: when a held-out domain’s schemas are structurally alike but play different roles, as Logistics’ truck and airplane actions do, features that ignore symbol names may not tell them apart. GADAR is invariant by construction to renaming of predicates, schemas, and objects, a robustness current large reasoning models lack [40]; the same invariance means that what distinguishes such schemas has to come from data in the new domain.

Contributions

  • To our knowledge, the first domain-agnostic policy for classical planning: π(s,G,D)\pi(s, G, D) constructs grounded actions zero-shot in unseen domains, without search.

  • One policy for many domains: a single GADAR model trained on seven domains matches dedicated single-domain models in-domain on average, with positive transfer between some domains.

  • A graph representation with two novel relations, both computable in any domain: binding edges, which link each applicable ground action’s objects to the lifted precondition occurrences they satisfy and so express why the action is applicable in the vocabulary of DD, and

chain edges, which express which schema produces or destroys what another needs and how far each schema is from the goal.

Related Work

Learning heuristics across domains. Domain-independent heuristics have a long history; we focus on the neural line. STRIPS-HGN trains hypergraph networks on structural features of the delete relaxation and evaluates on unseen domains [34]. GOOSE introduces graph representations of planning tasks for grounded and lifted inputs; its lifted learning graph encodes the domain description itself (schemas, preconditions, effects, argument bindings via index features), and its domain-independent setting trains one heuristic across many domains and evaluates on held-out ones [13, 11]. WL-GOOSE obtains stronger per-domain heuristics from Weisfeiler–Lehman features, at the cost of per-domain feature dictionaries [12]. Karia & Srivastava (2021) learn generalized heuristics over canonical abstractions; LLM-evolved heuristic ensembles transfer to a held-out IPC learning track [21]. These works establish domain-agnostic inputs, and we adopt their lesson of structural features and lifted domain graphs. They differ in output: a heuristic delegates action construction to search, which stays in the execution loop. Chen et al. (2024a) further prove an expressiveness limitation of message passing on their lifted graph and name lifted policy learning as open; our binding layer adds exactly the information a policy needs and their graph provably lacks (their Theorem 4.3; Appendix A.3).

Learned policies for planning. Generalized policy learning aims at policies that transfer across instances of a domain [17, 15]. ASNets construct a network from the domain’s action schemas and ground atoms, with weight sharing across instantiations of the same schema [39]. Ståhlberg, Bonet, and Geffner learn value functions with GNNs whose greedy policies generalize across instance sizes, characterize their expressive power in terms of two-variable logics, and extend the approach with policy gradients and unsupervised objectives [35, 37, 38]. Relational deep RL approaches similarly learn policies over relational state representations [42, 24, 19, 18, 32]. GABAR represents ground actions explicitly in the state graph and constructs actions autoregressively by ranking [28]. The action-centric idea also extends to partial observability [27] (Mangannavar & Tadepalli 2026), varying what the policy observes while holding the domain fixed. The most recent work remains per-domain: self-improving search-and-learn loops train a relational value heuristic per domain [9], lookahead-based general policies are learned over instances of a single domain [10], and Q-value policy learning is framed per-domain explicitly [31]. In all of these the vocabulary lives in the network as per-schema modules, per-predicate parameters, or vocabulary-sized encodings, binding the policy to its training domain. GADAR removes that binding by moving the domain description from the network’s parameters into its input.

Ranking in planning. Learning to rank has ordered states and heuristic values for search [41, 20, 14, 22]; GABAR instead ranks actions locally within a state [28, 26]. Cross-domain, this choice becomes load-bearing: a shared value function presupposes a common scale of goal distances that does not exist across domains, whereas local rankings are scale-free. Müller et al. (2026) report convergent evidence: Q-value regression fails for lack of action discrimination and a ranking-style margin repairs it.

Large language models. Large reasoning models degrade under symbol renaming [40], an invariance GADAR has by construction; LLM pipelines that write or repair PDDL [29] leave planning to search.

Background and Problem Setup

A classical planning problem P=⟨D,I⟩P = \langle D, I \rangle pairs a first-order domain DD (predicate symbols P\mathcal{P} with arities, and action schemas A\mathcal{A}, each with parameters, preconditions pre(a)pre(a), and add/delete effects add(a)add(a), del(a)del(a)) with instance information I=⟨O,s0,G⟩I = \langle O, s_0, G \rangle: objects, an initial state, and a goal condition, the last two as sets of ground atoms. A ground action substitutes objects for a schema’s parameters, is applicable in ss if pre(a)⊆spre(a) \subseteq s under the substitution, and yields s′=(s∖del(a))∪add(a)s' = (s \setminus del(a)) \cup add(a); a plan is an applicable sequence from s0s_0 to a state satisfying GG.

GABAR learns, per domain, a policy πD(s,G)\pi_D(s, G) that generalizes to larger instances of the same domain (Mangannavar et al., [28]). We address the cross-domain version: from solved small instances of training domains D1,…,DnD_1, \ldots, D_n, learn a single policy π(s,G,D)\pi(s, G, D), with the domain description itself an input, that solves instances of a test domain Dtest∉{D1,…,Dn}D_{test} \notin\{D_1, \ldots, D_n\}, zero-shot. Execution is search-free: the highest-ranked applicable action is executed, a monitor optionally avoids revisiting states, and execution ends at the goal, a dead end, or a length bound.

GADAR

Given a planning instance in PDDL format together with its domain description DD, GADAR converts the pair into a graph, processes the graph with a GNN encoder, and constructs a grounded action with a GRU-based decoder that first selects an action schema and then each of its arguments (Figure 2). Encoder and decoder are those of the per-domain policy of Mangannavar et al. [28]; what changes is the graph they operate on. We present the representation as it is evaluated: a ladder of systems in which each addition is measured against its predecessor.

GADAR overview

Figure 2. GADAR overview. (a) DD, state, and goal become one graph. (b) The ladder: UNION (symbol one-hots), GADAR-BIND (structural features, lifted and binding layers), GADAR (chain layer). (c) GNN encoder. (d) GRU decoder: schema, then arguments, scored against node embeddings; nothing is sized by the number of schemas or objects.

Encoder. Features are embedded into d=64d=64 dimensions, then L=9L=9 rounds update edges, nodes (attention over incoming edges), and a global node, with skip connections to the input encodings (Appendix § 8.§ 2). The output is one embedding per node, which the decoder ranks.

A Domain-Agnostic Graph Representation

Ground instance layer. The base of the representation is that action-centric graph: nodes for objects, for ground literals of the current state and the goal (goal literals marked by a flag), and for action schemas, together with a global node; edges connect literals to their argument objects and schemas to the objects of their applicable groundings, with parameter positions on the edges (Figure 1, bottom). This graph is what makes search-free action construction possible: the decoder selects among schema nodes and object nodes that are present in the input.

The GADAR representation for a Blocksworld task

Figure 1. The GADAR representation for a Blocksworld task. The ground instance layer (bottom) is the action-centric graph of the grounded policy we build on (Mangannavar et al., [28]): objects, ground literals of the state and goal (G- prefix), and ground action nodes with action–object edges carrying parameter slots. The lifted domain layer (top) is built from DD alone: schemas, their precondition and effect occurrences, and predicate symbols. Binding edges (green, dashed) link an object’s slot on an applicable ground action to the precondition occurrences it satisfies; instantiation edges (orange, dotted) link each ground literal to its predicate symbol. Filled nodes are ground, outlined nodes lifted. The chain layer (magenta) is shown by one enables edge, one grounded deletes-true edge, and goal-relevance rings.

The graph. A task (s,G,D)(s, G, D) is encoded as G=(V,E,X,R)\mathcal{G} = (V, E, X, R). The node set is

V=O∪L∪A∪Σ∪Q∪{g},V = O \cup L \cup A \cup\Sigma\cup Q \cup\{g\},

where OO are the objects, LL the ground literals of the state and goal, AA the action schemas (one node per schema), Σ\Sigma the predicate symbols of DD, including one synthetic unary static predicate per declared type so that typed and predicate-typed domains present the same structure, QQ the occurrence nodes qa,kq_{a,k}, one per literal occurrence kk in the preconditions and effects of schema aa, and gg a global node. The edge set is a union of typed relations,

E=Elit∪Eact∪Einst∪Eocc∪Ebind∪Echain∪Eeff,E = E_{\mathrm{lit}} \cup E_{\mathrm{act}} \cup E_{\mathrm{inst}} \cup E_{\mathrm{occ}} \cup E_{\mathrm{bind}} \cup E_{\mathrm{chain}} \cup E_{\mathrm{eff}},
  • Elit⊆L×OE_{\mathrm{lit}} \subseteq L \times O, Eact⊆A×OE_{\mathrm{act}} \subseteq A \times O: literals to their arguments and schemas to the objects of their applicable groundings (the ground layer), with argument and slot positions as edge features;

  • Einst⊆(L∪O)×ΣE_{\mathrm{inst}} \subseteq(L \cup O) \times\Sigma: instantiation, each literal to its predicate’s symbol and each object to its declared type’s symbol;

  • Eocc⊆Q×(Σ∪A)E_{\mathrm{occ}} \subseteq Q \times(\Sigma\cup A): each occurrence to its predicate symbol and to its schema, carrying the role r(q)∈{pre,add,del}r(q) \in\{\mathrm{pre}, \mathrm{add}, \mathrm{del}\} and the argument-to-slot pairs (i,j)(i,j) of that occurrence;

  • Ebind⊆O×QE_{\mathrm{bind}} \subseteq O \times Q, the binding layer: (o,qa,k)(o, q_{a,k}) whenever some applicable grounding of aa places oo at a slot that occurrence kk constrains;

  • Echain⊆Q×QE_{\mathrm{chain}} \subseteq Q \times Q, the chain layer: enables ={(q,q′):r(q)=add,r(q′)=pre,pred⁡(q)=pred⁡(q′)}= \{(q,q') : r(q) = \mathrm{add}, r(q') = \mathrm{pre}, \operatorname{pred}(q) = \operatorname{pred}(q')\} and threatens likewise with r(q)=delr(q) = \mathrm{del};

  • Eeff⊆O×LE_{\mathrm{eff}} \subseteq O \times L, the grounded effect edges: for each applicable grounding, an instantiated add effect equal to an unsatisfied goal atom ℓ\ell (achieves-goal), or a delete effect equal to a true atom ℓ\ell (deletes-true), links the grounding’s objects to ℓ\ell.

Node features X:V→{0,1}dX : V \to\{0,1\}^{d} concatenate indicator segments: the node’s kind; the arity (clamped at global caps kpk_p, kak_a) and a static-predicate flag; a goal flag on literals; on schema nodes the goal-distance one-hot g(a)∈{0,1,2,3+}g(a) \in\{0,1,2,3+\}, the BFS depth over enables from the schemas that add a goal predicate; and on objects a goal-relevance bit (the object occurs in an open goal atom). Edge features R:E→{0,1}kR : E \to\{0,1\}^{k} concatenate the relation type with position, slot, and role indicators up to the caps. The widths dd and kk are functions of (kp,ka)(k_p,k_a) alone; no dimension is ∣A∣|A|, ∣P∣|P|, ∣T∣|T|, or ∣O∣|O|.

A single network therefore serves every domain, instances from different domains batch together, and permuting symbol names leaves (X,R)(X, R) unchanged: renaming invariance holds by construction. Every feature is a flag or a one-hot; nothing is a magnitude. The goal distance in particular is bucketed rather than numeric, deliberately: a number must be read on a scale, and no scale is shared across domains. The same argument makes local action ranking, rather than value regression, the right objective in this setting.

Cost. Σ\Sigma, QQ, EoccE_{\mathrm{occ}}, and EchainE_{\mathrm{chain}} are domain-sized constants computed once per domain; gdistg_{\mathrm{dist}} depends only on which predicates occur in the goal and is computed once per (domain, goal signature). Only EbindE_{\mathrm{bind}}, EeffE_{\mathrm{eff}}, and the goal marks are per-state, each linear in the applicable groundings and open goal atoms.

Why these relations. EbindE_{\mathrm{bind}} connects what the two prior lines capture only separately: LLG has lifted preconditions but no ground actions, and GABAR has ground applicability but indexed by per-domain strings that do not transfer. Binding expresses why each action is applicable in DD’s own vocabulary.1 In Figure 1, the edge placing O3 in Unstack’s first slot binds to the occurrences on(x,y)on(x,y) and clear(x)clear(x), and this information survives unchanged if every symbol is renamed. EchainE_{\mathrm{chain}} states directly that schema AA produces what schema BB needs. Without it, this relation exists only as a two-hop path through a shared predicate hub, and the hub’s aggregation destroys the producer–consumer pairing. Because the chain edges connect occurrences, the pairing survives message passing, delete effects acquire a consequence, and the relation transfers across domains: gripper’s pick →\to drop and miconic’s board →\to depart are the same structure, an enables edge between an add- and a pre-occurrence of a shared predicate. EeffE_{\mathrm{eff}} grounds the layer: the decoder scores object nodes, and these edges place “this object closes an open goal” and “this object undoes something true” one hop from the quantity being ranked.

A Ladder of Domain Conditioning

The three systems stand in a strict subset relation. UNION (control) keeps the symbol-identity one-hots, widened to the union of the training vocabularies: the domain stays in the weights, which is multi-task learning, not domain conditioning. GADAR-BIND replaces those one-hots with the structural features XX, making the policy executable in any domain, and adds Σ\Sigma, QQ, EinstE_{\mathrm{inst}}, EoccE_{\mathrm{occ}}, and EbindE_{\mathrm{bind}}. GADAR adds EchainE_{\mathrm{chain}}, EeffE_{\mathrm{eff}}, and the goal-distance and goal-relevance features. Because adjacent systems differ in one group of components, the experimental comparison and the ablation study are the same object: the UNION-to-GADAR-BIND step measures what removing symbol identity costs and what the domain description buys, and the GADAR-BIND-to-GADAR step measures the chain layer together with the grounded effect edges and goal features it adds. We do not separate those three here, and attribute the second step to them jointly.

Action Construction and Training

The decoder changes only where per-domain constants would otherwise appear (Figure 2d). A GRU selects a schema by scoring schema-node embeddings against its hidden state, then each argument in turn by scoring object-node embeddings, feeding every selection back as the next input. The argument loop runs to the selected schema’s arity, read from DD under a global arity cap rather than a per-domain constant. No component is sized by the number of schemas, objects, or predicates; selection is always a dot product between the decoder state and the embedding of a node present in the graph, which is what lets one network construct actions in a domain whose schemas it has never seen. Training is supervised: cross-entropy against the expert’s schema and argument choices at every state along planner-generated plans. Because feature widths are domain-independent, domains mix freely within a batch.

Experimental Setup

Domains. We evaluate on the eight benchmark domains used by GABAR: Blocks, Miconic, Spanner, Gripper, Visitall, Grid, Logistics, and Rovers [28, 33]. Training data consists of plans computed by Fast Downward with the LAMA-first satisficing configuration [2] on the small instances of each training domain (between 125 and 312 instances per domain); states along each plan are converted to graphs and the policy is trained to reproduce the expert action as described above. Each domain in turn is held out and evaluated on two splits.

Protocol. Two experiment families, run for every rung of the ladder. (i) Zero-shot generalization (leave-one-domain-out, the main experiment): for each of the eight domains, a policy is trained on the remaining seven and evaluated on the held-out domain zero-shot, having never seen its predicates, schemas, or objects. (ii) In-domain, multi-domain: the same seven-domain policies are evaluated on the domains they trained on, and for each domain we report the mean over the seven policies whose training set includes it; a single-domain variant, GADAR (single-domain), trains the same representation on that domain alone. The test split is the domain’s test set, with instances up to an order of magnitude larger than training-scale problems; the training-scale split is the held-out domain’s own training-scale instances, unseen because the domain was held out, which separates failing on the unseen domain from failing to scale within it. Training domains are evaluated on the test split only.

Baselines and references. Our primary comparison is the UNION control described above: identical data, architecture, and training procedure, with only the representation different. Any zero-shot capability GADAR has beyond this control comes from moving the domain into the input. Two floors bound the zero-shot numbers from below. The random floor is the same executor and monitor choosing uniformly among applicable ground actions, averaged over three rollouts per problem; it measures how far legal moves alone get on each split. The untrained control is the identical system, with the same graph, decoder, executor, and step bound, but a network that has seen a single epoch of training. As a reference for dedicated training we report published per-domain GABAR [28], trained directly on each held-out domain and evaluated on its own test instances, averaged over its three published size bands. Those instances are not identical to ours, so GABAR (published) indicates what per-domain training achieves at this scale rather than serving as a matched comparison.

Ablations and oracle. The ladder is the ablation study (Figure 2b), and each group of components is measured by adjacent columns of Table 1. We additionally report one diagnostic that is not a rung of the ladder: an achievement oracle that, at every state, prefers any applicable ground action whose add effects directly satisfy an unsatisfied goal atom, and otherwise defers to the policy. It bounds what a hand-coded terminal trigger can achieve on each domain.

Held outBlocksGripperMiconicVisitallGridLogisticsSpannerRoversMean
Training-scaleRand1.70.088.399.73.00.023.415.228.9
Training-scaleUNION0.00.00.00.81.00.00.00.00.2
Training-scaleGADAR-BIND2.50.00.016.03.10.00.00.02.7
Training-scaleGADAR37.513.336.3100.033.49.943.416.136.2
TestRand0.20.01.16.00.00.013.85.23.3
TestUNION0.00.00.00.00.00.00.00.00.0
TestGADAR-BIND1.00.00.04.00.00.00.00.00.6
TestGADAR23.06.019.068.012.14.029.219.622.6

Table 1. Zero-shot generalization, leave-one-domain-out: coverage (%) on each held-out domain, which is never seen in training. Training-scale: its small instances; Test: its test instances. Rand: uniform choice among applicable actions under the same executor. Mean: over the eight held-out domains.

Metrics and implementation. We report coverage (C), the percentage of test problems solved within a 500-step bound, and plan quality (P), the ratio of the reference planner’s plan length to the policy’s on jointly solved problems, so values above 1 mean plans shorter than the reference; coverage is the primary metric (Appendix A.7). Hyperparameters are carried over from Mangannavar et al. [28] unchanged (Appendix A.6), and renaming invariance is verified by a unit test (Appendix A.8). In-domain results use the checkpoint with the lowest combined training and validation loss; zero-shot results use the training epoch that maximizes mean zero-shot coverage on the other held-out domains.

Results and Discussion

Table 1 presents the zero-shot results for all eight held-out domains and Table 2 the in-domain results. We organize the discussion so that each question is answered by one comparison: a rung of the ladder, a control, or a diagnostic.

Is the representation costly on its own? (GADAR (single-domain) vs. GABAR (published).)** Trained on a single domain, GADAR (single-domain) is within five points on Blocks and Gripper and within ten on Spanner and Grid, but far behind on Miconic and Visitall, and it reaches only 3.1% and 7.4% on Logistics and Rovers. Describing symbols by role rather than name thus costs little in four domains and much in the others; on Logistics, UNION, which keeps the names, reaches 18.6% (see the aliasing discussed below).

BlocksGripperMiconicVisitallGridLogisticsSpannerRoversMean
GABAR (published)100.0100.0100.090.796.379.092.082.092.5
UNION57.284.186.177.389.618.648.69.658.9
GADAR-BIND43.495.467.078.664.90.340.08.249.7
GADAR74.694.561.981.194.62.747.99.058.3
GADAR (single-domain)95.5100.041.254.087.53.185.47.459.3

Table 2. In-domain coverage (%) on the test instances. Ladder rows average the seven leave-one-out policies whose training set includes the domain; GADAR (single-domain) is trained on that domain alone. GABAR (published): per-domain GABAR as published, on its own test instances.

Does one model serve several domains? (GADAR vs. GADAR (single-domain).) Every ladder column is a policy that serves seven domains at once. Averaged over the seven such policies that train on each domain, GADAR solves 58.3% of the test instances, against 59.3% for the eight GADAR (single-domain) models: sharing one model across seven domains costs one point on average. The average hides transfer in both directions. Training alongside other domains helps Visitall (81.1% against 54.0%), Miconic (61.9% against 41.2%), and Grid (94.6% against 87.5%), and hurts Spanner (47.9% against 85.4%) and Blocks (74.6% against 95.5%). Logistics and Rovers are equally low either way, so their gap to GABAR (published) is a cost of the representation, not of sharing.

Does the domain need to be in the input? (UNION vs. GADAR.) UNION, trained on the identical data with the identical architecture, is the stronger model on some training domains (86.1% on in-domain Miconic and 18.6% on Logistics, against GADAR’s 61.9% and 2.7%) and fails completely off them: it solves 0% of every held-out test split, and its top-ranked proposal is applicable in fewer than 1% of states there. On the same domains GADAR solves 40.0–68.0%. A symbol-identity representation cannot act on a vocabulary it has not seen; moving the domain description into the input is what makes zero-shot execution possible at all. Averaged in-domain, UNION reaches 58.9% against GADAR’s 58.3%: giving up symbol names costs under a point on average, but it costs Miconic and Logistics.

Is the description enough? (GADAR-BIND vs. GADAR.) GADAR-BIND already contains the full domain description and the binding edges, yet it solves 0.6% of held-out test instances on average and none on six of the eight domains. The chain layer, together with the grounded effect edges and goal features added in the same step, raises test coverage on every held-out domain: to 22.6% on average, and from 4.0% to 68.0% on Visitall. That step introduces no new supervision and no domain-sized parameters: its relations are restated from DD, and it widens only the domain-independent edge-feature input. The description alone does not transfer; it must be restated in a form message passing can use.

Is it the policy or the executor? (Floors vs. GADAR.) The executor resamples an applicable action when the rollout re-enters a visited state, so part of any coverage may come from the executor rather than the policy. Two floors separate them. On small instances the executor alone often suffices: random choice among applicable actions under the same executor solves 99.7% of training-scale Visitall and 88.3% of training-scale Miconic, so the training-scale split can credit the policy with little there. The test split can: random choice solves 3.3% of it on average and at most 13.8% (Spanner), and GADAR exceeds it on every held-out domain, by 4.0 (Logistics) to 62.0 points (Visitall). The two floors also differ from each other, and the difference matters: an untrained network is not a neutral policy but a consistently biased one, and it falls below random wherever random exploration is enough (2.6% against 88.3% on training-scale Miconic, 0.0% against 6.0% on test Visitall). A policy should therefore be credited against the higher of the two floors, which wherever we measured both is random choice. The same effect explains the one split where GADAR falls below random choice, training-scale Miconic (36.3% against 88.3%); on test Miconic, where exploration no longer suffices (1.1%), it solves 19.0%.

Are the plans goal-directed? (Plan quality.) Where random choice also succeeds, plan length separates a goal-directed policy from legal exploration. On training-scale Visitall, GADAR’s plans average 36.3 steps against 29.2 for the planner, a plan quality of 0.81; random choice solves nearly the same instances with plans averaging 107.1 steps, a plan quality of 0.27. On the test split, where random choice rarely succeeds, GADAR’s plan quality is 0.97: its plans are within 3% of the planner’s, which searches while GADAR does not.

Is it a terminal trigger? (Achievement oracle vs. GADAR.) A policy might only learn to fire when a goal atom is one action away. The achievement oracle hard-codes exactly that behavior and defers to the policy otherwise. On test Visitall it solves –% against GADAR’s 68.0%, so the policy is also choosing actions several steps from achieving anything, which is what the bucketed goal distance over the enables relation was designed to support.

How much of in-domain coverage does zero-shot recover? (Table 1 vs. Table 2.) Averaged over the eight domains, zero-shot GADAR solves 22.6% of the test instances against 58.3% for GADAR policies that train on the domain, about two fifths. The fraction ranges from 84% on Visitall to under a seventh on Grid and Gripper. On Logistics and Rovers zero-shot matches or exceeds in-domain coverage: training on these domains does not help either, which points to a representational limit rather than a failure of transfer.

Where is zero-shot generalization weakest? (Logistics and Gripper.) Logistics and Gripper are the weakest held-out domains, at 4.0% and 6.0% of their test instances. Logistics illustrates one cause. Its two transport modes use schemas, load-truck and load-airplane and their unload counterparts, whose lifted structure is identical up to the vehicle type they bind, so a representation that ignores symbol names gives them the same features even though only one advances the goal in a given state. Renaming invariance equates whole domains with identical structure; schemas that are structurally alike within a domain can still play different roles in it. The in-domain results point the same way: with Logistics among its training domains, GADAR still reaches only 2.7% on it, and 3.1% when trained on Logistics alone, against 94.6% on Grid. Gripper shows that shared structure is not sufficient either: it shares Miconic’s producer–consumer pattern yet transfers less (6.0% against 19.0%). Whether structural similarity, between schemas within a domain or between domains, predicts zero-shot coverage across all eight domains we leave to a systematic analysis.

Conclusion

We introduced GADAR, a policy for classical planning that takes the domain description as input and constructs grounded actions in domains never seen in training, without search. The capability rests on the binding layer, which connects ground applicability to lifted structure, and the chain layer, which makes the domain’s producer–consumer structure and its distance to the goal explicit; neither adds supervision or domain-sized parameters. One GADAR policy serves seven domains at once at the in-domain coverage of dedicated single-domain models (58.3% against 59.3%). Zero-shot, the chain layer raises held-out test coverage from 0.6% to 22.6% on average, above random choice on all eight domains and to 68% on Visitall, though it remains well below in-domain coverage on most. Schemas that are structurally alike but play different roles, as in Logistics, may mark a limit that renaming-invariant features cannot cross without data from the new domain. Few-shot adaptation, lifted successor generation, richer PDDL fragments, and probabilistic settings remain future work.

Algorithm 1 Construction of the GADAR graph for (s,G,D)(s, G, D)

  1. V←O∪L∪A∪{g}V \leftarrow O \cup L \cup A \cup\{g\} where LL holds the ground literals of ss and of GG, the latter flagged as goal atoms

  2. add ElitE_{\mathrm{lit}}: each literal to its argument objects, argument position on the edge

  3. add EactE_{\mathrm{act}}: each schema to the objects of its applicable groundings, parameter slot on the edge

  4. † compile each declared PDDL type of DD into a unary static predicate, so typed and predicate-typed domains present one structure

  5. † V←V∪Σ∪QV \leftarrow V \cup\Sigma\cup Q: a node per predicate symbol of DD, and an occurrence node qa,kq_{a,k} per literal occurrence in the preconditions and effects of each schema aa

  6. † add EoccE_{\mathrm{occ}}: each occurrence to its predicate symbol and its schema, carrying role r(q)r(q) and argument-to-slot pairs

  7. add EinstE_{\mathrm{inst}} and EbindE_{\mathrm{bind}}: each literal to its predicate symbol, each object to its type symbol, and (o,qa,k)(o, q_{a,k}) whenever an applicable grounding of aa puts oo at a slot that occurrence kk constrains

  8. † add EchainE_{\mathrm{chain}}: enables between an add and a pre occurrence of a shared predicate, threatens likewise for del

  9. add EeffE_{\mathrm{eff}}: from each applicable grounding, link its objects to any unsatisfied goal atom it adds and any true atom it deletes

  10. compute gdist⁡(a)\operatorname{gdist}(a) by breadth-first search over enables from the schemas adding a goal predicate; mark objects occurring in an open goal atom

  11. emit XX and RR as indicator vectors; widths depend only on the global arity caps (kp,ka)(k_p, k_a), never on ∣A∣|A|, ∣P∣|P|, ∣T∣|T| or ∣O∣|O|

Appendix

This appendix gives the detail a reader needs to implement the representation, reproduce the experiments, or reuse either in another setting. It adds no results: everything reported in the paper is in the paper.

Building the Graph

Algorithm 1 constructs G=(V,E,X,R)G = (V, E, X, R) for one task, in the notation of the representation section. Lines marked † depend on the domain description alone, so they are computed once per domain and reused for every state of it; the rest are per state and are linear in the applicable groundings and the open goal atoms. The three systems are prefixes of the same procedure: UNION runs lines 1 to 3 with symbol-identity features in place of XX, GADAR-BIND runs lines 1 to 7, and GADAR runs all of it.

Two implementation points matter for anyone rebuilding this. First, the type compilation on line 4 is what lets one model span domains that declare PDDL types and domains that spell types as ordinary unary predicates; without it the two families present different structure for the same constraint, and a policy trained on one produces type-invalid groundings on the other. Second, EbindE_{\mathrm{bind}} on line 7 is the only relation that crosses between the two layers, joining an object of the current problem to a precondition occurrence of a schema in DD. Everything else lives wholly inside one layer.

The reference implementation accumulates edge features sparsely, as a map from node pair to the set of features that hold. A dense (ka,∣V∣,∣V∣,dim⁡R)(k_a, |V|, |V|, \dim R) array is the obvious alternative and is what we wrote first, but it costs O(ka∣V∣2dim⁡R)O(k_a|V|^2 \dim R) to allocate and scan for every state, which dominates the cost of re-featurizing states during evaluation on large instances.

Encoder

Node, edge, and global features are first embedded by separate MLPs into d=64d=64 dimensions. Each of L=9L=9 rounds then (1) updates every edge from its two endpoints, its own embedding, and the global node, (2) updates every node from its incoming edges, aggregated by attention (a softmax over the node’s incoming edges), and (3) updates the global node from all nodes and edges. At every round the current embeddings are concatenated with their round-0 encodings before the update, a skip connection that keeps the input features visible at depth. The output is one embedding per node, which the decoder ranks.

Relation to GOOSE’s Lifted Learning Graph

LLG and our lifted layer share the essential idea of the domain description as input, and differ in encoding: argument positions as edge features rather than chains of index nodes, and occurrence nodes carrying exact argument-to-slot pairs. The fundamental difference is purpose. A heuristic graph must support one number read from a global embedding, so LLG contains no ground actions and no applicability information, and Chen et al. [11] prove message passing on it cannot compute haddh^{\mathrm{add}}. A policy graph must contain the decoder’s targets, the schema and object nodes to score, and the evidence for scoring them: which groundings are applicable and why. The binding layer supplies that evidence in DD’s own vocabulary.

Decoding and Training

A GRU scores the schema nodes against its hidden state and takes the best, then scores the object nodes once per argument of the selected schema, feeding each choice back as the next input. The number of arguments is read from DD for the selected schema, under a global arity cap rather than a per-domain constant, which is what allows the loop to run in a domain whose schemas were never seen. Selection is a dot product between the decoder state and the embedding of a node present in the graph, so no layer is sized by the number of schemas, objects, or predicates. Search over these choices is a beam of width 2 over schemas and 3 over objects per slot.

Training is supervised on plans from a satisficing planner: cross-entropy against the planner’s schema choice and each of its argument choices, at every state along every plan. Because feature widths do not depend on the domain, states from different domains mix freely within a batch.

Domains and Data

We use the eight benchmark domains of Mangannavar et al. [28], generated with Seipp et al. [33]. Table 3 gives the sizes. Instances the planner fails to solve within its limit are skipped, so the collected count can fall below the number of instances the generator produced; the counts in the table are what was actually collected.

DomainProblemsStates
Blocks2004,216
Gripper1477,287
Miconic2285,453
Visitall1253,654
Grid1926,880
Logistics1566,732
Spanner2343,801
Rovers3123,001
Total1,59441,024

Table 3. Training data per domain: the small instances collected, and the labelled states taken from their plans.

Ten percent of each domain’s states are held out for validation, stratified by domain so every training domain is represented, and the split is deterministic given the seed. In the leave-one-domain-out experiments the held-out domain contributes nothing to either split: its plans are never collected for that run, so no state, predicate, or schema of it is seen. Testing is done on 300 problems each for all domains (combined from easy, medium and hard problems from the GABAR experiments).

Hyperparameters

Table 4 lists every setting. Encoder and decoder hyperparameters are inherited from Mangannavar et al. [28] without modification. This is deliberate rather than incidental: the comparisons in the paper are between representations, and re-tuning the network for each one would confound them. We therefore ran no architecture search, and a practitioner adapting this to a new benchmark should expect to gain from tuning we did not do. The two settings we did choose are the global arity caps (kpk_p, kak_a), set to the maxima over the training domains so a held-out domain with wider symbols still featurizes at full width, and the number of training epochs.

SettingValue
Encoder
Message-passing rounds LL9
Representation size64
Attention heads1
MLP layers per update block2
Global nodeenabled
Decoder
GRU layers3
Beam width, schemas2
Beam width, objects per slot3
Optimization
OptimizerAdam
Learning rate5×10−45 \times10^{-4}
Batch size64
Dropout0.0
Attention dropout0.0
Weight decay0.0
Epochs, structural systems500
Epochs, UNION100
Evaluation
Execution bound (steps)500
Search at test timenone (greedy)
Revisit monitorenabled
Training plan generatorfd-lama-first
Plan-quality referencefd-lama-first

Table 4. Final hyperparameters, identical across all three systems except where noted.

A run is seeded once, and that seed governs the network initialization, the training shuffle, and the train and validation split; the revisit monitor’s fallback sampling is seeded per problem, so that it is identical across execution harnesses. Each configuration is a single run.

Evaluation Protocol

Let T\mathcal{T} be a test set and solved⁡(π)⊆T\operatorname{solved}(\pi) \subseteq\mathcal{T} the instances on which policy π\pi reaches a goal state within the execution bound. Coverage is

C(π)=∣solved⁡(π)∣∣T∣×100.C(\pi) = \frac{|\operatorname{solved}(\pi)|}{|\mathcal{T}|} \times100.

Execution is greedy and search-free. At each state the highest-ranked applicable action the decoder constructs is executed; a rollout that proposes an inapplicable action falls back to the next candidate in the beam, and if none is applicable the rollout fails. Rollouts also end at the goal, at a dead end, or at the step bound.

Plan quality compares plan lengths on the instances that both the policy and the reference planner solve. With ∣π(t)∣|\pi(t)| the policy’s plan length on instance tt and ∣ρ(t)∣|\rho(t)| the reference planner’s,

P(π)=∑t∈solved⁡(π)∩solved⁡(ρ)∣ρ(t)∣∑t∈solved⁡(π)∩solved⁡(ρ)∣π(t)∣.P(\pi) = \frac{\sum_{t \in\operatorname{solved}(\pi)\cap\operatorname{solved}(\rho)} |\rho(t)|}{\sum_{t \in\operatorname{solved}(\pi)\cap\operatorname{solved}(\rho)} |\pi(t)|}.

Higher is better, and P>1P > 1 means plans shorter than the reference. Because PP conditions on what a system solves, a system with higher coverage is scored on harder instances, so PP should be read within a column rather than across columns, and coverage is the primary metric.

Coverage is measured with a revisit monitor, which resamples among the decoder’s applicable proposals when a greedy rollout re-enters a state it has already visited. The monitor belongs to the execution harness and applies identically to every system, including the untrained control. That is what makes the control informative: it measures what the harness alone achieves when the learned component contributes nothing, and it is the number the policy’s coverage should be read against.

In-domain results. Each in-domain cell of the ladder columns averages the seven leave-one-out policies whose training set contains the domain, each evaluated at its lowest-combined-loss checkpoint. GADAR (single-domain) uses the suite’s settings (batch size 64, all training instances of the domain, 500 epochs).

Renaming Invariance

Invariance to renaming is a property of the construction rather than something learned, and it is checked by a test that runs on every change to the representation. Given a domain and a bijective renaming of its predicates, action schemas, types, and objects, the test builds the graph for the original and the renamed task and asserts that the node feature matrix, the edge feature matrix, and the edge lists are identical. It covers both typing conventions in the benchmark suite and asserts that a domain declaring PDDL types and an equivalent domain spelling types as unary predicates produce the same structure after type compilation.

Compute and Runtime

Each training and evaluation run uses a single GPU. Training one model on seven domains takes several hours; a single-domain model takes between half an hour and two hours, so covering eight domains with dedicated models costs a comparable total and yields eight separate models rather than one.

Code

The implementation is a single Python package built on PyTorch and PyTorch Geometric, using PDDLGym to parse domains and problems and Fast Downward [2] to generate training plans. Each experiment is one YAML configuration file naming the training domains, the representation, and the evaluation domains, and a run is a single invocation of the entry point with one such file, so the configuration files are a complete record of what was run. The source, those configuration files, and the analysis scripts will be released publicly under a permissive license on publication, with a pinned dependency specification.

References

  1. [2]Helmert, M. (2006). New results on the complexity of planning benchmarks.
  2. [4]Karia, R., & Srivastava, S. (2021). Learning generalized policies for classical planning.
  3. [9]Michael Aichmüller, Yannik Hesse, and Hector Geffner. Learning to search and searching to learn for generalization in planning, 2026a. URL https://arxiv.org/abs/2605.25720.
  4. [10]Aichmüller, M., Ståhlberg, S., Funkquist, M., & Geffner, H. (n.d.). Efficient lookahead encoding and abstracted width for learning general policies in classical planning. https://arxiv.org/abs/2605.18674
  5. [11]Dillon Z Chen, Sylvie Thiébaux, and Felipe Trevizan. Learning domain-independent heuristics for grounded and lifted planning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pp. 20078–20086, 2024a.DOI
  6. [12]Dillon Z Chen, Felipe Trevizan, and Sylvie Thiébaux. Return to tradition: Learning reliable heuristics with classical machine learning. In Proceedings of the International Conference on Automated Planning and Scheduling, volume 34, pp. 68–76, 2024b.DOI
  7. [13]Chen, D. Z., Thiébaux, S., & Trevizan, F. (2023). Goose: Learning domain-independent heuristics. In NeurIPS 2023 Workshop on Generalization in Planning.
  8. [14]Leah Chrestien, Stefan Edelkamp, Antonin Komenda, and Tomas Pevny. Optimize planning heuristics to rank, not to estimate cost-to-goal. Advances in Neural Information Processing Systems, 36, 2024.arxiv.org/abs/2310.19463
  9. [15]Sašo Džeroski, Luc De Raedt, and Kurt Driessens. Relational reinforcement learning. Machine learning, 43:7–52, 2001.DOI
  10. [16]Kutluhan Erol, Dana S. Nau, and V.S. Subrahmanian. Complexity, decidability and undecidability results for domain-independent planning. Artificial Intelligence, 76(1):75–88, 1995. ISSN 0004-3702. doi: https://doi.org/10.1016/0004-3702(94)00080-K. URL https://www.sciencedirect.com/science/article/pii/000437029400080K. Planning and Scheduling.
  11. [17]Fern, A., Yoon, S., & Givan, R. (2003). Approximate policy iteration with a policy language bias. Advances in Neural Information Processing Systems, 16.
  12. [18]Sankalp Garg, Aniket Bajpai, et al. Size independent neural transfer for rddl planning. In Proceedings of the International Conference on Automated Planning and Scheduling, volume 29, pp. 631–636, 2019.arxiv.org/abs/1902.03081
  13. [19]Sankalp Garg, Aniket Bajpai, et al. Symbolic network: generalized neural policies for relational mdps. In International Conference on Machine Learning, pp. 3397–3407. PMLR, 2020.arxiv.org/abs/2002.07375
  14. [20]Caelan Reed Garrett, Leslie Pack Kaelbling, and Tomás Lozano-Pérez. Learning to rank for synthesizing planning heuristics. arXiv preprint arXiv:1608.01302, 2016.arxiv.org/abs/1608.01302
  15. [21]Elliot Gestrin and Hendrik Seipp. Llm-evolved domain-independent heuristics for symbolic ai planning, 2026. URL https://arxiv.org/abs/2605.29649.
  16. [22]Mingyu Hao, Felipe Trevizan, Sylvie Thiébaux, Patrick Ferber, and Jörg Hoffmann. Guiding gbfs through learned pairwise rankings. In Thirty-Third International Joint Conference on Artificial Intelligence {IJCAI-24}, pp. 6724–6732. International Joint Conferences on Artificial Intelligence Organization, 2024.DOI
  17. [24]Jaromír Janisch, Tomáš Pevný, and Viliam Lišý. Symbolic relational deep reinforcement learning based on graph neural networks and autoregressive policy decomposition. arXiv preprint arXiv:2009.12462, 2020.arxiv.org/abs/2009.12462
  18. [26]Rajesh Mangannavar and Prasad Tadepalli. Gammazero: Learning to guide belief-space search for long-horizon pomdps with generalizable graph representations. In Proceedings of the International Conference on Automated Planning and Scheduling, volume 36, pp. 658–666, 2026.DOI
  19. [27]Rajesh Mangannavar, Alan Fern, and Prasad Tadepalli. Hierarchical object-oriented pomdp planning for object rearrangement, 2025a. URL https://arxiv.org/abs/2412.01348.
  20. [28]Rajesh Mangannavar, Stefan Lee, Alan Fern, and Prasad Tadepalli. Graph neural network based action ranking for planning. Advances in Neural Information Processing Systems, 38:172375–172398, 2025b.arxiv.org/abs/2412.04752
  21. [29]Rajesh Mangannavar, Zachary Coalson, Pranay Dugar, and Prasad Tadepalli. Training the orchestrator: A supervised approach to end-to-end pddl planning with llm agents, 2026. URL https://arxiv.org/abs/2606.21740.
  22. [31]Nicola J. Müller, Moritz Oster, Isabel Valera, Jörg Hoffmann, and Timo P. Gros. Per-domain generalizing policies: On learning efficient and robust q-value functions (extended version with technical appendix), 2026. URL https://arxiv.org/abs/2603.17544.
  23. [32]Or Rivlin, Tamir Hazan, and Erez Karpas. Generalized planning with deep reinforcement learning. arXiv preprint arXiv:2005.02305, 2020.arXiv
  24. [33]Jendrik Seipp, Álvaro Torralba, and Jörg Hoffmann. PDDL generators. https://doi.org/10.5281/zenodo.6382173, 2022.
  25. [34]William Shen, Felipe Trevizan, and Sylvie Thiebaux. Learning domain-independent planning heuristics with hypergraph networks. In Proceedings of the International Conference on Automated Planning and Scheduling, volume 30, pp. 574–584, 2020.arxiv.org/abs/1911.13101
  26. [35]Simon Ståhlberg, Blai Bonet, and Hector Geffner. Learning general optimal policies with graph neural networks: Expressive power, transparency, and limits. In Proceedings of the International Conference on Automated Planning and Scheduling, volume 32, pp. 629–637, 2022a.arxiv.org/abs/2109.10129
  27. [37]Ståhlberg, S., Bonet, B., & Geffner, H. (2023). Learning general policies with policy gradient methods. Proceedings of the International Conference on Principles of Knowledge Representation and Reasoning, 19, 647–657.
  28. [38]Ståhlberg, S., Bonet, B., & Geffner, H. (2024). Learning general policies for classical planning domains: Getting beyond c_2. In arXiv preprint. arXiv:2403.11734
  29. [39]Sam Toyer, Sylvie Thiebaux, Felipe Trevizan, and Lexing Xie. Asnets: Deep learning for generalised planning. Journal of Artificial Intelligence Research, 68:1–68, 2020.DOI
  30. [40]Valmeekam, K., Stechly, K., Gundawar, A., & Kambhampati, S. (2025). A systematic evaluation of the planning and scheduling abilities of the reasoning model o1. Transactions on Machine Learning Research.
  31. [41]Yuehua Xu, Alan Fern, and Sungwook Yoon. Learning linear ranking functions for beam search with application to planning. Journal of Machine Learning Research, 10(7), 2009.
  32. [42]Zambaldi, V., Raposo, D., Santoro, A., Bapst, V., Li, Y., Babuschkin, I., Tuyls, K., Reichert, D., Lillicrap, T., Lockhart, E., & al., . et . (2018). Relational deep reinforcement learning. In arXiv preprint. arXiv:1806.01830

Paper details

vlnc:W_5jm3h8u5
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents