Abstract
Traditional temporal reasoning systems, such as Allen’s Interval Algebra, are typically limited to single, continuous (convex) time intervals. This paper addresses the challenge of reasoning about recurring events—such as "John’s ten trips to Orlando"—by introducing n-intervals, which are sequences of convex time blocks. We present a formal algebra, the n-interval relation language (NRL), and demonstrate that path-consistency algorithms can be adapted to this framework with a polynomial time complexity of $O(k^3 m^3)$.
Introduction
Automated temporal reasoning is foundational to scheduling, planning, and natural language processing. However, real-world scenarios often involve "gappy" or non-convex intervals. Human language frequently expresses uncertainty regarding the number of occurrences, their distribution, and the participation of specific sub-events. For instance, a statement like "John’s trips preceded his phoning Phyllis" leaves ambiguous whether all trips preceded all calls or only some did. Existing models often face exponential complexity when attempting to represent these nuances. This work bridges the gap by formalizing a tractable representation for recurring periods.
The n-Interval Relation Language (NRL)
The authors introduce the NCR algebra, which extends Allen’s primitive relations using four core operators to capture the semantics of recurring events:
- $\Pi$ (Always): The relation holds for every possible pair of sub-intervals.
- $\Omega$ (Only): If a relation holds between sub-intervals, it must be one of the specified set.
- $\Sigma$ (Sometimes): The relation holds for at least one pair of sub-intervals.
- $\Theta$ (Always and Only): Establishes a one-to-one correlation between sub-intervals.
The composition of these operators is a critical component of the algebra, allowing the system to infer new relations between non-adjacent nodes in a temporal network.
Path Consistency and Complexity
To determine the logical consistency of a set of temporal assertions, the authors adapt standard constraint satisfaction techniques to n-interval relation networks (NRNs). An NRN represents events as nodes and their temporal relationships as directed edges labeled with n-interval relations.
The primary mechanism for reasoning is path consistency, which ensures that for any three nodes $i, j, k$, the relation between $i$ and $k$ is consistent with the composition of relations between $i, j$ and $j, k$. The authors provide a proof sketch showing that this process is polynomial, specifically $O(k^3 m^3)$, where $m$ is the number of nodes and $k$ is the number of distinct indices (correlations) in the network.
Key Insights
A pivotal contribution of this work is the concept of correlation, an equivalence relation that allows the system to "pair up" specific occurrences within recurring events (e.g., matching the $n$-th meeting with the $n$-th lunch). This mechanism significantly reduces uncertainty and prevents the state-space explosion typically associated with non-convex reasoning. Furthermore, the algebra is designed to map directly onto natural language adverbs like "never," "always," and "sometimes," providing a robust backend for NLP systems.
Conclusion
This paper establishes a foundational framework for reasoning about non-convex intervals without sacrificing computational tractability. While the language is restricted to maintain polynomial complexity, it covers a significant portion of the temporal nuances found in natural language. Future work includes integrating this framework into practical scheduling applications and exploring its utility in temporal database querying.
Summary updated