AI Glossary Term

What does “Reranker” mean?

Definition

A model that reorders an initial set of retrieved results to put the most relevant items at the top.

How Reranker works

Diagram for Reranker, steps in order: Retriever returns 50 candidates; then Reranker scores each with the query; then Reorder by score; then Top 5 go to the model.Retriever returns 50 candidatesReranker scores each with the queryReorder by scoreTop 5 go to the model

Example

A search step quickly pulls 50 passages that might answer a question. A reranker reads the question with each passage and promotes the three that truly answer it to the top.

Why it matters

Reranking improves the quality of what the model sees at modest cost. It adds a bit of delay.

Common questions

Why not rerank everything?

Rerankers are slower per document, so they are applied to a short list from a fast first-stage search.

What models are used?

Often cross-encoders, or sometimes a language model prompted to rate relevance.

How much does it help?

Often a noticeable improvement in relevance, depending on the data.

See also