Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

HopRAG: Multi-Hop Reasoning for Logic-Aware Retrieval-Augmented Generation

About

Retrieval-Augmented Generation (RAG) systems often struggle with imperfect retrieval, as traditional retrievers focus on lexical or semantic similarity rather than logical relevance. To address this, we propose \textbf{HopRAG}, a novel RAG framework that augments retrieval with logical reasoning through graph-structured knowledge exploration. During indexing, HopRAG constructs a passage graph, with text chunks as vertices and logical connections established via LLM-generated pseudo-queries as edges. During retrieval, it employs a \textit{retrieve-reason-prune} mechanism: starting with lexically or semantically similar passages, the system explores multi-hop neighbors guided by pseudo-queries and LLM reasoning to identify truly relevant ones. Experiments on multiple multi-hop benchmarks demonstrate that HopRAG's \textit{retrieve-reason-prune} mechanism can expand the retrieval scope based on logical connections and improve final answer quality.

Hao Liu, Zhengren Wang, Xi Chen, Zhiyu Li, Feiyu Xiong, Qinhan Yu, Wentao Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Multi-hop Question Answering2WikiMultihopQA
EM61.1
278
RetrievalNatural Questions (test)
Top-5 Recall74.4
62
Multi-hop QAMuSiQue
EM42.2
42
Multi-hop QAHotpotQA
Exact Match62
33
Multi-hop QA RetrievalMuSiQue (test)
R@253.7
28
Multi-hop QA Retrieval2WikiMultiHopQA (test)
R@261.7
28
Multi-hop QA2Wiki
EM0.611
26
Single-hop QANQ (Natural Questions)
EM42.9
22
RetrievalHotpotQA (test)
Recall@281.1
20
Single-hop QA RetrievalNaturalQuestions (NQ) (test)
R@243.9
8
Showing 10 of 13 rows

Other info

Follow for update