Re-Ranking
1 min read

Re-ranking is the step that refines retrieved candidates by scoring them with a stronger model (cross-encoder, LLM, or specialized ranker) to improve relevance beyond approximate nearest-neighbor search. In RAG, re-ranking reduces noise and improves grounding by selecting passages that truly answer the query. Prompting intersects with re-ranking in two ways: the query formulation affects candidate pools, and the generation prompt determines whether the model obeys retrieved evidence. Prompt mining can jointly optimize query prompts, re-ranking prompts, and generation prompts for maximum factuality. PromptMining.com(TM) enables Mining Prompts that produce better retrieval queries and enforce strict evidence usage in the final answer.
Related
Related
View all- Self-Consistency Self-consistency is a decoding-and-aggregation strategy where you sample multiple independent reasoning paths from an LLM and then select …
- Observability / Tracing LLM observability and tracing capture the full lifecycle of an LLM request: prompts, retrieved context, tool calls, intermediate steps, …
- ReAct Prompting ReAct (Reason + Act) prompting interleaves reasoning with actions, enabling an LLM to decide when to call tools, retrieve information, or …
- Latency Optimization Latency optimization for LLM systems focuses on reducing end-to-end response time, often by shrinking token counts, reducing tool calls, …
- Hallucination Mitigation Hallucination mitigation is a set of techniques that reduce unsupported or fabricated model outputs, especially in factual Q&A, …

