arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.15237cs.IR
收藏

从文档到对话:构建KG-RAG增强的AI助手

From Documents to Dialogue: Building KG-RAG Enhanced AI Assistants

Manisha Mukherjee, Sungchul Kim, Xiang Chen, Dan Luo, Tong Yu, Tung Mai

AI总结:

针对大语言模型无法访问企业内部文档导致响应不准确的问题,提出构建高质量低噪声知识图谱的方法,结合RAG框架增强AI助手,显著提升了响应相关性。

摘要:

Adobe Experience Platform AI Assistant是一款对话工具,支持企业通过聊天机器人与专有企业数据无缝交互。然而,受访问限制,大语言模型(LLM)无法检索这些内部文档,限制了其生成准确零样本响应的能力。为克服这一局限,我们采用由知识图谱(Knowledge Graph, KG)驱动的检索增强生成(Retrieval-Augmented Generation, RAG)框架,从外部知识源检索相关信息,使LLM能够针对私有或未见过的文档集回答问题。本文提出一种构建高质量、低噪声KG的新方法,应用多项技术:基于种子概念的增量实体解析、基于相似度的过滤以去重条目、为实体-关系对分配置信度分数以筛选高置信度对、将事实关联到源文档以留存溯源信息。我们的KG-RAG系统检索相关三元组,将其添加到用户提示的上下文中,再发送给LLM生成响应。评估表明,该方法显著提升了响应相关性,与现有生产系统相比,无关回答减少超50%,完全相关回答增加88%。

英文摘要:

The Adobe Experience Platform AI Assistant is a conversational tool that enables organizations to interact seamlessly with proprietary enterprise data through a chatbot. However, due to access restrictions, Large Language Models (LLMs) cannot retrieve these internal documents, limiting their ability to generate accurate zero-shot responses. To overcome this limitation, we use a Retrieval-Augmented Generation (RAG) framework powered by a Knowledge Graph (KG) to retrieve relevant information from external knowledge sources, enabling LLMs to answer questions over private or previously unseen document collections. In this paper, we propose a novel approach for building a high-quality, low-noise KG. We apply several techniques, including incremental entity resolution using seed concepts, similarity-based filtering to deduplicate entries, assigning confidence scores to entity-relation pairs to filter for high-confidence pairs, and linking facts to source documents for provenance. Our KG-RAG system retrieves relevant tuples, which are added to the user prompts context before being sent to the LLM generating the response. Our evaluation demonstrates that this approach significantly enhances response relevance, reducing irrelevant answers by over 50% and increasing fully relevant answers by 88% compared to the existing production system.

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

↑