LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Deployment & Operations

Re-ranker

A re-ranker is a second-stage retrieval model that re-scores a candidate set (typically top 50-100) from a fast first-stage retriever using a more expensive cross-encoder that jointly attends to query and document.

Full definition

Bi-encoders (used in vector search) embed query and document separately — fast but loses interaction. Cross-encoders concatenate query and document and run them through a transformer together — expensive but ~20-30 NDCG points more accurate. The standard pipeline retrieves top-100 with a bi-encoder, then re-ranks to top-5 with a cross-encoder. Production options: Cohere Rerank, Voyage Rerank, BGE-Reranker, Jina Reranker, Mixedbread.

Why it matters

Adding a re-ranker is the single highest-ROI quality improvement most enterprise RAG systems can make — typically a 10-25% lift in answer accuracy at $0.001-0.01 per query incremental cost. It should be the first optimization after a baseline RAG ships.

Example

A bank's policy-search system retrieves top-50 documents in 60ms with pgvector, then re-ranks with Cohere Rerank in 200ms; final-answer accuracy on a 200-question eval rises from 67% to 84%.

Source & further reading

Primary source: Nogueira, Cho — "Passage Re-ranking with BERT" (2019).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/it/glossary/re-ranker/.