| | SLO | ENG | Cookies and privacy

Bigger font | Smaller font

Show document Help

Title:Improving personalized meal planning with large language models: identifying and decomposing compound ingredients
Authors:ID Kopitar, Leon (Author)
ID Bedrač, Leon (Author)
ID Strath, Larissa Jane (Author)
ID Bian, Jiang (Author)
ID Štiglic, Gregor (Author)
Files:.pdf nutrients-17-01492.pdf (684,70 KB)
MD5: BF0D9BB177BE275EAB7EF59CDC27A42F
 
URL https://www.mdpi.com/2072-6643/17/9/1492
 
Language:English
Work type:Scientific work
Typology:1.01 - Original Scientific Article
Organization:FZV - Faculty of Health Sciences
FERI - Faculty of Electrical Engineering and Computer Science
Abstract:Background/Objectives: Identifying and decomposing compound ingredients within meal plans presents meal customization and nutritional analysis challenges. It is essential for accurately identifying and replacing problematic ingredients linked to allergies or intolerances and helping nutritional evaluation. Methods: This study explored the effectiveness of three large language models (LLMs)—GPT-4o, Llama-3 (70B), and Mixtral (8x7B), in decomposing compound ingredients into basic ingredients within meal plans. GPT-4o was used to generate 15 structured meal plans, each containing compound ingredients. Each LLM then identified and decomposed these compound items into basic ingredients. The decomposed ingredients were matched to entries in a subset of the USDA FoodData Central repository using API-based search and mapping techniques. Nutritional values were retrieved and aggregated to evaluate accuracy of decomposition. Performance was assessed through manual review by nutritionists and quantified using accuracy and F1-score. Statistical significance was tested using paired t-tests or Wilcoxon signed-rank tests based on normality. Results: Results showed that large models—both Llama-3 (70B) and GPT-4o—outperformed Mixtral (8x7B), achieving average F1-scores of 0.894 (95% CI: 0.84–0.95) and 0.842 (95% CI: 0.79–0.89), respectively, compared to an F1-score of 0.690 (95% CI: 0.62–0.76) from Mixtral (8x7B). Conclusions: The open-source Llama-3 (70B) model achieved the best performance, outperforming the commercial GPT-4o model, showing its superior ability to consistently break down compound ingredients into precise quantities within meal plans and illustrating its potential to enhance meal customization and nutritional analysis. These findings underscore the potential role of advanced LLMs in precision nutrition and their application in promoting healthier dietary practices tailored to individual preferences and needs.
Keywords:artificial intelligence, food analysis, LLM, Ilama, GPT, mixtral, ingredient identification, ingredient decomposition, personalized nutrition, meal customization, nutritional analysis, dietary planning
Publication status:Published
Publication version:Version of Record
Submitted for review:25.03.2025
Article acceptance date:18.04.2025
Publication date:29.04.2025
Publisher:MDPI
Year of publishing:2025
Number of pages:Str. 1-15
Numbering:Letn. 17, št. 9, št. članka 1492
PID:20.500.12556/DKUM-92722 New window
UDC:004.89:613.2
ISSN on article:2072-6643
COBISS.SI-ID:235011587 New window
DOI:10.3390/nu17091492 New window
Copyright:© 2025 by the authors
Publication date in DKUM:08.05.2025
Views:266
Downloads:6
Metadata:XML DC-XML DC-RDF
Categories:Misc.
:
Copy citation
  
Average score:(0 votes)
Your score:Voting is allowed only for logged in users.
Share:Bookmark and Share



Hover the mouse pointer over a document title to show the abstract or click on the title to get all document metadata.

Record is a part of a journal

Title:Nutrients
Shortened title:Nutrients
Publisher:MDPI
ISSN:2072-6643
COBISS.SI-ID:2948140 New window

Document is financed by a project

Funder:EC - European Commission
Funding programme:HE
Project number:101159018
Name:Synergy for Healthy Longevity
Acronym:SynHealth

Licences

License:CC BY 4.0, Creative Commons Attribution 4.0 International
Link:http://creativecommons.org/licenses/by/4.0/
Description:This is the standard Creative Commons license that gives others maximum freedom to do what they want with the work as long as they credit the author.
Licensing start date:29.04.2025

Secondary language

Language:Slovenian
Keywords:umetna inteligenca, analiza hrane, LLM, Ilama, GPT, mixtral, prepoznavanje sestavin, razčlenjevanje sestavin, personalizirana prehrana, prilagoditev obrokov, nutricionistična analiza, načrtovanje prehrane


Comments

Leave comment

You must log in to leave a comment.

Comments (0)
0 - 0 / 0
 
There are no comments!

Back
Logos of partners University of Maribor University of Ljubljana University of Primorska University of Nova Gorica