Related Experiment Video
Updated: May 17, 2025

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Improving Personalized Meal Planning with Large Language Models: Identifying and Decomposing Compound Ingredients
Leon Kopitar1,2, Leon Bedrač3, Larissa J Strath4,5
1Faculty of Health Sciences, University of Maribor, 2000 Maribor, Slovenia.
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.
More Related Videos
Related Concept Videos
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Improving Translational Accuracy
Mechanistic Models: Compartment Models in Individual and Population Analysis
Combination Therapies and Personalized Medicine
The combination of the drug acetazolamide and sulforaphane is a good example of combination therapy to treat cancer. The cells in the interior of a large tumor often die due to the hypoxic and...
Compounds Essential to Human Function
Inorganic Compounds Essential to Human Functioning
Inorganic compounds essential to human functioning include water, salts, acids, and bases. These compounds are inorganic, i.e., they do not have a carbon-hydrogen bond. Water...
Protein Complexes with Interchangeable Parts
The SCF ubiquitin ligase is a protein complex of five individual proteins. This complex attaches ubiquitin to other target proteins to mark them for degradation. In order...

