Tracking Political Elections on Social Media: Applications and Experience

Danish Contractor, Bhupesh Chawda, Sameep Mehta, L. Venkata Subramaniam, Tanveer A. FaruquieIJCAI 2015

Abstract

In recent times, social media has become a popular medium for many election campaigns. It not only allows candidates to reach out to a large section of the electorate, it is also a potent medium for people to express their opinion on the proposed policies and promises of candidates. Analyzing social media data is challenging as the text can be noisy, sparse and even multilingual. In addition, the information may not be completely trustworthy, particularly in the presence of propaganda, promotions and rumors. In this paper we describe our work for analyzing election campaigns using social media data. Using data from the 2012 US presidential elections and the 2013 Philippines General elections, we provide detailed experiments on our methods that use granger causality to identify topics that were most "causal" for public opinion and which in turn, give an interpretable insight into "elections topics" that were most important. Our system was deployed by the largest media organization in the Philippines during the 2013 General elections and using our work, the media house able to identify and report news stories much faster than competitors and reported higher TRP ratings during the election.

Introduction

While social media is a goldmine for public opinion, it is notoriously difficult to mine for actionable political insights. The data is often "noisy" (containing slang and typos), sparse, and multilingual. Furthermore, the sheer volume of propaganda and rumors makes it difficult to distinguish between temporary "buzz" and significant shifts in voter sentiment. This research aims to bridge the gap between raw social media streams and the needs of two specific groups: journalists, who need to identify "breaking" news stories in real-time, and political analysts, who need to understand which specific issues are actually driving changes in candidate approval ratings.

System Architecture and Methods

The researchers developed a robust architecture designed to handle the scale and complexity of social media data. Built on a multi-node Hadoop cluster, the system integrates data ingestion from Twitter APIs with advanced text analytics.

The system architecture for social media monitoring, featuring a Hadoop cluster and IBM's SystemT engine.

The core components include:

  • Sentiment Analysis: Utilizing IBM’s SystemT, a rule-based engine, the team used Annotation Query Language (AQL) to process text. This rule-based approach allowed for easier adaptation to the Tagalog language compared to traditional machine learning classifiers.
  • Short-term Topic Detection: The system uses the Apriori algorithm to identify emerging news stories by finding frequent itemsets of words, specifically looking for "known entities" (candidates) appearing with "unrelated entities."
  • Long-term Causal Topic Detection: The most sophisticated feature uses Lasso Granger Causality to determine if specific bigrams can statistically predict changes in poll numbers. This goes beyond simple correlation to test if social media trends actually precede and help predict future poll results.

Key Insights: The Power of Causal Bigrams

A primary finding of the study is that the sheer volume of mentions does not necessarily correlate with popularity; high volume often reflects controversy rather than support. Instead, the system identifies specific "causal" issues through bigram analysis.

Causal bigrams identified for Barack Obama and Mitt Romney during the 2012 US Presidential Election.

For instance, during the 2012 US Election, topics like "auto bailout" and "job growth" were causal for positive shifts for Barack Obama. Conversely, for Mitt Romney, bigrams like "failed policies" and "fiscal cliff" were significant drivers of sentiment shifts. This level of granularity provides interpretable insights into which election topics truly resonate with the public.

Real-world Impact and Results

The system was validated using two major datasets: 37 million tweets from the 2012 US Presidential Elections and 7.5 million tweets from the 2013 Philippines General Elections.

  • Predictive Accuracy: In the US, the system predicted a final vote share (47.8% for Obama, 47.2% for Romney) that was remarkably close to professional polling agency results.
  • Media Deployment: During live deployment with ABS-CBN in the Philippines, the system flagged "faulty voting machines" (PCOS) hours before traditional news outlets. This speed contributed to a 25% higher TRP (Television Rating Point) for the partner media house compared to competitors.
  • Sentiment Precision: The rule-based sentiment module achieved an F1 score of 0.70 on a gold-standard set of manually labeled tweets.

Limitations and Conclusion

Despite its success, the system faces challenges regarding data access (limited by the Twitter API) and the nuances of political rhetoric like sarcasm. Furthermore, the causal model depends on the availability of frequent, high-quality polling data as a ground truth. Future work involves extending this framework to other high-stakes domains like sports competitions and movie releases.

Summary updated

BibTeX
@inproceedings{contractor2015tracking,
  author = {Danish Contractor and Bhupesh Chawda and Sameep Mehta and L. Venkata Subramaniam and Tanveer A. Faruquie},
  title = {{Tracking Political Elections on Social Media: Applications and Experience}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2015},
  url = {https://openreview.net/forum?id=HJxppVMubr},
}
Figure