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. 


Photographer sues Ariana Grande after she posts his images of her on Instagram

A professional photographer is suing Ariana Grande after she posted photos on Instagram that he'd taken of her. Grande used the post to promote one of her albums, but the photographer says she used the photos without permission.
Social Media

Instagram ditches plans for stand-alone Direct messaging app

Instagram is shuttering it's stand-alone messaging app, Direct, after testing it since 2017. While the messaging features remain intact inside Instagram, the separate app will be discontinued in the next few weeks.
Social Media

6 easy ways to archive all of your favorite Instagram videos

Saving Instagram videos should be just as easy as taking a screenshot. So, we've put together a list of the best apps and tools that save your favorite Instagram videos onto your phone or computer.
Social Media

Instagram’s new Explore grid tempts you to open your wallet

Instagram has made some changes to its Explore tab that might tempt you into the occasional shopping spree. It's also planning to add Stories to the grid, mixing them up with the existing photos and videos.
Social Media

Be the master of your own Insta-verse with multiple Instagram accounts

Whether you own a small business or have separate Instagram accounts for your five cats, we'll walk you through the process of switching between your multiple accounts on your Apple or Android devices.
Social Media

A fond farewell to Grumpy Cat, the internet’s most famous feline

The worst day ever. We say farewell and offer a fond remembrance for Grumpy Cat, the internet's most famous frowning feline, meme and a genuine sweetheart, who died at the age of seven. Exceptionally even tempered and tolerant, Grumpy Cat…

Creators of WhatsApp attack software face lawsuit from Amnesty International

This week a spyware attack was launched on WhatsApp. Now the Israeli firm linked to that attack is facing a lawsuit from human rights NGO Amnesty International, alleging their software has been used to surveil human rights defenders.

Treat yo' selfie with one of these 13 apps made to beautify your pics

Selfies might be a phenomenon second only to karaoke, but they're not the easiest thing in the world to create. Thankfully, these awesome selfie apps for Android and iOS will make beautifying your self-portraits easier than capturing them.

New York could dish out fines for texting while crossing the street

Do you text on your phone while crossing the street? The dangers of stepping out in front of a car or bus are obvious, but in New York, offenders could soon face a fine of as much as $250, too.
Social Media

Help wanted: British royal family seeks social media wiz to run its accounts

The British royal family is looking for a social media expert to help it communicate its role and activities to the masses. So if you like the idea of having the Queen as your boss, why not throw your hat in the ring?
Social Media

Millions of Instagram influencers reportedly had private data exposed online

As many as 49 million Instagram influencers have reportedly had their private data exposed in an online database that had no password protection. The database was apparently created by a marketing firm and has been taken offline.
Social Media

Twitter co-founder Ev Williams still wants to save the world

Social media is evil, leading to a mental health crisis in Gen Z and a rise in hate speech. But there’s light at the end of the tunnel, says Ev Williams, the co-founder of Twitter. But weaning ourselves off today's social media won't be…
Social Media

Facebook gets a bad rap, former exec says, but we should break it up anyway

The rise of hate speech, the trolling, the comment on Facebook? Not Facebook's fault, says Alex Stamos, the social network's former chief security officer. But the site should still be broken up, he says.

What is Reddit? A beginner’s guide to the front page of the internet

If you spend much time online, you've probably heard of Reddit. Here, we break down the terminology, perks, and inner workings of everyone's favorite social platform. Understanding the "front page of the internet" has never been so easy.