TCM-DiffRAG: personalized syndrome differentiation reasoning method for traditional Chinese medicine based on knowledge graph and chain of thought
Background: Retrieval-augmented generation (RAG) technology can empower large language models (LLMs) to generate more accurate, professional, and timely responses without fine-tuning. However, due to the complex reasoning processes and substantial individual differences involved in traditional Chinese medicine (TCM) clinical diagnosis and treatment, traditional RAG methods often exhibit poor performance in this domain. Objective: To address the limitations of conventional RAG approaches in TCM applications, this study aims to develop an improved RAG framework tailored to the characteristics of TCM reasoning. Methods: We developed TCM-DiffRAG, an innovative RAG framework that integrates knowledge graphs (KG) with chains of thought (CoT). TCM-DiffRAG was evaluated on three distinctive TCM test datasets. Results: < 0.01). The improvements were even more pronounced for non-Chinese LLMs. Additionally, TCM-DiffRAG outperformed directly supervised fine-tuned (SFT) LLMs and other benchmark RAG methods. Conclusion: TCM-DiffRAG shows that integrating structured TCM knowledge graphs with Chain-of-Thought-based reasoning substantially improves performance in individualized diagnostic tasks. The joint use of universal and personalized knowledge graphs enables effective alignment between general knowledge and clinical reasoning. These results highlight the potential of reasoning-aware RAG frameworks for advancing LLM applications in traditional Chinese medicine.
Authors
- Lirong Zheng (ORCID: https://orcid.org/0000-0001-6803-5048)
- Binkai Ou
- Shuyuan Lin (ORCID: https://orcid.org/0009-0003-7058-1429)
- Su-Kit Tang
- Yujia Liu
- Ying Chang
- Jianmin Li
- Yanwen Wang
Institutions
- Zhejiang Chinese Medical University (CN)
- Guangdong Polytechnic of Science and Technology (CN)
- Health Awareness (United States) (US)
- Hongzhiwei Technology (China) (CN)
- Macao Polytechnic University (MO)
Publication Details
- Journal
- Frontiers in Medicine
- Published
- 2026-04-21
- DOI
- https://doi.org/10.3389/fmed.2026.1804478
- Primary Topic
- Traditional Chinese Medicine Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00