1. In a RAG pipeline, after the top-20 candidate documents are retrieved via semantic search, a cross-encoder reranker is applied before passing context to the LLM. What is the PRIMARY purpose of this reranking step?
- A. To generate new embeddings for the retrieved documents using a more powerful model
- B. To reduce the cost of the LLM call by compressing retrieved documents into a single summary
- C. To jointly score each query-document pair for relevance, improving precision before the context is stuffed into the prompt✓ Correct
- D. To filter out documents that were created before a specified date cutoff
Explanation
Correct: A cross-encoder reranker (such as Cohere Rerank) takes each (query, document) pair and scores them jointly, considering full interaction between query and document tokens. This is far more accurate than the initial bi-encoder similarity score and improves precision — ensuring the top-k chunks passed to the LLM are truly the most relevant. | Wrong A: Rerankers score existing embeddings or raw text; they do not regenerate embeddings. Re-embedding is a separate process. | Wrong B: Rerankers do not compress or summarize documents; they reorder the existing retrieved set. Summarization is a different technique (map-reduce chains, etc.). | Wrong D: Date filtering is a metadata pre-filter applied before or during retrieval, not a function of a cross-encoder reranker.