mlsanityData to 7 Oct 2026

Optimizing Ingredient Substitution Using Large Language Models to Enhance Phytochemical Content in Recipes

arXiv 2409.08792 ↗First posted 13 Sep 2024cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

In the emerging field of computational gastronomy, aligning culinary practices with scientifically supported nutritional goals is increasingly important. This study explores how large language models (LLMs) can be applied to optimize ingredient substitutions in recipes, specifically to enhance the phytochemical content of meals. Phytochemicals are bioactive compounds found in plants, which, based on preclinical studies, may offer potential health benefits. We fine-tuned models, including OpenAI's GPT-3.5, DaVinci, and Meta's TinyLlama, using an ingredient substitution dataset. These models were used to predict substitutions that enhance phytochemical content and create a corresponding enriched recipe dataset. Our approach improved Hit@1 accuracy on ingredient substitution tasks, from the baseline 34.53 plus-minus 0.10% to 38.03 plus-minus 0.28% on the original GISMo dataset, and from 40.24 plus-minus 0.36% to 54.46 plus-minus 0.29% on a refined version of the same dataset. These substitutions led to the creation of 1,951 phytochemically enriched ingredient pairings and 1,639 unique recipes. While this approach demonstrates potential in optimizing ingredient substitutions, caution must be taken when drawing conclusions about health benefits, as the claims are based on preclinical evidence. Future work should include clinical validation and broader datasets to further evaluate the nutritional impact of these substitutions. This research represents a step forward in using AI to promote healthier eating practices, providing potential pathways for integrating computational methods with nutritional science.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 10 of its 30 references that are in the map. First posted on arXiv 13 Sep 2024.

Builds on

10 of 30 references.

References · 10

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  5. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
  6. 2024TinyLlama: An Open-Source Small Language Modelcited by 604
  7. 2019Enriching Pre-trained Language Model with Entity Information for Relation Classificationcited by 82
  8. 2023Learning to Substitute Ingredients in Recipescited by 8
  9. 2016Extracting Food Substitutes From Food Diary via Distributional Similaritycited by 4
  10. 2017A neural network system for transformation of regional cuisine stylecited by 4

Built on by

Not cited yet.