The University of Rochester researchers said 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.
The new system combines machine-learning and crowdsourcing techniques to analyse millions of tweets to find people reporting food poisoning symptoms following a restaurant visit. This volume of tweets would be impossible to analyse manually, the researchers noted.
They also found they correlate fairly well with public inspection data by the local health department.
The system ranks restaurants according to how likely it is for someone to become ill after visiting that restaurant.
More From This Section
"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.
The system "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.