

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Re-ranking
incomplete
2: LLMs for Re-Ranking
incomplete
3: LLM Batch Re-Ranking
incomplete
4: Cross-Encoder Re-Ranking
incomplete
This lesson's interactive features are locked, please to keep using them
We have another problem: our search might find 100 movies, but users only look at the top 5.
We need those 5 to be really good.
Vector search is like using a book's summary to answer questions about it.
A summary is sometimes good enough to answer basic questions, and admittedly, it's fast and easy to use. If the summary doesn't have the answer, sometimes it's at least good enough to let you know if the full book might have it.
But summaries miss details, nuance, and context that only the full text can provide.
Re-ranking works because it considers the query and full documents together to determine relevance. Unlike vector search (which pre-computes document embeddings) and BM25 (keyword matching), re-ranking waits until it has both the user's query and the full documents to do its work.
It's accurate, but it's much slower – we can't pre-cache anything.
So, we eliminate the majority of documents quickly with vector/keyword search, then do expensive re-ranking only on the most promising candidates.