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

WeKnow-RAG:一种集成Web搜索与知识图谱的自适应检索增强生成方法

WeKnow-RAG: An Adaptive Approach for Retrieval-Augmented Generation Integrating Web Search and Knowledge Graphs

Ping An Bank Co., Ltd.(平安银行股份有限公司);Tsinghua University(清华大学);Central South University(中南大学);Shanghai Yiwo Information Technology Co., Ltd.(上海易沃信息技术有限公司);Kwangwoon University(光云大学)

Weijian Xie, Xuefeng Liang, Yuhui Liu, Kaihua Ni, Hong Cheng, Zetian Hu

AI总结:

提出WeKnow-RAG方法,将Web搜索与知识图谱集成到RAG系统中,结合稀疏与稠密检索及自我评估机制,有效提升了LLM响应的准确性和可靠性。

摘要:

大型语言模型(LLMs)极大地促进了自适应智能体的发展,并被视为实现通用人工智能(AGI)的重要途径。然而,LLMs容易产生事实性错误信息,并经常生成“幻觉”内容,这削弱了其可靠性,对它们在现实场景中的部署构成了严峻挑战。通过结合外部数据库和信息检索机制来增强LLMs是一条有效路径。为了应对上述挑战,我们提出了一种名为WeKnow-RAG的新方法,该方法将Web搜索和知识图谱集成到“检索增强生成(RAG)”系统中。首先,通过将知识图谱的结构化表示与稠密向量检索的灵活性相结合,提高了LLM响应的准确性和可靠性。随后,WeKnow-RAG利用特定领域的知识图谱来满足各种查询和领域的需求,从而通过采用结合稀疏和稠密检索方法的多阶段网页检索技术,提升了在事实信息和复杂推理任务上的性能。我们的方法有效平衡了信息检索的效率和准确性,从而改善了整体检索过程。最后,我们还为LLM集成了自我评估机制,以评估其生成答案的可信度。我们的方法在广泛的离线实验和在线提交中证明了其卓越的有效性。

英文摘要:

Large Language Models (LLMs) have greatly contributed to the development of adaptive intelligent agents and are positioned as an important way to achieve Artificial General Intelligence (AGI). However, LLMs are prone to produce factually incorrect information and often produce "phantom" content that undermines their reliability, which poses a serious challenge for their deployment in real-world scenarios. Enhancing LLMs by combining external databases and information retrieval mechanisms is an effective path. To address the above challenges, we propose a new approach called WeKnow-RAG, which integrates Web search and Knowledge Graphs into a "Retrieval-Augmented Generation (RAG)" system. First, the accuracy and reliability of LLM responses are improved by combining the structured representation of Knowledge Graphs with the flexibility of dense vector retrieval. WeKnow-RAG then utilizes domain-specific knowledge graphs to satisfy a variety of queries and domains, thereby improving performance on factual information and complex reasoning tasks by employing multi-stage web page retrieval techniques using both sparse and dense retrieval methods. Our approach effectively balances the efficiency and accuracy of information retrieval, thus improving the overall retrieval process. Finally, we also integrate a self-assessment mechanism for the LLM to evaluate the trustworthiness of the answers it generates. Our approach proves its outstanding effectiveness in a wide range of offline experiments and online submissions.

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

↑