Featured Research

from universities, journals, and other organizations

Tracking Twitter may enhance monitoring of food safety at restaurants

August 7, 2013
University of Rochester
A new system could tell you how likely it is for you to become ill if you visit a particular restaurant by "listening" to the tweets from other restaurant patrons.

A satellite image showing sample tweets that indicate food poisoning and location.
Credit: Adam Sadilek

A new system could tell you how likely it is for you to become ill if you visit a particular restaurant by 'listening' to the tweets from other restaurant patrons.

The University of Rochester researchers say their system, nEmesis, can help people make more informed decisions, and it also has the potential to complement traditional public health methods for monitoring food safety, such as restaurant inspections. For example, it could enable what they call "adaptive inspections," inspections guided in part by the real-time information that nEmesis provides.

The system combines machine-learning and crowdsourcing techniques to analyze millions of tweets to find people reporting food poisoning symptoms following a restaurant visit. This volume of tweets would be impossible to analyze manually, the researchers note. Over a four-month period, the system collected 3.8 million tweets from more than 94,000 unique users in New York City, traced 23,000 restaurant visitors, and found 480 reports of likely food poisoning. They also found they correlate fairly well with public inspection data by the local health department, as the researchers describe in a paper to be presented at the Conference on Human Computation & Crowdsourcing in Palm Springs, Calif., in November.

The system ranks restaurants according to how likely it is for someone to become ill after visiting that restaurant.

"The Twitter reports are not an exact indicator -- any individual case could well be due to factors unrelated to the restaurant meal -- but in aggregate the numbers are revealing," said Henry Kautz, chair of the computer science department at the University of Rochester and co-author of the paper. In other words, a "seemingly random collection of online rants becomes an actionable alert," according to Kautz, which can help detect cases of foodborne illness in a timely manner.

nEmesis "listens" to relevant public tweets and detects restaurant visits by matching up where a person tweets from and the known locations of restaurants. People will often tweet from their phones or other mobile devices, which are GPS enabled. This means that tweets can be "geotagged": the tweet not only provides information in the 140 characters allowed, but also about where the user was at the time.

If a user tweets from a location that is determined to be a restaurant (by using the locations of 24,904 restaurants that had been visited by the Department of Health and Mental Hygiene in New York City), the system will continue to track this person's tweets for 72 hours, even when they're not geotagged, or when they are tweeted from a different device. If a user then tweets about feeling ill, the system captures the information that this person is now ill and had visited a specific restaurant.

The correlation between the Twitter data and the public inspection data means that about one third of the inspection scores could be reliably predicted from the Twitter data. The remainder of the scores show some disagreement. "This disagreement is interesting as the public inspection data is not perfect either," argued co-author Adam Sadilek, formerly a colleague of Kautz at Rochester and who is now at Google. "The adaptive inspections could reveal the real risk, which is currently hidden for both methods."

This work builds on earlier work by Kautz and Sadilek that used Twitter to find out how likely a specific user was to have flu-like symptoms, and also to find the influence of different lifestyle factors on health. At the heart of all this work is the algorithm that Sadilek developed to distinguish between tweets that suggest a person tweeting is sick and those that don't. This algorithm is based on machine-learning, or as Sadilek described it, "it's like teaching a baby a new language," only in this case it's a computational algorithm that is being taught.

In their new system, nEmesis, they brought in an extra layer of complexity to improve the algorithm; they used crowdsourcing. For any one person, it would be exhausting and time-consuming to look through thousands of tweets to categorize them. The end results might not even be very accurate if their judgment is not quite right.

Instead the researchers turned to Amazon's Mechanical Turk system to reach out to a crowd of readily available workers. These were paid small amounts of money to categorize some tweets that could then be used to train the algorithm. They ensured the pool of tweets they were going use was of high accuracy by having more than one worker look at each tweet and incentivizing the right answer by paying the workers when their answer agreed with that of the majority and deducting money when it didn't. The algorithm was then able to learn from the training samples how to spot tweets that show people that are likely to have foodborne illnesses.

Of course, the system only considers people who tweet, who might not even be a representative sample of the whole population or of the population visiting a restaurant. But the Twitter data can be used together with knowledge gained from other sources to detect foodborne illness in a timely manner. It provides an extra layer -- a passive level of monitoring -- which is cost-effective. And the information that nEmesis offers can benefit both Twitter and non-Twitter users.

Rochester researchers Sean Brennan, graduate student, and Vincent Silenzio, associate professor of psychiatry, are also both part of the team that worked on nEmesis.

Story Source:

The above story is based on materials provided by University of Rochester. Note: Materials may be edited for content and length.

Cite This Page:

University of Rochester. "Tracking Twitter may enhance monitoring of food safety at restaurants." ScienceDaily. ScienceDaily, 7 August 2013. <www.sciencedaily.com/releases/2013/08/130807134510.htm>.
University of Rochester. (2013, August 7). Tracking Twitter may enhance monitoring of food safety at restaurants. ScienceDaily. Retrieved October 20, 2014 from www.sciencedaily.com/releases/2013/08/130807134510.htm
University of Rochester. "Tracking Twitter may enhance monitoring of food safety at restaurants." ScienceDaily. www.sciencedaily.com/releases/2013/08/130807134510.htm (accessed October 20, 2014).

Share This

More Health & Medicine News

Monday, October 20, 2014

Featured Research

from universities, journals, and other organizations

Featured Videos

from AP, Reuters, AFP, and other news services

Microneedle Patch Promises Painless Pricks

Microneedle Patch Promises Painless Pricks

Reuters - Innovations Video Online (Oct. 18, 2014) Researchers at The National University of Singapore have invented a new microneedle patch that could offer a faster and less painful delivery of drugs such as insulin and painkillers. Video provided by Reuters
Powered by NewsLook.com
Raw: Nurse Nina Pham Arrives in Maryland

Raw: Nurse Nina Pham Arrives in Maryland

AP (Oct. 17, 2014) The first nurse to be diagnosed with Ebola at a Dallas hospital walked down the stairs of an executive jet into an ambulance at an airport in Frederick, Maryland, on Thursday. Pham will be treated at the National Institutes of Health. (Oct. 16) Video provided by AP
Powered by NewsLook.com
Raw: Cruise Ship Returns to US Over Ebola Fears

Raw: Cruise Ship Returns to US Over Ebola Fears

AP (Oct. 17, 2014) A Caribbean cruise ship carrying a Dallas health care worker who is being monitored for signs of the Ebola virus is heading back to Texas, US, after being refused permission to dock in Cozumel, Mexico. (Oct. 17) Video provided by AP
Powered by NewsLook.com
Spanish Govt: Four Suspected Ebola Cases in Spain Test Negative

Spanish Govt: Four Suspected Ebola Cases in Spain Test Negative

AFP (Oct. 17, 2014) All four suspected Ebola cases admitted to hospitals in Spain on Thursday have tested negative for the deadly virus in a first round of tests, the government said Friday. Duration: 00:55 Video provided by AFP
Powered by NewsLook.com

Search ScienceDaily

Number of stories in archives: 140,361

Find with keyword(s):
Enter a keyword or phrase to search ScienceDaily for related topics and research stories.


Breaking News:

Strange & Offbeat Stories

Health & Medicine

Mind & Brain

Living & Well

In Other News

... from NewsDaily.com

Science News

Health News

Environment News

Technology News


Free Subscriptions

Get the latest science news with ScienceDaily's free email newsletters, updated daily and weekly. Or view hourly updated newsfeeds in your RSS reader:

Get Social & Mobile

Keep up to date with the latest news from ScienceDaily via social networks and mobile apps:

Have Feedback?

Tell us what you think of ScienceDaily -- we welcome both positive and negative comments. Have any problems using the site? Questions?
Mobile: iPhone Android Web
Follow: Facebook Twitter Google+
Subscribe: RSS Feeds Email Newsletters
Latest Headlines Health & Medicine Mind & Brain Space & Time Matter & Energy Computers & Math Plants & Animals Earth & Climate Fossils & Ruins