Glossary

Multi-hop retrieval

Retrieval that answers a question by running several searches in sequence, each one using what the previous search found.

Multi-hop retrieval is retrieval for questions that no single passage can answer. The system finds one piece of evidence, uses what it learned to search again, and repeats until it has every fact the answer depends on. A question such as “Where is the company that acquired our payments vendor based?” needs at least two hops: one search to find the acquirer, and a second to find its headquarters.

How multi-hop retrieval works

A single-pass retriever in a RAG system compares the question with the index once and returns the top-k passages. That works when one passage holds the answer. In a multi-hop question the later facts are often invisible to the first search, because the passages that hold them never use the words in the question. The page describing the acquirer’s headquarters does not mention your payments vendor.

Multi-hop systems handle this in one of three ways. Query decomposition splits the question into sub-questions up front and answers them in order, feeding each answer into the next query. Iterative retrieval interleaves searching with reasoning: the model reads what it has found, writes the next query and decides when to stop, as in methods that combine retrieval with chain of thought or the ReAct agent pattern. Graph-based retrieval follows links between entities in a knowledge graph instead of searching text, which is the idea behind GraphRAG.

Types of multi-hop question

Type

Example

What the system must do

Bridge

Who founded the company that makes our CRM?

Find the linking entity, then search for it

Comparison

Which of our two vendors has the longer notice period?

Retrieve facts about each, then compare

Aggregation

How many incident reports this quarter mention the billing service?

Gather many passages and combine them

Temporal

What was the refund policy before the March update?

Find the change, then the earlier version

Research datasets such as HotpotQA, 2WikiMultiHopQA and MuSiQue were built around bridge and comparison questions and remain the usual way to test these systems. Comparison questions can often run their searches in parallel. Bridge questions are sequential, since the second query depends on the first answer.

Common problems

Errors compound across hops. If the first search returns the wrong entity, every later search builds on it, and the final answer can look well supported while resting on a mistaken link. Entity resolution matters for the same reason, because “Acme”, “Acme Ltd” and “the acquirer” have to be recognised as one company. Each hop adds a model call and a search, so latency and cost grow with the number of steps, and gathered passages can fill the context window until the key one is buried, the lost in the middle problem. A working system needs a stopping rule, a cap on hops and a record of which passage supported each step, which is what source attribution provides.

Evaluation follows the same split. Check context recall at each hop as well as at the end, and test faithfulness to confirm the final answer uses the facts that were found. RAG failure modes covers how these errors show up in production.

Multi-hop retrieval and agents

Deciding what to search next is a planning step, so multi-hop retrieval is a natural job for an agent. In agentic RAG the model calls the retriever as a tool as many times as it needs, and agentic search extends the same loop to the web and other sources. Deep research products run dozens of searches before writing a report. Agentic RAG vs RAG compares the two designs, and the case for agentic search argues where pipelines are heading.

Multi-hop retrieval with Exabase

Exabase provides the search for each hop; deciding the next query and when to stop stays in your agent. Deep Search returns matched chunks with relevance scores and page numbers or timestamps, so each step has a citation to carry forward. Multi-query search fans out several queries in one call to the search endpoint, which suits comparison questions whose sub-questions are independent, and filters by folder, tag, kind or date keep later hops inside the right part of a Base.

For facts about people and past conversations, Memory search can expand one query into up to five retrieval passes and combine their scores, which helps when the answer spans several memories; see the memory search endpoint. For recurring research, a Worker can search a Base and the web several times in one run with the tools listed in the Worker tools guide, then save what it finds as a note. RAG accuracy and the research agents use case show where this fits, and Best knowledge graph for AI agents covers graph-based options.

FAQs

What is multi-hop retrieval?

Multi-hop retrieval answers a question by searching several times, using what each search finds to form the next query, because no single passage contains the whole answer.

What is the difference between single-hop and multi-hop retrieval?

Single-hop retrieval answers from one search. Multi-hop retrieval chains two or more searches, with later queries depending on earlier results.

Is multi-hop retrieval the same as query decomposition?

Query decomposition is one way to do it. It splits the question into sub-questions in advance, while iterative methods choose each next query after reading the last results.

Do I need a knowledge graph for multi-hop questions?

Not necessarily. Iterative text search handles many multi-hop questions, and a graph helps most when relationships between entities are the main thing being asked about. GraphRAG vs RAG compares the two.

How many hops should a system allow?

Most questions need two or three hops. Set a cap, stop when the model reports enough evidence, and log each hop so failures can be traced.

Does Exabase do multi-hop retrieval automatically?

No. Exabase supplies the searches, including multi-query search in one call and query expansion for memories, and your agent decides how to chain them.

Related pages: Retriever, Agentic RAG, Query decomposition, GraphRAG, HyDE, Parent document retrieval, Agentic search, Deep Search, RAG accuracy, Research agents use case, Task decomposition, Deep research

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.