Real-Time Detection, Tracking, and Monitoring of Automatically Discovered Events in Social Media

Miles Osborne, Sean Moran, Richard McCreadie, Alexander von Lünen, Martin D. Sykora, Amparo Elizabeth Cano, Neil Ireson, Craig Macdonald, Iadh Ounis, Yulan He, Tom Jackson, Fabio Ciravegna, Ann O'Brien

Introduction

Information analysts in the security sector face a significant "needle in a haystack" problem. While social media platforms like Twitter provide an unprecedented real-time window into global incidents—ranging from natural disasters to terrorist attacks—the critical signal is often buried under a mountain of noise. This paper introduces ReDites, a comprehensive system designed to help analysts navigate the chaotic social media "firehose." By combining real-time event detection, automated summarization, and sentiment analysis, ReDites transforms millions of raw tweets into a structured, actionable dashboard of global events as they unfold.

System Architecture

The ReDites architecture is designed as a "loosely coupled" system of services communicating via a Thrift interface. This modularity allows for independent scaling and updates of specific components within the pipeline.

The ReDites system architecture, illustrating the flow from Twitter stream to end-user UI.

The pipeline consists of several major stages, starting from raw data ingestion to enriched visualization for the end user. The system prioritizes low-latency performance to ensure that analysts receive updates within seconds of an event's first mention on social media.

Methodology

Event Detection and Filtering

To handle the massive scale of the Twitter stream, the system utilizes Locality Sensitive Hashing (LSH). This approach enables constant-time novelty detection by comparing incoming tweets against a history of seen content. An event is defined by the first tweet that discusses a unique occurrence. To distinguish "content-bearing" news-like tweets from mundane personal updates or spam, a Passive-Aggressive algorithm is employed as a binary classifier.

Tracking and Summarization (TaS)

Once an event is detected, the system tracks it by querying the ongoing stream using informative terms from the initial tweet. A novel summarization logic selects tweets based on their "score distribution," ensuring the summary includes diverse, on-topic information while using cosine similarity to prune redundant content.

Security and Emotion Classification

  • Security Classification: Due to the scarcity of labeled security data, the authors use a weakly supervised Bayesian approach (the Violence Detection Model or VDM). The model is bootstrapped using "priors" (word lists) extracted from DBpedia.
  • Emotion Identification: A manually constructed ontology maps tweets to eight basic emotions (e.g., anger, fear, surprise), helping analysts identify potential social flashpoints.
  • Geolocation: For tweets lacking GPS data, a LASSO regressor predicts coordinates based on tweet text and user metadata, trained on a dataset of 20 million previously geotagged tweets.

Performance and Results

ReDites demonstrates that sophisticated event tracking can be achieved on commodity hardware by choosing algorithms with high computational efficiency. The system's primary strength is its remarkably low latency across all processing stages.

Latency and variance measurements for the various stages of the ReDites pipeline.

Key performance metrics include:

  • Latency: Per-tweet latency for detection is approximately 0.62 seconds. Even with tracking, summarization, and classification, enriched event summaries are available within seconds.
  • Security Classification: The weakly supervised VDM achieved an 85.8% F-measure, performing nearly as well as fully supervised models that require significantly more manual labeling.
  • Case Study (Westgate Mall Attack): During the September 2013 terrorist attack in Kenya, the system detected the event less than one second after the first informative tweets appeared. It successfully filtered over 7,000 related tweets into a concise summary, correctly identifying 24% as high-priority security alerts.
  • Geolocation Accuracy: The system localizes tweets within a mean distance of 433 km, which is sufficient for identifying the general region or city of a crisis.

Conclusion

ReDites proves that real-time, automated event discovery is viable at scale. By leveraging weak supervision and efficient hashing techniques, the system provides security analysts with a powerful tool to monitor global incidents in near real-time. Future work aims to address current limitations, such as the reliance on English-language tweets and the need for higher-granularity geolocation to support tactical responses.

Summary updated

BibTeX
@inproceedings{osborne2014real,
  author = {Miles Osborne and Sean Moran and Richard McCreadie and Alexander von Lünen and Martin D. Sykora and Amparo Elizabeth Cano and Neil Ireson and Craig Macdonald and Iadh Ounis and Yulan He and Tom Jackson and Fabio Ciravegna and Ann O'Brien},
  title = {{Real-Time Detection, Tracking, and Monitoring of Automatically Discovered Events in Social Media}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2014},
  doi = {10.3115/v1/p14-5007},
}
Figure