Leveraging Retrieval-Augmented Large Language Models for Dietary Recommendations With Traditional Chinese Medicine’s Medicine Food Homology: Algorithm Development and Validation

计算机科学 精密医学 中医药 算法 人工智能 自然语言处理 医学 替代医学 病理
作者
Hangyu Sha,Fan Gong,Bo Liu,Runfeng Liu,Haofen Wang,Tianxing Wu
出处
期刊:JMIR medical informatics [JMIR Publications]
卷期号:13: e75279-e75279 被引量:4
标识
DOI:10.2196/75279
摘要

Background: Traditional Chinese Medicine (TCM) emphasizes the concept of medicine food homology (MFH), which integrates dietary therapy into health care. However, the practical application of MFH principles relies heavily on expert knowledge and manual interpretation, posing challenges for automating MFH-based dietary recommendations. Although large language models (LLMs) have shown potential in health care decision support, their performance in specialized domains such as TCM is often hindered by hallucinations and a lack of domain knowledge. The integration of uncertain knowledge graphs (UKGs) with LLMs via retrieval-augmented generation (RAG) offers a promising solution to overcome these limitations by enabling a structured and faithful representation of MFH principles while enhancing LLMs' ability to understand the inherent uncertainty and heterogeneity of TCM knowledge. Consequently, it holds potential to improve the reliability and accuracy of MFH-based dietary recommendations generated by LLMs. Objective: This study aimed to introduce Yaoshi-RAG, a framework that leverages UKGs to enhance LLMs' capabilities in generating accurate and personalized MFH-based dietary recommendations. Methods: The proposed framework began by constructing a comprehensive MFH knowledge graph (KG) through LLM-driven open information extraction, which extracted structured knowledge from multiple sources. To address the incompleteness and uncertainty within the MFH KG, UKG reasoning was used to measure the confidence of existing triples and to complete missing triples. When processing user queries, query entities were identified and linked to the MFH KG, enabling retrieval of relevant reasoning paths. These reasoning paths were then ranked based on triple confidence scores and entity importance. Finally, the most informative reasoning paths were encoded into prompts using prompt engineering, enabling the LLM to generate personalized dietary recommendations that aligned with both individual health needs and MFH principles. The effectiveness of Yaoshi-RAG was evaluated through both automated metrics and human evaluation. Results: The constructed MFH KG comprised 24,984 entities, 22 relations, and 29,292 triples. Extensive experiments demonstrate the superiority of Yaoshi-RAG in different evaluation metrics. Integrating the MFH KG significantly improved the performance of LLMs, yielding an average increase of 14.5% in Hits@1 and 8.7% in F1-score, respectively. Among the evaluated LLMs, DeepSeek-R1 achieved the best performance, with 84.2% in Hits@1 and 71.5% in F1-score, respectively. Human evaluation further validated these results, confirming that Yaoshi-RAG consistently outperformed baseline models across all assessed quality dimensions. Conclusions: This study shows Yaoshi-RAG, a new framework that enhances LLMs' capabilities in generating MFH-based dietary recommendations through the knowledge retrieved from a UKG. By constructing a comprehensive TCM knowledge representation, our framework effectively extracts and uses MFH principles. Experimental results demonstrate the effectiveness of our framework in synthesizing traditional wisdom with advanced language models, facilitating personalized dietary recommendations that address individual health conditions while providing evidence-based explanations.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
yaoyao发布了新的文献求助10
刚刚
keri完成签到,获得积分20
刚刚
石丑完成签到,获得积分10
1秒前
科研通AI2S的应助被liliunder采纳,获得10
1秒前
1秒前
jweng完成签到,获得积分10
1秒前
虚幻念寒发布了新的文献求助50
2秒前
2秒前
积极咖啡完成签到 ,获得积分10
3秒前
英俊的铭的应助被森一采纳,获得10
3秒前
molihuakai的应助被啦啦啦采纳,获得10
3秒前
lhl完成签到,获得积分10
3秒前
3秒前
3秒前
李昀锐发布了新的文献求助10
3秒前
嗷呜一口奶酪完成签到,获得积分10
3秒前
英姑的应助被Waou采纳,获得10
4秒前
平常狗发布了新的文献求助10
4秒前
我是老大的应助被石丑采纳,获得10
4秒前
4秒前
4秒前
4秒前
1234发布了新的文献求助10
4秒前
5秒前
英俊的铭的应助被GodLoveEdison采纳,获得30
5秒前
531完成签到,获得积分10
5秒前
千殇发布了新的文献求助10
5秒前
是绿子吖完成签到,获得积分10
6秒前
华仔的应助被希屿采纳,获得10
6秒前
6秒前
nya发布了新的文献求助10
6秒前
天天快乐的应助被柳驰采纳,获得10
6秒前
星辰大海的应助被Young采纳,获得10
6秒前
yaoyao完成签到,获得积分20
7秒前
7秒前
caienlin完成签到,获得积分10
7秒前
曦和发布了新的文献求助10
8秒前
走走停停停完成签到,获得积分10
8秒前
黑猫发布了新的文献求助10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 1000
Электротехническая система магнитожидкостной герметизации валов регулируемых электродвигателей 800
日本語と中国語及びチベット・ビルマ語の語源関連性に関する分析 800
Holistic Discourse Analysis, Second Edition by Robert E. Longacre 666
The Basics of Practical Optimization, Second Edition 600
Practical Nonconvex Nonsmooth Optimization 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 有机化学 物理 生物化学 化学工程 内科学 复合材料 催化作用 心理学 人工智能 细胞生物学 光电子学 无机化学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 7974555
求助须知:如何正确求助?哪些是违规求助? 9438930
关于积分的说明 21059918
捐赠科研通 7550575
什么是DOI,文献DOI怎么找? 3373993
关于科研通互助平台的介绍 2508905
邀请新用户注册赠送积分活动 2407077