CogCompTime: A Tool for Understanding Time in Natural Language

Qiang Ning, Ben Zhou, Zhili Feng, Haoruo Peng, Dan Roth

TL;DR

This paper introduces CogCompTime, a new system that automatically extracts and normalizes explicit time expressions (Timex) and identifies temporal relationships between events in text. It achieves state-of-the-art performance while being significantly faster than existing tools, making temporal understanding more accessible for downstream applications.

What Problem Does This Paper Address?

Understanding time is crucial for natural language understanding, as many facts and events are time-sensitive. However, accurately extracting and interpreting temporal information from text is a complex challenge. This involves two main tasks: identifying explicit time expressions (like "February 27, 1998" or "tomorrow") and normalizing them to a standard format, and understanding implicit temporal relationships between events (e.g., "event A happened before event B"). Existing systems often excel at one task but struggle with the other, or are computationally expensive. CogCompTime aims to provide a unified, efficient, and high-performing solution for both aspects of temporal understanding.

Methods

CogCompTime integrates two core components: a Timex component and a TempRel component.

  • Timex Component: This component uses a hybrid approach. For Timex extraction, it employs a learning-based method (TemporalChunker, retraining Illinois-Chunker) to efficiently identify time expressions. For normalization, it uses a rule-based approach, which the authors argue is more natural and interpretable for this task, despite requiring language-specific rule sets. This mixed strategy significantly boosts computational efficiency.
  • TempRel Component: This component models temporal relations as a graph where nodes are events and Timexes, and edges represent relations. It leverages recent advances in temporal relation extraction, incorporating a rich set of features derived from individual nodes and node pairs. For Event-Event TempRels, it uses a constraint-driven learning algorithm and an integer linear programming (ILP) problem solver to ensure globally consistent temporal graphs.

The system also includes an Event Extraction component that identifies "main-axis" events, which form the primary timeline of a story.

Datasets

  • Timex Component: The Platinum dataset from the TempEval3 workshop was used for evaluation.
  • Event Extraction and TempRel Components: The MATRES dataset was used for evaluation. The authors note that they replaced the TempRel annotations in the original TempEval3 datasets with MATRES annotations due to MATRES's higher inter-annotator agreement (IAA).

Key Insights and Ideas

  • Hybrid Timex Approach for Efficiency: Combining a learning-based extractor with a rule-based normalizer for Timexes offers a significant speedup without sacrificing accuracy, demonstrating that efficiency can be achieved through thoughtful architectural choices.
  • MATRES as a Better Benchmark: The authors highlight MATRES as a more robust benchmark for temporal relation extraction due to its higher IAA, suggesting it better reflects the complexity and nuances of the task.
  • Importance of Global Consistency: Modeling temporal relations as a graph and using ILP to ensure global consistency is crucial for building coherent temporal narratives, especially when dealing with complex interdependencies.
  • Visualization for Understanding: Providing both timeline and graph visualizations of extracted temporal information is key to making the system's output understandable and useful for users.

Key Results

  • Timex Performance: CogCompTime achieves state-of-the-art extraction F₁ and normalization accuracy, comparable to other top systems.
  • Speed: CogCompTime is significantly faster, being almost two times faster than HeidelTime, the second fastest system.
  • TempRel Performance: The TempRel component shows a substantial improvement over previous literature, reaching an F₁ of 70 when using system extraction, a significant leap from the prior ~50.
  • Event Extraction: The system demonstrates strong performance on the MATRES dataset for main-axis event extraction.

Limitations and Future Work

  • Nominal Events: The current system primarily focuses on verb events. Future work includes incorporating nominal events, which are also common and important for temporal understanding.
  • Event Coreference: CogCompTime currently lacks an event coreference component, which is identified as a desirable feature for bridging long-distance event pairs.
  • Other Event Axes: The system is limited to "main-axis" events. Future work aims to incorporate other event axes like intention, opinion, and hypothesis.
  • Language Dependence: The rule-based normalization for Timexes requires language-specific rule sets, which is a drawback.

Summary updated

BibTeX
@inproceedings{ning2018cogcomptime,
  author = {Qiang Ning and Ben Zhou and Zhili Feng and Haoruo Peng and Dan Roth},
  title = {{CogCompTime: A Tool for Understanding Time in Natural Language}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-2013},
}
Figure