Skip to content
Open access

ShenNongDiet: a medicine diet recommendation system based on graph-semantic hybrid retrieval and evidence constraint generation

Aug 2026 · Chinese Medicine · Vol 21 · 0 citations · 17 references
Medicine

TL;DR

ShenNongDiet offers an expandable and safety-constrained solution for intelligent dietary services, facilitating the digital preservation of traditional dietary culture and artificial intelligence-driven personalized health management.

Abstract

Medicinal diet, a core practice in Traditional Chinese medicine (TCM) rooted in the principle of “medicine and food homology”, offers potential for chronic disease management and sub-health regulation. However, the broader adoption is constrained by fragmented knowledge, poor personalization, and safety risks arising from improper ingredient combinations or constitution-therapy mismatches. We developed and validated ShenNongDiet, a knowledge graph (KG) and retrieval-augmented generation (RAG) system for TCM dietary recommendation that explicitly models constitution suitability and ingredient contraindications. A Neo4j KG was constructed from the “Guoyi Jinghua Yao Shan” book series encompassing 3376 medicinal diets, 2110 ingredients, 1176 effects, 1122 population groups, 1078 symptoms, 459 diseases, 38,669 relationships. The system integrates dual-pathway retrieval (symbolic reasoning from KG + dense vector search using Qwen3-embedding-8B), RAG-based evidence packaging, and Low-Rank Adaptation (LoRA) fine-tuning of Qwen3-8B on 8509 evidence-constrained instruction samples to reduce the risk of the model generating unsupported content. A multi-scenario test set was constructed to evaluate system effectiveness and robustness. ShenNongDiet achieved Hit@1, Hit@3, and Hit@5 of 84.00%, 90.00%, and 92.67% respectively, with a Mean Reciprocal Rank (MRR) of 0.8778. RAGAs evaluation yielded a faithfulness score of 0.831 and context recall of 0.526. Expert human evaluation further confirmed the system’s strong performance in recommendation accuracy, evidence relevance, and generation faithfulness. Ablation experiments confirmed that the hybrid architecture significantly outperformed every single retrieval channel (P < 0.001), validating the complementary benefit of the symbolic and semantic retrieval. This study systematically constructs an explicit-semantics knowledge model of TCM medicinal diet and integrates KG reasoning with language model generation under evidence constraints. ShenNongDiet offers an expandable and safety-constrained solution for intelligent dietary services, facilitating the digital preservation of traditional dietary culture and artificial intelligence-driven personalized health management.

Read PDF

Similar papers

Sep 2026

A Knowledge Graph-Driven Dietary Recommendation App for Chronic Kidney Disease: Development and Preliminary Accuracy Validation.

AIMS This study aimed to construct a chronic kidney disease (CKD) dietary knowledge graph and develop a WeChat-based mini-program for personalized dietary recommendations. METHODS Using a seven-step ontology method, a schema was built and real-world data integrated to form the graph. The mini-program was developed an...

Yu Yan, Di-Fei Duan, Deng-Yan Ma et al. · 0 citations
#artificial intelligence Preprint Sep 2026

TCMaster: Confidence-Aware Querying and Workload-Guided Physical Design for Multi-Source Traditional Chinese Medicine Knowledge Graphs

TCMaster is presented, a property-graph query substrate for confidence-aware traversal and workload-guided physical design over Traditional Chinese Medicine KGs, which integrates pharmacopoeias, prescriptions, molecular databases, and LLM-extracted micro-semantics into a KG with approximately 221K entities and 723K bas...

Zheng-Yang Chen, Yu-Zhu Li, Hao-Xuan Li et al. · 0 citations
Conference Aug 2026

Knowledge Graph Integration to Hybrid Recommender Architecture System Based on Recommended Dietary Allowances

In Indonesia, making daily nutritional choices is still a big challenge. This is because there are various choice of local foods and no special tools to help people choose the right diet. This research propose a recommendation system that combines Collaborative Filtering (CF) and Content-Based Filtering (CBF) with a Kn...

Muhammad Zharfan Bimantoro, M. S. Anggreainy · 0 citations
Open access Aug 2026

A Constraint-Aware Knowledge Graph RAG Framework for Personalized Food Recommendation

To address the issues of knowledge hallucination, insufficient constraint satisfaction, and opaque recommendation rationale in Large Language Models (LLMs) during food recommendation tasks, this paper proposes a personalized food recommendation method based on Constraint-Aware Knowledge Graph Retrieval-Augmented Genera...

Jia Yu, Tong Ji, Jiamin Zheng · 0 citations
Oct 2026

A Sequential Condition Evolution and Interaction Knowledge Graph Framework for Traditional Chinese Medicine Recommendation

The ancient art of Traditional Chinese Medicine (TCM) is distinguished by its extensive annals of utilizing nature's botanical emissaries to ameliorate various pathological conditions. TCM diagnosis and treatment exhibit a pronounced degree of personalization and an organically holistic approach, necessitating a compre...

Jing-Jin Liu, H. Zhuo, Ke-Bing Jin et al. · 0 citations
#large language models Open access Sep 2026

An evidence-weighted knowledge framework with path-aware reasoning for personalized lifestyle management in chronic disease

Background Healthy lifestyle management is essential for chronic disease prevention and long-term care. However, evidence linking lifestyle behaviors, biological mechanisms, and health outcomes is dispersed across diverse biomedical sources. This fragmentation makes it difficult for health professionals to efficiently...

Hong-Yu Kang, Xiao-Wei Xu, Ning Xiao et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.