Skip to main content
QUICK REVIEW

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

Weijian Xie, Xuefeng Liang|arXiv (Cornell University)|Aug 14, 2024
Semantic Web and OntologiesComputer Science6 citations
TL;DR

WeKnow-RAG integrates domain-specific knowledge graphs with multi-stage web retrieval in a RAG system, plus a self-assessment mechanism, to reduce hallucinations and improve factual accuracy across domains. It adapts KG- and web-based retrieval per domain dynamics and shows competitive performance on CRAG tasks.

ABSTRACT

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.

Motivation & Objective

  • Improve factual accuracy and reduce hallucinations in LLM-based QA by integrating knowledge graphs (KGs) with web search in a Retrieval-Augmented Generation (RAG) framework.
  • Develop a domain-adaptive retrieval pipeline that balances KG-driven and web-driven information for diverse domains.
  • Introduce a self-assessment module for LLMs to gauge answer trustworthiness and selectively disclose knowledge.
  • Demonstrate effectiveness on the Comprehensive RAG Benchmark (CRAG) with offline and online evaluations.

Proposed method

  • End-to-end WeKnow-RAG pipeline combining KG workflow and web search workflow.
  • Multi-stage web retrieval: first-stage sparse BM25 retrieval to generate K candidates, second-stage hybrid retrieval using sparse (BM25) plus dense embedding similarity and reranking (bge-large-en-v1.5, bge-reranker-large).
  • Chunking via token-level segmentation of parsed HTML for efficient retrieval.
  • Self-assessment mechanism: LLM outputs a confidence level (high/medium/low) and only returns answers if confidence meets a threshold; otherwise outputs “I don’t know”.
  • Domain-specific KG construction with entities, relationships, and domain APIs; domain classification via LLM, then domain cues and structured KG queries; post-processing with rule-based and ML-based temporal/numerical/logical reasoning.
  • Integrated adaptive framework that weights KG versus web-based RAG based on domain information velocity (static, slow-changing, fast-changing, real-time).

Experimental results

Research questions

  • RQ1Can integrating domain-specific knowledge graphs with web-based RAG improve factual accuracy and reduce hallucinations across diverse domains?
  • RQ2Does a multi-stage retrieval strategy (sparse then hybrid dense+rerank) balance efficiency and accuracy effectively?
  • RQ3Can a self-assessment mechanism meaningfully reduce incorrect or uncertain outputs in RAG?
  • RQ4How should KG and web components be adaptively composed for domains with different information dynamics?
  • RQ5What gains are achievable on CRAG across finance, sports, music, movie, and open domains?

Key findings

  • The method achieved online accuracy of 0.409, hallucination 0.316, missing 0.276, and score 0.0929 in Task 3 Version 2.
  • Offline testing showed improvement when using four-domain classification and open-domain optimization, achieving a higher score (0.1550) than single-domain baselines.
  • Chunk size experiments identified 750 as optimal for some settings, with final choice kept at 500 for final results.
  • Confidence-level self-assessment with high threshold yielded better scores than lower thresholds.
  • KG-driven queries can yield high accuracy with lower error rates, while web-based RAG with self-assessment mitigates hallucinations by surfacing diverse sources.
  • The approach placed 3rd in Task 3 final evaluation of the CRAG benchmark.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.