Abstract
ARTime is a novel framework that automates the generation of normalization rules for time expressions, moving away from the labor-intensive process of hand-crafting grammars. By modeling normalization as a sequence of operations and using a heuristic search to "back-calculate" rules from annotated data, it significantly outperforms state-of-the-art methods on noisy social media datasets while remaining competitive on standard news benchmarks.
Introduction
In Natural Language Processing (NLP), understanding time involves two steps: recognition (identifying temporal mentions like "last Friday") and normalization (converting them to standard formats like ISO 8601, e.g., 2023-10-20).
While recognition has seen massive gains through deep learning, normalization has historically relied on "expert-engineered" rules—complex grammars written by linguists. These systems are often brittle, struggling with the informal and evolving language of social media (e.g., Tweets) and requiring significant effort to adapt to new domains. ARTime addresses this bottleneck by automatically learning normalization rules from existing datasets.
The ARTime Framework
ARTime treats normalization as a path-finding problem rather than a direct mapping task. The system follows a multi-stage pipeline to generate and apply rules.
- Normalization as Operations: The framework defines 10 basic operations, such as
ToNext[Unit],ModifyVal[v, field], andBackward[v, unit]. Normalizing an expression like "last October" is modeled as a sequence: Decrease the year by 1, then set the month to October. - Capturing Sequences (DFS): Given a "base time" (document creation time) and a "target value" (gold annotation), ARTime uses a heuristic Depth-First Search (DFS) to find the most likely sequence of operations transforming the base into the target.
- Rule Construction and Ranking: Discovered operation sequences are aligned with surface text. Patterns like "last MONTH" are generalized. To mitigate noise, candidate rules are ranked by frequency; reliable rules are prioritized while "flukes" from noisy data are filtered out.
- Rule Composition: For expressions not matching a single rule, a dynamic programming-based segmentation algorithm attempts to combine multiple shorter rules to cover the text.
Experimental Setup
The researchers evaluated ARTime on two primary benchmarks:
- TempEval-3: The standard benchmark for temporal information extraction, primarily consisting of formal news articles.
- Tweets: A benchmark of English tweets. The authors also introduced Tweets-M, a version with corrected year annotations to better align with standard ISO formats.
Results and Discussion
ARTime demonstrated superior robustness on informal text compared to existing rule-based systems.
On the Tweets Benchmark, ARTime achieved a value accuracy of 87.3%, significantly outperforming SUTime (83.5%). On TempEval-3, while it did not surpass top expert-rule systems like UWTime (82.6%), it achieved a competitive 75.4% accuracy without any manual rule engineering. Notably, a hybrid approach (ARTime+H) combining ARTime with HeidelTime's prior knowledge reached 89.5% accuracy on the Tweets-M dataset.
Key Insights
- Low-Redundancy Assumption: The DFS algorithm prioritizes short operation sequences, assuming humans use the most direct way to express time. This avoids linguistically nonsensical paths.
- Bridging the Expert Gap: Analysis revealed that ARTime's automatically generated rules covered over 90% of expert-written rules.
- Domain Adaptability: By learning from data, ARTime naturally adapts to domain-specific language (e.g., news vs. social media) without manual regex updates.
Limitations and Future Work
Despite its success, ARTime faces challenges with tense ambiguity (e.g., "in June" referring to past or future), which accounted for 11-17% of errors. Additionally, about half of the errors stemmed from patterns unseen in the training data. Future work involves integrating document context and event information to resolve tense and refining pattern-matching logic for higher-quality rule generation.
Summary updated