Split a multi-hop question into sub-queries: both-hop recall goes from 5/10 to 9/10, but rewriting one hop changes nothing
A user asks: "What does the 40% discount on the background tier depend on, and why does a cache write cost more instead of less?" One sentence, two unrelated pieces of evidence. Retrieval runs on the whole sentence, and the top-5 comes back full of discount paragraphs; the paragraph with the cache-write price sits at rank 9. The model then answers two questions from one piece of evidence, and the second half starts to invent.
This is not weak retrieval. It is one query carrying one topic. Almost every engineering fix for multi-hop questions points at query rewriting: turn one sentence into several atomic queries. But how far you split, and how you merge the results, decides whether the rewrite helps or is wasted work.
Two kinds of multi-hop, don't measure them together
- Parallel: the two pieces of evidence are independent, each answering a different part of the question ("how much is saved" and "why the write costs more").
- Bridged: the second hop's query needs the first hop's answer as an entity ("who wrote X" → look up X, then look up what that author wrote).
The mechanisms are different. Parallel hops can be decomposed and merged in parallel. Bridged hops must run serially, because the second query cannot be written before the first retrieval returns. This is exactly the premise of IRCoT — in the ACL'23 paper's own words, "this one-step retrieve-and-read approach is insufficient for multi-step QA" because "what to retrieve depends on what has already been derived". On four multi-step datasets (HotpotQA, 2WikiMultihopQA, MuSiQue, IIRC) it improves retrieval by up to 21 points.
This article measures parallel multi-hop only. The numbers below do not transfer to bridged questions; that case is handled separately at the end.
Measurement setup
- Environment: Python 3.12.11, jieba 0.42.1, hand-written BM25 (k1=1.2, b=0.75, Lucene-style idf).
- Corpus: 127 body paragraphs from this site (tables and component paragraphs removed), 64.9 tokens per paragraph on average under jieba.
- Questions: 10 parallel two-hop questions, each with two manually labelled gold paragraphs (20 in total). The sub-queries were written by hand — this is the upper bound, not what an automatic decomposer would achieve.
- Budget: every strategy returns 5 candidates; RRF constant k=60, matching the Elasticsearch default.
Six retrieval strategies
| Strategy | Both hops in @5 | At least one hop | Gold paragraphs in candidates |
|---|---|---|---|
| Single full-sentence query | 5/10 | 10/10 | — |
| Two hops + RRF(k=60) | 9/10 | 10/10 | 19/20 |
| Two hops + per-hop quota 2+1 | 9/10 | 10/10 | 19/20 |
| First hop only | 2/10 | 10/10 | — |
| Second hop only | 5/10 | 10/10 | — |
| Original + two hops, three-way RRF | 7/10 | 10/10 | — |
Four readings
First, the full-sentence query does not fail to find anything; it finds one hop every time. At least one hop lands 10/10, both hops 5/10. Of the missing hops, 5 were the second hop and 1 was the first: the long question shares more wording with hop one, so its ranking dominates and hop two's evidence is pushed out of the window. The symptom is a half-right answer, not a failed search — which is why this gets misdiagnosed as a model problem after launch.
Second, the two hops' candidates barely overlap, so decomposition trades budget for coverage. The two sub-queries' top-5 lists share 1.2 paragraphs on average (set Jaccard 0.147). Merged, that is 10 paragraphs, 7.9% of the 127-paragraph corpus, and only 5 survive. Decomposition is not extra recall; it splits five slots into two halves, one per hop. Both-hop recall rising from 5 to 9 is that split doing its job.
Third, rewriting one hop changes nothing. First hop only: 2/10, worse than the full sentence. Second hop only: 5/10, the same as the full sentence. Rewriting one query does not conjure the other hop's evidence. The engineering check is blunt: verify coverage per hop against gold labels. A one-hop rewrite is worse than no rewrite.
Fourth, adding the original sentence to the fusion makes it worse. Original plus two hops in a three-way RRF scores 7/10, below the two-hop 9/10. The original raises paragraphs that touch both hops without being precise about either, and those take slots. In multi-hop fusion, take fewer results, not more.
RRF actively hurts when fusing hop against hop
The Elasticsearch RRF documentation is explicit: score = Σ 1/(k + rank), rank_constant defaults to 60, rank_window_size defaults to size.
With k=60 and a five-result window, a document at rank 1 of one list scores 1/61 ≈ 0.01639. A document appearing in both lists scores at least 1/61 + 1/65 ≈ 0.0317 — nearly double. "Appears twice" almost always beats "rank 1 in one list." In hybrid retrieval that is the point (consensus across routes is more trustworthy). In multi-hop it is a defect: hops by definition do not share paragraphs, so as soon as some candidate shows up in both lists — say, through a paraphrase — it pushes a hop's only evidence out of the top-5.
On this sample RRF(60) and the per-hop quota tie at 9/10, because the two hops' candidates hardly intersect and there is no consensus to reward. Once they do overlap (the same paragraph returned by both rewrites), RRF systematically favours the overlap. So do not reach for RRF by default in multi-hop:
# Per-hop quota: N hops -> k_per_hop results each, plus 1 filler from global RRF remainder
cands = []
for q in sub_queries:
cands += bm25_topk(q, k_per_hop=2)
cands += [d for d in rrf_all(sub_queries) if d not in cands][:1]Three things to do
- Cover every hop in the decomposition, and label gold per hop in your eval set. Checking only "is the answer right" hides the half-failure of hitting one hop.
- Allocate budget per hop, not as a global top-k. With N hops and a budget of five, two per hop plus one filler scored 9/10 here.
- Do not decompose bridged questions in parallel. The second query is built from the first hop's answer: extract the entity, then retrieve. The cost is two retrieval rounds plus one generation, timed and budgeted per round — parallel-hop accounting does not apply.
Scope and limits: 10 questions, a 127-paragraph corpus, hand-written sub-queries. The sample is small; it shows direction and magnitude, not a leaderboard. Bridged questions were not measured, only characterised via IRCoT. Query rewriting is also not free: work like Rewrite-Retrieve-Read (EMNLP 2023) works because rewriting narrows the gap between what the user typed and how the index actually phrases things. If your corpus already uses the user's wording, rewriting only adds drift.