Introduction
In the field of Artificial Intelligence, Generalized Planning (GP) represents a significant challenge: the development of a single, universal strategy capable of solving an infinite set of problem instances within a specific domain. For example, a generalized plan for a robotic gripper should function correctly regardless of the number of objects to be moved or the number of rooms involved. To achieve this, researchers typically rely on abstractions—simplified models that strip away instance-specific details while preserving the essential logic required for a solution.
A prominent framework for such abstractions is Qualitative Numeric Planning (QNP), which replaces individual objects with numeric counters (e.g., tracking the number of items in a container rather than their unique IDs). However, automatically generating these abstractions has historically been a bottleneck. Existing methods often require manual intervention or fail to provide formal guarantees that a plan found in the abstract model will translate back to the original problem. This paper introduces a novel method to automatically transform complex planning problems into Bounded Qualitative Numeric Planning (BQNP) models, providing the first abstraction technique that is both sound and complete for a specific class of domains.
Conceptual Framework: Baggable Types and BQNP
The authors' approach centers on the concept of baggable types. These are groups of objects that are "goal-equivalent" and "indistinguishable" within a given state. For instance, in a logistics problem involving multiple identical packages, the specific identity of a package is irrelevant; what matters is the quantity of packages at a specific location. By focusing on these types, the system can group objects into "bags" and track their counts.
To facilitate this, the paper introduces Bounded Qualitative Numeric Planning (BQNP). While standard QNP allows variables to change by arbitrary amounts, BQNP restricts changes to increments or decrements of exactly one. This restriction is crucial because classical planning actions typically manipulate one object at a time (e.g., picking up one ball). By aligning the abstract model's granularity with the original domain's actions, the authors are able to prove the completeness of their abstraction.
Methodology
The proposed system, ABS, utilizes several technical innovations to ensure the validity of the generated models:
- The Abstraction Algorithm: The system identifies "mutex groups"—sets of properties where only one can be true for an object at any given time (e.g., a package is either in a truck, at a warehouse, or at its destination). It then creates a numeric counter for every possible "bag" of indistinguishable object tuples.
- Proper Baggable Domains: The authors define a specific class of domains where actions are "atomic." In these domains, a single action does not change multiple unrelated properties in a way that would create hidden dependencies between counters. This ensures that the numeric variables in the BQNP model remain independent.
- Termination Testing: Because BQNP is technically undecidable (it is impossible to prove for all cases if a plan will eventually terminate), the authors developed a sound but incomplete algorithm to verify that a proposed policy will reach the goal state without entering infinite loops.
Experimental Evaluation
The ABS system was evaluated across nine classical planning domains, including staples from the International Planning Competition (IPC) such as Gripper, TyreWorld, Ferry, Logistics, Transport, Elevators, Floortile, Nomystery, and Zenotravel. These domains were selected for their inherent use of baggable objects like passengers, packages, or tools.
Key Results
- Efficiency and Scalability: The abstraction process is remarkably fast, requiring less than 7 seconds to generate models even for the most complex domains tested.
- State Space Compression: The abstraction significantly reduces the complexity of the problem. In the "Nomystery" domain, the system reduced a state space involving 100 million ground actions to just 3,654 abstract actions—a reduction of over 99%.
- Soundness: For domains like Gripper and TyreWorld, the system successfully generated generalized plans that are mathematically guaranteed to solve instances of any size.
Discussion and Limitations
While the abstraction process itself is highly efficient, the research highlights a remaining bottleneck: the complexity of solving the resulting BQNP problems. The authors' baseline solver (BQS) struggled with more complex domains like Logistics and Transport, often timing out as the number of variables increased. This suggests that while we can now generate high-quality, sound abstractions automatically, the field still requires more advanced numeric solvers to fully exploit these models.
Furthermore, the undecidability of BQNP means that no termination test can be 100% complete. The authors' current test may occasionally fail to verify a valid plan, though it will never incorrectly label an invalid plan as sound.
Conclusion
This work marks a significant advancement in Generalized Planning by providing a formal, automated bridge between complex classical instances and simplified numeric models. By leveraging baggable types and the BQNP framework, the authors have demonstrated that it is possible to create abstractions that are both computationally efficient to generate and mathematically robust. Future work will likely focus on improving the scalability of BQNP solvers and exploring more compact representations for the resulting policies.
Summary updated