Event Detection in Twitter Stream Using Weighted Dynamic Heartbeat Graph Approach [Application Notes]

Zafar Saeed, Rabeeh Ayaz Abbasi, Muhammad Imran Razzak, Guandong Xu · DOI

Introduction: The Challenge of Real-Time Social Media Mining

Twitter serves as a vital real-time information source, yet extracting meaningful events from its stream is challenging due to high noise levels and the "Dominant Event" bias. Traditional event detection methods typically focus on "bursty" features—sudden spikes in keyword frequency. While intuitive, these spikes often reflect general noise or massive events that drown out smaller, emerging sub-events.

Tweet volume spikes during a football match, illustrating the 'bursty' nature of social media data.

Methodology: The Weighted Dynamic Heartbeat Graph (WDHG)

To address these limitations, researchers developed the Weighted Dynamic Heartbeat Graph (WDHG) approach. This method shifts the focus from raw volume to the change in word co-occurrence patterns over time, effectively capturing the "pulse" or "heartbeat" of the conversation.

The WDHG pipeline, showing the transition from raw stream to temporal graphs and finally to ranked topics.

The WDHG pipeline consists of several key stages:

  1. Temporal Aggregation: Tweets are grouped into "super-documents" within specific time intervals to provide necessary context.
  2. Graph Generation: For each interval, a graph is constructed where nodes represent words and edges represent their co-occurrence frequency.
  3. WDHG Generation: The system calculates the difference between adjacent temporal graphs. This "displaced temporal frequency" highlights emerging word relationships.
  4. Event Suppression: Once an event is detected, the system suppresses its associated keywords in subsequent windows. This "clears the air," allowing the detection of new, smaller events that would otherwise be overshadowed.
  5. Classification: A rule-based classifier evaluates "aggregated centrality" and growth factors to identify "Strong" versus "Weak" event candidates.

Experimental Evaluation

The model was tested against three real-world datasets:

  • FA Cup Final 2012: A high-intensity 6-hour window with 13 ground-truth topics.
  • Super Tuesday 2012: A 24-hour dataset covering US primary elections with 22 topics.
  • US Elections 2012: A large-scale 36-hour dataset containing over 2.3 million tweets and 64 topics.

Key Results and Performance

The WDHG approach demonstrated significant improvements over nine state-of-the-art baselines, including LDA and various clustering techniques:

  • Superior Recall and Precision: In the US Election dataset, WDHG outperformed all baselines in Topic-Recall. For Super Tuesday, it achieved a Keyword-Precision@2 of 0.750, nearly doubling the performance of traditional matrix factorization methods.
  • Efficiency and Speed: WDHG achieved a 47% to 74% speedup compared to the next-best method (Exemplar). In the FA Cup dataset, it processed windows in just 0.46 seconds, whereas some traditional methods took over 260 seconds.

Conclusion

By prioritizing changes in word relationships and implementing event suppression, the WDHG approach offers a more sensitive and efficient solution for real-time event detection. Future work will focus on incorporating user-based features (e.g., geolocation, follower count) and testing the system on live, unpredictable global data streams.

Summary updated

BibTeX
@article{saeed2019event,
  author = {Zafar Saeed and Rabeeh Ayaz Abbasi and Muhammad Imran Razzak and Guandong Xu},
  title = {{Event Detection in Twitter Stream Using Weighted Dynamic Heartbeat Graph Approach [Application Notes]}},
  journal = {IEEE Comput. Intell. Mag.},
  year = {2019},
  doi = {10.1109/mci.2019.2919395},
}
Figure