Performance Evaluation of 3 Large Language Models for Nutritional Content Estimation from Food Images

IF 3.2 Q2 NUTRITION & DIETETICS
Jonatan Fridolfsson , Emma Sjöberg , Meri Thiwång , Stefan Pettersson
{"title":"Performance Evaluation of 3 Large Language Models for Nutritional Content Estimation from Food Images","authors":"Jonatan Fridolfsson ,&nbsp;Emma Sjöberg ,&nbsp;Meri Thiwång ,&nbsp;Stefan Pettersson","doi":"10.1016/j.cdnut.2025.107556","DOIUrl":null,"url":null,"abstract":"<div><h3>Background</h3><div>Traditional dietary assessment methods face limitations including recall bias, participant burden, and portion size estimation errors. Recent advances in artificial intelligence, particularly multimodal large language models (LLMs), offer potential solutions for automated nutritional analysis from food images.</div></div><div><h3>Objectives</h3><div>This study aims to evaluate and compare the performance of 3 leading LLMs (ChatGPT-4o, Claude 3.5 Sonnet, and Gemini 1.5 Pro) in estimating food weight, energy content, and macronutrient composition from standardized food photographs.</div></div><div><h3>Methods</h3><div>We analyzed 52 standardized food photographs including individual food components (<em>n</em> = 16) and complete meals (<em>n</em> = 36) in 3 portion sizes (small, medium, large). Each model received identical prompts to identify food components and estimate nutritional content using visible cutlery and plates as size references. Model estimates were compared against reference values obtained through direct weighing and nutritional database analysis (Dietist NET). Performance metrics included mean absolute percentage error (MAPE), Pearson correlations, and systematic bias analysis using Bland–Altman plots.</div></div><div><h3>Results</h3><div>ChatGPT and Claude demonstrated similar accuracy with MAPE values of 36.3% and 37.3% for weight estimation, and 35.8% for energy estimation. Gemini showed substantially higher errors across all nutrients (MAPE 64.2%–109.9%). Correlations between model estimates and reference values ranged from 0.65 to 0.81 for ChatGPT and Claude, compared with 0.58–0.73 for Gemini. All models exhibited systematic underestimation that increased with portion size, with bias slopes ranging from –0.23 to –0.50.</div></div><div><h3>Conclusions</h3><div>ChatGPT and Claude achieved accuracy levels comparable with traditional self-reported dietary assessment methods but without associated user burden, suggesting potential utility as dietary monitoring tools. However, systematic underestimation of large portions and high variability in macronutrient estimation indicate these general-purpose LLMs are not yet suitable for precise dietary assessment in clinical or athletic populations where accurate quantification is critical.</div></div>","PeriodicalId":10756,"journal":{"name":"Current Developments in Nutrition","volume":"9 10","pages":"Article 107556"},"PeriodicalIF":3.2000,"publicationDate":"2025-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Current Developments in Nutrition","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2475299125030185","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"NUTRITION & DIETETICS","Score":null,"Total":0}
引用次数: 0

Abstract

Background

Traditional dietary assessment methods face limitations including recall bias, participant burden, and portion size estimation errors. Recent advances in artificial intelligence, particularly multimodal large language models (LLMs), offer potential solutions for automated nutritional analysis from food images.

Objectives

This study aims to evaluate and compare the performance of 3 leading LLMs (ChatGPT-4o, Claude 3.5 Sonnet, and Gemini 1.5 Pro) in estimating food weight, energy content, and macronutrient composition from standardized food photographs.

Methods

We analyzed 52 standardized food photographs including individual food components (n = 16) and complete meals (n = 36) in 3 portion sizes (small, medium, large). Each model received identical prompts to identify food components and estimate nutritional content using visible cutlery and plates as size references. Model estimates were compared against reference values obtained through direct weighing and nutritional database analysis (Dietist NET). Performance metrics included mean absolute percentage error (MAPE), Pearson correlations, and systematic bias analysis using Bland–Altman plots.

Results

ChatGPT and Claude demonstrated similar accuracy with MAPE values of 36.3% and 37.3% for weight estimation, and 35.8% for energy estimation. Gemini showed substantially higher errors across all nutrients (MAPE 64.2%–109.9%). Correlations between model estimates and reference values ranged from 0.65 to 0.81 for ChatGPT and Claude, compared with 0.58–0.73 for Gemini. All models exhibited systematic underestimation that increased with portion size, with bias slopes ranging from –0.23 to –0.50.

Conclusions

ChatGPT and Claude achieved accuracy levels comparable with traditional self-reported dietary assessment methods but without associated user burden, suggesting potential utility as dietary monitoring tools. However, systematic underestimation of large portions and high variability in macronutrient estimation indicate these general-purpose LLMs are not yet suitable for precise dietary assessment in clinical or athletic populations where accurate quantification is critical.
食品图像营养成分估计的3种大型语言模型性能评价
传统的饮食评估方法存在回忆偏倚、参与者负担和分量估计误差等局限性。人工智能的最新进展,特别是多模态大语言模型(llm),为食品图像的自动营养分析提供了潜在的解决方案。本研究旨在评估和比较3种领先的LLMs (chatgpt - 40、Claude 3.5 Sonnet和Gemini 1.5 Pro)在从标准化食品照片中估计食物重量、能量含量和宏量营养素组成方面的性能。方法对52张标准化食品照片进行分析,包括单个食品成分(n = 16)和全餐(n = 36),分为小、中、大3种份量。每个模型都收到了相同的提示,以识别食物成分和估计营养成分,使用可见的餐具和盘子作为尺寸参考。将模型估计值与通过直接称重和营养数据库分析(Dietist NET)获得的参考值进行比较。性能指标包括平均绝对百分比误差(MAPE)、Pearson相关性和使用Bland-Altman图的系统偏差分析。结果schatgpt和Claude的准确率相近,MAPE对权重估计的准确率分别为36.3%和37.3%,对能量估计的准确率为35.8%。Gemini在所有营养成分上的误差要高得多(MAPE为64.2%-109.9%)。ChatGPT和Claude的模型估计值与参考值之间的相关性为0.65 - 0.81,而Gemini的模型估计值为0.58-0.73。所有模型均表现出系统性低估,其偏倚斜率范围为-0.23 ~ -0.50。结论schatgpt和Claude达到了与传统的自我报告饮食评估方法相当的准确性水平,但没有相关的用户负担,提示作为饮食监测工具的潜在效用。然而,对大份量的系统性低估和大量营养素估计的高度可变性表明,这些通用llm尚不适合用于临床或运动人群的精确饮食评估,因为精确量化是至关重要的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Current Developments in Nutrition
Current Developments in Nutrition NUTRITION & DIETETICS-
CiteScore
5.30
自引率
4.20%
发文量
1327
审稿时长
8 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信