A Minimally Supervised Method for Recognizing and Normalizing Time Expressions in Twitter

Jeniya Tabassum, Alan Ritter, Wei Xu

Introduction

Extracting temporal information is a cornerstone of Information Extraction (IE). For a system to effectively populate calendars, build event timelines, or track disease outbreaks, it must accurately resolve relative time expressions (e.g., "this Monday") to specific calendar dates (e.g., "2016-05-09"). While traditional temporal taggers like SUTime or HeidelTime perform well on edited text like news articles, they struggle with the "linguistic Wild West" of Twitter. Social media users frequently employ non-standard spellings ("2mrw"), relative dates pointing to the future, and ambiguous terms. To address this domain mismatch, we present TweeTime, a system that leverages distant supervision to achieve state-of-the-art performance on Twitter data.

The TweeTime Framework

TweeTime utilizes a minimally supervised approach that avoids the bottleneck of human-labeled data. The system's pipeline consists of two primary stages: a temporal recognizer and a temporal normalizer.

Overview of the TweeTime pipeline, illustrating the flow from event extraction to model training via distant labeling.

The process begins with an Event Extractor that identifies known events and their dates from an external database. Through distant supervision, the system assumes that if a tweet mentions a known event (e.g., "Mercury Transit") and is posted near that event's date, the time expressions within it likely refer to that specific date. This allows for the automatic labeling of millions of tweets, creating a massive "silver standard" training corpus.

Temporal Recognition and Normalization

The Temporal Recognizer identifies time-related words and assigns them types such as Day of Week (DOW) or Month of Year (MOY). Because distant supervision only provides sentence-level labels (e.g., we know the tweet refers to "Monday," but not which specific word is the tag), TweeTime employs a graphical model for Multiple-Instance Learning (MultiT).

The graphical model used by the Recognizer to jointly learn word-level tags from sentence-level distant labels.

To handle noise—such as tweets that mention an entity but lack an actual date reference—the system uses a Missing Data Model (MiDaT). This model relaxes constraints, allowing the system to ignore heuristic labels if the local classifier demonstrates high confidence in an alternative.

Following recognition, the Temporal Normalizer uses a log-linear model to map tags to specific calendar dates. This model incorporates lexical features, POS tags, and "Time Difference" features, accounting for the "future-leaning" bias observed in Twitter discourse, where users are more likely to discuss upcoming events than past ones.

Evaluation and Results

TweeTime was trained on a corpus of 120 million tweets and evaluated against a "gold standard" set of 250 manually annotated tweets. The system achieved an F1 score of 0.68 on end-to-end date resolution, representing a 17% improvement over SUTime. It also significantly outperformed other standard tools like HeidelTime and UWTime on social media data.

Conclusion

By using events as anchors to bridge the gap between raw text and structured dates, TweeTime demonstrates that distant supervision can effectively train robust models for noisy domains. While currently limited by a 10-day candidate window and a focus on specific dates rather than durations, the framework provides a scalable foundation for future temporal extraction tasks in social media.

Summary updated

BibTeX
@inproceedings{tabassum2016minimally,
  author = {Jeniya Tabassum and Alan Ritter and Wei Xu},
  title = {{A Minimally Supervised Method for Recognizing and Normalizing Time Expressions in Twitter}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2016},
  doi = {10.18653/v1/d16-1030},
}
Figure