Reranking
A second-stage retrieval process that takes a small candidate set and reorders it using a more precise, query-aware relevance model.
Business example
A first search returns twenty HR passages mentioning leave. A reranker moves the approved parental-leave clause above general meeting notes before the answer model receives context.
How it works
- 1.Retrieve a broad candidate set quickly with lexical, vector, or hybrid search.
- 2.Score each candidate again against the exact user query with a more precise model.
- 3.Reorder the candidates and keep only the strongest passages.
- 4.Send the selected passages and their source metadata to the generation stage.
Common misconceptions
Related concepts
Related reading
Sources
- https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/rag/rag-information-retrieval
- https://cloud.google.com/blog/products/ai-machine-learning/rags-powered-by-google-search-technology-part-2
- https://aws.amazon.com/blogs/machine-learning/improve-ai-assistant-response-accuracy-using-knowledge-bases-for-amazon-bedrock-and-a-reranking-model/
Reviewed:
Reviewed by: Javier Chulvi Bernad · LLM Engineer · Madrid