Machine Learning of Temporal Relations

Inderjeet Mani, Marc Verhagen, Ben Wellner, Chong Min Lee, James PustejovskyACL 2006

Presented at ACL 2006, this research marks a significant milestone in natural language processing (NLP) by demonstrating how formal logic can be integrated with statistical machine learning to solve complex reasoning tasks. The authors address the challenge of understanding the chronological flow of events in text, a task traditionally hindered by a lack of large-scale labeled datasets.

TL;DR

By utilizing "temporal closure"—a logical method to infer new relations from existing ones—the authors expanded their training data by over 10x. This data augmentation technique boosted the accuracy of a Maximum Entropy classifier for event ordering from approximately 62% to a remarkable 93%.

The Challenge: Data Sparseness in Temporal Reasoning

Determining the order of events in a narrative (e.g., distinguishing whether "Max fell" happened before or after "John pushed him") is a complex task for AI. While humans rely on verb tense, aspect, and world knowledge, machines struggle primarily due to data sparseness.

Annotating temporal relations is labor-intensive because the number of potential event pairs grows quadratically ($O(n^2)$) with the number of events in a document. Consequently, human-annotated corpora are often "thin," capturing only explicit relations and leaving many implicit ones unmapped. This lack of density prevents standard machine learning models from identifying sufficient patterns to learn effectively.

Methodology: Maximum Entropy and Temporal Closure

The authors proposed a hybrid approach that combines statistical classification with logical constraint propagation:

  1. Maximum Entropy (ME) Classification: A classifier was built using linguistic features such as tense, aspect, modality, and event class to predict the relation between event pairs.
  2. Temporal Closure (The SputLink Algorithm): This is the study's core innovation. Using a constraint propagation algorithm based on Allen’s interval algebra and 745 logical axioms, the authors "closed" the temporal graph. For example, if the data shows A is before B and B is before C, the algorithm explicitly adds the relation that A is before C.
  3. Baselines: The model was compared against GTag (a system with 187 hand-coded rules) and VerbOcean (a lexical database of 4,199 "happens-before" relations mined from the web).

Dataset Characteristics

The study utilized the OTC (merged corpus), combining TimeBank and the Opinion Corpus. This resulted in a dataset of approximately 12,750 events and 2,114 time expressions.

Initial distribution of temporal relations in the OTC corpus prior to closure.

As shown in the initial distribution, the human-annotated data is relatively sparse. However, applying temporal closure increased the number of Event-Event links from 6,147 to over 91,000, providing a much denser training set for the ML model.

Results: The Impact of Logical Augmentation

The transition from unclosed data (ME) to closed data (ME-C) yielded dramatic improvements in performance across both event-event ordering and event-time anchoring.

Comparative performance of the Maximum Entropy classifier on unclosed vs. closed datasets.

Key findings include:

  • Event-Event Accuracy: Jumped from 62.5% to 93.1%.
  • Event-Time Anchoring: Improved from 76.13% to 88.25%.
  • Failure of Intuition: Hand-coded rules (GTag) only achieved ~63% accuracy. The authors noted that human-designed rules are often either too specific or too general, failing to capture the actual distributions found in natural language data.
  • Dominant Narratives: Temporal closure heavily skewed the dataset toward the "BEFORE" relation (increasing it to 75% of the data), which actually helped the model learn the typical narrative flow of news text.

Limitations and Future Directions

Despite the success, the authors identified several areas for improvement:

  • Independence Assumption: The classifier treats each pair of events as an independent decision, which can occasionally result in logically impossible timelines (e.g., A < B, B < C, but C < A).
  • SIMULTANEOUS Relations: The closure method was less effective for simultaneous events, as these relations did not increase as significantly during the augmentation process compared to others.
  • Feature Reliability: The study used "perfect" features from the corpus. In real-world applications, these features would be generated by other NLP tools, introducing potential noise into the system.

Summary updated

BibTeX
@inproceedings{mani2006machine,
  author = {Inderjeet Mani and Marc Verhagen and Ben Wellner and Chong Min Lee and James Pustejovsky},
  title = {{Machine Learning of Temporal Relations}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2006},
  doi = {10.3115/1220175.1220270},
}
Figure