Groundedness
An answer can cite real passages and still claim something they do not say. Groundedness asks, claim by claim, whether the evidence supports the answer.
An answer can cite real passages and still claim something they do not say. Groundedness asks, claim by claim, whether the evidence supports the answer.
A passage retrieved without its heading can say the opposite of what the document means. How documents are split decides what search can find.
A fictional HR assistant cites an outdated policy. Tracing its evidence reveals how ingestion, retrieval, permissions, and generation can fail together.
Fast search finds a hundred plausible passages; a slower model decides which five the answer should rest on. Reranking cannot rescue what was never found.
One accuracy number cannot say whether a RAG failure came from retrieval, context selection, or generation. Score each stage, audit the judges, and diagnose by stage.
Retrieval can succeed and the answer can still be a confident guess. Select evidence, check citations, resolve conflicts, abstain when the evidence is missing, and verify.
Sparse and dense retrievers fail on different queries. Learn how to fuse them, where a reranker helps or hurts, how to rewrite queries without losing exact terms, and how to benchmark each stage.
A retrieval index is derived data. Give every chunk an exact source span, name each index build, update approximate indexes without silent recall loss, and test for stale evidence.
A model’s weights are a lossy, frozen snapshot of the world. Retrieval is how you stop relying on them.
A model can accept 200,000 tokens and still miss the clause that matters. Learn position encodings, attention costs, context construction, and how to measure effective length.
A fictional company’s search over restricted, changing documents, built and run locally: permission propagation windows, pre-filtering, citations, shadow and canary release, rollback with revocation replay, and erasure.
A retrieval index is a copy of documents, and copies do not inherit permissions. This post follows permissions from source ACLs through identity, filtering, revocation, and leakage tests.
A retrieval index is derived data. Track which document version produced each chunk, refresh only what changed, delete everywhere, and validate before publishing.