This paper, recently presented at AAAI 2025, tackles a major bottleneck in automated planning: how to handle complex "trajectory constraints" (like safety rules or specific task orderings) without causing a computational meltdown. The authors introduce two new "lifted" compilation methods—LiftedTCORE and the Lifted Constraint Compiler (LCC)—that allow planners to process these constraints without the memory-intensive process of "grounding" the entire problem first.
TL;DR
The authors propose two methods to compile state-trajectory constraints into standard planning problems without the need for grounding, avoiding the combinatorial explosion typical of existing tools. These "lifted" compilers produce planning specifications that are orders of magnitude smaller than traditional methods while remaining competitive in solving efficiency.
What Problem Does This Paper Address?
In automated planning, we don't just want to reach a goal; we often need to follow specific rules along the way (e.g., "never exceed a certain temperature" or "always visit point A before point B"). These are known as state-trajectory constraints.
The standard way to handle these is to "compile them away"—transforming the constrained problem into a standard, constraint-free problem that any off-the-shelf planner can solve. However, existing state-of-the-art compilers like TCORE require the problem to be grounded first. Grounding replaces all variables (like ?robot) with every possible constant (like robot1, robot2, etc.). In domains with many objects and complex actions, this leads to a "combinatorial explosion," where the number of actions grows from dozens to millions, making the problem impossible to load, let alone solve.
Methods
The paper introduces two distinct strategies for "lifted" (non-grounded) compilation:
- LiftedTCORE: This is a generalization of the TCORE algorithm. It uses a novel lifted regression operator. Essentially, it "looks ahead" at each action type to see if it could potentially satisfy or violate a constraint. It then adds specific preconditions and "monitoring atoms" (status trackers) only to the relevant actions.
- LCC (Lifted Constraint Compiler): This is a simpler, action-agnostic approach. Instead of calculating complex regressions for every action, LCC adds a uniform set of preconditions and effects to every action in the domain. It uses a "one-step delay" logic and introduces a special
fin(finish) action at the end of the plan to verify that all constraints were ultimately satisfied.
While LiftedTCORE is more "surgical" and complex to implement, LCC is extremely fast to compile but places a slightly higher burden on the planner during the search phase.
Datasets
The authors evaluated their methods on a new benchmark derived from the 2023 International Planning Competition (IPC).
- Domains: 7 diverse domains including Folding, Labyrinth, Quantum, Recharging, Ricochet, Rubik’s Cube, and Slitherlink.
- Variants: They created two datasets of 280 problems total:
- Ground Constraints: Simple constraints involving specific objects.
- Non-Ground Constraints: Complex constraints using quantifiers (e.g., "For all robots R, R must never enter zone X"). This is a scenario where traditional grounding-based compilers often fail completely.
Key Insights and Ideas
- Succinctness is the Killer App: The most striking finding is the difference in problem size. While the grounded TCORE produced problems with an average of 21,000 actions and 95,000 effects, the lifted methods produced just 7-8 actions and ~60 effects. This makes the resulting PDDL files human-readable and much easier for planners to parse.
- The Regression Advantage: LiftedTCORE’s use of regression allows the planner to "fail fast." By checking constraints immediately within action preconditions, it prunes the search space more effectively than LCC, which often expands more nodes because of its 1-step evaluation delay.
- Complementarity: The two methods excel in different areas. LCC is incredibly robust and fast to compile, while LiftedTCORE produces a "cleaner" search space for the planner.
Key Results
- Coverage: LCC achieved the highest overall coverage, solving 246 out of 280 problems, narrowly beating the grounded TCORE (245) and LiftedTCORE (238).
- Compilation Speed: The lifted compilers are nearly instantaneous. Compilation time dropped from an average of 4.5–6.0 seconds (TCORE) to just 0.003–0.08 seconds.
- Search Efficiency: In many instances, LiftedTCORE led to more efficient planning (fewer nodes expanded) than LCC, proving that the extra complexity in the compiler pays off during the search.
Limitations and Future Work
The authors note that lifted methods might not be ideal for problems with a very large number of individual constraints (hundreds or thousands). In those specific cases, the "sparse" updates of a grounding-based compiler can actually be more efficient because it only touches the specific ground actions affected, whereas lifted methods must update the general action schema.
Future Directions: * Extending these lifted techniques to numeric and temporal constraints (e.g., "battery must stay above 20%"). * Developing lifted heuristics that can better exploit the succinctness of these compiled domains to speed up search even further.
Summary updated