AI tools helped gather research and write the first draft of this article. I edited it and checked every quote and figure against the source page listed at the end, read on 1 December 2026. The cover illustration is AI-generated. Details at the end.
A retrieval step answers a narrow question quickly: out of a very large pile of passages, which ones look like they might help? A reranker answers a different question slowly and carefully: out of this short list, which ones actually answer what was asked? A reranker is a second scoring pass that reads the query and each candidate passage together and reorders a short list, so the passages that go to the language model are the best of the shortlist and not just the closest in a vector space. It does not find anything new. It reorders what the first step already found.
This article explains why that second pass exists, what the sources say it adds, what it costs, where it cannot help, and how to decide whether a small product needs one. It is not a benchmark and does not recommend a vendor.
The problem a second pass solves
Most retrieval-augmented systems work in two moves. A search finds candidate passages, then the best are put into the prompt of a language model that writes the answer. The quality of the answer depends on which passages made it into the prompt.
The first move is built for speed. The Sentence Transformers documentation states the compromise plainly: the retriever "has to be efficient for large document collections with millions of entries", and "might return irrelevant candidates" [1]. To search millions of passages quickly, the system compares the query against precomputed representations of the passages, which were made without knowing what the query would be.
The same page says the retrieval system "might retrieve documents that are not that relevant for the search query" [1]. So a list of, say, the top 50 candidates can contain the right passage at position 31, a near-miss at position 1 and an off-topic passage at position 4. If only the top three go to the model, the right passage never arrives.
Bi-encoders and cross-encoders
A bi-encoder turns each text into an embedding on its own. The Sentence Transformers documentation describes it as passing the sentences to the network "independently", producing two embeddings that are then compared with cosine similarity [2]. Because passage embeddings do not depend on the query, they can be computed once and indexed. That is what makes first-stage search fast.
A cross-encoder takes the query and one passage together. The documentation describes it as passing both "simultaneously to the Transformer network", which outputs a value between 0 and 1 [2]. It says the advantage is "higher performance, as they perform attention across the query and the document" [1]. The model sees how the query relates to the passage instead of comparing two summaries made apart.
The price of that closeness is that nothing can be precomputed. The documentation gives an example of what happens if a cross-encoder is used for a job that suits a bi-encoder: clustering 10,000 sentences "would require computing similarity scores for about 50 Million sentence combinations, which takes about 65 hours", while a bi-encoder computes the embeddings in "only 5 seconds" [2]. These are that page's own illustrative figures for one task, not a general speed law; they show the shape of the trade.
The design follows from the trade: use the cheap method to narrow millions of passages to a short list, then use the expensive method on the short list only. The documentation describes exactly this: a retriever fetches "a large list of e.g. 100 possible hits", and a cross-encoder re-ranker then scores all candidates for the query, producing "a ranked list of hits we can present to the user" [1]. In its example script, the top 5 passages by cross-encoder score are the ones shown to the user [1].

What the sources report
A 2019 paper. Nogueira and Cho describe "a simple re-implementation of BERT for query-based passage re-ranking" and report that their system "is the state of the art on the TREC-CAR dataset and the top entry in the leaderboard of the MS MARCO passage retrieval task, outperforming the previous state of the art by 27% (relative) in MRR@10" [3]. The abstract names two datasets, and the 27% is stated in the same sentence as the MS MARCO leaderboard entry, against the prior best at the time, on one ranking metric. MRR@10 is a measure of how high the first correct passage appears in the top ten. The abstract does not claim the same gain elsewhere, and it dates from 2019.
A heterogeneous benchmark. The BEIR paper evaluates 10 retrieval systems "including lexical, sparse, dense, late-interaction and re-ranking architectures" across 18 public datasets. Its summary: "BM25 is a robust baseline and re-ranking and late-interaction-based models on average achieve the best zero-shot performances, however, at high computational costs" [4]. Two things in that sentence matter. First, a plain lexical baseline held up well, so a reranker is not a replacement for a decent first stage. Second, the same sentence that reports the best average results reports the cost, and "on average" is not "on every dataset".
Vendor documentation. Voyage describes rerankers as "cross-encoders that jointly process a pair of query and document, enabling more accurate relevancy prediction", and notes that "it is a common practice to apply a reranker on the top candidates retrieved with embedding-based search (or with lexical search algorithms such as BM25 and TF-IDF)" [5]. Pinecone calls reranking part of "a two-stage vector retrieval process" and says it "is one of the simplest methods for improving quality in retrieval augmented generation (RAG) pipelines" [6]. Cohere's overview says that, given a query and a list of documents, its Rerank endpoint orders them "from most to least semantically relevant to the query" [7]. These are product descriptions, not independent evidence that reranking improves any particular product.
Two things a reranker can fix, and one it cannot
It can fix the order inside a good list. If the right passage is in the candidate list but not near the top, a second pass can move it up. This is what the mechanism is built for.
It can let you cast a wider net. The first stage can return more candidates, with precision coming from the second pass: a "large list" retrieved, a short ranked list presented [1].
It cannot add a passage the first stage missed. A reranker only reorders what it is given. If the right passage is not among the candidates, no second pass will find it. This is the main limit, and it is a good reason to measure first-stage recall before adding anything.
It also cannot repair a collection that lacks the answer, or passages cut badly: a fragment without its context is scored as a fragment.
A fictional example
The following example is invented. Example Wallet is a made-up product with a made-up help centre; the question, passages and orders are not data.
A user asks the Example Wallet support assistant: "Why is my transfer still pending after an hour?" The first-stage search returns six help passages, in this order:
- "How to set a transaction fee when sending a transfer" (a passage about fee settings in general that mentions the word "transfer" often).
- "What the wallet's pending badge means" (a short passage about the badge colour).
- "Why a transfer can stay pending when the network fee was too low, and what to do about it" (a longer passage).
- "How to export your transaction history".
- "Supported networks and their typical confirmation times".
- "Resetting a forgotten wallet password".
The first stage ranks by closeness of overall meaning, and passage 1 shares the most vocabulary and general topic with the question. A reranker reads the question and each passage together. It can notice that passage 3 speaks to the exact situation (a pending transfer and why) and that passage 1 is a how-to about a related setting. A plausible reordered top three is passage 3, passage 2, passage 5, with passage 1 dropped from the top. If the assistant only sends the top three to the language model, the answer is now built from the passage that describes the problem.
The reranker did not find passage 3: the first stage had already returned it. And "plausible" is the right word: the article does not claim that any specific model orders it this way.

What it costs
Computation. BEIR's summary pairs the best average zero-shot results with "high computational costs" [4]. The Sentence Transformers documentation says that scoring "thousands or millions of (query, document)-pairs would be rather slow", and that this is why a retriever first creates a set of "e.g. 100 possible candidates" [1].
Latency and billing. A reranker is another call in the request path. Pinecone's page includes a separate section on "Reranking cost" [6]. Cohere's example response for a rerank request reports billed units alongside the ranking [7]. None of the pages gives a delay or cost figure that transfers to your product.
Limits on input. Rerankers read a limited amount of text per candidate. Cohere's reference documents a max_tokens_per_doc parameter that "Defaults to 4096" and says long documents "will automatically be truncated". It also recommends against sending more than 1,000 documents in one request [8]. Voyage's reference says the number of documents "cannot exceed 1,000" and has a truncation option that, when true, truncates input to fit the context limit [5]. The practical point: truncation can hide the part of a passage that answers the question, and long passages may need splitting before they reach a reranker.
Another setting to tune. Someone chooses how many candidates the first stage returns and how many survive. Too few and the right passage may be missing; too many and cost and delay grow.
Why the order matters even after reranking
A common objection is that modern language models have long context windows, so the order of passages should not matter. It does. Liu and colleagues studied multi-document question answering and key-value retrieval and found that "performance can degrade significantly when changing the position of relevant information". Performance is "often highest when relevant information occurs at the beginning or end of the input context, and significantly degrades when models must access relevant information in the middle of long contexts, even for explicitly long-context models" [9]. That study tested specific models in 2023, and models change. Still, it is a reason to keep the shortlist short and to place the strongest passage deliberately. The reranker decides which passages are strongest; the assembly step decides where they go. Both can be wrong.
How to decide if you need one
A small product does not need a reranker by default. A reasonable path:
- Build a small test set first. Collect real questions and mark which passages answer each one.
- Measure the first stage on its own. For each question, is the answer passage anywhere in the top 20 or top 50? If not, the problem is retrieval or chunking, and a reranker will not help.
- Check the order. If the answer is often in the top 50 but rarely in the top 3, you have the problem a reranker addresses.
- Try one, compare on the same set, and record cost. Measure the change in where the answer lands and the added delay and spend. The figures in the papers above come from other collections.
- Keep the old setup as a fallback. A reranker is an extra call that can time out or fail. The product should degrade to the first-stage order instead of failing.
- Re-run after changes to chunking, embeddings or documents.
What this article cannot tell you
It cannot tell you how much reranking will improve your system. The 27% figure is a relative gain in one metric, reported in 2019 alongside the MS MARCO passage leaderboard, and the BEIR summary is an average over 18 datasets. Neither is a forecast for your collection. No benchmark was run for this article. The example is invented, and its reordering is an illustration, not a result. The sources do not say how scores from different models compare, whether a score can serve as a confidence threshold, or whether a reranker can reduce unsupported answers by itself. Those need testing on your own data. Reranking also does not decide whether a passage supports a claim, which is a separate question about citations and evidence.
How this article was made
| Task | What the AI did | What a person did | How it was checked |
|---|---|---|---|
| Research | Gathered candidate sources and drafted notes | Chose the question and which pages to rely on | Every quote and figure checked against the raw text of the page named in the sources, downloaded on 1 December 2026 |
| Draft | Wrote the first draft from the notes | Edited the text and the fictional example | An independent review compares claims with the sources before publication |
| Images | Generated the cover illustration | Chose and checked it | Labelled as AI-generated in the disclosure line and alt text |
| Not done by AI | — | The decision to publish and responsibility for the text | — |
Conflicts of interest: none. The author has no commercial relationship with the organisations named here.
Responsible for this article: Dmitriy Lastovka, author. Corrections: contact form.
Sources
Labels: documentation (a library or vendor's own docs), paper (a preprint or published paper). Quotes are as on the pages read on 1 December 2026.
- Sentence Transformers documentation, "Retrieve & Re-Rank". https://sbert.net/examples/sentence_transformer/applications/retrieve_rerank/README.html Documentation.
- Sentence Transformers documentation, "Cross-Encoders". https://sbert.net/examples/cross_encoder/applications/README.html Documentation.
- Rodrigo Nogueira and Kyunghyun Cho, "Passage Re-ranking with BERT", arXiv:1901.04085 (v1 January 2019, v5 April 2020). https://arxiv.org/abs/1901.04085 Paper.
- Nandan Thakur, Nils Reimers, Andreas Rücklé, Abhishek Srivastava and Iryna Gurevych, "BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models", arXiv:2104.08663, NeurIPS 2021 Datasets and Benchmarks Track. https://arxiv.org/abs/2104.08663 Paper.
- Voyage AI documentation, "Rerankers". https://docs.voyageai.com/docs/reranker Documentation.
- Pinecone documentation, "Rerank results". https://docs.pinecone.io/guides/search/rerank-results Documentation.
- Cohere documentation, "An Overview of Cohere's Rerank Model". https://docs.cohere.com/docs/rerank-overview Documentation.
- Cohere documentation, "Rerank API (v2)". https://docs.cohere.com/reference/rerank Documentation.
- Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni and Percy Liang, "Lost in the Middle: How Language Models Use Long Contexts", arXiv:2307.03172, TACL 2023. https://arxiv.org/abs/2307.03172 Paper.










