What's in Your Tweets? I Know Who You Supported in the UK 2010 General Election

Antoine Boutet, Hyoungshick Kim, Eiko Yoneki

TL;DR

Researchers developed a lightweight Bayesian framework to predict the political leanings of Twitter users during the 2010 UK General Election. By focusing on the volume of party-specific mentions and retweet patterns, their "Bayesian-Volume" model achieved 86% accuracy—outperforming complex Support Vector Machines (SVMs) without requiring an expensive offline training phase.

What Problem Does This Paper Address?

Monitoring political sentiment in real-time is a "holy grail" for social scientists and campaign managers, but doing so computationally is challenging. Traditional machine learning approaches often require massive, labeled datasets and significant "tuning" of parameters, making them slow and computationally expensive.

Furthermore, social media data is dynamic. A user’s political stance might evolve or become more apparent as an election approaches. The authors sought a practical, low-cost algorithm that could classify users incrementally as new data arrives, rather than processing the entire dataset in one massive, "unacceptable" batch.

Methods

The authors proposed a Bayesian Classification framework that treats a user's political affiliation as a probability distribution that updates over time. They tested two primary heuristics within this framework:

  1. Bayesian-Retweet: This model estimates a user’s leaning based on the known or inferred leanings of the people they retweet. It assumes that retweeting is a strong signal of endorsement.
  2. Bayesian-Volume: This model looks at the frequency of mentions of a specific party or its leader. It assumes that users are more likely to name-drop the party they support.

They compared these against standard baselines, including a Label Propagation method (which spreads "labels" through a network graph) and a Support Vector Machine (SVM) trained on six features (followers, replies, retweets, word count, hashtag count, and sentiment/emotion).

Datasets

The study utilized a custom dataset centered on the 2010 UK General Election:

  • Raw Data: ~1.15 million tweets from ~220,000 users, collected between May 5th and 12th, 2010.
  • Network Data: ~79 million follower/following relationships.
  • Ground Truth: A manually identified set of 684 users who self-identified their party affiliation in their profiles (356 Labour, 159 Conservative, 169 Liberal Democrat).
  • Expanded Set: Using label propagation, they expanded the ground truth to 11,448 "candidate" users to analyze broader party characteristics.

Key Insights and Ideas

  • The "Echo Chamber" Effect: The researchers found that retweet graphs are highly segregated. Users almost never retweeted members of opposing parties. However, "mentions" (direct messages or @-replies) were common across party lines, likely representing debate or conflict rather than support.
  • Mentions as a Proxy for Support: Surprisingly, the simple volume of references to a party or its leader was a more reliable indicator of support than complex network features.
  • Simplicity Trumps Complexity: The Bayesian-Volume model outperformed the SVM. The authors suggest this is because SVMs require expensive tuning and may struggle with the noisy, sparse nature of Twitter data compared to a direct Bayesian update based on specific keywords.
  • Latency Matters: Retweet-based models suffer from "propagation latency"—it takes time for a retweet to move through a network. Volume-based models work instantly as soon as a user hits "tweet," making them superior for real-time tracking.

Key Results

The performance of the various classifiers was measured by their accuracy in predicting the affiliation of the self-identified ground-truth users:

Classifier Accuracy
Bayesian-Volume 0.86 (86%)
Retweet (Label Propagation) 0.73 (73%)
Bayesian-Retweet 0.64 (64%)
SVM 0.63 (63%)
Volume (Simple Count) 0.60 (60%)

The Bayesian-Volume model was the clear winner. Notably, its accuracy started at 0.5 (random chance for a binary-like choice) and climbed steadily as more tweets were processed, reaching its peak of 86% by the end of the election period.

Limitations and Future Work

  • Sarcasm and Negativity: The model assumes that mentioning a party or leader is a sign of support. While this held true for the 2010 UK election, the authors acknowledge that it might not account for "hate-tweeting" or sarcasm, though their high accuracy suggests these were outliers in this specific dataset.
  • Multi-Party Dynamics: The study focused on the three main UK parties. It is unclear how the model would perform in a more fragmented political landscape with many smaller parties.
  • Temporal Shifts: While the model tracks probability over time, the authors suggest future work could more deeply analyze why and when users shift their political leanings during a campaign.

Summary updated

BibTeX
@inproceedings{boutet2012what,
  author = {Antoine Boutet and Hyoungshick Kim and Eiko Yoneki},
  title = {{What's in Your Tweets? I Know Who You Supported in the UK 2010 General Election}},
  booktitle = {ICWSM},
  year = {2012},
}
Figure