The Credibility of Dietary Advice Formulated by ChatGPT: Robo-Diets for People with Food Allergies
Please cite this article as: Niszczota, Paweł, Rybicka, Iga, The credibility of dietary advice formulated by ChatGPT: robo-diets for people with food allergies, Nutrition (2023), doi: https://doi.org/10.1016/j.nut.2023.112076
Nutrition, volume 112, 2023 [10.1016/j.nut.2023.112076]
28 Pages Posted: 8 May 2023 Last revised: 3 Sep 2024
Date Written: April 7, 2023
Abstract
The introduction of ChatGPT has sparked enormous public interest in large language (deep-learning) models, which have been sophisticated enough to perform well on a variety of tasks. One way people are utilizing these models is to construct diets. The prompts often include food restrictions which are an obligatory part of everyday life for millions of people around the world. We investigate the safety and accuracy of 56 diets, constructed for hypothetical people that are allergic to food allergens. Four levels, corresponding to the ‘baseline’ ability of ChatGPT without prompting for specifics, as well as its ability to prepare appropriate diets when a person has an adverse food reaction to two allergens or solicits a low-calorie diet, were defined. Our findings show that ChatGPT – while generally accurate – has the potential to produce harmful diets. More common errors involve inaccuracies in portions or calories of food, meals, or diets. We discuss how the accuracy of large language models could be increased and the tradeoffs involved.
Keywords: Artificial Intelligence; ChatGPT; Diet; Dietary Advice; Food Allergy; Menu; Nutrition; Advice Taking
JEL Classification: D83; I12; C45; Q18
Suggested Citation: Suggested Citation