Large-Scale Temporal Data Bases for Planning in Complex Domains

TL;DR

This paper introduces a temporal data base management system (TMM) designed to efficiently handle the vast amount of temporal information required for complex planning tasks. It achieves this by developing a computational framework that leverages common-sense strategies for organizing temporal facts, specifically through temporal indexing and hierarchical partitioning, to significantly speed up search operations.

What Problem Does This Paper Address?

Planning in realistic, complex domains requires managing an enormous amount of information, much of which is temporal in nature. Traditional data base systems, like Prolog, treat assertions as timelessly true, which is insufficient for domains where facts and events change over time. While temporal reasoning systems exist, managing large temporal data bases has become a significant bottleneck. The core problem is efficiently retrieving temporal facts that satisfy specific temporal constraints, a process that can be computationally expensive when dealing with a profusion of time tokens (representations of facts or events occurring over specific time intervals). The paper aims to make temporal data base operations, particularly token retrieval, as efficient as assertion retrieval in static data bases.

Methods

The paper presents a temporal data base management system called the Time Map Manager (TMM). Key to its approach is the concept of a time token, which represents an event or fact that is true for a specific interval of time.

  • Time Tokens: Instead of timeless assertions, the TMM uses time tokens, each associated with a type and a temporal interval. For any given fact or event type, the data base can contain many such tokens.
  • Token Retrieval: This is the core operation for temporal reasoning, analogous to fetching assertions in static data bases. It involves searching for time tokens that match a given pattern and whose intervals satisfy specific temporal constraints.
  • Computational Framework for Temporal Indexing: To speed up token retrieval, the TMM exploits common-sense strategies for organizing temporal facts. This involves:
  • Syntactic Indexing: Organizing tokens based on the type of fact or event.
  • Temporal Indexing: Organizing tokens based on their temporal extent. This is achieved through discrimination trees (dtree), where nodes represent questions about the data, and terminal nodes lead to buckets of data items.
  • Hierarchical Partitioning Schemes: The TMM uses a strict hierarchy of partitions of time (e.g., weeks, days, shifts, hours) to organize tokens. This allows for efficient searching by progressively refining the search space.
  • Caching Derived Constraints: The system caches distance estimates between points in time, which are updated during constraint propagation, to expedite temporal reasoning.
  • Heuristic Graph Traversal: The TMM employs a heuristic graph traversal routine to compute bounds on the distance between pairs of points in the time map, which is crucial for constraint propagation and determining temporal relationships.

Datasets

Not discussed in the paper. The paper focuses on the computational framework and algorithms for temporal data bases rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Time Tokens as the Fundamental Unit: Replacing timeless assertions with time tokens is crucial for representing dynamic, temporal information.
  • The Bottleneck is Retrieval: The primary challenge in large temporal data bases is the efficiency of retrieving relevant time tokens that satisfy temporal constraints.
  • Leveraging Common-Sense Organization: The paper argues that common-sense strategies for organizing temporal information (like partitioning time into meaningful periods and indexing based on event types) are key to achieving efficient retrieval.
  • Hierarchical Partitioning for Scalability: Using strict hierarchical partitions of time allows the system to manage large amounts of data by creating a structured search space, avoiding exhaustive searches.
  • Caching is Essential: Pre-computing and caching temporal relationships (distance estimates between points) significantly speeds up reasoning and reduces redundant computations.
  • Demand-Driven Refinement: The system refines its indexing and partitioning schemes as needed, based on demand, rather than pre-computing everything, which is more efficient.

Key Results

The paper's primary claim is that, in many common situations, temporal data bases can be organized such that the cost of token retrieval is comparable to assertion retrieval in static data bases. Specifically, for retrieving a single token of a ground type P spanning an interval I:

  • If tokens can be partitioned into temporally distinct periods, the cost is proportional to the number of periods separating the relevant periods plus the cost of checking tokens within those periods.
  • If the data base is organized by hierarchies of constraints, the cost is proportional to the number of tokens within a given period.

The paper also states that the organizational schemes described are integral to the TMM's functionality, correctly instigating reorganization and expediting temporal reason maintenance.

Limitations and Future Work

  • Strictly Nested Partitions: The reliance on strictly nested partitions can lead to inefficiencies at partition boundaries, where events slightly unordered with respect to major time breaks might be assigned to less restrictive partitions than their precision warrants. The authors suggest that handling tokens with precise offsets but unordered with respect to time breaks might require indexing them in multiple intervals, a strategy not implemented in the current system.
  • Fetch Interval Splitting: For fetch intervals that span major time breaks, it is often useful to split the fetch and perform searches on a case-by-case basis, indicating a potential area for further algorithmic refinement.
  • Future Work: The paper mentions that a technical report [5] provides additional detail concerning algorithms and their expected performance, suggesting that this paper is a high-level overview of a more detailed system. The authors also imply that the techniques are applicable to a wide range of temporal inference tasks beyond just retrieval.

Summary updated

BibTeX
@inproceedings{1987large,
  title = {{Large-Scale Temporal Data Bases for Planning in Complex Domains}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1987},
}
Figure