Skip to main content
QUICK REVIEW

[Paper Review] The Predictive Power of Social Media: On the Predictability of U.S. Presidential Elections using Twitter

Kazem Jahanbakhsh, Yumi Moon|arXiv (Cornell University)|Jul 1, 2014
Sentiment Analysis and Opinion MiningComputer Science20 references32 citations
TL;DR

This study leverages machine learning and natural language processing on 32 million geo-tagged U.S. presidential election tweets (Sept 29–Nov 16, 2012) to predict candidate popularity, using sentiment analysis and LDA topic modeling. It demonstrates that Twitter sentiment closely mirrors actual election outcomes, with Obama leading in sentiment and geographic sentiment analysis reflecting state-level popularity, validating social media as a credible, low-cost predictive tool for elections.

ABSTRACT

Twitter as a new form of social media potentially contains useful information that opens new opportunities for content analysis on tweets. This paper examines the predictive power of Twitter regarding the US presidential election of 2012. For this study, we analyzed 32 million tweets regarding the US presidential election by employing a combination of machine learning techniques. We devised an advanced classifier for sentiment analysis in order to increase the accuracy of Twitter content analysis. We carried out our analysis by comparing Twitter results with traditional opinion polls. In addition, we used the Latent Dirichlet Allocation model to extract the underlying topical structure from the selected tweets. Our results show that we can determine the popularity of candidates by running sentiment analysis. We can also uncover candidates popularities in the US states by running the sentiment analysis algorithm on geo-tagged tweets. To the best of our knowledge, no previous work in the field has presented a systematic analysis of a considerable number of tweets employing a combination of analysis techniques by which we conducted this study. Thus, our results aptly suggest that Twitter as a well-known social medium is a valid source in predicting future events such as elections. This implies that understanding public opinions and trends via social media in turn allows us to propose a cost- and time-effective way not only for spreading and sharing information, but also for predicting future events.

Motivation & Objective

  • To investigate whether Twitter data can predict the outcome of the 2012 U.S. presidential election with high accuracy.
  • To compare Twitter-based sentiment analysis results with traditional opinion poll data to assess reliability and representativeness.
  • To uncover underlying public topics and trends in political discourse using unsupervised topic modeling (LDA) on election-related tweets.
  • To evaluate the geographic distribution of sentiment to identify state-level candidate popularity using geo-tagged tweets.
  • To develop and validate a systematic, multi-method approach combining sentiment analysis and topic modeling for large-scale social media content analysis in political prediction.

Proposed method

  • Collected 32 million political tweets from September 29 to November 16, 2012, focusing on U.S. presidential election content.
  • Employed a custom machine learning classifier for sentiment analysis to improve accuracy in detecting positive/negative sentiment toward candidates.
  • Applied Latent Dirichlet Allocation (LDA) to extract latent topical structures from the tweet corpus, identifying dominant themes in political discourse.
  • Conducted geographical sentiment analysis by filtering geo-tagged tweets to assess regional candidate popularity across U.S. states.
  • Compared sentiment trends from Twitter with traditional pollster results over the same time period to evaluate predictive alignment.
  • Used topic modeling to analyze discussion patterns around key events such as presidential debates, identifying recurring themes and vocabulary clusters.

Experimental results

Research questions

  • RQ1Can one use Twitter data to predict the 2012 U.S. presidential election?
  • RQ2Are the content analysis results of Twitter comparable with traditional pollster results?
  • RQ3Can geographic sentiment analysis on geo-tagged tweets uncover state-level candidate popularity?
  • RQ4What underlying topics emerge from political discussions on Twitter during the 2012 election cycle?
  • RQ5How do major events like presidential debates influence sentiment and topic shifts in Twitter discourse?

Key findings

  • Obama consistently led in sentiment analysis across the analyzed period, aligning with the actual election outcome.
  • Geographic sentiment analysis revealed state-level popularity patterns that matched known regional voting trends, validating the method’s spatial accuracy.
  • LDA successfully extracted five dominant topics from the tweet corpus, including debates, taxes, foreign policy, and candidate names, reflecting public discourse focus.
  • The first presidential debate was associated with a surge in mentions of 'debate', 'mitt', and 'obama', indicating heightened public engagement.
  • Negative advertising was found to significantly influence sentiment trends, particularly in the weeks leading up to the election.
  • Twitter sentiment trends showed strong correlation with traditional poll results, suggesting social media as a reliable, real-time proxy for public opinion.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.