Reranking
What is Reranking?
In one sentence: Reranking reorders search results with a more careful model so the most relevant ones end up on top.
First, a fast search grabs, say, the top 50 candidates. Then a slower but smarter reranker reads each candidate together with the question and scores them more accurately. The best few go into the prompt.
What does Reranking look like?
A reranker might move the paragraph that exactly answers your question from position 12 to position 1.
Why does Reranking matter?
Reranking often gives a big boost to RAG quality.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/reranking/">Reranking, explained simply</a> (The AI Math Dictionary)