Zenaique

Match each retrieval technique to the specific failure it is designed to fix

Match pairs·Medium·4.0 · 0·~2 min·Asked atDustGleanTwo Sigma
Attempt it

Drag each answer to line up with its matching prompt

Hybrid (dense + sparse) retrieval

First stage recall is good but the top results lack precision, so distractors crowd the final context

Cross-encoder reranking

A short question embeds far from the long, declarative passages that actually answer it

Parent document (small to big) retrieval

Chunks small enough to match precisely are too fragmented to answer from

HyDE (hypothetical document embedding)

Pure dense search misses exact terms: rare IDs, error codes, acronyms the embedding blurs

MMR (maximal marginal relevance)

The top-k fills up with near duplicate passages, wasting the context budget

TL;DR

Each retrieval add-on fixes one specific failure of naive top-k dense search: hybrid for exact terms, reranking for precision, parent-document for fragmentation, HyDE for query-document mismatch, MMR for redundancy.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

Imagine a librarian who finds books by overall vibe rather than exact words. Sometimes that backfires in different ways. If you ask for catalog number 7-B, the vibe-matcher fumbles the exact code — so you also keep an old-fashioned index that matches words letter for letter. Sometimes the first ten books are roughly on-topic but a careful second read reorders them best-first. Sometimes you grabbed single torn-out pages too small to be useful, so you fetch the whole chapter each page came from. Sometimes a one-line question sounds nothing like the long answer paragraph, so you first jot a fake answer and match books to that. And sometimes all ten books say the same thing, so you swap a few for ones that add something new. Each trick fixes one specific way the vibe-matcher lets you down.

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

Most RAG quality problems are retrieval quality problems, and the techniques in this match-up are the standard toolbox for fixing them. But the toolbox is dangerous when you grab tools at random — teams routinely stack hybrid search, reranking, HyDE, and MMR all at once, hoping something sticks, without knowing which failure each one removes.

The organizing insight is that every one of these targets a single, distinct failure mode of naive top-k dense retrieval. If you can name the failure precisely, the right tool is obvious and the wrong tools are visibly irrelevant. This section walks the diagnosis first, then each technique against the failure it owns.

The diagnostic: matching failures versus result-set failures

Before any technique, ask one question of your retrieval traces: did the passage that answers the query appear anywhere in the candidate set?

If the answer is no, you have a matching failure. The right text never scored high enough to be retrieved at all. This is a recall problem, and it splits into two flavors: a lexical miss (the query needs an exact token the embedding blurred) and an asymmetry miss (the query's phrasing is structurally unlike the answer's).

If the answer is yes — the gold passage was retrieved, but ranked low, or crowded out by distractors, or too fragmented to use — you have a result-set failure. The candidates are present; the set's ordering, granularity, or diversity is wrong.

This split is the whole game. The single most common mistake is using a result-set tool on a matching problem. A cross-encoder reranker is a precision tool; it reorders the candidate list. If your gold passage isn't in that list, reranking it produces exactly the same miss, more slowly. Diagnose the bucket first, and you stop yourself from stacking four techniques to compensate for one misread.

Matching fixes: hybrid retrieval and HyDE
Result-set fixes: reranking and parent-document retrieval
Result-set fixes: MMR and the cost of misdiagnosis
Stacking techniques in the right order
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

Real products, models, and research that use this idea.

  • Hybrid dense plus BM25 with reciprocal rank fusion is the default first upgrade in Qdrant, Weaviate, and Elastic vector search.
  • Cohere Rerank and cross-encoder rerankers are the standard second stage in production retrieve then rerank pipelines.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QHow does reciprocal rank fusion combine dense and sparse results without calibrating their scores?
A

Explain that RRF sums 1/(k + rank) across lists, using rank position rather than raw scores, so incomparable score scales never need normalizing.

2 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Reaching for a cross-encoder reranker to fix a recall problem. If the right passage never made the candidate set, reranking can't surface it — that's a matching failure for hybrid retrieval or HyDE, not a precision failure.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • The two buckets a retrieval failure can fall into

  • Why dense embeddings blur exact tokens and where sparse search wins

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
Which metric best measures whether a RAG answer is grounded in the retrieved context?
MCQ·Medium