Exploiting Domain structure to Achieve Efficient Temporal Reasoning

Mike Williamson, Steve Hanks

Abstract

General-purpose temporal reasoning often suffers from computational bottlenecks because it treats constraints as unstructured graphs. This paper introduces Hierarchical Interval Constraints (HIC), a representation that mirrors the logical structure of plans—sequences, selections, and parallelisms—to achieve orders-of-magnitude speedups. By isolating uncertainty within a hierarchy, HIC enables efficient sub-linear query times in complex, uncertain scenarios.

Introduction

Temporal reasoning (TR) is a cornerstone of AI planning and causal reasoning, yet it faces a persistent trade-off between expressiveness and efficiency. Simple systems are fast but cannot handle disjunctions (e.g., "Action A takes either 10 or 30 minutes"), while expressive systems that handle such uncertainty often require exponential time in the worst case. The authors argue that domain-independent TR engines are slow because they ignore the inherent structure of the problem. In plan projection, constraints follow the logic of the plan itself—sequences, branches, and parallel tasks. By treating these as a giant, unstructured web, traditional engines waste resources processing irrelevant connections.

Hierarchical Interval Constraints (HIC)

The proposed HIC representation organizes temporal data into a nested hierarchy that mirrors the structure of a plan. Instead of a flat graph of time points, HIC uses four primitive types to build this hierarchy:

  • Simple: An atomic action with a defined min/max duration.
  • Sequence: Actions occurring one after another.
  • Selection: Represents uncertainty or disjunction; only one sub-HIC will actually occur at execution time.
  • Parallel: Actions occurring simultaneously.
Scenario tree and its corresponding HIC representation.

This hierarchical structure allows the query algorithm to traverse the tree rather than propagate constraints across the entire network. When a query involves a specific execution path (a "chronicle"), the reasoner can ignore all alternative paths. This "sandboxing" of uncertainty prevents the exponential growth typically associated with disjunctive constraints and allows for sub-linear query performance.

Experimental Evaluation

The HIC module was evaluated against the Metric/Allen Time System (MATS) and the Time Map Manager (TMM) using synthetic benchmarks generated from plan-projection scenarios. These benchmarks involved scenario trees ranging from 25 to 201 temporal individuals, with uncertainty introduced early to create multiple execution paths.

Performance comparison of HIC, TMM, and MATS across different scenario sizes.

As shown in the results, HIC outperformed domain-independent systems by massive margins as problem size grew. For a scenario with 201 nodes, HIC completed 100 queries in 1,233 ms, while TMM required 173,584 ms. MATS was found to be impractical for larger problems, taking over 256,000 ms for just 101 nodes. Furthermore, HIC’s projection time grew linearly with the number of nodes, whereas TMM exhibited quadratic growth.

Conclusion

The success of HIC demonstrates that "informed" temporal reasoning—leveraging the structural regularities of a domain—is key to efficiency. By exploiting the hierarchical nature of plans, HIC achieves scalable performance, providing a robust solution for real-world AI planning and projection tasks. Future work aims to identify a broader library of structural primitives to bridge the gap between domain-independent engines and specialized implementations.

Summary updated

BibTeX
@inproceedings{williamson1993exploiting,
  author = {Mike Williamson and Steve Hanks},
  title = {{Exploiting Domain structure to Achieve Efficient Temporal Reasoning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1993},
}
Figure