A Deep Multi-View Learning Framework for City Event Extraction from Twitter Data Streams

Nazli FarajiDavar, Sefki Kolozali, Payam M. BarnaghiarXiv 2017 · OpenReview

TL;DR

This paper introduces a novel deep multi-view learning framework to extract city events from Twitter data. By combining semantic and syntactic information from tweets, their system achieves an impressive 81% accuracy in identifying various city events, outperforming existing methods and offering a valuable tool for real-time urban monitoring.

What Problem Does This Paper Address?

Smart cities aim to leverage technology to improve urban management and citizen services. A key challenge is understanding the dynamic events happening within a city in real-time. While official data sources exist, they often have a delay. Social media, particularly Twitter, offers a rich, immediate stream of citizen observations. However, extracting structured event information from the noisy, informal text of tweets is difficult. This paper tackles the problem of accurately and efficiently extracting city-related events (like traffic jams, cultural events, or public safety incidents) from Twitter data, bridging the gap between raw social media streams and actionable urban intelligence.

Methods

The core of this work is a hierarchical multi-view deep learning framework. It leverages two distinct "views" of the tweet data:

  • Semantic Embedding: This view captures the meaning of words. The authors use a Conditional Random Field (CRF) model, trained on a curated set of domain-specific phrases and reports, to identify named entities related to events and locations.
  • Syntactic Embedding: This view focuses on the grammatical structure of the tweet. A Convolutional Neural Network (CNN), pre-trained on a large English Wikipedia corpus, is used to extract Part-of-Speech (PoS) tags.

These two views are then fused using a multi-view learning approach, specifically employing a Restricted Boltzmann Machine (RBM). This fusion allows the model to learn representations that are robust to the informal nature of tweets and to capture longer-term dependencies, leading to more accurate event classification. The framework also includes data wrappers for collecting tweets and official data, and a similarity analysis component to compare extracted events with authoritative records.

Datasets

The research utilizes several datasets:

  • San Francisco Bay Area Dataset: This dataset, collected over four months (August-November 2013), was used for initial evaluation and comparison with existing models. It's noted that this dataset was sub-sampled and potentially cleaned by the original authors.
  • London Datasets (London1 and London2):
    • London1: Collected in May 2015, this dataset was manually cleaned and annotated for training and testing the multi-view learning model. It consists of 3000 tweets.
  • London2: Collected in February 2016, this dataset was used for similarity analysis with official data.
  • Authoritative Data Sources:
    • Transport for London (TfL) API: Used to collect road traffic disruption data.
  • Time Out London Website: Parsed to gather sociocultural event information.
  • Open Street Map (OSM): Used for extracting city location terms.
  • Wikipedia Cultural Activities Hierarchy: Used for constructing cultural event terms.

Key Insights and Ideas

  • Multi-view learning is crucial for informal text: Combining semantic and syntactic information from tweets significantly improves event extraction accuracy compared to single-view approaches.
  • Twitter data offers early event detection: A substantial portion of Twitter traffic alerts (49.5%) are reported hours before official records, highlighting the value of social media for real-time situational awareness.
  • Social and cultural events influence traffic: Tweets related to transportation, cultural, and social events are more likely to influence the distribution of traffic-related Twitter comments, suggesting a ripple effect of urban activities.
  • Flexibility over specificity: The proposed CRF model, trained on generic dictionaries, shows comparable performance to models trained on domain-specific data (like San Francisco traffic), demonstrating its adaptability to different cities.

Key Results

  • The proposed multi-view deep learning framework achieved an averaged accuracy of 81% over all event classes.
  • The multi-view approach boosted performance by 5% compared to a single-view event classification model.
  • 49.5% of Twitter traffic comments were reported approximately five hours prior to official authority records.
  • The system demonstrated strong performance in Location tagging, achieving a recall of 0.96 and precision of 0.93 on the San Francisco dataset, which was further enhanced to 0.99 recall with CNN integration.
  • On the London dataset, the system showed a slight degradation in performance compared to the cleaned San Francisco data, but still achieved respectable results, particularly in location tagging (1.00 recall).

Limitations and Future Work

  • Data imbalance: The "Other" class in Twitter data is significantly larger, requiring sub-sampling for training.
  • Dictionary limitations: Incomplete class-conditional dictionaries can lead to misclassifications, especially for "Social," "Cultural," and "Food" events.
  • Informal language challenges: Metaphors and conversational complexities in tweets can still lead to misclassifications, as seen in the case studies.
  • Future work suggestions:
    • Testing the framework on non-English Twitter streams.
  • Implementing an online recursive learning model for continuous adaptation.
  • Further improving class-specific dictionaries and exploring more advanced fusion techniques.
  • Investigating the impact of user-specific information (while respecting privacy).

Summary updated

Abstract

Cities have been a thriving place for citizens over the centuries due to their complex infrastructure. The emergence of the Cyber-Physical-Social Systems (CPSS) and context-aware technologies boost a growing interest in analysing, extracting and eventually understanding city events which subsequently can be utilised to leverage the citizen observations of their cities. In this paper, we investigate the feasibility of using Twitter textual streams for extracting city events. We propose a hierarchical multi-view deep learning approach to contextualise citizen observations of various city systems and services. Our goal has been to build a flexible architecture that can learn representations useful for tasks, thus avoiding excessive task-specific feature engineering. We apply our approach on a real-world dataset consisting of event reports and tweets of over four months from San Francisco Bay Area dataset and additional datasets collected from London. The results of our evaluations show that our proposed solution outperforms the existing models and can be used for extracting city related events with an averaged accuracy of 81% over all classes. To further evaluate the impact of our Twitter event extraction model, we have used two sources of authorised reports through collecting road traffic disruptions data from Transport for London API, and parsing the Time Out London website for sociocultural events. The analysis showed that 49.5% of the Twitter traffic comments are reported approximately five hours prior to the authorities official records. Moreover, we discovered that amongst the scheduled sociocultural event topics; tweets reporting transportation, cultural and social events are 31.75% more likely to influence the distribution of the Twitter comments than sport, weather and crime topics.
BibTeX
@misc{farajidavar2017deep,
  author = {Nazli FarajiDavar and Sefki Kolozali and Payam M. Barnaghi},
  title = {{A Deep Multi-View Learning Framework for City Event Extraction from Twitter Data Streams}},
  year = {2017},
  eprint = {1705.09975},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1705.09975},
}
Figure