Abstract
This paper investigates the effectiveness of two state representations, Conjunctive Normal Form (CNF) and Disjunctive Normal Form (DNF), in the context of contingent planning. We developed a new contingent planner, called $CNF_{ct}$, utilizing the AND/OR forward search algorithm PrAO and an extension of the CNF representation for conformant planning to handle nondeterministic and sensing actions. The study compares $CNF_{ct}$ and $DNF_{ct}$ using a new heuristic function. Experiments demonstrate that both planners offer highly competitive performance across a wide range of benchmarks, though neither representation is a clear winner in all scenarios. The paper identifies specific properties of these representation schemes that dictate their performance on different problem types.
Introduction: The Representation Bottleneck
In contingent planning, an agent must reach a goal despite incomplete information and unpredictable action effects. To do this, the agent tracks a belief state—the set of all possible "worlds" it might currently be in. The challenge is that the number of possible worlds can be astronomical. Traditional ways to represent these sets, such as Binary Decision Diagrams or simple lists, often fail to scale; they either become too large to fit in memory or require excessive computation to update after every action. This research addresses the "representation bottleneck" by evaluating the trade-offs between CNF and DNF as belief state representations.
Methodology
The researchers developed $CNF_{ct}$, a planner built on three core components:
- AND/OR Search: It uses the PrAO algorithm, which treats planning as a search through a tree of belief states, branching on sensing actions (e.g., "If the sensor says the door is open, go to branch A; if closed, go to branch B").
- CNF Representation: Unlike previous work that often relied on DNF (listing possible scenarios), $CNF_{ct}$ uses CNF (listing constraints or rules that define the scenarios). The authors extended existing CNF transition functions to handle non-deterministic outcomes and sensing actions.
- New Heuristic: They implemented a shared heuristic function for both CNF and DNF planners based on the number of satisfied subgoals and the "uncertainty" (size) of the belief state to guide the search toward the goal more efficiently.
Experimental Evaluation
The planners were evaluated on a broad suite of standard AI planning benchmarks, including classic contingent domains (btcs, ebtnd, unix) and challenging "CLG" domains (cball, doors, wumpus).
As shown in the results table, $CNF_{ct}$ and $DNF_{ct}$ are highly competitive with established state-of-the-art planners. $CNF_{ct}$ solved the most problem instances overall, particularly in domains like cball and doors where other planners frequently timed out (TO) or ran out of memory (OM). However, in instances where both could solve the problem, $DNF_{ct}$ was frequently faster, sometimes by an order of magnitude, due to its simpler update logic.
Key Insights: CNF vs. DNF Trade-offs
The study reveals that there is no "one size fits all" representation. The choice depends on specific problem characteristics:
- The Initial State Advantage: CNF is vastly superior at representing starting points with high uncertainty. In domains with many objects in unknown locations, a DNF representation grows exponentially as it tries to list every possible combination, whereas CNF grows linearly by listing constraints.
- Complexity vs. State Count: DNF has a "cheap" transition function but can lead to a massive number of distinct partial states that consume all available memory. CNF has a "heavy" transition function (mathematically more complex to update) but keeps the overall number of states much lower.
The data in the table above highlights the "sprinter vs. marathon runner" dynamic: DNF is the sprinter, fast on simpler problems, while CNF is the marathon runner, offering the scalability needed for massive problems with complex initial states.
Conclusion
The effectiveness of CNF and DNF representations depends heavily on the problem structure and the number of unknown conditions in action effects. While $CNF_{ct}$ demonstrates superior scalability in complex domains, $DNF_{ct}$ remains faster for many standard tasks. Future work involves developing representation-aware heuristics and potentially hybrid planners that can select the optimal representation based on initial formula size.
Summary updated