← Back to list

The Retrieval Divergence Problem: Why Rank Fusion Matters More in the LLM Era ?

1. The Widening Gap in retrievers

Jaideep Ray in Better ML · 2026-07-06 22:16 · 0 claps · 6.1 min read
#llm #recsys #inference #search #rankings
Open on Medium ↗
Wiki topics: LLM · Large Language Models EVAL · Evaluation & Benchmarks OPS · LLMOps & Inference

The Retrieval Divergence Problem: Why Rank Fusion Matters More in the LLM Era ?

1. The Widening Gap in retrievers

In traditional search architecture, using multiple retrievers often meant getting slightly different flavors of the same results. A keyword retriever might find a document based on its title, while a graph retriever might find the exact same document because it was heavily cited. There was usually a significant overlap in the retrieved lists.

However, as Small / Large Language Models (SLMs / LLMs) and advanced neural retrieval systems have entered the stack, this overlap is shrinking rapidly. The documents retrieved by different sources are becoming fundamentally different, and this divergence is increasing as LLMs unlock deep semantic connections. Here is why different retrieval sources diverge, and why LLMs are accelerating this trend.

LLMs widening gap in retrievers

LLMs widening gap in retrievers

2. The Baseline: Mechanical Differences in Retrieval

Even before LLMs, different systems naturally pulled different documents because they looked for entirely different signals:

  • Lexical Retrievers (BM25): Look for exact vocabulary matches and term frequency. They are highly literal.
  • Knowledge Graphs: Look for structured relationships (e.g., “Company X is owned by Parent Y”).
  • Collaborative Filtering: Looks at human behavioral signals (e.g., “Users who clicked this also clicked that”).

A lexical search for “fixing a leaking pipe” will heavily bias toward DIY articles that repeat the words “fix,” “leak,” and “pipe.”

3. The LLM Shift: From Vocabulary to Deep Intent

The introduction of LLM-based retrieval: such as advanced cross-encoders, late-interaction models with LM (language models), and GR (generative retrieval): shifted search from matching text to matching intent.

As LLMs develop a deeper understanding of semantic connections, the lists they generate look increasingly alien compared to traditional keyword lists.

This happens in three distinct ways:

1. The Zero-Overlap Phenomenon LLMs can identify perfect answers that share absolutely no keywords with the user’s query. If a user searches for “why is my coffee tasting excessively bitter and metallic,” a lexical search will look for “bitter” and “metallic.” An LLM understands the underlying chemical process of over-extraction or burr grinder friction. It might retrieve a highly technical barista manual about “adjusting extraction yield and grind uniformity.” The lexical and semantic retrieval lists will have near-zero overlap, yet both might be useful.

2. Domain specialization of embeddings: Traditional dense embeddings often struggle with words that have multiple meanings, relying on broad proximity. Modern LLMs process the entire sequence of a query to lock in the exact context. For a query like “Python performance in tight loops,” an LLM immediately discards any zoological context and retrieves highly specific software optimization guides. A weaker retriever might still pull a mix of programming and snake-related documents if the exact keyword overlaps are strong enough.

3. Implicit Problem Solving: Humans often search for symptoms, but they want cures. LLMs bridge this gap through multi-hop semantic reasoning. If an employee searches the corporate intranet for “can’t access HR portal 403 error,” a keyword engine retrieves the IT manual page for “403 Errors.” An LLM-based retriever understands that a 403 on the HR portal usually indicates an expired VPN session, and retrieves the “How to reset your VPN token” document.

4. The Consequence for Recsys Architecture

As LLMs become better at uncovering these deep, non-obvious connections, the disparity between retrieval lists is expanding.

This growing gap is exactly why rank fusion has become the backbone of modern search. A system can no longer just assume that a document is highly relevant because it appears in every retriever’s list. Instead, the architecture must trust that the LLM is finding profound semantic matches, while relying on the lexical retriever to ground the search and prevent AI hallucinations.

By combining highly literal, keyword-dense documents with deep, conceptually-matched documents, systems can deliver a final ranked list that satisfies both the mechanics of the user’s query and the true intent behind it.

So, this boils down to one critical question:

How do we merge multiple ranked lists into one better ranking?

This seemingly simple problem has driven nearly three decades of research. Solutions have evolved from simple voting schemes to fully learned ranking systems that optimize business metrics directly. You can think of this evolution as five successive levels of sophistication, moving from simplicity to high-quality, data-driven complexity.

5. Why Rank Fusion Exists ?

Imagine searching for: “best restaurants near Stanford serving ramen.”

  • Lexical retriever (BM25): Excels at exact keyword matches.
  • Dense retriever: Understands semantic similarity and context.
  • Location retriever: Knows geographic relevance.
  • Popularity model: Knows user preferences and trends.

Each system retrieves useful — but entirely different — documents. Rank fusion solves the problem of combining these disparate results to produce one superior ranking.

5.1 Baseline: Single Retriever

The simplest system doesn’t fuse anything. You simply choose one retrieval method (e.g., query to BM25, or query to Dense Retriever) and return the ranked list.

  • Advantages: It features the simplest architecture, is very fast, and is easy to debug.
  • Disadvantages: It misses complementary information from other methods, and a single retrieval failure ruins recall entirely.

This was the standard for classical search engines, but modern demands quickly outgrew it.

5.2 Level 1: Unsupervised Fusion

The first major advance was realizing that agreement between retrievers is highly valuable. Instead of trusting raw scores — which often aren’t directly comparable across different algorithms — we combine the rankings themselves. This family of methods requires no training data.

Reciprocal Rank Fusion (RRF)

Instead of using scores, every document receives a value based on its position in the list:

Reciprocal Rank Fusion

Reciprocal Rank Fusion

  1. Where r_i(d) is the rank from retriever i, and k is a constant (usually 60). High-ranked documents consistently appearing across multiple retrievers naturally float upward. The beauty of RRF is that score normalization is completely unnecessary.
  2. If a document is not retrieved by system i, its rank r_i is treated as infinity. Consequently, the fraction rrf evaluates to 0. The document simply gets no points from that retriever, but it keeps whatever score it earned from the systems that did retrieve it.
  3. Some implementations assign a default penalty rank. If a retriever only returns the top K documents (e.g., Top 100), any document not in that list is assumed to be at rank K + 1 (e.g., Rank 101) or is given the rank of the total corpus size. This is particularly common when training Learning-to-Rank (LTR) models, where a feature column cannot simply be left blank (NaN) and requires a fixed numeric value.

Unsupervised methods are production-friendly, robust, and require no labels. They are surprisingly difficult to beat, which explains why RRF remains extremely popular.

5.3 Level 2: Query adaptive Fusion

Modern systems recognize that one fusion strategy doesn’t fit every query. Some queries are lexical (“RTX 5090”), while others are semantic (“movies about loneliness”). Adaptive fusion changes the approach dynamically.

  • Dynamic Alpha: Predict a specific weight based on the query itself, assigning higher lexical weights for exact-match searches and higher dense weights for conceptual searches.
  • Query Routers: Rather than combining everything, a router chooses which retrievers should even participate.
  • Weighted RRF: Instead of equal votes, assign retriever-specific weights to the RRF calculation:

Weighted Reciprocal Rank fusion

Weighted Reciprocal Rank fusion

Adaptive fusion is query-aware, robust, and significantly improves long-tail performance.

5.4 Level 3: Learned Fusion

Eventually, we stop hand-designing fusion rules. Instead, the system learns exactly how rankings should be merged by directly optimizing for relevance.

  • Learning to Rank (LTR): The classic production solution. Features like BM25 score, dense similarity, PageRank, popularity, and click history are fed into a model (like GBDT or LambdaMART) to predict the final ranking.
  • Neural Rerankers: A cross-encoder jointly processes the query and candidate document using a Transformer to generate a highly accurate relevance score. It is much more accurate, though significantly slower.
  • Fusion-in-T5 (FiD): Multiple retrieved documents are encoded independently and fused inside the transformer. This architecture is highly influential in modern Retrieval-Augmented Generation (RAG).
  • Production KPI Rankers: Large companies optimize directly for business metrics such as Click-Through Rate (CTR), dwell time, purchases, or user satisfaction (Level 4).

Most modern recsys systems don’t just pick one level of rank fusion, they stack them. A typical production pipeline starts with multiple retrievers, uses Level 1 (RRF) for a fast initial merge, applies Level 2(Adaptive Routing), and refines the candidates using Level 3(Neural Rerankers) before making a final pass for business KPIs Level 4.

This layered approach balances robustness and relevance. The evolution of rank fusion reflects a broader industry shift from handcrafted heuristics toward data-driven AI systems.


메타데이터
post_id
315eeceb9cb8
slug
the-retrieval-divergence-problem-why-rank-fusion-matters-more-in-the-llm-era-315eeceb9cb8
url
https://medium.com/better-ml/the-retrieval-divergence-problem-why-rank-fusion-matters-more-in-the-llm-era-315eeceb9cb8
canonical_url
https://medium.com/better-ml/the-retrieval-divergence-problem-why-rank-fusion-matters-more-in-the-llm-era-315eeceb9cb8
author_url
https://medium.com/@jaideepray
status
ok
fetched_at
2026-07-08 19:15:55