Investigating the Efficacy of the Gemini 2.5 Pro Model in the Estimation of Macronutrient Content

Health guidance is a topic that has been gaining increasing traction in the past few years. Specifically, apps utilizing AI to provide health guidance and allow users to track macronutrient content have been gaining prevalence in recent research. However, current apps require users to manually input all information into the app. Therefore, this work seeks to evaluate the effectiveness of the Gemini 2.5 Pro model, a multimodal large language model (LLM), in analyzing the macronutrient content (i.e., proteins, fats, and carbohydrates) in food images. We tested 100 dishes randomly sampled from the Nutrition5k dataset. Each image was queried three times with three different prompt phrasings and the estimated values were compared with the ground truth values in the dataset. For the baseline prompt, the mean absolute error (MAE) was 4.1 g for protein, 3.6 g for fat, and 6.1 g for carbohydrates, and the median absolute percentage errors were 29.9%, 29.2%, and 32.1% respectively. The mean absolute percentage error (MAPE) was 38.5% for protein but 211.2% for fats and 442.7% for carbohydrates, which were inflated due to a small number of dishes containing less than 0.5 g of fat or carbohydrate, where errors of a few grams produced errors in the thousands. Without dishes with less than 2 g of the nutrient, the MAPE was 38.5%, 33.6%, and 33.5%. On metrics not sensitive to near-zero values, error was of similar size across the three macronutrients, and protein was underestimated on average, with the largest errors concentrated in a subset of dishes. MAE differed by at most 0.6 g across prompt wordings, although fat MdAPE was higher under both alternative prompts. Because no confidence intervals or significance tests were computed, these are observations from a single 100-dish sample rather than established differences. Additionally, the 100 dishes selected for the study came from a 400-dish subset whose selection cannot be reproduced.

Authors

Institutions

Publication Details

Published
2026-10-29
DOI
https://doi.org/10.67149/yhjs2024.5/c6ey9odw
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Investigating the Efficacy of the Gemini 2.5 Pro Model in the Estimation of Macronutrient Content

Junyao Chen, Zhengyuan Zhou, He Tu, Sonali Guttikonda
7 links
Advanced Neural Network Applications
article

Investigating the Efficacy of the Gemini 2.5 Pro Model in the Estimation of Macronutrient Content

Junyao Chen, Zhengyuan Zhou, He Tu, Sonali Guttikonda
article en

Abstract

Health guidance is a topic that has been gaining increasing traction in the past few years. Specifically, apps utilizing AI to provide health guidance and allow users to track macronutrient content have been gaining prevalence in recent research. However, current apps require users to manually input all information into the app. Therefore, this work seeks to evaluate the effectiveness of the Gemini 2.5 Pro model, a multimodal large language model (LLM), in analyzing the macronutrient content (i.e., proteins, fats, and carbohydrates) in food images. We tested 100 dishes randomly sampled from the Nutrition5k dataset. Each image was queried three times with three different prompt phrasings and the estimated values were compared with the ground truth values in the dataset. For the baseline prompt, the mean absolute error (MAE) was 4.1 g for protein, 3.6 g for fat, and 6.1 g for carbohydrates, and the median absolute percentage errors were 29.9%, 29.2%, and 32.1% respectively. The mean absolute percentage error (MAPE) was 38.5% for protein but 211.2% for fats and 442.7% for carbohydrates, which were inflated due to a small number of dishes containing less than 0.5 g of fat or carbohydrate, where errors of a few grams produced errors in the thousands. Without dishes with less than 2 g of the nutrient, the MAPE was 38.5%, 33.6%, and 33.5%. On metrics not sensitive to near-zero values, error was of similar size across the three macronutrients, and protein was underestimated on average, with the largest errors concentrated in a subset of dishes. MAE differed by at most 0.6 g across prompt wordings, although fat MdAPE was higher under both alternative prompts. Because no confidence intervals or significance tests were computed, these are observations from a single 100-dish sample rather than established differences. Additionally, the 100 dishes selected for the study came from a 400-dish subset whose selection cannot be reproduced.

Vol. 3(4)
New York University Shanghai (CN), University High School (US), New York University (US)
Zero hunger, Good health and well-being
Openalex Percentile: Top 17%
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon