arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.07507cs.AIcs.LG
收藏

基于可追溯 LLM 的知识图谱陈述验证

Traceable LLM-based validation of statements in knowledge graphs

Prague University of Economics and Business(布拉格经济大学)

Daniel Adam, Tomáš Kliegr

AI总结:

提出一种不依赖 LLM 内部知识、基于外部检索文档并可追溯验证 RDF 三元组的 RAG 方法,在 BioRED、SNLI 和 Wikidata 上验证其可行性与局限。

摘要:

本文提出了一种利用 LLM 验证 RDF 三元组的方法,重点在于提供可追溯的论证。由于当前 LLM 无法可靠识别其在构建对用户提示的回答时所使用信息的来源,我们的方法是完全避免使用 LLM 的内部事实知识。取而代之的是,将待验证的 RDF 陈述与通过网络搜索或 Wikipedia 检索到的外部文档块进行比较。为评估这种检索增强生成(RAG)工作流程在生物科学内容上的可能应用,我们评估了来自 BioRED 数据集的 1,719 条正面陈述,以及相同数量的新生成负面陈述。所得精确率为 88%,召回率为 44%。这表明该方法需要人工监督。我们还在 SNLI 数据集上评估了该方法,这使我们能够将所提方法与专门针对自然语言推理任务调优的模型进行比较。我们在 Wikidata 上演示了该方法,其中使用 SPARQL 查询自动检索需要验证的陈述。总体而言,结果表明 LLM 可用于大规模验证 KG 中的陈述,而此前由于人工标注成本,这项任务不可行。

英文摘要:

This article presents a method for verifying RDF triples using LLMs, with an emphasis on providing traceable arguments. Because the LLMs cannot currently reliably identify the origin of the information used to construct the response to the user prompt, our approach is to avoid using internal LLM factual knowledge altogether. Instead, verified RDF statements are compared to chunks of external documents retrieved through a web search or Wikipedia. To assess the possible application of this retrieval augmented generation (RAG) workflow on biosciences content, we evaluated 1,719 positive statements from the BioRED dataset and the same number of newly generated negative statements. The resulting precision is 88 %, and recall is 44 %. This indicates that the method requires human oversight. We also evaluated the method on the SNLI dataset, which allowed us to compare our approach with models specifically tuned for the natural language inference task. We demonstrate the method on Wikidata, where a SPARQL query is used to automatically retrieve statements needing verification. Overall, the results suggest that LLMs could be used for large-scale verification of statements in KGs, a task previously unfeasible due to human annotation costs.

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

↑