Strategic Communications and Marketing News Bureau

Scientists text-mining social media for data on food-related topics

CHAMPAIGN, Ill. — From tweeting photos of delicious meals to reviewing restaurants, social media give foodies numerous opportunities to indulge their passion for edibles. But these media and other digital communications — including recipe websites and food-delivery apps — also generate a rich trove of text data for food scientists and food industry researchers to study what people eat, how nutrition affects health and many other food-related topics.

Food scientists Dandan Tao and Hao Feng of the University of Illinois at Urbana-Champaign and Pengkun Yang of Princeton University examined the use of text mining – defined broadly as the retrieval and analysis of text data – in food science and nutrition research, which they said is a young but growing field, nourished by advances in big-data analytics.

Researchers have used social media to investigate foodborne illness outbreaks, and they have analyzed the digital records of British consumers’ grocery purchases to monitor obesity rates and obesity-related diseases in London. They also mine the text of other digital media such as search queries and recipe websites to explore dietary patterns and the growing popularity of plant-based diets.

Public health experts use text mining on Twitter, Instagram and Yelp! to identify unreported foodborne illness outbreaks, with users’ posts helping them develop a clearer picture of the number of people experiencing symptoms, said Tao, a graduate student in food science at the U. of I. and the first author of the study.   

“Only a small portion of the people who get sick after eating potentially contaminated food go to the hospital, and public health experts’ estimates of the number of people affected by a foodborne illness are based on those who seek treatment,” Tao said. “Scientists think that text mining social media discussions and contacting other potential sufferers gives a much stronger signal of the extent of an outbreak than just the number of patients treated.”

Text mining of online scientific databases and abstracts of studies helps scientists better understand the relationships among diet, genes and disease.

Past studies of dietary patterns, obesity and related chronic illnesses relied on limited data gathered from participants who completed food diaries or surveys. But with millions of internet users going online daily to swap information about their eating habits and health conditions, digital media enable scientists to easily obtain data from broader populations for studies on food consumption and health outcomes.

Twitter and Instagram posts and Google search histories have been used to investigate nutritional patterns and health behaviors, Tao and her co-authors found.

In one study, scientists found correlations between tweets on obesity and the prevalence of obesity in U.S. adults. In another project, researchers found associations between the Twitter hashtags people used and the quality of their diets.

Instagram users’ posts have provided data for studies of alcohol consumption patterns and the impact of food deserts on neighborhoods’ eating habits, according to the study.

In addition to whetting the appetites of amateur chefs, recipe websites and search queries for recipes have fueled research on dietary trends such as veganism, and associations between dietary patterns and disease.

The recipes that users post online also provide clues on cultural differences, Tao said.

“One group did a study that compared Western cuisines with Asian cuisines and identified ingredient pairings in these recipes,” Tao said. “They found that Western cuisines tended to use ingredients that shared flavor components, while Eastern cuisines –  especially Indian dishes – try to avoid using ingredients that share flavor components.”

Online media are powerful sources of business intelligence, too, Tao said.

“Digital text analytics are cost-effective methods for the food industry to gain quality improvement ideas from the public and make informed business decisions,” she said.

Restaurants and manufacturers harvest text data from social media platforms to analyze consumer feedback on their own and their competitors’ products and services, such as which fast-food chains diners prefer.

And restaurants and food delivery services use data from their online ordering apps to optimize their delivery routes and reduce customers’ wait time for their meals, according to the researchers.

Tao and her co-authors analyzed 57 studies and conference papers on text mining in food science research. Their study, funded by the Illinois Department of Agriculture, was published in the journal Comprehensive Reviews in Food Science and Food Safety.

Editor’s Note: To reach Dandan Tao, email dtao2@illinois.edu

The paper “Utilization of text mining as a big data analysis tool for food science and nutrition” is available online or from the News Bureau.

DOI:  10.1111/1541-4337.12540

Read Next

Humanities Diptych image with book cover of "The New Internationals" and a headshot of English professor David Wright Faladé

English professor’s novel tells of love triangle in post-WWII Paris, based on his family history

CHAMPAIGN, Ill. — A new novel by University of Illinois Urbana-Champaign English professor David Wright Faladé tells the story of three people in a love triangle in post-World War II Paris. The characters in “The New Internationals” — a young French woman who has survived the Holocaust, a university student from West Africa and a […]

Life sciences Portrait of the research team posing together.

Minecraft players can now explore whole cells and their contents

CHAMPAIGN, Ill. — Scientists have translated nanoscale experimental and computational data into precise 3D representations of bacteria, yeast and human epithelial, breast and breast cancer cells in Minecraft, a video game that allows players to explore, build and manipulate structures in three dimensions. The innovation will allow researchers and students of all ages to navigate […]

Arts Photo of seven dancers onstage wearing blue tops and orange or yellow flowing skirts. The backdrop is a Persian design.

February Dance includes works experimenting with live music, technology and a ‘sneaker ballet’

CHAMPAIGN, Ill. — The dance department at the University of Illinois Urbana-Champaign will present February Dance 2025: Fast Forward this week at Krannert Center for the Performing Arts. February Dance will be one of the first performances in the newly renovated Colwell Playhouse Theatre since its reopening. The performances are Jan. 30-Feb. 1. Dance professor […]

Strategic Communications and Marketing News Bureau

507 E. Green St
MC-426
Champaign, IL 61820

Email: stratcom@illinois.edu

Phone (217) 333-5010