System Assistance in Structured Domain Model Development

Susanne Biundo, Werner StephanIJCAI 1997

Abstract

Building reliable planning models for safety-critical systems is notoriously difficult and error-prone. This paper introduces the Domain Modeling Tool (DMT), a logic-based assistant that allows developers to incrementally build, merge, and refine complex planning domains while automatically proving that the resulting models remain consistent and safe. We demonstrate the tool's utility through the CHEW (CHemical Exchange Warehouse) case study, highlighting its ability to automate safety proofs and catch modeling errors during the development process.

Introduction

In automated planning, a "domain model" serves as the rulebook defining possible actions and their consequences. For real-world, safety-critical applications—such as managing hazardous waste—these models become incredibly complex, involving hundreds of object types and interlocking rules. Human designers often struggle to maintain consistency; adding a new action might inadvertently violate a safety constraint. The Domain Modeling Tool (DMT) addresses this "knowledge engineering" bottleneck by treating domain modeling as a structured, verified software engineering process rather than a manual drafting exercise.

Methods: The Domain Modeling Tool

The authors base their approach on Temporal Planning Logic (TPL), a formal framework that treats domain models as mathematical structures. The DMT supports three primary operations for model evolution:

  1. Union: Merging two separate, verified models into one.
  2. Extension: Adding new symbols, constraints, or actions to an existing model.
  3. Refinement: Replacing abstract concepts with more concrete ones (e.g., changing a general "in-room" relation to a specific "at-coordinate" location).
Figure 2: The development tree approach in DMT, illustrating how complex domains are built from simple, reusable modules.

The DMT includes a deductive component (an automated theorem prover) that calculates "weakest preconditions" to prove that actions won't break "domain constraints"—safety rules that must always hold true. This encourages a "development tree" approach (Figure 2), where developers verify small pieces (e.g., "Building Layout") before verifying their union.

Case Study: The CHEW Domain

The authors evaluate DMT using the CHemical Exchange Warehouse (CHEW) domain, based on a real-world concept from the Lawrence Livermore National Laboratory. This domain involves robots moving barrels of hazardous waste, analyzing contents, and ensuring safe storage.

Figure 1: Schematic of the CHEW warehouse environment, featuring a robot, barrels, and storage shelving.

As shown in Figure 1, the environment requires precise coordination between the robot and the storage infrastructure. The DMT ensures that every movement or treatment action maintains the safety invariants of the warehouse.

Key Results and Insights

  • Safety as Invariance: The paper defines a consistent model as one where every action is "invariant" against domain constraints. If a safety rule was true before an action, the tool proves it remains true afterward.
  • Automated Error Detection: The tool acts as a "logic-aware linter." If a user specifies an action that has no effect or a redundant precondition, the deductive component flags it. In one example, when refining a "move" action, the tool identified that a safety constraint was no longer guaranteed, forcing the user to add a specific precondition to the new action.
  • The "Forgetful" Refinement: DMT allows developers to "forget" abstract relations once they are implemented by concrete ones, managing complexity by hiding high-level details once the low-level implementation is proven correct.

Limitations and Future Work

While the DMT successfully constructed a verified model of the CHEW domain, the current version of TPL does not support recursive actions. Additionally, the authors suggest that future versions should support other popular planning formalisms like STRIPS or ADL to reach a wider audience. Improving the user interface for non-logicians remains a priority for future development.

Conclusion

DMT provides a rigorous framework for developing safety-critical planning models. By automating the verification of domain constraints and supporting modular development, it significantly reduces the risk of human error in complex system design.

Summary updated

BibTeX
@inproceedings{biundo1997system,
  author = {Susanne Biundo and Werner Stephan},
  title = {{System Assistance in Structured Domain Model Development}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1997},
}
Figure