Abstract
Generalized planning seeks to develop plans that function as algorithms, capable of solving entire classes of problems regardless of the number of objects involved. This paper introduces a framework that leverages 3-valued logic and canonical abstraction—techniques derived from formal program verification—to map infinite state spaces into finite abstract representations. By identifying repetitive structures within these abstract spaces, the framework can synthesize plans with loops that are provably correct for unbounded problem instances.
Introduction
In classical AI planning, solvers typically generate a sequence of actions for a specific, fixed scenario. For instance, a plan to move five specific blocks to a table will fail if the initial state contains six blocks. The goal of generalized planning is to create a single, robust plan that works for any number of objects. The primary challenge lies in the state space: when the number of objects is unknown or unbounded, the state space becomes infinite. This paper addresses this by bridging AI planning with static program analysis.
Methodology: Abstraction and Logic
The core of the proposed framework is the use of the Three-Valued Logic Analyzer (TVLA) to manage state complexity.
Canonical Abstraction
Instead of tracking every individual object, the system groups objects into roles based on their properties (unary predicates). For example, in a blocks-world domain, all blocks that are neither on the table nor at the top of a stack are grouped into a single "middle-of-the-stack" summary element.
3-Valued Logic and Action Execution
To handle summary elements, the system employs 3-valued logic, where truth values can be 0 (false), 1 (true), or 1/2 (maybe). When an action is performed on a group where a property is "maybe" true, a Focus operation is used. This operation mathematically splits the abstract state into distinct, concrete cases where the action is either definitely possible or not. Following the action, a Blur operation re-abstracts the state to maintain a finite state space.
Synthesis Paths
The framework supports two primary methods for generating generalized plans:
- Learning from Examples: The system traces a concrete plan for a small instance through the abstract state space. By identifying repeated abstract states, it "rolls" linear sequences into loops.
- Search from Scratch: The system searches the finite space of abstract states to find paths to the goal, automatically deriving the preconditions necessary for the plan's validity.
Evaluation and Key Insights
The approach was evaluated on classic symbolic benchmarks, including Blocks World (specifically "Striped Blocks"), Linked List manipulation, and the Rocket domain.
A key insight is the treatment of plans as programs. By identifying back-edges in an abstract state transition graph, the authors transform linear action sequences into robust algorithmic loops. For the "Striped Blocks" problem, the system successfully learned a generalized plan from a single 10-block example. The resulting plan, containing three distinct loops, was valid for any number of blocks.
Furthermore, the authors identified the Extended-LL domain class, where these techniques are guaranteed to work. In these domains, roles provide sufficient information to determine if an action will change an object's role, and actions affect a constant number of roles.
Conclusion and Future Work
This framework provides a formal path toward provably correct generalized planning. While successful in domains with simple loops, future work is needed to handle nested iterations and complex numeric fluents. Additionally, developing more efficient search heuristics remains a priority for scaling the approach to even more complex environments.
Summary updated