arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.05447cs.LGcs.AIcs.IR
收藏

TOBUGraph:基于知识图谱的检索以超越RAG提升大语言模型性能

TOBUGraph: Knowledge Graph-Based Retrieval for Enhanced LLM Performance Beyond RAG

University of Michigan(密歇根大学)

Savini Kashmira, Jayanaka L. Dantanarayana, Joshua Brodsky, Ashish Mahendra, Yiping Kang, Krisztian Flautner, Lingjia Tang, Jason Mars

AI总结:

TOBUGraph通过自动构建知识图谱并利用图遍历检索,克服RAG在语义关系捕捉、分块敏感性和幻觉方面的局限,在真实应用中显著提升检索精确率与召回率。

摘要:

检索增强生成(RAG)是增强大语言模型检索能力的主要且应用最广泛的技术之一,但在商业用例中仍面临显著局限。RAG主要依赖嵌入空间中查询-文本块之间的文本相似度进行检索,可能无法捕捉文本块之间更深层的语义关系,对分块策略高度敏感,并且容易产生幻觉。为应对这些挑战,我们提出TOBUGraph,一个基于图的检索框架,该框架首先从非结构化数据中动态、自动地构建知识图谱。TOBUGraph利用大语言模型提取结构化知识和数据间的多样化关系,超越了RAG的文本间相似度检索。检索通过图遍历实现,利用提取出的关系和结构来提高检索准确性,无需分块配置,同时减少幻觉。我们在TOBU中展示了TOBUGraph的有效性,TOBU是一个用于个人记忆组织与检索的生产环境真实应用。我们使用真实用户数据进行的评估表明,TOBUGraph在精确率和召回率上均优于多种RAG实现,通过提高检索准确性显著改善了用户体验。

英文摘要:

Retrieval-Augmented Generation (RAG) is one of the leading and most widely used techniques for enhancing LLM retrieval capabilities, but it still faces significant limitations in commercial use cases. RAG primarily relies on the query-chunk text-to-text similarity in the embedding space for retrieval and can fail to capture deeper semantic relationships across chunks, is highly sensitive to chunking strategies, and is prone to hallucinations. To address these challenges, we propose TOBUGraph, a graph-based retrieval framework that first constructs the knowledge graph from unstructured data dynamically and automatically. Using LLMs, TOBUGraph extracts structured knowledge and diverse relationships among data, going beyond RAG's text-to-text similarity. Retrieval is achieved through graph traversal, leveraging the extracted relationships and structures to enhance retrieval accuracy, eliminating the need for chunking configurations while reducing hallucination. We demonstrate TOBUGraph's effectiveness in TOBU, a real-world application in production for personal memory organization and retrieval. Our evaluation using real user data demonstrates that TOBUGraph outperforms multiple RAG implementations in both precision and recall, significantly improving user experience through improved retrieval accuracy.

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

↑