TY - JOUR
T1 - TCM-DiffRAG
T2 - personalized syndrome differentiation reasoning method for traditional Chinese medicine based on knowledge graph and chain of thought
AU - Li, Jianmin
AU - Chang, Ying
AU - Liu, Yujia
AU - Wang, Yanwen
AU - Ou, Binkai
AU - Lin, Shuyuan
AU - Tang, Su Kit
AU - Zheng, Lirong
N1 - Publisher Copyright:
Copyright © 2026 Li, Chang, Liu, Wang, Ou, Lin, Tang and Zheng.
PY - 2026
Y1 - 2026
N2 - 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 – The experimental results demonstrated that TCM-DiffRAG achieved significant performance improvements over native LLMs. For example, the qwen-plus model achieved scores of 0.927, 0.361, and 0.038, which were significantly enhanced to 0.952, 0.788, and 0.356 with TCM-DiffRAG (McNemar test, p < 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.
AB - 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 – The experimental results demonstrated that TCM-DiffRAG achieved significant performance improvements over native LLMs. For example, the qwen-plus model achieved scores of 0.927, 0.361, and 0.038, which were significantly enhanced to 0.952, 0.788, and 0.356 with TCM-DiffRAG (McNemar test, p < 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.
KW - chain-of-thought
KW - knowledge graph
KW - multi-step reasoning
KW - retrieval-augmented generation
KW - traditional Chinese medicine
UR - https://www.scopus.com/pages/publications/105043263067
U2 - 10.3389/fmed.2026.1804478
DO - 10.3389/fmed.2026.1804478
M3 - Article
AN - SCOPUS:105043263067
SN - 2296-858X
VL - 13
JO - Frontiers in Medicine
JF - Frontiers in Medicine
M1 - 1804478
ER -