Does reranking always improve RAG?
Not automatically. It adds another relevance model and latency/cost. Use it when evaluation shows the initial retrieval set contains useful candidates but ordering/relevance to the query needs improvement.
D2 Automation Knowledge
Why reliable RAG requires a retrieval lifecycle, relevance ranking, grounding evidence, evaluation and knowledge maintenance instead of only a vector database.
Direct answer
Reliable RAG is a chain of evidence. Documents must be ingested with useful boundaries and metadata; retrieval must return plausible candidates; reranking or retrieval policy should improve relevance where needed; the generation step must be grounded in retrieved context; evaluation must detect unsupported answers; and the knowledge index must be refreshed as sources change. A vector search returning results is only one link in that chain.
Engineering model
Reliable RAG = ingest → segment/metadata → retrieve → rerank/filter → ground → evaluate → feedback → refresh
01 / Design rule
Document segmentation determines what evidence can be retrieved as a unit. Domain boundaries, headings and metadata can preserve meaning better than arbitrary windows when the source structure supports them. Fixed windows still need evaluation rather than default acceptance.
02 / Design rule
Vector similarity finds semantically close candidates. A reranker or explicit filter can then evaluate those candidates relative to the actual query, metadata or policy before context reaches the model.
03 / Design rule
A heuristic score can be useful for routing low-confidence answers, but it should not be presented as a calibrated probability of correctness without an evaluation dataset. Production claims require benchmarked evidence.
04 / Design rule
Source documents change, retrieval feedback accumulates and embeddings can become stale. A maintainable RAG system needs versioning, re-ingestion/re-embedding strategy, feedback evidence and a way to evaluate changes before declaring improvement.
Implementation checklist
FAQ
Not automatically. It adds another relevance model and latency/cost. Use it when evaluation shows the initial retrieval set contains useful candidates but ordering/relevance to the query needs improvement.
With a curated evaluation set that separates retrieval quality from answer faithfulness/correctness, records the expected evidence, and is rerun after meaningful retrieval, model or content changes.
Evidence standard
D2 publishes these boundaries explicitly. The methodology page explains what evidence is required before a system is described as implemented, validated or production-backed.
Read D2 evidence methodologyRelated system evidence
Apply the framework