REAP: Learning General Rearrangement Heuristics
from Motion-Planner Feedback

Daniel Swoboda  ·  Hector Geffner

Chair of Machine Learning and Reasoning, RWTH Aachen University

Accepted at the Conference on Robot Learning (CoRL) 2026

Code, trained weights, datasets, baseline reimplementations and the MuJoCo environments will be made available shortly.

REAP learns a Q-value function that scores symbolic actions by anticipating which will be geometrically feasible. The function can drive a greedy policy or guide best-first search at deployment. By skipping motion-planner checks on actions the policy deems infeasible, REAP reduces motion-planning overhead by an order of magnitude across five robot rearrangement domains.

Abstract

Robotic rearrangement tasks require planning sequences of actions that fulfill high-level specifications while also being geometrically feasible. Symbolic abstractions make the combinatorial structure of rearrangement tasks tractable, but they usually do not fully capture the geometric constraints that determine which actions a motion policy can realize. This is due to the complexity of expressing the underlying geometric feasibility constraints in the symbolic model. We propose REAP (Rearrangement with Elicited Action Preconditions), a framework in which a relational graph neural network heuristic is learned over a simple symbolic abstraction. A motion policy serves as a supervisor that elicits the hidden geometric preconditions of the problem during training. Deployed with greedy best-first search, the learned heuristic generalizes out-of-distribution along object count, plan length, and object arrangement. Compared to classical heuristic search and TAMP baselines on the same instances, REAP requires approximately an order of magnitude fewer motion policy queries because the heuristic anticipates which low-level actions are geometrically feasible. We show that the same architecture, training recipe, and search procedure adapt to various robotic rearrangement domains.

95.9%
Solve rate on 300 open-tabletop problems
REAP-GBFS (mean over 6 seeds), vs 76.7% for hFF and 56.7% for BrFS · identical 300 s cap for every method
~11×
Fewer motion-planner queries per solved plan
15.5 for REAP-GBFS, 179.0 for hFF, 148.8 for BrFS · distinct queries, deduplicated per problem
1.85
Motion-planner queries per expansion
vs 5.04 for hFF, 7.01 for BrFS and 4.09 for PLOI. How often a method proposes an action the motion planner then rejects.
5
Rearrangement environments
Same architecture & training loop; only the PDDL domain changes

Policy Execution Across Five Environments

Each video shows REAP’s learned policy deployed under greedy best-first search, solving one in-distribution and one out-of-distribution instance per environment (Access-19 is shown in-distribution only). The same architecture and training loop are used across all five domains; only the PDDL specification and scene generator change.

Open-Tabletop: cylinder rearrangement on a 10×7 grid. Shown: an in-distribution instance and an OOD instance along the plan-length axis.
Confined-Shelf: colour-sort cylinders inside a closed cubicle with single-side reachability. Shown: an in-distribution monotone instance and a non-monotone OOD instance (16 cylinders).

Adapted from Wang et al., ICAPS 2022.

Multi-Level Shelf: retrieve the OoI from a three-tier shelf. Shown: an in-distribution instance (1–5 blockers) and an OOD instance (4–10 blockers).

Adapted from Ait Bouhsain et al., HAL preprint 2025.

Access-19: deeply-occluded object retrieval in a 96-cell two-deck cubicle. Shown: an 18-blocker partial run.

From Ait Bouhsain et al., HAL preprint 2025.

3D Block Stacking: build a multi-part structure from cube, oblong, and long blocks on a 10×10×5 stack grid. Shown: an in-distribution instance (1–8 blocks) and an OOD combined-structure instance (6–13 blocks).

Inspired by Kulshrestha & Qureshi, CoRL 2023.

Method

REAP pipeline overview
REAP pipeline: at deployment (top-right) and during training (bottom-right). The shared left-side modules (symbolic input, relational GNN, and feasibility oracle) are unchanged between the two passes.
1

Coarse symbolic abstraction

Each environment is encoded as a coarse PDDL/STRIPS planning problem with a small set of predicates (cell occupancy, gripper state, support relations) and action schemas for picking and placing. The abstraction is deliberately a loose over-approximation: in most domains, almost every pick or place is symbolically applicable, but only a small subset is geometrically realizable at any given state. REAP’s contribution is learning to predict that subset without consulting the motion planner.

2

Learned action-selection policy

A relational GNN maps state-action pairs (s, a) to scalar Q-values. Taken together, the Q-values define a policy that selects actions while anticipating their geometric feasibility. States and goals are encoded as atoms, so a single architecture generalizes across instances with different numbers of objects and cells.

3

Motion-planner-as-supervisor

During training, an ε-greedy weighted-A* search collects rollouts and consults a motion planner for the feasibility of each selected action. Infeasible actions incur a cost penalty, so the learned heuristic anticipates which symbolically applicable actions will fail the geometric check.

4

Deployment via greedy best-first search

At test time, a greedy best-first search uses the learned Q-values to order successors and consults the motion planner only for the most promising candidates. Feasibility verdicts are cached, so a single rejection prunes the corresponding sub-tree.

Concrete example: on an open-tabletop state with 10 cylinders, roughly 60–70 pick / place actions are symbolically applicable. Only a handful are geometrically feasible; the rest fail because a neighbouring cylinder blocks the gripper approach.

Comparison with Baselines

On the open-tabletop suite, REAP-GBFS solves substantially more problems than the classical search baselines (BrFS, hFF), an integrated TAMP planner (PDDLStream), and three learning-based methods we reimplemented against the same action space and the same feasibility oracle — SAHS, PLOI and BT-h — while making roughly an order of magnitude fewer motion-planner queries per solved plan.

The comparison against SAHS is the sharpest: it searches about as efficiently as REAP (1.31 versus 1.27 expansions per plan step), so the two explore the symbolic space equally well. The entire difference is what gets proposed — and whether the motion planner accepts it.

Motion-planner queries per plan, log scale
Motion-planner queries per solved plan, identical 300 s compute cap per problem. Lower is better. Note the log scale — the values span 5.4 to 3002.9, which a linear axis cannot show. *BT-h is supplied with the object ordering and refines placements only. SAHS’s cost is dominated by a fixed per-problem predicate build that requires IK and motion planning before search begins.
Method Solve (%) MP / plan [med.] Checks / exp. Exp./steps Time (s)
REAP-GBFS 95.9 ± 0.5 15.5 [3.3] 1.85 1.27 3.6
REAP-greedy 89.4 ± 1.5 5.4 [3.0] — — 1.8
BrFS 56.7148.8 [12.0] 7.017.2619.5
hFF 76.7179.0 [1.0] 5.043.6225.4
SAHS (Kim & Shimanuki, 2019) 57.33002.9 [2962] —1.3159.3
PLOI + hFF (Silver et al., 2021) 73.7247.4 [2.0] 4.098.7442.2
PLOI + BrFS 54.3132.2 [2.0] 3.5612.6523.5
BT-h (Cieślar et al., 2025), given the plan ordering 81.728.5 [3.0] —4.254.5
PDDLStream (best of four configurations) 64.323.6 [1.0] ——17.2
300 problems, one identical 300 s cap, the same symbolic action space and the same feasibility oracle for every method. MP / plan is distinct motion-planner queries per solved problem, deduplicated within a problem; median in brackets. Checks / exp. is queries per expansion — how often a method proposes an action the motion planner then rejects. REAP rows are mean ± std over 6 seeds; all others are single runs. SAHS’s cost is a fixed per-problem floor rather than a per-expansion rate, so checks / exp. is not meaningful for it. BT-h is supplied with the object ordering and refines placements only.

Out-of-Distribution Generalization

REAP’s learned heuristic generalizes out-of-distribution along several axes. On open-tabletop, the policy trained on at most 14 objects with plan lengths up to 11 reaches 95.9% solve rate under REAP-GBFS across the full 300-problem suite (up to 24 objects, plan lengths up to 15).

Open-Tabletop: three OOD axes

Out-of-distribution generalization: REAP versus four baselines across object count, plan length and object arrangement
Out-of-distribution generalization on the open-tabletop environment along object count, plan length, and object arrangement, for REAP and four baselines. Dashed lines mark the training-distribution boundary; panel (a) is scaled to 75–100%, so vertical positions are not comparable across panels. REAP lines are means over six seeds with shaded bands at ±1 standard deviation; the baselines are single runs and carry no band. Every baseline degrades with plan length and reaches zero by length 13; REAP-GBFS does not. The two rightmost plan-length buckets hold only two problems and one, so values there are single instances rather than trends.

Cross-environment OOD generalization

Environment Setting Solve (%) Mean exp./steps MP / plan
Confined-Shelf In-distribution (monotone) 100.01.007.0
OOD: 16 objects, non-monotone 100.01.0011.2
Multi-Level Shelf In-distribution (1–5 blockers) 100.01.005.5
OOD (4–10 blockers) 100.01.017.3
Access-19 In-distribution (≤ 14 blockers) 98.01.037.8
3D Block Stacking In-distribution (1–8 blocks) 100.01.007.1
OOD (combined, 6–13 blocks) 100.01.1622.2
REAP-GBFS across the four non-tabletop environments. exp./steps is search expansions normalized by plan length; MP/plan is motion-planner queries per solved problem. Access-19 is shown in-distribution only: REAP solves up to 14 blockers reliably, but a single goal-conditioned policy does not solve the 18-blocker case — see Limitations.

Limitations

Generalization within a domain holds; generalization across domain specifications does not. The symbolic abstraction (predicates, action schemas) is hand-crafted per environment, and REAP learns the heuristic over that fixed vocabulary. Within a domain, REAP scales to denser scenes and longer plans than seen during training, but a single goal-conditioned policy does not solve Access-19 with 18 blockers. The obstacle is not horizon — plan extraction succeeds at 100% for plans of up to 30 steps — but subgoal decomposition: the task requires moving blockers away from their goal positions before restoring them, and two policies trained one per phase and executed in sequence do solve it. Training also requires a few hundred motion-planner-supervised episodes per environment, which is cheaper than running motion planning at deployment but is still not free.