Introduction
Traditional emergency response systems, while robust, often face scalability issues during widespread disasters. Social media platforms like Twitter offer a decentralized alternative, acting as a real-time sensor network where citizens report incidents as they happen. However, the utility of this data is hampered by linguistic noise—slang, abbreviations, and emotional emphasis—and semantic ambiguity, where words like "fire" are used metaphorically.
Civique is a monitoring system designed to address these challenges by sanitizing informal text and employing a multi-stage classification approach to identify and categorize genuine urban emergencies.
System Architecture and Methodology
The Civique framework processes raw social media data through a modular pipeline to transform noisy tweets into actionable information.
Text Sanitization
To handle the informal nature of Twitter, the system includes a rigorous cleaning phase:
- Compression Module: Reduces character repetitions (e.g., "fiiiiiireeeee" to "fire") by cross-referencing against a dictionary.
- Normalization Module: Maps abbreviations and "Twitter-speak" (e.g., "hlp") to standard English using a parallel corpus of 15,000 words.
- Spell Checking: Corrects phonetic errors to ensure the classifier receives clean input.
Two-Stage Classification
Classification is split into two distinct phases to maximize accuracy:
- Emergency Detection (Stage 1): A binary classifier filters tweets into "emergency" or "non-emergency" categories.
- Type Categorization (Stage 2): Tweets identified as emergencies are further categorized into specific types, such as fire, earthquake, accident, or theft, using trigram features.
Results and Evaluation
The system was evaluated using a manually labeled dataset of 3,200 tweets. Performance was measured using F-scores across different machine learning models.
As shown in Figure 2, the Support Vector Machine (SVM) outperformed Naive Bayes in the initial detection stage with an F-score of 72.5%. Conversely, Naive Bayes proved highly effective for the multi-class categorization in Stage 2, achieving a 92% F-score.
Key Insights
A significant finding from the word cloud analysis of emergency attributes was the prominence of the word "respond." This suggests that the intent of the user—specifically the call for assistance—is a more reliable indicator of a real-world crisis than the mere mention of an event name.
Despite the success of the preprocessing pipeline, the system still faces challenges with deep semantic nuances, such as sarcasm or complex metaphors, which can lead to false positives.
Conclusion and Future Work
Civique demonstrates the feasibility of using social media as a real-time emergency sensor. By combining rigorous text sanitization with a tiered classification strategy, the system provides a visualized map of crises for authorities. Future work will focus on reducing dependency on GPS tags, implementing user credibility scores, and expanding the system's linguistic and categorical scope to include "on-the-fly" detection of novel emergency types.
Summary updated