用大模型优化菜谱配料,提升植物化学物含量
Optimizing Ingredient Substitution Using Large Language Models to Enhance Phytochemical Content in Recipes
- 用大模型学习食材替换,自动推荐高植物化学物搭配
- 替换准确率从34.5%提升至38.0%,在优化数据集上达54.5%
- 生成1951组高植物化学物食材对,适合营养研究与健康饮食设计
在计算美食学领域,将烹饪实践与科学支持的营养目标对齐日益重要。本研究探索大语言模型(LLMs)在优化菜谱食材替换中的应用,旨在提升餐食的植物化学物含量。植物化学物是植物中的生物活性化合物,基于临床前研究可能具有潜在健康益处。我们使用食材替换数据集微调了GPT-3.5、DaVinci和TinyLlama等模型,并用于预测能增强植物化学物含量的替换方案,构建相应的富集菜谱数据集。该方法在原始GISMo数据集上的顶1命中率(Hit@1)从34.53±0.10%提升至38.03±0.28%,在优化版数据集上从40.24±0.36%提升至54.46±0.29%。由此生成了1,951个富含植物化学物的食材组合及1,639个独特食谱。尽管该方法在优化食材替换方面展现出潜力,但关于健康效益的推论仍需谨慎,因其依据为临床前证据。未来工作应结合临床验证与更广数据集,进一步评估这些替换的营养影响。本研究推动了人工智能在促进健康饮食中的应用,为计算方法与营养科学融合提供了新路径。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。