[论文解读] WeKnow-RAG: An Adaptive Approach for Retrieval-Augmented Generation Integrating Web Search and Knowledge Graphs
WeKnow-RAG 将领域特定的知识图谱与多阶段网页检索结合到一个 RAG 系统中,并新增自评量化机制,以减少幻觉并在跨域中提高事实准确性。它根据领域动态调整 KG- 与网络检索的权重,在 CRAG 任务中显示出具有竞争力的表现。
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.
研究动机与目标
- 通过在检索增强生成(RAG)框架中整合知识图谱(KGs)与网络检索,提升事实准确性并降低LLM问答中的幻觉。
- 开发一个领域自适应的检索管线,平衡 KG 驱动与网页驱动的信息,以适应多样化领域。
- 引入一个自评估模块,使 LLM 能评估答案可信度并有选择地披露知识。
- 在 Comprehensive RAG Benchmark (CRAG) 上通过离线和在线评估展示有效性。
提出的方法
- 端到端的 WeKnow-RAG 流水线,结合 KG 工作流与网页检索工作流。
- 多阶段网页检索:第一阶段稀疏检索(BM25)生成 K 个候选项,第二阶段使用稀疏 + 密集嵌入相似度并重新排序的混合检索(bge-large-en-v1.5, bge-reranker-large)。
- 通过对解析 HTML 的分块进行分词级切分以实现高效检索。
- 自评估机制:LLM 输出一个置信度等级(高/中/低),仅在置信度达到阈值时返回答案;否则输出“我不知道”。
- 基于领域的 KG 构建,包含实体、关系和领域 API;通过 LLM 进行领域分类,然后给出领域线索和结构化 KG 查询;后处理采用基于规则和机器学习的时态/数值/逻辑推理。
- Integrated adaptive framework that weights KG versus web-based RAG based on domain information velocity (static, slow-changing, fast-changing, real-time).
实验结果
研究问题
- RQ1在不同领域中整合领域特定的知识图谱与基于网络的 RAG 是否能提升事实准确性并减少幻觉?
- RQ2多阶段检索策略(稀疏再混合密集+重新排序)是否能在效率与准确性之间取得有效权衡?
- RQ3自评估机制是否能显著降低 RAG 中的错误或不确定输出?
- RQ4对于信息动态性不同的领域,KG 与网页组件应如何自适应组合?
- RQ5在 CRAG 的金融、体育、音乐、电影和开放领域中可以取得哪些提升?
主要发现
- 该方法在 Task 3 Version 2 的在线准确率为 0.409,幻觉为 0.316,缺失为 0.276,分数为 0.0929。
- 离线测试显示在使用四域分类和开放域优化时获得改进,得分(0.1550)高于单域基线。
- 分块大小实验在某些设置中确定 750 为最优,最终结果保持 500。
- 自信度阈值较高的自评估在分数上优于较低阈值。
- KG 驱动的查询在较低错误率下可实现高准确性,而带自评估的网页检索通过呈现多源信息来缓解幻觉现象。
- 该方法在 CRAG 基准的 Task 3 最终评估中获得第 3 名。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。