Glossary

What is Reranker?

In Turkish: Yeniden sıralama modeli (reranker) · Topic: Models and training

A model that takes candidate documents found by a search and examines them more closely against the query, reordering them from most to least relevant.

How does it work?

Search is often done in two stages. In the first, a fast method such as an embedding model pulls dozens or hundreds of candidates from a large collection. In the second, the reranker reads the query together with each candidate and assigns a relevance score. Because the query and document are examined jointly, the judgment is more accurate, but also slower. For that reason it is applied only to the short candidate list, and the highest-scoring results are kept.

Why does it matter?

A language model can only take in a limited amount of text, and irrelevant passages lower the quality of its answer. In retrieval-augmented generation (RAG) systems, reranking is a cheap and effective way to pass along just the few passages that truly help.

Example

In an internal document assistant, embedding search returns 50 paragraphs, the reranker picks the five most relevant ones, and only those are sent to the language model.

FAQ

What is the difference between an embedding model and a reranker?

An embedding model encodes the query and documents separately, which is fast but coarser. A reranker reads the query and document together, which is more accurate but slower. They are usually used together.

Does every RAG system need a reranker?

No. For a small, well-organized collection, embedding search may be enough. If results are often off-topic or the collection is large, adding a reranker usually makes a difference.

All terms