Reranker models
A reranker sorts existing text candidates by semantic relevance to a specified query.
The first stage retrieves a large set of documents. A BERT reranker can score each query-passage pair for relevance. The passages are then re-ranked according to that probability.
A cross-encoder takes a query and a document as a single concatenated input and produces a relevance score. The passages are re-ranked according to that probability.
BEIR evaluated reranking the top 100 BM25 results with a cross-encoder. This second pass can improve ordering, but it has higher latency and cost than bi-encoder retrieval.
Reranker models improve the order of candidates returned by a first-stage search.
Follow a query and four retrieved candidates into a new ranking.
- 1 · retrieveUse a first-stage search to obtain a candidate set.
- 2 · pairCombine the query with each candidate for scoring.
- 3 · scoreProduce one relevance score for every query-candidate pair.
- 4 · sortRe-rank the candidates according to the relevance probability.
Pairwise scoring is more expensive than the first retrieval pass.
| Who | What they ask | What it works with |
|---|---|---|
| Search engineer | “Which retrieved passages best match this query?” | Semantic reranking |
| RAG developer | “Which candidates should enter the generator's context?” | Top reranked passages |
| Evaluation team | “Does reranking improve the order of the first-stage results?” | Relevance ranking |
- Rerankers sort text inputs by semantic relevance to a query.
- Cross-encoders can evaluate a query and document together.
- Reranking can be applied after keyword, semantic, or hybrid retrieval.
- A reranker does not retrieve the initial candidate set.
- Azure semantic ranker cannot add information that was absent from the original result.
- Cross-encoder reranking has higher latency and cost than a bi-encoder.
Sources used
This explainer is written in original language. The links below support its factual claims.
- paperPassage Re-ranking with BERT, Nogueira and Cho · read 28 Sept 2026
- officialReranking with Cohere models, Cohere · read 28 Sept 2026
- officialSemantic reranking, Elastic · read 28 Sept 2026
- officialSemantic ranking in Azure AI Search, Microsoft · read 28 Sept 2026
- paperBEIR - A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models, Thakur et al. · read 28 Sept 2026