TweetCast knows (probably) who gets your vote

Today the Knight Lab quietly took the wraps off a project that seeks to uncover a secret most Americans hold — who we plan to vote for in this week’s presidential election.

The project, Tweet Cast Your Vote (tweetcast.knightlabproject.com), is experimental, but accurately predicts the candidate Twitter users plan to vote for up to 80 percent of the time.

For now the tool is an interesting experience for the user — a sort of political Guess Your Weight game. But the strategy and algorithms behind the tool are a whole other level of awesome.

“The technology observes people on Twitter who we know support Obama or Romney and runs algorithms that find patterns in their Twitter activity,” said Shawn O’Banion, a Northwestern University Ph.D. student who created the technology with Larry Birnbaum, a Knight Lab co-founder and professor of computer science at the McCormick School of Engineering.

“That initial observation allows us to predict the behavior of ‘unknowns,’ or users who we have not already observed and who we do not know to be on one side or the other,” O’Banion said.

Specifically the technology tracks words, @-mentions, hashtags and links in the Twitter feeds of known political supporters and compares those to the same elements in the feeds of other potential voters. The greater the similarity between the two, the more likely they are to support the same candidate, O’Banion said.

The system is most accurate — about 80 percent — with users who tweet about political issues. It’s less accurate — about 65 percent — with users who aren’t obviously political, O’Banion said.

A variety of factors lead to TweetCast’s miscalculations, but the biggest is sample size. It’s difficult to find users known to support a specific candidate and a larger sample size would improve the system’s accuracy, he said.

Apart from a more robust sample, other avenues could be used to improve the technology — using TweetCast’s user feedback system to fine tune results, for example, or by including other sources of data from Twitter like favorited tweets, or a user’s network of followers.

Though the technology is an intriguing capability demonstration at the moment, it’s easy to see its practical application — either in helping to predict the outcome of an election, or in targeting political advertising to undecided voters.

Imagine how much the Romney or Obama campaigns would like to do that.

The Knight Lab isn't the only group interested in finding political persuasions in Twitter data. We  were excited to see that a similar project launched just this week: Prez-O-Meter by SwiftKey.

“I'm impressed with SwiftKey's work,” O’Banion said. “I particularly like how they show you where on the ‘spectrum’ of political ideology you fall. The main difference between our work and theirs is that while they are comparing you to the candidates themselves, we compare you to other, normal Twitter users that we know support either Obama or Romney.”

TweetCast’s approach is unique “because it can learn patterns that may be useful in predicting political preference, such as hobbies, interests, religious practices, etc.” that aren’t directly tied to politics, O’Banion said.

Check out both projects. And be sure to let us know how TweetCast works for you.

TweetCast is part of the Knight Lab’s Social Loupe Projects — which includes twxRay and HashTagger — that seek to find meaning and utility in social media data.

Also, a special thanks to Medill’s Jeremy Gilbert and our own Miranda Mulligan for stepping up and helping Shawn develop TweetCast’s front end.

About the author

Ryan Graff

Communications and Outreach Manager, 2011-2016

Journalism, revenue, whitewater, former carny. Recently loving some quality time @KelloggSchool.

Latest Posts

  • Prototyping Augmented Reality

    Something that really frustrates me is that, while I’m excited about the potential AR has for storytelling, I don’t feel like I have really great AR experiences that I can point people to. We know that AR is great for taking a selfie with a Pikachu and it’s pretty good at measuring spaces (as long as your room is really well lit and your phone is fully charged) but beyond that, we’re really still figuring...

    Continue Reading

  • Capturing the Soundfield: Recording Ambisonics for VR

    When building experiences in virtual reality we’re confronted with the challenge of mimicking how sounds hit us in the real world from all directions. One useful tool for us to attempt this mimicry is called a soundfield microphone. We tested one of these microphones to explore how audio plays into building immersive experiences for virtual reality. Approaching ambisonics with the soundfield microphone has become popular in development for VR particularly for 360 videos. With it,...

    Continue Reading

  • How to translate live-spoken human words into computer “truth”

    Our Knight Lab team spent three months in Winter 2018 exploring how to combine various technologies to capture, interpret, and fact check live broadcasts from television news stations, using Amazon’s Alexa personal assistant device as a low-friction way to initiate the process. The ultimate goal was to build an Alexa skill that could be its own form of live, automated fact-checking: cross-referencing a statement from a politician or otherwise newsworthy figure against previously fact-checked statements......

    Continue Reading

  • Northwestern is hiring a CS + Journalism professor

    Work with us at the intersection of media, technology and design.

    Are you interested in working with journalism and computer science students to build innovative media tools, products and apps? Would you like to teach the next generation of media innovators? Do you have a track record building technologies for journalists, publishers, storytellers or media consumers? Northwestern University is recruiting for an assistant or associate professor for computer science AND journalism, who will share an appointment in the Medill School of Journalism and the McCormick School...

    Continue Reading

  • Introducing StorylineJS

    Today we're excited to release a new tool for storytellers.

    StorylineJS makes it easy to tell the story behind a dataset, without the need for programming or data visualization expertise. Just upload your data to Google Sheets, add two columns, and fill in the story on the rows you want to highlight. Set a few configuration options and you have an annotated chart, ready to embed on your website. (And did we mention, it looks great on phones?) As with all of our tools, simplicity...

    Continue Reading

  • Join us in October: NU hosts the Computation + Journalism 2017 symposium

    An exciting lineup of researchers, technologists and journalists will convene in October for Computation + Journalism Symposium 2017 at Northwestern University. Register now and book your hotel rooms for the event, which will take place on Friday, Oct. 13, and Saturday, Oct. 14 in Evanston, IL. Hotel room blocks near campus are filling up fast! Speakers will include: Ashwin Ram, who heads research and development for Amazon’s Alexa artificial intelligence (AI) agent, which powers the...

    Continue Reading

Storytelling Tools

We build easy-to-use tools that can help you tell better stories.

View More