A Case Study of Active, Continuous and Predictive Social Media Analytics for Smart City

Marco Balduini, Stefano Bocconi, Alessandro Bozzon, Emanuele Della Valle, Yi Huang, Jasper Oosterman, Themis Palpanas, Mikalai Tsytsarau

Introduction

City-scale events (CSEs), such as Milano Design Week (MDW), present significant logistical and informational challenges. With thousands of temporary venues and over half a million visitors—many of whom are international tourists—traditional recommendation systems often fail due to the "cold start" problem. These systems lack historical data on both the temporary venues and the new visitors. This paper proposes a real-time system that leverages Twitter "digital footprints" to build evolving user profiles and provide timely recommendations and movement predictions.

System Architecture

The proposed architecture follows Streaming Linked Data principles, utilizing a loosely coupled design centered around a "Blackboard" middleware. This middleware stores and serves instantaneous graphs (iGraphs) representing real-time social activity.

The system consists of four primary components:

  • Social Listener (SL): Identifies geo-fenced tweets, links them to MDW venues via lexical similarity, and filters for positive sentiment.
  • Visitor Modeller (VM): Constructs "topical profiles" by extracting semantic entities from a user's historical tweets using DBpedia-Spotlight.
  • Visitor-Venue Recommender (VVR): Employs regularized matrix factorization (SUNS) to predict future visits by merging real-time observations with topical profiles.
  • Visitor Engager (VE): Automatically interacts with users on Twitter to provide personalized recommendations via a dashboard.

Datasets and Evaluation

The system was evaluated using data from Milano Design Week 2014, including a real-time Twitter stream from the Milano area. The dataset comprised 842 unique visitor-venue links from 512 visitors and 198 venues. To build robust profiles, the authors analyzed approximately 1.8 million historical tweets, extracting over 1 million semantic entities. Ground truth for sentiment and entity extraction was established through manual expert annotation.

Key Results

The study yielded several significant findings regarding recommendation quality and system performance:

  • Recommendation Performance: The hybrid SUNS+MostTalked model, which combines personalized factorization with current trends, achieved a recall of over 20% at top-5 and 30% at top-10 recommendations. Quality improved as more data was collected during the event.
  • Extraction and Sentiment Accuracy: Entity extraction achieved a precision of 73.83%, while the sentiment classifier reached 0.67 accuracy, significantly outperforming the baseline.
  • System Scalability: Performance testing of the Blackboard middleware confirmed that while access time increases linearly with the number of stored iGraphs, it remains efficient for real-time city-scale applications.
Scalability analysis of the Blackboard middleware showing extraction time relative to the number of iGraphs and window length.

Discussion and Conclusion

While the technical components performed well, the "active" engagement aspect faced hurdles. Twitter’s anti-spam policies and user skepticism toward automated accounts resulted in a low response rate of 3.9%.

Future work will focus on integrating these recommendations into official event mobile applications to build user trust. Additionally, the authors plan to move toward predicting node dynamics—identifying which new areas will become popular—and incorporating richer metadata from event organizers.

Summary updated

BibTeX
@inproceedings{balduini2014case,
  author = {Marco Balduini and Stefano Bocconi and Alessandro Bozzon and Emanuele Della Valle and Yi Huang and Jasper Oosterman and Themis Palpanas and Mikalai Tsytsarau},
  title = {{A Case Study of Active, Continuous and Predictive Social Media Analytics for Smart City}},
  booktitle = {S4SC@ISWC},
  year = {2014},
}
Figure