Updated 17 October 2026 · Evidence-grounded generation
Abstract. Retrieval-augmented generation has matured from “vector search plus prompt” into a controllable knowledge system. Modern designs route queries, combine lexical, vector and graph retrieval, rerank evidence, generate with explicit provenance and verify claims before release. This article presents RAG as knowledge infrastructure: a governed pipeline whose unit of quality is the supported claim, not the fluent answer.
Why naïve vector RAG fails
A top-k similarity query assumes that semantic proximity is equivalent to evidential relevance. It is not. Failures arise from poor chunk boundaries, acronym collision, missing time filters, duplicated passages, access-control leakage and the tendency of long contexts to underuse information placed in the middle (Liu et al., 2024). Retrieval can therefore increase confidence without increasing truth.
Self-RAG reframed retrieval as a decision: retrieve only when needed, assess passage relevance, critique support and evaluate utility (Asai et al., 2024). RAPTOR introduced recursive clustering and hierarchical summaries for questions whose evidence is distributed across abstraction levels (Sarthi et al., 2024). The engineering lesson is that retrieval policy must depend on question type.
Graph engineering for knowledge
GraphRAG converts documents into entities, relations and communities, enabling global questions that ordinary chunk retrieval handles poorly. Microsoft’s query-focused summarization work demonstrated how community summaries can support corpus-level sensemaking (Edge et al., 2024). But precomputed graphs impose extraction cost, update latency and ontology risk. LogicRAG therefore constructs a reasoning dependency graph at inference time, decomposes the question, topologically orders subproblems and prunes retrieval (Chen et al., 2025).
| Question form | Preferred retrieval strategy | Primary control |
|---|---|---|
| Exact fact or identifier | Lexical/BM25 plus metadata filters | Exact-match and freshness |
| Semantic explanation | Dense retrieval plus cross-encoder reranking | Relevance and diversity |
| Multi-hop dependency | Graph traversal or adaptive subquery DAG | Path provenance |
| Corpus-level synthesis | Hierarchical summaries/community retrieval | Coverage and contradiction checks |
| Regulated answer | Policy-filtered hybrid retrieval | Authorization and citation entailment |
The verifiable RAG loop
- Classify. Detect intent, risk, time sensitivity and required authority.
- Plan. Produce subquestions and a dependency graph; identify what must not be inferred.
- Retrieve. Fuse lexical, dense, structured and graph channels with tenant and time filters.
- Rerank and compress. Preserve atomic evidence, source identifiers and surrounding context.
- Generate. Bind material claims to evidence spans; abstain when support is insufficient.
- Verify. Check citation entailment, completeness, contradictions and policy compliance.
- Observe. Log retrieval sets, prompt version, model, latency, cost and reviewer outcome.
RAGAS operationalized reference-free evaluation dimensions including faithfulness and context relevance (Es et al., 2023). In production, these automated measures should be calibrated against human judgments and failure-specific test sets. A single aggregate score conceals whether the system failed to retrieve, reason, cite or abstain.
Knowledge-base design for 2026
A knowledge base is not a folder of embeddings. It needs immutable source IDs, ownership, validity intervals, deletion propagation, access-control attributes and a transformation lineage from source to chunk to claim. Store raw documents separately from derived indexes. Treat embeddings and graph edges as rebuildable projections. Maintain adversarial test collections for prompt injection, poisoned documents and cross-tenant leakage.
For agentic workflows, retrieval becomes a tool with a contract: query, filters, budget, returned evidence and confidence. The outer loop decides whether to broaden the search, change channels, ask a human or stop. This is where RAG and loop engineering converge.
Market orientation: platforms versus portable architecture
Azure AI Search, Amazon Bedrock Knowledge Bases and Google Vertex AI provide managed retrieval and governance integrations. Frameworks such as LangGraph, LlamaIndex and Haystack accelerate composition. The strategic safeguard is portability: retain canonical documents, evaluation sets and provenance in vendor-neutral formats; keep routing and acceptance tests outside proprietary prompts; and benchmark at least one alternate model and retrieval backend.
Design rule. No generated sentence should be considered “grounded” merely because retrieval occurred. Grounding is a verified relationship between a specific claim, a permitted source and an evidence span valid at the time of use.
References
- Asai, A., Wu, Z., Wang, Y., Sil, A., & Hajishirzi, H. (2024). Self-RAG: Learning to retrieve, generate, and critique through self-reflection. International Conference on Learning Representations. https://openreview.net/forum?id=hSyW5go0v8
- Chen, S., Zhou, C., Yuan, Z., Zhang, Q., Cui, Z., Chen, H., Xiao, Y., Cao, J., & Huang, X. (2025). You don’t need pre-built graphs for RAG: Retrieval augmented generation with adaptive reasoning structures. arXiv. https://arxiv.org/abs/2508.06105
- Edge, D., Trinh, H., Cheng, N., Bradley, J., Chao, A., Mody, A., Truitt, S., & Larson, J. (2024). From local to global: A graph RAG approach to query-focused summarization. arXiv. https://arxiv.org/abs/2404.16130
- Es, S., James, J., Espinosa-Anke, L., & Schockaert, S. (2023). RAGAS: Automated evaluation of retrieval augmented generation. arXiv. https://arxiv.org/abs/2309.15217
- Liu, N. F., Lin, K., Hewitt, J., Paranjape, A., Bevilacqua, M., Petroni, F., & Liang, P. (2024). Lost in the middle: How language models use long contexts. Transactions of the Association for Computational Linguistics, 12, 157–173. https://arxiv.org/abs/2307.03172
- Sarthi, P., Abdullah, S., Tuli, A., Khanna, S., Goldie, A., & Manning, C. D. (2024). RAPTOR: Recursive abstractive processing for tree-organized retrieval. arXiv. https://arxiv.org/abs/2401.18059
