Learning the Choice, Not the Cut: Hypergraph-Guided Stubborn Sets for Optimal Planning

Planners that search over states run out of time and memory because the number of reachable states grows exponentially. A classical remedy is safe pruning. A stubborn set is a subset of actions that, at a given state, can be expanded in place of all applicable actions without losing any optimal plan. The safety proof does not depend on exactly which stubborn set is chosen. At several points the construction must make an arbitrary choice: which unsatisfied precondition to "cover," and, in the weak variant, whether to cover a fact's enablers or its disablers. Any option keeps the guarantee, but different options yield sets of very different size, so they prune very different amounts. Today these choices are made by fixed tie-breaking rules.

We propose to learn them. A hypergraph neural network reads the grounded planning task once before search and assigns a priority score to every fact. During search, the stubborn-set routine follows these priorities whenever it faces a choice. The network can only steer among options that are all provably safe, so a bad prediction costs pruning power but never costs optimality or completeness, and the method needs no fallback search. The higher-order model matters because each action is a single relation among all the facts it reads, adds, and deletes. The size of the set that a choice pulls in depends on which facts co-occur inside the same action, and that is exactly the information lost when actions are flattened into pairwise fact–fact edges.

Core Claim

Learned pruning in planning has so far meant learned cutting: a network decides what to discard, and completeness is patched afterwards. Fast Task Planning with Neuro-Symbolic Relaxation (Flax) scores object importance with a pairwise graph neural network, solves the reduced task, and recovers missed objects through hand-written relaxation and complementary rules. Spatial Reasoning via Deep Vision Models for Robotic Sequential Manipulation prunes clutter objects using image-based relevance predictions and falls back to the full scene when the pruned search fails. These papers motivate the proposal by showing that learned relevance helps. They also expose its flaw: a single misprediction wastes the whole pruned search.

Symbolic safe pruning sits at the other extreme. On Weak Stubborn Sets in Classical Planning formalizes Generalized Weak Stubborn Sets. It proves that any choice between enablers and disablers satisfies the operator shifting property, meaning a selected action can be moved to the front of a plan without breaking it, so optimal plans survive. It also shows this family's pruning power is incomparable to compliant stubborn sets. That paper supplies our method. Its theorem quantifies over all valid choices, which is the slack we exploit.

The claim is that safe pruning methods contain a large, unexploited space of choices that are all safe but differ widely in strength. A one-shot, size-generalizing hypergraph model trained on small tasks can pick strong options in that space and so reduce node expansions on unseen, larger tasks with zero risk to optimality. To our knowledge no paper in the literature combines learned higher-order models with stubborn sets or dominance pruning. The research file's own gap analysis lists exactly this triangle as empty.

Mechanism

At a state $s$, a stubborn set $T$ is built by closure. Whenever $T$ contains an action $o$ that is not applicable in $s$, the construction must add the achievers of one unsatisfied precondition. The weak variant must also choose between enabling and disabling sets. We replace the default rule with

$$f^*(o,s) = \arg\max_{f \in \mathrm{pre}(o)\setminus s} \pi_\theta(f),$$

where $\pi_\theta(f)$ is the learned priority of ground fact $f$, computed once per task by the network with parameters $\theta$. The enabler/disabler decision is made analogously, using a learned score for each option class. Per-state overhead is one table lookup per choice, the same cost as the existing tie-breaking. The safety argument from the weak stubborn sets paper applies unchanged, because the rule only selects among options the theorem already allows.

The network input is the grounded task as a typed hypergraph. Facts are nodes and each action is a hyperedge. Each incidence is labeled by its role: precondition, add, or delete. We use hyperedges with their own hidden states and nonlinearities, following HNHN: Hypergraph Networks with Hyperedge Neurons. The motivation is that the property we care about, how much closure a fact triggers, is a property of whole actions. HNHN's Fano-plane argument shows that pairwise expansion cannot tell a single three-way relation apart from three separate pairwise ones. We use the two-stage node-to-hyperedge-to-node scheme of Hypergraph Convolution and Hypergraph Attention, with role-specific weights.

Training labels come from an expensive oracle run on small tasks. For sampled states, we compute minimum-size stubborn sets by integer programming over the choice variables and record which facts and option classes the minimal sets used. We then train $\pi_\theta$ with a listwise ranking loss so that, among the unsatisfied preconditions competing at each choice point, the oracle's pick ranks highest. Small training tasks are generated from standard generators and from PDDLGym domains such as Blocks World, Gripper, Depot, and Sokoban.

Learning Logic Programs by Discovering Where Not to Search is a useful parallel. DISCO runs a one-time, provably sound analysis before search and turns its findings into pruning constraints. Our learned component plays the same pre-search role, but it shapes how strong the pruning is rather than certifying constraints.

Two prior results constrain the design. Admissible Pruning Strategies based on plan minimality for Plan-Space Planning shows that a pruning rule can be admissible under one search mechanism and inadmissible under another. We therefore restrict ourselves to forward state-space A, where the stubborn-set theorems are proven. As a cheap correctness test, we will check that plan costs exactly match unpruned A on every solved task. Second, Higher-Order Learning with Graph Neural Networks via Hypergraph Encodings finds that specialized hypergraph architectures sometimes fail to benefit from hypergraph structural encodings, while ordinary graph networks given those encodings gain expressivity beyond the 1-Weisfeiler-Leman test. That finding makes "standard graph network plus hypergraph encodings" a legitimate competitor rather than a strawman.

Research Program

The work proceeds in three stages, each gated by the previous one.

The first stage is a headroom study and costs no learning. On the IPC 1998–2018 optimal suite used by the weak stubborn sets paper (1827 tasks, 65 domains), we sample states from A* runs. At each state we compare the stubborn set produced by default tie-breaking with an integer-programming minimum and with the best fixed per-task priority order found by local search. If the minimum is rarely smaller than the default, choices do not matter and the project stops here.

The second stage trains the hypergraph scorer per domain and then across domains. We test generalization from small training instances to the full IPC instance sizes.

The third stage extends the idea in two directions. One is satisficing greedy search, where stubborn sets preserve completeness. Following Completeness-Preserving Dominance Techniques for Satisficing Planning, we will compare against its dominance-based hill-climbing, and we will test whether the same "learn the order of safe choices" idea transfers to the order in which that paper serializes its labeled transition systems. That order is another safe degree of freedom whose cost is dominated by preprocessing. The other direction is composition with symmetry elimination as in Integrating Partial Order Reduction and Symmetry Elimination for Cost-Optimal Classical Planning.

Baselines

The naive reference point is A* with the LM-cut heuristic and no pruning, run in the same Fast Downward build with identical time and memory limits. It establishes the expansion and coverage floor.

The strongest existing method is Generalized Weak Stubborn Sets with their published default choice rules, from On Weak Stubborn Sets in Classical Planning, alongside generalized strong and compliant stubborn sets. Since its pruning power is incomparable to compliant stubborn sets, we report against whichever is better per domain. The file contains no reported per-domain coverage or pruning figures for this method, so there is no reported result on Lacuna for GWSS coverage on the IPC suite. We will rerun it ourselves on exactly the same tasks, hardware, and limits. Beating it means higher total coverage, or a statistically significant reduction in expansions on commonly solved tasks, once network inference time is charged to the planner's clock.

A hand-designed choice heuristic isolates whether learning is needed at all. It picks the unsatisfied fact with the fewest achievers, and in a second version the fact whose achievers add the fewest new actions to the current set. Both versions are cheap, and both receive the same per-state cost accounting.

Three ablations isolate the key ingredient. A random fixed priority order shows how much choice matters. A pairwise graph network on the clique-expanded fact graph uses the same parameter count and tuning budget. A standard graph network augmented with the hypergraph local-degree and random-walk encodings from Higher-Order Learning with Graph Neural Networks via Hypergraph Encodings tests the encoding route. Every learned variant gets the same training tasks, oracle labels, and hyperparameter search budget.

A learned-cut baseline in the style of Flax shows what is lost when safety comes from fallback. It prunes facts below a score threshold and re-runs unpruned search on failure. Flax reports a 20.82% higher average success rate and 17.65% lower mean planning time than the PLOI baseline on its manipulation benchmarks (Fast Task Planning with Neuro-Symbolic Relaxation). Those numbers are on robot domains, not IPC, so we cite them only as context.

Why not just…?

Why not just use a smarter hand-written tie-breaking rule? This is the most serious threat. If "fewest achievers" or greedy minimal-closure selection captures most of the headroom, learning adds only cost. The headroom study answers this directly by measuring how far each hand rule sits from the integer-programming minimum. If a hand rule closes most of the gap, we will report that and pivot to the satisficing dominance-ordering question, where no comparable cheap rule is known.

Why not just run a pairwise graph network on clique-expanded actions? HNHN's Fano-plane construction shows clique expansion merges distinct multi-way structures. Closure size depends on which facts share an action, which is exactly such a structure. This is still an empirical question for planning tasks, and the parameter-matched clique ablation settles it. If the pairwise network matches the hypergraph network, the higher-order claim fails and we will say so.

Why not just prune with a learned relevance predictor and fall back when it fails? Fallback makes worst-case runtime the cost of the failed pruned search plus the full search. The vision-pruning paper's speedup drops from 40.2–44.8% on same-plane tasks to 17.2% on occluded on-top tasks, showing how mistakes erode gains (Spatial Reasoning via Deep Vision Models for Robotic Sequential Manipulation). It also gives no optimality guarantee short of the full re-run. Our learned-cut baseline measures this trade on IPC directly. We expect it to win on some easy domains and lose badly on its worst-case tasks.

Why not just learn a better heuristic instead? A learned heuristic changes the order in which nodes are expanded. Stubborn sets reduce which successors exist. The two are complementary, and a learned inadmissible heuristic would forfeit the optimality guarantee we keep. We therefore hold the heuristic fixed at LM-cut so that gains can be attributed to the pruning choice.

Decisive Checks

The project lives or dies on three measurements.

The first is the headroom ratio from stage one: the median ratio of default stubborn-set size to minimum size over sampled states, per domain. We require this ratio to exceed the cheap hand rule's ratio meaningfully in a substantial share of domains.

The second is the size-generalization curve. Expansion reduction relative to default GWSS should hold when the network is trained on small instances and tested on the largest IPC instances in each domain.

The third is the end-to-end result: coverage and total wall-clock time, including grounding, hypergraph construction, and the forward pass, against the strongest stubborn-set configuration. Plan costs must match exactly on every solved task.

If the hypergraph scorer beats the clique-expanded network and the hand rules on expansions, and the headroom translates into coverage under honest time accounting, we will have shown that the right place for learning inside safe search is the choices the safety theorem leaves open.