Prediction of Nutritional Content in Peruvian Lunch Meals by Large Language Models: A One-Shot Evaluation
Carrillo-Larco, R. M.; Gallo Ruelas, M.; Matsuzaki, M.; Tarazona-Meza, C.
Show abstract
BACKGROUNDVarious artificial intelligence applications have been developed to predict the nutrient content of meals. However, none have been evaluated in the context of Peruvian cuisine, characterized by diverse ingredients and recipes across geographical regions. We assessed whether large language models (LLMs) could predict the nutritional content of Peruvian lunch meals. METHODSUsing a dataset of 510 unique lunch images extracted from a nationally representative Peruvian cookbook, we compared nutrient values from recipe data (ground truth) against predictions generated by three LLMs (Gemma-3 4B, 12B, and 27B). The LLMs were given the meal name and a photograph and prompted to produce narrative descriptions of the meal. Using only the descriptions, the same LLMs were prompted to estimate six nutrients: energy (kcal/serving), protein (g/serving), carbohydrates (g/serving), iron (mg/serving), vitamin A (g/serving), and zinc (mg/serving). Agreement proportions and errors metrics were calculated against ground truth. RESULTSThe 27B LLM achieved the highest agreement proportions across most nutrients--calories (45%), carbohydrates (31%), iron (15%), vitamin A (19%), and zinc (31%)--while the 12B model performed best for protein (70% agreement). The 27B model yielded the lowest mean absolute error (MAE) for calories (108 kcal), carbohydrates (26 g), iron (4 mg), and zinc (1 mg). The 12B LLM had the lowest MAE for protein (6 g) and vitamin A (667 g). The 4B LLM showed the poorest performance across metrics. CONCLUSIONSLLMs can generate estimates of nutrient content from narrative descriptions of Peruvian lunch meals, but current performance levels fall short of the accuracy needed for clinical or consumer-facing applications.
Matching journals
The top 5 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- A methodological framework for deriving the German food-based dietary guidelines 2024: food groups, nutrient goals, and objective functions 95%
- Estimating the dietary and health impact of implementing mandatory front-of-package nutrient disclosures in the US: a policy scenario modeling analysis 93%
- Optimization of nutritional strategies using a mechanistic computational model in prediabetes: Application to the J-DOIT1 study data 92%
Similar papers in this journal
- A novel web-based 24-hour dietary recall tool in line with the Nova food processing classification: description and evaluation 94%
- A novel food frequency questionnaire for Brazilian adults based on the Nova classification system: development, reproducibility and validation 92%
- Content quality versus sharing practices on social media: A cross-sectional analysis of nutrition information on Twitter 91%
Similar papers in this journal
- Phenotyping women based on dietary macronutrients, physical activity and body weight using machine-learning tools 93%
- The effects of time-restricted eating vs. standard dietary advice on weight, metabolic health and the consumption of processed food: A pragmatic randomised controlled trial in community-based adults 92%
- Efficacy and Safety of Habitual Consumption of a Food Supplement Containing Miraculin in Malnourished Cancer Patients: the CLINMIR Pilot Study 91%
Similar papers in this journal
- Development and Validation of a Nutrient Profiling Model for Shopping Baskets: The Grocery Basket Score (GBS) 95%
- Assessing sustainable and healthy diets in large-scale surveys: validity and applicability of a dietary index based on a brief food group propensity questionnaire representing the EAT-Lancet planetary health diet 94%
- Fecal metagenomics to identify biomarkers of food intake in healthy adults: Findings from randomized, controlled, nutrition trials 91%
Similar papers in this journal
- How do the indices based on the EAT-Lancet recommendations measure adherence to healthy and sustainable diets? A comparison of measurement performance in adults from a French national survey 94%
- A novel automated participant-recorded dietary data collection method using low-cost mobile phones and Interactive Voice Response (IVR) with low-literacy women: a validation study in rural Uganda 92%
- Application of n-of-1 clinical trials in personalized nutrition research: a trial protocol for Westlake N-of-1 Trials for Macronutrient Intake (WE-MACNUTR) 90%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.