






















传统检索增强生成(RAG)技术在中医临床诊疗中表现不佳,因其缺乏对复杂推理过程和个体差异的适应能力。本研究开发TCM-DiffRAG框架,该框架整合知识图谱(KG)与思维链(CoT),专门针对中医辨证推理特点设计,旨在提升大型语言模型(LLM)在中医领域的响应准确性和专业性。
在三个独特的中医测试数据集上评估,TCM-DiffRAG相较于原生LLM取得显著性能提升。例如,qwen-plus模型评分从0.927、0.361、0.038提升至0.952、0.788、0.356;对非中文LLM的改善更为明显。该框架还优于直接监督微调(SFT)的LLM及其他基准RAG方法。
TCM-DiffRAG通过整合结构化中医知识图谱与基于思维链的推理,显著提升了个性化诊断任务的表现。通用知识图谱与个性化知识图谱的联合使用,有效实现了通用知识与临床推理的对齐。研究结果凸显了推理感知型RAG框架在推动中医领域LLM应用方面的潜力。
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. 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. Conclusions: 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.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。