Abstract
Early AI planning systems, most notably Sacerdoti’s NOAH, utilized a representation known as the Procedural Net. While effective for linear and partially ordered tasks, these nets were fundamentally limited by their acyclic nature, making them incapable of representing iterative processes. This paper introduces Plan Nets, a formal evolution that incorporates concepts from Petri Nets to explicitly separate conditions from events. By utilizing a pebbling semantics, Plan Nets allow for the representation of cycles and loops, providing a more robust framework for complex, repetitive planning tasks.
Introduction
In the mid-1970s and early 1980s, the Procedural Net was the standard for representing plans in AI. These networks described plans as a set of actions with a strict "before" ordering. However, this simplicity came at a cost: the resulting state space was always a Directed Acyclic Graph (DAG). In a DAG, it is mathematically impossible to return to a previous state, which means that standard Procedural Nets could not describe iteration—tasks such as "hammer the nail until it is flush" or "stir the batter until smooth."
While some systems attempted to hide loops inside specialized "replicate" nodes, these workarounds were opaque. They prevented the planner from reasoning about the internal mechanics of the loop, such as the conditions required for each iteration or the criteria for termination. Mark Drummond’s Plan Nets address this by making iteration an explicit part of the plan's structure.
The Plan Net Formalism
The core innovation of the Plan Net is the "epistemological commitment" to two distinct types of objects, drawing inspiration from Petri Net theory:
- Places (P): These represent "conditions" or static states (e.g., "the nail is protruding").
- Transitions (T): These represent "events" or actions (e.g., "strike the nail").
Formally, a Plan Net is defined as a 6-tuple $\langle P, T, R_a, R_b, R_c, R_e \rangle$. To manage the relationship between these elements, the paper defines several critical relations:
- Cause ($R_c$): Events that result in specific conditions.
- Enable ($R_e$): Conditions that must be true for an event to occur.
- Allow ($R_a$): An abstraction combining Cause and Enable.
- Before ($R_b$): A strict partial order on the events themselves.
Operational Semantics and the Pebbling Game
To explain how these nets execute, Drummond employs operational semantics similar to the "pebbling game." In this model, "pebbles" (marks) are placed on conditions. A transition (event) is considered "enabled" only if all its required input conditions are marked with pebbles. When the transition "fires," it removes the pebbles from its inputs and places new pebbles on its outputs.
In a traditional Procedural Net, the number of pebbles only ever increases; there is no mechanism to remove a pebble to return to a previous state. Plan Nets solve this by allowing transitions to consume pebbles from conditions, effectively resetting those conditions and allowing the system to cycle back to a previous state if the logic dictates. This allows for a formal, transparent representation of loops.
Evaluation and Insights
The formalism was evaluated using classic AI "toy worlds," specifically the Blocks World and a Hammering Task. While Blocks World demonstrated the net's ability to handle standard stacking configurations, the Hammering Task served as the primary proof of concept for iteration. The Plan Net successfully described a repetitive strike-and-check cycle, a feat impossible for original Procedural Nets without "cheating" via non-standard nodes.
Key Insights
- Conditions vs. Events: By treating conditions (states) as first-class citizens alongside events (actions), the plan can naturally cycle back to a previous state if a condition is re-met.
- Structural Reasoning: Making iteration part of the plan's structure allows an AI planner to reason about the mechanics of a loop, such as the number of expected iterations or the specific conditions that break the cycle.
- Representational Power: Plan Nets are strictly more descriptive than Procedural Nets. They can represent any state space a Procedural Net can, plus those containing cycles, providing a cleaner mathematical foundation for future planners.
Limitations and Future Work
Despite the increased power of Plan Nets, the author notes several challenges. The descriptions can become quite verbose and redundant in their raw formal state, though they remain manageable when visualized as graphs. Furthermore, the paper focuses primarily on representation—how to describe a plan—rather than generation—how an algorithm finds the plan in the first place.
Introducing cycles into a state space also significantly increases the difficulty of plan validation and execution monitoring. Future work is required to address how a planner would efficiently navigate these more complex, cyclic state spaces and how to optimize the search process within the Plan Net framework.
Summary updated