arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.03010cs.CLcs.IR
收藏

Fact Finder——通过融合知识图谱增强大语言模型的领域专业知识

Fact Finder -- Enhancing Domain Expertise of Large Language Models by Incorporating Knowledge Graphs

Fraunhofer IAIS(弗劳恩霍夫智能分析与信息系统研究所);Bayer AG(拜耳公司)

Daniel Steinigen, Roman Teucher, Timm Heine Ruland, Max Rudat, Nicolas Flores-Herr, Peter Fischer, Nikola Milosevic, Christopher Schymura, Angelo Ziletti

AI总结:

本文提出Fact Finder混合系统,通过医学知识图谱检索与Cypher查询生成增强大语言模型的事实正确性,在69个样本上达到78%的节点检索精确率,并优于独立LLM,适用于靶点识别等时间敏感研究场景。

摘要:

大语言模型(LLMs)的最新进展展示了其在回答自然语言查询方面的能力。然而,其有效性受到领域特定知识有限的制约,引发了对其响应可靠性的担忧。我们引入了一种混合系统,利用领域特定知识图谱(KGs)增强LLMs,从而旨在通过基于KG的检索方法提高事实正确性。我们以医学知识图谱为重点来演示我们的方法,该方法包括(1)预处理,(2)Cypher查询生成,(3)Cypher查询处理,(4)KG检索,以及(5)LLM增强的响应生成。我们在一个包含69个样本的精选数据集上评估了我们的系统,在检索正确的KG节点方面达到了78%的精确率。我们的研究结果表明,该混合系统在准确性和完整性上超越了独立的LLM,这一点通过LLM-as-a-Judge评估方法得到了验证。这使得该系统成为需要事实正确性和完整性的应用的有前景的工具,例如靶点识别——这是一个在疾病治疗或作物改良中精确定位生物实体的关键过程。此外,其直观的搜索界面以及能够在数秒内提供准确响应的能力,使其非常适合时间敏感、注重精度的研究场景。我们公开了源代码以及所使用的数据集和提示模板。

英文摘要:

Recent advancements in Large Language Models (LLMs) have showcased their proficiency in answering natural language queries. However, their effectiveness is hindered by limited domain-specific knowledge, raising concerns about the reliability of their responses. We introduce a hybrid system that augments LLMs with domain-specific knowledge graphs (KGs), thereby aiming to enhance factual correctness using a KG-based retrieval approach. We focus on a medical KG to demonstrate our methodology, which includes (1) pre-processing, (2) Cypher query generation, (3) Cypher query processing, (4) KG retrieval, and (5) LLM-enhanced response generation. We evaluate our system on a curated dataset of 69 samples, achieving a precision of 78\% in retrieving correct KG nodes. Our findings indicate that the hybrid system surpasses a standalone LLM in accuracy and completeness, as verified by an LLM-as-a-Judge evaluation method. This positions the system as a promising tool for applications that demand factual correctness and completeness, such as target identification -- a critical process in pinpointing biological entities for disease treatment or crop enhancement. Moreover, its intuitive search interface and ability to provide accurate responses within seconds make it well-suited for time-sensitive, precision-focused research contexts. We publish the source code together with the dataset and the prompt templates used.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑