A method for generating dietary recommendations following "food and medicine homology" principle of traditional Chinese medicine using retrieval‑augmented large language models
|更新时间:2025-05-30
|
A method for generating dietary recommendations following "food and medicine homology" principle of traditional Chinese medicine using retrieval‑augmented large language models
Shanghai Journal of Traditional Chinese MedicineVol. 59, Issue 6, Pages: 1-8(2025)
GONG Fan,LIU Bo,SHA Hangyu,et al.A method for generating dietary recommendations following "food and medicine homology" principle of traditional Chinese medicine using retrieval‑augmented large language models[J].Shanghai Journal of Traditional Chinese Medicine,2025,59(6):1-8.
GONG Fan,LIU Bo,SHA Hangyu,et al.A method for generating dietary recommendations following "food and medicine homology" principle of traditional Chinese medicine using retrieval‑augmented large language models[J].Shanghai Journal of Traditional Chinese Medicine,2025,59(6):1-8. DOI: 10.16305/j.1007-1334.2025.z20241009011.
A method for generating dietary recommendations following "food and medicine homology" principle of traditional Chinese medicine using retrieval‑augmented large language models
To develop a method for generating personalized dietary recommendations that align with the "food and medicine homology" principle of traditional Chinese medicine (TCM) using retrieval-augmented large language models (LLMs), and to improve the efficiency and quality of dietary recommendations for individuals with varying health conditions.
Methods
2
Initially, a unified set of prompt engineering instructions was designed to compare the performance of leading LLMs such as ChatGPT 4.0, Qwen, and ERNIE Bot. Based on the test results, the best-performing LLM was selected as the base model. Subsequently, a retrieval-augmented generation (RAG) technique was incorporated to enhance the professionalism and accuracy of dietary recommendations generated by the LLM. This involved dense retrieval from a knowledge base to obtain relevant document segments related to the query. The effectiveness of RAG was then compared and evaluated.
Results
2
Experimental results indicated that Qwen outperformed other models in the evaluation. After introducing the RAG, the relevance of the model-generated answers significantly improved, with the score rising from 0.81 to 0.93. Case analyses further demonstrated that RAG effectively improved the theoretical rationality of TCM-based dietary recommendations generated by the LLMs, ensuring both scientific rigor and personalization.
Conclusions
2
Personalized dietary recommendations generated using retrieval-augmented LLMs conform to the "food and medicine homology" principle of TCM and cater to individual needs. RAG enhances the relevance, fidelity, and contextual consistency of the model's output, ensuring the professionalism and practicality of dietary recommendations. The proposed method not only improves the quality of dietary recommendations but also provides new tools and perspectives for the practice of personalized healthcare practices. Future research should focus on optimizing the model's understanding of TCM knowledge and improving the quality of the TCM knowledge base to offer more comprehensive and precise dietary recommendations.
THIRUNAVUKARASU A J , TING D S J , ELANGOVAN K , et al . Large language models in medicine [J]. Nat Med , 2023 , 29 ( 8 ): 1930 - 1940 .
FAN W , DING Y , NING L , et al . A survey on RAG meeting LLMs: Towards retrieval-augmented large language models [C]//ACM. Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining . Barcelona : ACM , 2024 : 6491 - 6501 .
MARVIN G , HELLEN N , JINGO D , et al . Prompt engineering in large language models [C]//Springer Nature Singapore. Proceedings of international conference on data intelligence and cognitive informatics . Singapore : Springer Nature Singapore , 2023 : 387 - 402 .
Google . Gemini [EB/OL]. [ 2024-09-25 ]. https://gemini.google.com https://gemini.google.com .
ZHANG H , CHEN J , JIANG F , et al . HuatuoGPT, towards taming language model to be a doctor [C]//ACL SIGDAT. Proceedings of Findings of the Association for Computational Linguistics: EMNLP 2023 . Singapore : ACL SIGDAT , 2023 : 10859 - 10885 .
DEVLIN J , CHANG M , LEE K , et al . BERT: Pre-training of deep bidirectional transformers for language understanding [C]// NAACL . Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics : Human Language Technologies. Minneapolis: NAACL , 2019 : 4171 - 4186 .
KARPUKHIN V , OGUZ B , MIN S , et al . Dense passage retrieval for open-domain question answering [C]//ACL SIGDAT. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) . Hong Kong : ACL SIGDAT , 2020 : 6769 - 6781 .
ES S , JAMES J , ANKE L E , et al . RAGAs: Automated evaluation of retrieval augmented generation [C]// EACL . Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics : System Demonstrations.Bergen: EACL , 2024 : 150 - 158 .
Research on entity and relation extraction from traditional Chinese medicine knowledge graphs based on GPTs
Discussion on problems and countermeasures for clinical efficacy evaluation of traditional Chinese medicine based on diagnosis and treatment model of traditional medicine
A new exploration of bitter taste in five flavors theory of Huangdi Neijing
Application prospects and challenges of generative artificial intelligence in standardization of traditional Chinese medicine
Prediction models for cardiovascular diseases in elderly diabetic patients based on artificial intelligence algorithms and traditional Chinese medicine constitution types
Related Author
HE Yuhao
LI Ming
LUO Xiaolan
LIU Lili
YANG Qi
ZHU Bangxian
LYU Yuhan
HUANG Ying
Related Institution
Pepperdine University, Malibu
Shanghai University of Traditional Chinese Medicine
Institute of Gynecology, Jingzhou Hospital of Traditional Chinese Medicine Affiliated to Hubei University of Chinese Medicine
School of Information Engineering, Hubei University of Chinese Medicine
School of Traditional Chinese Medicine, Hubei University of Chinese Medicine