Data Science • 23 October 2026 • By AI Conference London Editorial

Retrieval-Augmented Generation at Scale: Architecture Patterns That Work

Explore proven RAG architecture patterns for millions of documents, with enterprise lessons on chunking, evaluation, and hallucination control.

Retrieval-Augmented Generation at Scale: Architecture Patterns That Work – AI World Congress 2026, London, 25-26 November 2026

A RAG demonstration can succeed with a few hundred documents; an enterprise service must remain reliable when millions of files change, permissions diverge and users ask ambiguous questions. In October 2026, the useful architectural question is not whether retrieval augmented generation can produce a convincing answer, but whether its evidence can be traced, evaluated and withdrawn when necessary. That distinction frames the engineering discussion ahead of AI World Congress 2026, taking place on 25–26 November 2026 in London. Source

1. Treat RAG as a governed data system

The simplest RAG diagram connects a document store, a retriever and a language model. Production LLM architecture needs additional layers: ingestion, identity, access control, document lifecycle management, evaluation and observability. Retrieval supplies evidence; it does not automatically establish that the evidence is current, authoritative or available to the requesting user. Enterprises should therefore treat the search index as a governed data product, rather than a disposable accessory to the model. Source

Separate ingestion from the interactive query path. Ingestion workers should parse files, preserve structure, identify duplicates and attach metadata before generating embeddings or updating lexical indexes. Stable document identifiers, source locations, ownership, revision timestamps and permission attributes make later corrections possible. Without those foundations, an apparently accurate answer may depend on an obsolete attachment whose relationship to the authoritative record has been lost. Source

Freshness requires explicit engineering. A source deletion should trigger removal from searchable indexes and relevant caches, while updates need traceable propagation rather than an occasional full rebuild. Define freshness objectives by use case: an internal policy assistant and a live incident assistant have different tolerances. For sensitive collections, verify authorisation before retrieved content reaches either the model or a user-visible response; post-generation redaction is not an adequate boundary. Source

2. Chunk around meaning, then measure the consequences

Chunking determines what evidence the retriever can recognise and what context the generator receives. Fixed token windows are straightforward to implement, but can separate a contractual exception from its clause or a table value from its heading. Structure-aware parsing provides a stronger starting point: retain section headings, lists, table relationships and document hierarchy. The objective is a retrievable unit that remains intelligible outside its original page. Source

A useful pattern is to retrieve a relatively small child passage and expand it into a bounded parent section for generation. This can combine precise matching with enough surrounding material to interpret qualifications. Another option is to add concise document context to each indexed chunk. Anthropic’s contextual retrieval research is relevant here, but any preprocessing that generates additional text needs validation: contextualisation must not quietly introduce claims absent from the source. Source

There is no universally correct chunk size or overlap percentage. Test alternatives against actual questions, including answers distributed across several sections. Track whether the evidence appears in the retrieved results, how much irrelevant text accompanies it and whether duplicated overlaps crowd out independent sources. Tables, scanned documents and code deserve separate parsing tests. A chunking strategy that works for narrative policies may fail on a spreadsheet-derived financial report. Source

3. Use hybrid retrieval and selective reranking

Enterprise search must handle both concepts and exact strings. Dense retrieval can connect differently worded descriptions, while lexical search remains valuable for product identifiers, error codes, names and specialised terminology. A hybrid candidate stage combines those strengths. Merge and deduplicate results before applying a reranker, rather than assuming that raw similarity scores from different retrieval methods are directly comparable or represent a probability of correctness. Source

At scale, the serving design matters as much as the ranking algorithm. Partitioning by tenant, geography or business domain can reduce the search space and support isolation, but poorly chosen boundaries can hide cross-domain evidence. Approximate nearest-neighbour indexes trade search completeness against speed and resource use. Measure those trade-offs under realistic permission filters: a configuration that performs well on an unrestricted benchmark may return too few useful candidates for ordinary employees. Source

Reranking should earn its latency and compute cost. Straightforward identifier lookups may need little additional processing; ambiguous research questions may benefit substantially. Query rewriting and multi-query retrieval can improve coverage, but may also drift from the user’s terminology. Preserve the original question, constrain expansion and record which route produced each result. Introduce agentic retrieval only where iterative searching demonstrably improves task completion over a simpler, measurable pipeline. Source

4. Control hallucination through evidence, not reassurance

Retrieval does not eliminate hallucination. A model can misread a correct passage, combine incompatible revisions or fill an evidential gap with plausible language. Separate answerability from answer generation: determine whether the retrieved material addresses the question before asking for a substantive response. When evidence is missing or contradictory, the system should explain the limitation, request clarification or escalate rather than manufacture a complete answer. Source

Citations are necessary but insufficient. A reference may exist without supporting the sentence beside it. For important workflows, evaluate claim-level support: whether each material assertion follows from an identifiable passage, whether qualifications survive summarisation and whether dates and units remain intact. Require stronger checks for numerical answers and consequential recommendations. Model-based verification can assist, but should itself be evaluated against human judgements rather than treated as an independent guarantee. Source

Retrieved documents also create a security boundary. An attacker-controlled page can contain instructions intended to override the application’s behaviour or induce disclosure. Treat retrieved text as evidence, never as authority to change system rules or invoke tools. Enforce permissions outside the model, restrict tool capabilities and test adversarial documents. Logging should support investigation without creating a second, less protected repository of confidential prompts and retrieved passages. Source

5. Evaluate retrieval and answers separately

A single answer-quality score conceals the location of failures. Build a representative test set containing ordinary questions, exact-match lookups, multi-document questions, outdated-source traps, permission-sensitive requests and genuinely unanswerable queries. Label the supporting evidence as well as the expected response. Where exhaustive relevance judgements across millions of documents are impractical, document the limits of the labelled set rather than presenting incomplete recall measurements as definitive. Source

Evaluate retrieval with measures such as recall at a chosen result count and ranking quality; evaluate generation for correctness, source support, completeness and appropriate abstention. Report results by document type, language and risk category, not only as an average. Include false refusals: a system that declines everything may avoid unsupported statements while providing little value. Automated judges can accelerate testing, but need calibration against expert-reviewed examples and checks for systematic bias. Source

Version the evaluation set alongside parsers, embeddings, prompts and model configurations. Before changing a component, rerun the same cases and inspect regressions, then validate with controlled production traffic. Operational measures should include latency, cost per resolved task and user correction rates. For readers reviewing the AI World Congress 2026 speakers, these are useful questions to bring to technical discussions: what was measured, against which baseline, and where did the system still fail? Source

6. Make reliability and cost visible

Latency accumulates across authorisation, query processing, retrieval, reranking, context assembly and generation. Instrument each stage and examine tail latency, not just averages. Cache carefully: retrieval or answer caches need keys that account for relevant identity, permissions, document versions and configuration. Otherwise, a performance optimisation can expose restricted information or resurrect an answer based on deleted evidence. Maintain rollback paths for index and model changes, not merely application code. Source

Cost control starts with understanding which requests need expensive processing. Route simple searches to lightweight paths, bound context expansion and avoid reranking candidates that cannot affect the answer. Capacity planning should include ingestion backlogs, embedding migrations and recovery after outages. Organisations considering exhibition and sponsorship should distinguish demonstrations from operational evidence: workload assumptions, isolation guarantees and observable failure behaviour matter more than a polished response. Source

Governance should follow the application’s purpose and jurisdiction; using RAG does not itself determine a system’s legal risk classification. Assign owners for source quality, access policy, evaluation and incident response. For delegates consulting the Day 1 and Day 2 agenda, the practical takeaway is architectural: successful scaling requires controlled evidence flows and reproducible tests, not simply a larger vector database or a more capable generator. Source

Frequently Asked Questions

Q: Does RAG eliminate hallucinations?

A: No. It supplies external evidence, but the model can still misinterpret or embellish it. Measure source support, test unanswerable questions and provide a clear abstention path. Citations should demonstrate support, not merely identify a document. Source

Q: What chunk size works best for enterprise documents?

A: No single size suits every collection. Start with document structure, then compare configurations using representative questions. Preserve headings and table relationships, and measure both evidence retrieval and answer quality rather than optimising token counts alone. Source

Q: Is a vector database enough for enterprise search?

A: Usually not as a complete architecture. Enterprises also need permission enforcement, lifecycle controls, observability and evaluation. Lexical retrieval can complement vector search where exact identifiers or specialist vocabulary determine relevance. Source

Q: How should teams measure RAG quality?

A: Separate evidence retrieval from answer generation. Test ranking quality, factual correctness, source support and abstention, then add latency and cost. Break results down by workload so strong performance on easy questions does not conceal consequential failures. Source

Q: Should enterprises fine-tune instead of using RAG?

A: The approaches address different needs. Retrieval supplies changeable external knowledge; fine-tuning can shape task behaviour and response consistency. Neither replaces access controls or evaluation, and combining them should follow a demonstrated requirement rather than architectural fashion. Source

Bibliography

  1. Deloitte — The State of Generative AI in the Enterprise. Source
  2. National Institute of Standards and Technology — AI Risk Management Framework. Source
  3. IBM Think — Insights. Source
  4. Microsoft — The AI Blog. Source
  5. Anthropic — Research. Source
  6. OpenAI — Research. Source
  7. Google — Google AI Blog. Source
  8. Stanford Institute for Human-Centered Artificial Intelligence — Research. Source
  9. European Commission — AI Act: Regulatory Framework for Artificial Intelligence. Source
  10. OECD — Artificial Intelligence. Source

To continue these discussions in London on 25–26 November, register for the AI conference London. Bring a concrete evaluation problem, a permission boundary or a production failure case: those specifics make discussions about reliable enterprise AI more useful than architecture diagrams alone. Source