How Twitter can help you avoid getting food poisoning

how twitter can help you avoid getting food poisoning nemesis
nEmesis will figure out if your favorite restaurant will make you puke

There’s nothing worse than the moment nausea sets in when you realize that buffalo chicken wrap you were raving about over lunch has turned against you violently.

Food poisoning is a blanket term for foodborne illnesses, and they can range from short, mild cases to fatal episodes – and researchers from the University of Rochester believe each case is preventable, and that Twitter can help in prevention efforts. 

The researchers came up with a system called nEmesis, which they describe as “an end-to-end system that ‘listens’ for relevant public tweets, detects restaurant visits from geo-tagged Twitter messages, tracks user activity following a restaurant visit, infers the likelihood of the onset of foodborne illness from the text of user communication, and finally ranks restaurants via statistical analysis of the processed data.”

They used 3.8 million tweets from 94,000 Twitter users in the New York area, and they found 480 counts of food poisoning based on tool. nEmesis sorts through tweets by geo-locating keywords that might indicate that someone feels sick after eating – phrases like #upsetstomach and “so sick omg” were used as keywords. 

They used an automated filter to sift through the enormous volume of tweets looking for phrases that indicated illness, and then they used people registered with Amazon’s Mechanical Turk program to lend human eyes to the tweets and find the ones most likely to point to illness. 

The system pinpoints restaurants that might make you sick based on what people who have visited them tweet — and their findings matched up pretty closely with the New York Department of Health’s current grades, indicating that you probably should stay away from that sketchy but cheap ramen place if it doesn’t pass with flying colors.  

This could be enormously helpful if food inspection organizations used nEmesis to determine which restaurants they should check out, since spots with higher incidents of illness could get shut down in a more timely fashion. And it’d be helpful for anyone deciding where they should go out to eat.

Sean Brennan, one of the researchers, says that the nEmesis model could be used to track other issues. “What our model is good at doing is labeling classes of illnesses. In the past we focused mostly on influenza-like illnesses, for example, and this one was about food-borne illnesses, which covers a spectrum of symptoms and causes. A good example of this, and another potential branch of research we were considering, was mental health, particularly depression and anxiety. We think identifying these cases could also be a profound and rewarding contribution to the field.” 

But Brennan notes that the tool is good at getting estimates, not exact results, and that it wouldn’t work well if you were searching for too specific a problem. “If you’re looking for something super-specific (instances of strep throat, for example) then there would probably not be enough positive examples to generate a reliable signal, or be statistically significant,” he says. 

This kind of model can work in other large cities. “Other English-speaking countries would want to fine-tune our original language model to the local vernacular, since a lot of our naïve language mode – that we used to get our original dataset – depended on colorful American phrases,” Brennan says. “And of course non-English-speaking cities would need to change the language entirely. Unfortunately though, this can really only work on the scale of New York or L.A., and not Madison, WI for example. Geotagged tweets are just too sparse (across both space and time) in some places currently, but this will hopefully improve over the coming years.” 

nEmesis isn’t an app yet, but the researchers made something called Germ Tracker based on an older research model. It locates tweets in your area that indicate the people around you are sick – so if you’re a germaphobe, it’s either your best friend or the thing that will make you never want to leave your house again. Yelp has made similar efforts with the addition of restaurant hygiene scores to restaurant pages (the feature is only available in New York and San Francisco, however). 

Even though the nEmesis model isn’t perfected yet, it’s a strong example of how researchers can mine social networks to improve public health – and hopefully, if programs like this grow in popularity, they’ll remind restaurant owners that even if the health inspectors aren’t coming around, sleazy food service habits won’t remain unnoticed by diners. 

Emerging Tech

Twitter is officially a teenager now. Are we raising a monster?

On March 21, 2006, Jack Dorsey sent the first ever tweet. Thirteen years later, Twitter has fundamentally changed the way we communicate. Here are some of the myriad ways it's done that.
Mobile

Wring the most out of iOS with the best commands for Siri

You may not know all the things you can say to Siri -- after all, Apple never released an official list of commands for its virtual assistant. Thankfully, we've compiled a list of the best Siri commands to help you out.
Smart Home

Need some help? Here's our handy step-by-step guide on how to Airbnb your home

Getting ready to make your home a great rental? Here's how to Airbnb your home with the right amenities, insurance, supplies, and everthing else that you need. Use this guide to get started without making beginner mistakes!
Web

Switch up your Reddit routine with these interesting, inspiring, and zany subs

So you've just joined the wonderful world of Reddit and want to explore it. But with so many subreddits to choose from, exploring them can be overwhelming. Here are some of the best subreddits to get you started.
Social Media

Facebook may soon let you watch live TV with friends in Watch Party

Facebook Watch Party is designed to allow friends to watch together, even when they can't be in the same physical space. Now, that feature could be expanding to include live TV. Facebook announced a test of the feature, starting with live…
Social Media

Federal investigation digs into Facebook’s data-sharing deals

Facebook confirmed it is cooperating with a federal criminal investigation. According to a report, the company is under investigation for sharing user data with smartphone and tablet companies.
Social Media

Facebook explains its worst outage as 3 million users head to Telegram

Facebook, if you didn't already know it, suffered a bit of an issue on Wednesday, March 13. An issue that took down not only its social networking site, but also Instagram, WhatsApp, and Messenger. On Thursday it offered an explanation.
Gaming

Snapchat could soon let you play games in between your selfies

If a new report is accurate, Snapchat will be getting an integrated gaming platform in April. The platform will feature mobile games form third-party developers, and one publisher is already signed on.
Social Media

Twitter is testing a handy subscription feature for following threads

Twitter has recently started testing a feature that lets you subscribe to a thread so that you’ll no longer need to like a comment or post to it yourself in order to receive notifications of new contributions.
Social Media

Your Google+ public content will remain viewable on the web, if you want it to

Google's failed social network — Google+ — will soon be wiped from the internet, but there's a team of volunteers working right now to save its public content for the Internet Archive.
Computing

There’s more space on MySpace after ‘accidental’ wipe of 50 million songs

MySpace is no longer a safe refuge for music and media produced in the 2000s. It said that almost any artistic content uploaded to the site between 2003 and 2015 may have been lost as part of a server migration last year.
Computing

Intel and Facebook team up to give Cooper Lake an artificial intelligence boost

Intel's upcoming Cooper Lake microarchitecture will be getting a boost when it comes to artificial intelligence processes, thanks to a partnership with Facebook. The results are CPUs that are able to work faster.
Social Media

New Zealand attack shows that as A.I. filters get smarter, so do violators

The shootings in Christchurch, New Zealand were livestreamed to social media, and while stats show networks are improving at removing offending videos, as the system improves, so do the violators' workarounds.
Photography

Insta-checkout? New Instagram service lets you shop without leaving the platform

Shopping on Instagram no longer means leaving the platform to checkout in a web browser. Instagram checkout launched in beta today with a handful of retailers, allowing users to checkout without leaving the app.