Towards a Theory of Conflict Detection and Resolution in Nonlinear Plans

Joachim Hertzberg, Alexander HorzIJCAI 1989

Introduction: The Challenge of Nonlinear Planning

In AI planning, "nonlinear" refers to partially ordered plans. Rather than a strict sequence, a nonlinear planner creates a web of actions with only necessary constraints—a "least commitment" strategy that enhances efficiency. However, this flexibility introduces the problem of conflicts: situations where one action inadvertently undoes a condition required by another.

Historically, planners like NOAH or TWEAK handled these conflicts using ad-hoc, idiosyncratic methods. This paper by Hertzberg and Horz establishes a unified, formal theory to replace those strategies, providing a rigorous framework for detecting and resolving interactions between operators.

A plan fragment illustrating conditions and actions in a blocks world domain.

A Formal Taxonomy of Conflicts

The authors treat plans as Directed Acyclic Graphs (DAGs). Within this structure, they identify four elementary conflict types based on the relative ordering of a condition's producer ($P$), its user ($U$), and a potentially disruptive node ($N$):

Taxonomy of Linear, Left Fork, and Right Fork conflicts.
  • Linear Conflict: Node $N$ is strictly ordered between $P$ and $U$.
  • Left Fork Conflict: $P$ and $N$ are unordered, but both must occur before $U$.
  • Right Fork Conflict: $P$ occurs before both $U$ and $N$, which are themselves unordered.
  • Parallel Conflict: The entire $P \to U$ sequence is unordered relative to $N$.

A central concept in this theory is enclosure. A node $N$ is "enclosed" if it is trapped between $P$ and $U$ in every possible linear execution of the plan. If an enclosed node negates the required condition, a conflict is guaranteed.

Beyond Simple Interactions: Synergy and Generalization

While the "ground case" assumes single-node interactions (the STRIPS assumption), the paper extends to General Conflicts. This handles "synergy" effects where a set of nodes collectively violates a constraint, even if individual nodes do not. For instance, three actions might each be valid individually, but together they might exceed a global resource limit, such as space on a table.

Detecting these general conflicts is significantly more complex. It requires moving away from local checks to analyzing subsets of nodes, often necessitating advanced context management tools like an Assumption-based Truth Maintenance System (ATMS).

Resolving Conflicts: Strategies and Heuristics

The paper formalizes three primary methods for conflict resolution:

  1. Constraining Variables: Restricting variable bindings so that nodes cannot unify in a way that causes a conflict.
  2. Ordering Constraints: Adding "promotion" or "demotion" constraints to force a disruptive node to occur before or after the $P \to U$ interval.
  3. White Knights: Inserting new actions into the plan specifically to restore a condition that was destroyed by a conflict.

The authors emphasize that while conflict detection can be formalized, choosing the optimal resolution is "hopelessly heuristic." Planners must rely on domain-specific knowledge to decide which fix is most appropriate for a given situation.

Conclusion

By subsuming previous ad-hoc methods into a single formal framework, this work provides a standard vocabulary and theoretical foundation for nonlinear planning. While the general theory faces computational challenges, it clarifies the boundaries of what can be detected—noting, for example, that conflicts involving abstract operators may remain hidden until those operators are fully expanded. Future work points toward better integration with ATMS to manage the complexity of consistency checking in large-scale plans.

Summary updated

BibTeX
@inproceedings{hertzberg1989towards,
  author = {Joachim Hertzberg and Alexander Horz},
  title = {{Towards a Theory of Conflict Detection and Resolution in Nonlinear Plans}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
}
Figure