Skip to content

Evaluating LLM Accuracy in Predicting Peruvian Meal Nutrition.

Aug 2026 · Journal of NutriLife · pp. 101786 · 0 citations · 37 references
Medicine

TL;DR

LLMs can generate estimates of nutrient content from narrative descriptions of Peruvian meals, but current performance levels fall short of the precision required for clinical deployment or commercial consumer-facing applications.

Abstract

Background

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. We assessed whether large language models (LLMs) could predict the nutritional content of Peruvian meals.

Methods

Using a dataset of 510 unique lunch images extracted from a Peruvian cookbook, we compared nutrient values from recipe data against predictions generated by 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 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 the values from the recipe book.

Results

The 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.

Conclusions

LLMs can generate estimates of nutrient content from narrative descriptions of Peruvian meals, but current performance levels fall short of the precision required for clinical deployment or commercial consumer-facing applications.

View source

Similar papers

#artificial intelligence Preprint Sep 2026

Investigating the Ability of Large Language Models to Analyze Recipes for Diabetes

The results demonstrate that most LLMs are cautious in predicting recipes as suitable to prevent detrimental outcomes, and the models that can reason using the dietary guidelines performed better in predicting the suitability of recipes for diabetes.

R. Venkataramanan, Aditya Luthra, Venkatesan Nadimuthu et al. · 0 citations
Open access Jul 2026

Integrating nutritional deficiency prediction with semantic recipe intelligence: A machine learning approach

Nutritional deficiencies remain a significant global public health challenge, while existing dietary assessment and recipe recommendation systems often operate independently, limiting their ability to provide integrated and personalized nutritional guidance. This article presents an integrated artificial intelligence f...

L. Weerasinghe, Methusala Perera, Shahmi Mohamed et al. · 0 citations
Review Jul 2026

Statistically Supported LLM Ingredient and Recipe Data Collection in Computational Nutrition

This work presents a quality-controlled LLM pipeline for ingredient data acquisition that combines robust statistical estimation, domain-specific invariant checks, and a web-fetch fallback, and frames LLM-assisted database construction as a controlled data-engineering workflow that makes uncertainty operational rather...

Jamie Izzard, Hassan Eshkiki, Fabio Caraffini · 0 citations
Open access Aug 2026

A Domain-Targeted Question-Answering Dataset for Food and Nutrition Applications

Evaluation of four general-purpose LLMs on FoodBench tasks shows limited performance across nutrient estimation, traffic-light classification, and food interoperability, even with few-shot prompting, highlighting the need for domain-specialized LLMs fine-tuned on food data.

T. Eftimov, Ana Gjorgjevikj, M. Martinc et al. · 1 citation

The role of artificial intelligence in developing meal plans in outpatient dietetics: A feasibility and proof of concept study.

BACKGROUND Personalized meal planning by registered dietitian nutritionists (RDNs) is time-intensive. Large language models (LLMs) may automate drafting meal plans, but their nutritional accuracy in clinical practice is uncertain. METHODS In this proof-of-concept study, five outpatient RDNs and four LLMs (Gemini, CoP...

M. Mundi, Osman Mohamed Elfadil, Danielle P. Johnson et al. · 0 citations
Open access Jan 2026

A Multinutrient Clustering Framework for Personalized Food Recommendations

A multinutrient clustering framework that examines 8790 foods from the USDA National Nutrient Database for Standard Reference, Release 28, utilizing 23 nutritional attributes, including macronutrients, vitamins, and minerals is introduced.

Rajkumar Sarker, Kazi Farhan Hasan Tanjim · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.