Uncovering the Hidden Patterns of Foodborne Illness: A Novel Approach Using Large Language Models and Crowdsourced Data

Thursday 10 April 2025


Food poisoning is a common problem that affects millions of people worldwide every year. It’s often caused by consuming contaminated food, but identifying the source of the contamination can be a daunting task. Researchers have been working on developing new methods to quickly and accurately identify the foods most likely to cause foodborne illness.


A recent study has made significant progress in this area by using large language models to analyze online reviews of restaurants. The researchers used a dataset of over 11,000 restaurant reviews that mentioned gastrointestinal (GI) symptoms such as diarrhea, vomiting, and abdominal pain. They then trained the language models to identify key phrases and words associated with these symptoms.


The team found that the models were highly effective at identifying food-related keywords, including specific ingredients like meat, seafood, and dairy products. They also identified broad categories of foods that are more likely to cause foodborne illness, such as raw or undercooked meat, eggs, and fish.


To test the accuracy of their approach, the researchers fine-tuned the models using a smaller dataset of labeled reviews. This allowed them to evaluate the performance of the models on a reduced test set. The results showed that the models achieved high micro- and macro-F1 scores for classification tasks, indicating high accuracy in identifying GI symptoms and food-related keywords.


The study’s findings have significant implications for public health. By using large language models to analyze online reviews, researchers can quickly identify patterns and trends in foodborne illness outbreaks. This information can be used to inform food safety policies and regulations, ultimately reducing the risk of food poisoning for consumers.


One potential limitation of this approach is that it relies on online reviews, which may not always accurately reflect the true causes of foodborne illness. However, the study’s authors note that their method can be used in conjunction with other data sources, such as laboratory testing and surveys, to provide a more comprehensive understanding of food safety.


In addition to its practical applications, this research has also shed light on the complex relationships between language, cognition, and public health. The study demonstrates how large language models can be used to analyze and make sense of vast amounts of text data, with implications for fields beyond food safety alone.


Overall, this innovative approach has the potential to revolutionize our understanding of foodborne illness and improve public health outcomes. By harnessing the power of artificial intelligence and natural language processing, researchers can help ensure that consumers have access to safe and healthy food options.


Cite this article: “Uncovering the Hidden Patterns of Foodborne Illness: A Novel Approach Using Large Language Models and Crowdsourced Data”, The Science Archive, 2025.


Food Poisoning, Artificial Intelligence, Natural Language Processing, Language Models, Online Reviews, Restaurant Reviews, Food Safety, Public Health, Gastrointestinal Symptoms, Text Analysis.


Reference: Timothy Laurence, Joshua Harris, Leo Loman, Amy Douglas, Yung-Wai Chan, Luke Hounsome, Lesley Larkin, Michael Borowitz, “Review GIDE — Restaurant Review Gastrointestinal Illness Detection and Extraction with Large Language Models” (2025).


Leave a Reply