arXiv:2504.19667cs.LGcs.AI2025-04

用三元图结构提升LLM在医疗等领域的知识准确性与效率。

Tripartite-GraphRAG via Plugin Ontologies

  • 构建三元知识图谱,连接领域实体、概念与文本片段。
  • 通过无监督节点分类优化提示词密度与长度,减少30%以上。
  • 适合医疗、工业等需高精度知识的场景使用。

大语言模型在多个领域表现出色,但在需要事实准确性的工业自动化和医疗等领域仍存在幻觉、缺乏溯源和知识更新滞后等问题。将语言模型与知识图谱(GraphRAG)结合可缓解这些缺陷,但构建知识图谱本身面临挑战。本文提出一种新方法:利用领域特定本体,通过概念锚定的预分析,从初始词汇图出发,构建由复杂领域对象、对应概念及文本段落组成的三元知识图谱。随后,将提示词生成建模为无监督节点分类问题,以优化信息密度、覆盖范围与排列,显著缩短提示词长度。在医疗场景的初步实验中,基于一组医学概念和临床指南文献对患者病史进行多维度分析,结果表明该方法能有效提升提示词的信息密度与布局合理性,并大幅降低提示词长度,从而有望降低计算成本,提高输出一致性与可靠性。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have shown remarkable capabilities across various domains, yet they struggle with knowledge-intensive tasks in areas that demand factual accuracy, e.g. industrial automation and healthcare. Key limitations include their tendency to hallucinate, lack of source traceability (provenance), and challenges in timely knowledge updates. Combining language models with knowledge graphs (GraphRAG) offers promising avenues for overcoming these deficits. However, a major challenge lies in creating such a knowledge graph in the first place. Here, we propose a novel approach that combines LLMs with a tripartite knowledge graph representation, which is constructed by connecting complex, domain-specific objects via a curated ontology of corresponding, domain-specific concepts to relevant sections within chunks of text through a concept-anchored pre-analysis of source documents starting from an initial lexical graph. Subsequently, we formulate LLM prompt creation as an unsupervised node classification problem allowing for the optimization of information density, coverage, and arrangement of LLM prompts at significantly reduced lengths. An initial experimental evaluation of our approach on a healthcare use case, involving multi-faceted analyses of patient anamneses given a set of medical concepts as well as a series of clinical guideline literature, indicates its potential to optimize information density, coverage, and arrangement of LLM prompts while significantly reducing their lengths, which, in turn, may lead to reduced costs as well as more consistent and reliable LLM outputs.

知识图谱LLM增强医疗AI提示优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。