OpenTCM:一个基于 GraphRAG 赋能的 LLM 的中医药知识检索与诊断系统
OpenTCM: A GraphRAG-Empowered LLM-based System for Traditional Chinese Medicine Knowledge Retrieval and Diagnosis
AI总结:
本文提出 OpenTCM,结合中医知识图谱与 GraphRAG 技术,无需微调即可实现高保真成分检索与诊断问答,在真实中医用例中优于现有方案。
摘要:
中医(TCM)蕴含着丰富的古代医学知识,在现代医疗保健中持续发挥重要作用。由于中医文献的复杂性和广泛性,整合 AI 技术对于其现代化和更广泛普及至关重要。然而,这种整合带来了巨大挑战,包括晦涩古汉语文本的解读以及中医概念间复杂语义关系的建模。本文开发了 OpenTCM,这是一个结合了特定领域中医知识图谱和基于图的检索增强生成(GraphRAG)的基于 LLM 的系统。首先,在中医和妇科专家的帮助下,我们从中医古籍数据库中的 68 本妇科书籍中提取了超过 373 万个古汉字。其次,我们使用定制提示和 DeepSeek 及 Kimi 等面向中文的 LLM,构建了一个包含超过 48,000 个实体和 152,000 个相互关系的综合多关系知识图谱,以确保高保真的语义理解。最后,我们用 GraphRAG 赋能 OpenTCM,使其无需模型微调即可实现高保真的成分知识检索和诊断问答。实验评估表明,OpenTCM 在成分信息检索和诊断问答任务中的平均专家得分(MES)分别为 4.378 和 4.045,在真实的中医用例中优于现有最先进的解决方案。
英文摘要:
Traditional Chinese Medicine (TCM) represents a rich repository of ancient medical knowledge that continues to play an important role in modern healthcare. Due to the complexity and breadth of the TCM literature, the integration of AI technologies is critical for its modernization and broader accessibility. However, this integration poses considerable challenges, including the interpretation of obscure classical Chinese texts and the modeling of intricate semantic relationships among TCM concepts. In this paper, we develop OpenTCM, an LLM-based system that combines a domain-specific TCM knowledge graph and Graph-based Retrieval-Augmented Generation (GraphRAG). First, we extract more than 3.73 million classical Chinese characters from 68 gynecological books in the Chinese Medical Classics Database, with the help of TCM and gynecology experts. Second, we construct a comprehensive multi-relational knowledge graph comprising more than 48,000 entities and 152,000 interrelationships, using customized prompts and Chinese-oriented LLMs such as DeepSeek and Kimi to ensure high-fidelity semantic understanding. Last, we empower OpenTCM with GraphRAG, enabling high-fidelity ingredient knowledge retrieval and diagnostic question-answering without model fine-tuning. Experimental evaluations demonstrate that OpenTCM achieves mean expert scores (MES) of 4.378 in ingredient information retrieval and 4.045 in diagnostic question-answering tasks, outperforming state-of-the-art solutions in real-world TCM use cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。