Work

Text-based nutrient estimation by large language models: a comparative evaluation against the Chinese Food Composition Table

Year: 2026
Type: article
Abstract: Background: Large language models (LLMs) increasingly provide nutrient information, but their accuracy for Chinese foods and their consistency across repeated queries are not well established. Objective: To compare nutrient estimates from nine general-purpose LLMs with the Chinese Food Composition Table (CFCT) and assess within-model reproducibility. Methods: For 299 commonly consumed Chinese foods, each model estimated energy and 14 nutrients per 100 g in three independent runs (8,073 food-level outputs). Model means were compared with CFCT values using absolute-agreement intraclass correlation coefficients (ICCs), bias, mean absolute error (MAE), root mean squared error, percentage error, and Bland-Altman limits of agreement. Repeated-run ICCs and coefficients of variation assessed reproducibility. Results: Agreement was excellent for energy, fat, carbohydrate, sodium, and vitamin C across all nine models, and good to excellent for protein. Performance was less consistent for vitamin A, zinc, iron, and potassium. Repeated-run stability was high for energy and macronutrients but lowest for vitamin A. GLM had the most favorable combined accuracy-stability profile, followed by Minimax and Qwen. Even when aggregate agreement was high, individual food estimates sometimes showed substantial error. Conclusion: General-purpose LLMs can approximate energy and macronutrient values for Chinese foods under controlled text-based conditions, but micronutrient estimates remain less dependable. Values intended for clinical or other high-stakes applications should be verified using validated food-composition resources and, where appropriate, qualified nutrition professionals.
Language: English
Field: Medicine
Open Access status: gold
Estimated APC paid: $3,801
OpenAlex ID: W7219851981
FWCI:
Cites: 22
Cited by:
Related to: 10