Research
Macro-Operator Generation and Predicate Selection for TAMP Operator Learning
Hand-writing symbolic operators is one of the main bottlenecks in deploying Task and Motion Planning systems, and recent work such as Learning Operators for TAMP (LOFT) shows these operators can…

- arXiv
- 2608.23629 · Preprint · not peer-reviewed
- Published
- 2026-08-23 · revised · 2026-08-28
- Authors
- Can Emir Bora, Emre Ugur
In plain words
Hand-writing symbolic operators is one of the main bottlenecks in deploying Task and Motion Planning systems, and recent work such as Learning Operators for TAMP (LOFT) shows these operators can instead be learned from demonstration data.
AI summary
Overview
Research area: Robotics — Task and Motion Planning (TAMP), symbolic operator learning, and AI planning.
Technical level: Intermediate to Advanced. The paper assumes familiarity with PDDL-style operators, A* search, plan skeletons, and bilevel planning, though the core ideas are explained clearly enough for a motivated non-specialist.
Scope (one sentence): The paper presents a system that automatically generates macro-operators from causally linked action pairs and prunes unused predicates, both built on top of the LOFT operator-learning baseline, and evaluates the result across four TAMP domains including a new long-horizon Kitchen domain.
What This Paper Is About
Hand-writing symbolic operators is one of the main bottlenecks in deploying Task and Motion Planning systems, and recent work such as Learning Operators for TAMP (LOFT) shows these operators can instead be learned from demonstration data. However, LOFT learns each action in isolation, so it cannot capture recurring multi-step structure and its search becomes intractable on long sequential tasks; it also evaluates every user-provided predicate at every search node, even predicates that never appear in any learned operator. The paper's goal is to fix both inefficiencies together: compress recurring action pairs into single planning steps, and discard predicates that the learned operators never use.
Key Contributions
-
Automatic macro-operator generation. The authors propose effect-complement analysis, a four-phase procedure that finds pairs of action types where the first consistently adds a predicate that the second consistently deletes, validates those pairs against the training data, resolves reverse-ordered conflicts by frequency, and registers each surviving pair as a new composite operator with a unified argument list.
-
Integration of macros into an existing operator learner. Because macros have no negative examples in the random-exploration data, the authors synthesize negatives by recording transitions where a macro leaves the state unchanged. They also add a sequential sampler that samples the first sub-action's continuous parameters, simulates to the intermediate state, then samples the second sub-action's parameters conditioned on it, and they use stored index vectors to expand macros back into their original steps at execution time.
-
Iterative Predicate Selection (IPS). A post-learning pruning step that keeps only predicates appearing in at least one learned operator's preconditions or effects, shrinking the symbolic state parsed at every search node. The filter costs a single scan over the learned operator set.
-
A new long-horizon benchmark domain. The Kitchen domain in PyBullet, with a Fetch robot manipulating seven ingredients across three workstations (Burner, Chopping Board, Dish), where each ingredient must be picked, chopped, cooked, and plated in a fixed order.
Main Findings
-
Up to ~4.6x planning speedup. Across four TAMP domains the full pipeline reaches up to ~4.6x faster planning than the LOFT baseline, with the largest measured gain in Blocks (0.040 ± 0.059 s versus 0.185 ± 0.912 s).
-
Macros determine solvability on the long-horizon domain. On Kitchen, every approach without macro-operators achieves 0.0% success, while the macro-augmented pipeline solves all 100 test instances (20 problems × 5 seeds) in 0.051 ± 0.019 s. The baseline found no plan even with the timeout disabled: no plan after 30 minutes on a single Kitchen problem.
-
Macro discovery recovers human-sensible routines without guidance. In Blocks, five causal candidates emerged; frequency-based symmetric-pair resolution retained two: Pick → PutOnTable (34.1% of consecutive pairs) and Pick → Stack (28.0%), both resting on Pick adding Holding, which the placement actions delete. The three discarded candidates were PutOnTable → Pick (21.9%), PutOnTable → Stack (9.8%), and Stack → Pick (6.1%).
-
Learned macro operators match hand-written form. The learned
MacroPickStack(b1, b2, b3)operator's precondition (Clear(b1), Clear(b2), HandEmpty, On(b1, b3)), additions (On(b1, b2), Clear(b3)), and deletions (Clear(b2), On(b1, b3), HandEmpty) correspond to "pick b1 off b3 and stack it on b2," with the intermediate Holding state absorbed inside the macro. A second variant for the OnTable case was discovered automatically. -
Macros do not hurt plan length. In Blocks, expanded plan lengths stayed roughly the same: 10.0 ± 1.1 steps versus 10.2 ± 1.1 for the baseline, while the action set grew from 4 individual operators to 7.
-
Success rates stay close on short domains. Both methods reach 100.0 ± 0.0% on Painting. The baseline reaches 99.0 ± 2.0% on Blocks, attributed to a single failure where the backtracking sampler exhausted its budget on a geometrically hard step; the full pipeline reaches 100.0 ± 0.0% there.
-
Macros can hurt on very short tasks. Cover is the only domain where macro cost exceeds benefit: 0.093 ± 0.190 s versus the baseline's 0.001 ± 0.001 s, with success dropping to 98.0 ± 4.0%. Plans there are only 2–4 steps, so the planner already finishes in about a millisecond and the discovered Pick → Place macro adds a branch at every node.
-
Kitchen macro inventory. Three causal pairs were validated (Pick followed by each of PlaceOnBoard, PlaceOnBurner, PlaceOnDish); because these occur with two different argument-sharing patterns they yield 6 macro operators, for 16 total actions (10 individual + 6 macro). Expanded plans average 55.6 steps, whereas each 7-ingredient workflow requires more than 50 individual steps without macros.
-
Painting timing. Reported as 0.028 ± 0.026 s versus 0.024 ± 0.007 s, described in the paper as a small gain, since the domain is solved near-instantly regardless of approach.
-
Ablation and operator-set tables are referenced but not reported in the provided text. The paper refers to Tables II and III for success rates, planning times, and learned operator-set structure, and states that a component-wise ablation quantifies each component's contribution; the specific ablation numbers do not appear in the content supplied.
Methodology in Plain English
The system takes as input two kinds of data: successful demonstrations from a planner with access to ground-truth operators, and random-exploration trajectories collected by acting randomly from states the demonstrations visited. A fixed set of user-provided typed predicates converts each continuous state into a symbolic one.
Finding macros. For every action type, the system tallies how often each predicate is added or deleted across the demonstrations only (random exploration is excluded here because most of its actions fail and change nothing, which would dilute the ratios). A predicate counts as a consistent add or delete if it happens in more than half of that action's transitions. The system then checks every ordered pair of action types: if the first action's consistent adds overlap the second's consistent deletes, the first creates exactly the condition the second consumes. Pairs whose overlap consists only of zero-arity (global) predicates are discarded as spurious. Surviving candidates must actually occur consecutively in the data at least once, and when both orderings of a pair survive, only the more frequent one is kept to avoid inflating branching.
Building usable operators. Each verified pair becomes a macro by unifying the two sub-actions' argument lists into one merged list, with index vectors stored so the planner can recover which arguments belong to which sub-action. Training transitions are created by skipping the intermediate state. Because no random-exploration data exists for macros, the authors manufacture negatives: bind a macro's parameters to random objects in a random state and record the state as unchanged, which is evidence the preconditions did not hold. Macros are then handed to the existing learner as if they were ordinary action types, so precondition learning and effect-probability estimation proceed unchanged. A sequential sampler handles continuous parameters in the correct order, and every macro in a returned plan is expanded back into its two original steps before execution.
Pruning predicates. After learning finishes, the system keeps only predicates that appear in at least one learned operator and re-parses states with that reduced set. The operators themselves are untouched.
Evaluation. Four domains (Cover, Blocks, Painting, Kitchen) with PyBullet as the physics backend and PyBullet-based simulation; probabilistic operators are determinized into one deterministic operator per retained outcome for use with A* search. Each domain uses 20 test problems over 5 independent seeds, with timeouts from 1 to 10 s per problem.
Why This Matters
Impact on research. The paper shifts attention from "can operators be learned?" to "what structure in the demonstrations is being thrown away?" It shows that the sequential, causal structure of demonstration data is a learnable signal in its own right, and that ignoring it is not just a speed issue but, on long-horizon tasks, a solvability issue. It also connects classical macro-operator ideas (MACROPS and successors) to learned probabilistic TAMP operators, a combination the authors identify as underexplored.
Real-world applications.
- Household and kitchen robotics, where recipes and cooking workflows are long chains of pick, process, and place steps.
- Warehouse and assembly pick-and-place, where pick-then-place routines repeat thousands of times and any reduction in decision depth pays off directly.
- Laboratory automation and sample handling, where multi-stage protocols must be executed in strict order.
- Any deployed manipulation system where symbolic operators are currently hand-authored by domain experts and where planning latency matters.
Industry relevance. The two costs the paper attacks — engineering time to write operators and planning latency at runtime — are precisely the costs that block deployment of TAMP in production. A method that both removes manual specification and makes long-horizon planning tractable lowers the barrier for picking up an existing learned-operator pipeline and adding these components as post-processing steps, since IPS is a single scan and macros are learned through the existing module unmodified.
Future Directions
- Macros longer than two actions. The method currently discovers only causal pairs; chains of three or more linked actions, which are common in cooking and assembly, are not addressed, and recursively composing macros is an obvious extension.
- Deciding when to use macros. Cover shows macros can be a net loss when plans are only 2–4 steps, so a criterion for when macro expansion pays off — perhaps based on expected plan length or branching-factor estimates — would make the method robust across domain difficulty rather than requiring per-domain judgment.
- Reducing reliance on user-provided predicates. IPS prunes predicates after the fact, but the predicate set is still chosen by a human before learning. Learning the predicates themselves, as DeepSym and attention-based follow-ups do, would remove the remaining manual input.
- Combining with learned samplers and search guidance. Macros shorten the symbolic horizon, while learned samplers and value functions address the geometric and guidance sides of the same search; how these interact — for instance whether sequential sampling inside macros makes learned samplers more or less valuable — is untested here.
Target Audience
Robotics and AI planning researchers working on TAMP, operator/model learning, and neuro-symbolic planning will get the most from this paper, particularly those already building on LOFT-style learned operators. It is also useful for practitioners deploying manipulation systems who need to reduce planning latency or eliminate hand-authored PDDL domains, and for graduate students looking for a clear example of how classical planning ideas (macro-operators, feature selection) transfer into learned robotic abstractions. Readers without background in PDDL, plan skeletons, or bilevel planning will need to consult the cited background material first.
Authors’ abstract
Creating symbolic operators by hand is one of the main bottlenecks in deploying Task and Motion Planning systems (TAMP). Recent works show that these operators can instead be learned directly from demonstration data. Existing methods, however, typically learn each action in isolation and cannot capture the recurring multi-step structure of manipulation tasks, so the search becomes intractable on long sequential tasks. A further inefficiency arises in the symbolic state:…
The full abstract on arXiv