Introduction
Extracting time expressions (e.g., "next Monday") and normalizing them into standardized calendar dates (e.g., 2016-05-09) is a fundamental task in Information Extraction. However, traditional temporal taggers designed for well-edited news text often fail when applied to the informal, messy landscape of social media. Twitter users frequently employ non-standard spellings ("tmrw"), hashtags (#September11), and a future-oriented temporal bias that confuses systems trained on past-tense news archives.
TweeTime addresses these challenges using a minimally supervised approach. By leveraging "distant supervision"—learning from a database of known events rather than expensive hand-labeled text—TweeTime achieves a 0.68 F1 score on date resolution, outperforming traditional state-of-the-art systems by 17%.
Methodology: Distant Supervision and Pipeline
The TweeTime system avoids the need for massive human-annotated datasets by automatically constructing an "Event Database." This is achieved by identifying strong statistical associations between entities and specific dates within a massive corpus of 120 million tweets. For instance, if "Mercury" and "5/9/2016" appear together frequently, the system infers an event and uses that date as a "noisy" label to train its models.
The pipeline consists of several key components:
- Multiple-Instance Learning (MultiT): Since the training labels apply to the whole tweet, this model identifies which specific words constitute the temporal expressions.
- Missing Data Model (MiDaT): This component allows the model to ignore "noisy" tweets that mention an entity but lack an actual time expression, increasing overall robustness.
- Temporal Normalizer: A log-linear model that ranks candidate dates within a $\pm$10-day window of the tweet's post date, utilizing lexical features and tags generated by the recognizer.
Key Insights: Learning from the Crowd
TweeTime effectively leverages the "wisdom of the crowd." Instead of manually coding rules for every possible spelling of "tomorrow," the model learns them automatically because they appear in tweets associated with known events. This latent semantic learning allows the model to associate words like "Christmas" with the month of December based purely on statistical patterns. Furthermore, unlike traditional NLP pipelines, TweeTime treats hashtags as valid sources of temporal information.
Results and Evaluation
The system was evaluated against a manually annotated "gold standard" of 200 tweets from a separate time period (2014–2016). TweeTime, particularly when combined with SUTime, demonstrated significant performance gains over existing tools.
As shown in the Precision-Recall curve, TweeTime maintains higher precision across various recall levels compared to SUTime (0.58 F1), HeidelTime (0.47 F1), and UWTime (0.44 F1). A primary driver of this success is TweeTime's ability to handle spelling variations, which accounted for 45% of SUTime's errors. The system also allows users to adjust a confidence threshold, enabling a trade-off between finding every date (recall) and ensuring the accuracy of the dates found (precision).
Limitations and Future Work
While highly effective for dates within a 10-day window of a tweet, TweeTime currently struggles with long-range dates without the assistance of external tools like SUTime. Additionally, error analysis reveals a tendency to "over-predict" temporal expressions, likely because the training data predisposes the model to expect a date in every tweet. Future research will focus on extending these minimally supervised techniques to recognize times of day and durations.
Summary updated