groundy
infrastructure & runtime

Where Simple RAG Breaks: Multi-Document QA Needs Hierarchy, Not More Chunks

Flat RAG fails on similar-document corpora due to scope confusion and entity conflicts. HiQA proposes hierarchical augmentation, but hybrid retrieval remains the cheaper, unme

11 min···4 sources ↓

The ‘RAG is simpler than you think’ position reduces retrieval-augmented generation to four steps: chunk your documents, embed them, retrieve on query, done. That description is correct for single-document lookup and wrong for the corpora most teams actually ship against. When a knowledge base holds hundreds of semantically similar documents, a flat retriever returns undifferentiated chunks, the model merges conflicting statements, and single-hop benchmarks never catch it.

Where does “chunk, embed, retrieve” actually hold?

Flat RAG holds when the answer lives in one place: one policy document, one manual, one contract, retrieved as a small set of chunks that directly answer the question. AWS’s canonical description is four steps, create external data, retrieve relevant information, augment the LLM prompt, update the external store, with embeddings in a vector database matched by query-vector similarity. GeeksforGeeks’ anatomy of the pipeline names the same parts: external knowledge source, chunking, embedding model, vector database, query encoder, retriever, prompt augmentation, generator.

The pattern goes back to the 2020 paper that coined the term: a parametric language model paired with a non-parametric external memory, retrieved at inference time. For the workloads that drove RAG adoption, customer-support lookup against a help center, a Q&A bot over one handbook, this is genuinely sufficient. Chunk boundaries rarely matter when one document holds the answer, embedding similarity separates signal from noise when documents are heterogeneous, and the generator gets a small, coherent context.

So the four-step take is not wrong. It is scoped. The trouble starts when practitioners read a scoped claim as a general one and ship the flat pipeline against a corpus it was never designed for.

Even the friendly examples leak the assumption. AWS’s own HR-chatbot walkthrough is implicitly multi-document: a leave-balance query retrieves the annual-leave policy alongside the individual employee’s past leave record. Those are two sources that must be reconciled, not concatenated, the policy says what is allowed, the record says what was used, and the answer is a function of both. The reference architecture quietly requires exactly the behavior the flat pipeline does not specify.

What breaks when the corpus is many similar documents?

The failure mode HiQA formalizes is specific: retrieval accuracy degrades when the knowledge base contains many documents that are semantically and structurally similar to each other. That is the setting flat RAG is not built for, and it describes a large share of production corpora, policy libraries, versioned specifications, regulatory filings, engineering RFCs, standard operating procedures that differ from each other by a handful of clauses.

Embedding similarity is a weak discriminator inside a homogeneous cluster. When fifty documents all discuss “data retention” in nearly identical phrasing, the top-k chunks returned for a retention query are near-interchangeable: the same boilerplate from documents 3, 17, and 41, stripped of any indication of which document each came from or which section it governed. The retriever has done its job by the metric it was given, cosine distance, and produced context that is useless for the actual question, which was always “what does the current policy say,” or “which region’s rule applies here.”

This is the argument of HiQA (arXiv 2402.01767), a hierarchical contextual augmentation framework for multi-document QA that resurfaced this week: the paper posted v4 on 2026-08-25, two days before this writing, after a v3 in July. Note that v4 is a metadata correction adding an author, with the manuscript unchanged, the news is the paper resurfacing, not new results.

Which concrete failures show up first?

Three distinct failure patterns show up once a flat pipeline meets a similar-document corpus, and they have different causes.

Cross-document entity conflicts. When sources disagree, an old revision says the retention period is 90 days, the current one says 30, a flat retriever cheerfully returns both, and the generator has no reliable way to arbitrate. The worst case is that the model does not pick a side at all: it blends details from multiple sources into a single confident, wrong answer that corresponds to no document anyone wrote. Correct retrieval does not prevent this class of failure, either. Wikipedia’s RAG entry, citing MIT Technology Review, documents LLMs generating misinformation even when pulling from factually correct sources if they misinterpret the context; its example is a model that retrieved the rhetorical chapter title “Barack Hussein Obama: America’s First Muslim President?” and asserted that the United States has had one Muslim president. The source text was accurate. The model’s reading of it was not.

Scope confusion. Chunk text divorced from its document context loses scope markers. A clause that begins “contractors may not retain…” is correct within the contractor-policy document and wrong as a statement about employees. Flat chunking treats every chunk as globally scoped; the generator then applies document-local rules corpus-wide.

Context exhaustion. Because the top-k chunks in a homogeneous corpus are near-duplicates, the context window fills with redundant boilerplate while the one disambiguating sentence sits at rank k+1. Raising k adds chunks that are more likely to be near-duplicates or conflicting-scope fragments than new signal, so the extra tokens go to text that does not discriminate.

Does hybrid retrieval fix it without new architecture?

Often, yes, and it is the baseline any fancier fix must beat. The cheapest first escalation is to combine traditional full-text search results with vector-retrieved chunks, then rerank before generation. BM25-style lexical matching discriminates on exact terms, part numbers, clause identifiers, version strings, proper nouns, where embedding vectors blur distinctions. This is practitioner knowledge rather than a sourced result; the nearest anchor is HiQA itself, whose multi-route retriever combines semantic, lexical, and keyword/entity signals rather than relying on embedding similarity alone. Reranking then re-orders the fused candidates with a model that sees the query and chunk together.

This matters because it sets the honest bar for the hierarchy claim. A team that jumps straight from naive embedding search to a hierarchical framework is skipping the cheaper step that may solve the problem. Hybrid retrieval plus a reranker adds one index and one model call; it requires no rechunking, no metadata pipeline, no changes to how documents are ingested.

The residual gap is what hybrid retrieval cannot express. Lexical and semantic signals both operate on chunk text. Neither knows which document a chunk came from, which section governed it, or whether the document is the current revision. On a corpus where those distinctions carry the answer, hybrid retrieval narrows the candidate set but still hands the generator undifferentiated context.

What does hierarchical contextual augmentation add?

HiQA’s answer is to make structure part of the retrieved text. The framework enriches each chunk with cascading document metadata, the document title and the section path leading to that chunk, so that retrieval can use both local content and document structure. A chunk no longer reads as an orphan paragraph; it arrives as “Employee Leave Policy → Section 4.2 → Contractors” plus the clause text. The paper claims the retrieval benefit; the generation benefit is our inference, but it follows directly, because scope confusion becomes much harder for the generator to commit when the scope is sitting in the context.

On top of that, HiQA uses a multi-route retriever combining semantic, lexical, and keyword/entity signals rather than embedding similarity alone, which is the hybrid idea pushed further, with entity-level matching as a third route. The paper reports improved retrieval and answer quality on its own benchmark and states it remains competitive on public multi-document QA benchmarks.

Read that phrasing carefully. “Remains competitive” is not dominance. The authors themselves bound the claim: benefits are strongest for structured, domain-specific, highly similar document collections, precisely the corpus shape where flat retrieval fails. And no numeric scores appear in the abstract, so the effect size of hierarchy over a well-tuned hybrid-plus-rerank baseline is unverified from the available material. Any article quoting you a percentage improvement for HiQA is inventing it.

The cost side is real. Hierarchical augmentation requires reliable document structure at ingestion: titles, section hierarchies, clean segmentation. Teams whose corpus is a pile of PDFs with inconsistent headings will spend their complexity budget on extraction plumbing before they see any retrieval gain. The general tradeoff holds across every variant: each new moving part adds complexity and latency, and poor retrieval still leads to suboptimal generation, so each one has to earn its latency.

How do you choose? Match the fix to the corpus shape

The decision variable is corpus homogeneity, how semantically and structurally similar your documents are, crossed against how much complexity you can afford. Every tier below should be validated against the previous one, because each adds moving parts that must beat a cheaper baseline.

Corpus shapeTypical failureFirst fix to tryEscalate toSkip
Single document or few heterogeneous docsMostly none; flat RAG worksChunk, embed, retrieve (the four-step recipe)Hybrid retrieval if lexical terms matterHierarchy
Many documents, heterogeneous topicsOccasional missed factsHybrid full-text + vector, rerankMetadata filtering by sourceHierarchical augmentation
Many similar, structured docs (policies, specs, versioned docs)Scope confusion, undifferentiated top-kHybrid + rerank as baselineHierarchical augmentation: titles, section paths in chunks (HiQA)Blindly increasing k
Cross-document relational questionsConflicts and merges the generator cannot arbitrateHierarchical metadata firstMulti-route retrieval with entity signals (HiQA)Flat anything
Conflicting/outdated versions in corpusMerged old-and-new answersVersion/date metadata in chunksHierarchical augmentation with version metadataLarger context windows

Two rules of thumb fall out of the table. First, never escalate past hybrid-plus-rerank without measuring it: it is the cheapest rung on the ladder, and every fix above it has to beat that measured number. Second, spend complexity budget on metadata before model machinery: cascading document titles and section paths into chunks is a data-pipeline change with no inference-time latency cost, which makes it the best value-per-moving-part on the list.

Why won’t your current benchmark catch any of this?

Because single-hop evaluation never exercises the failure. Most standard RAG eval suites ask questions whose answers sit in one retrieved passage; they measure whether the retriever found the right chunk and whether the generator used it. Cross-document conflicts, scope confusion, and context exhaustion require, by construction, questions that span multiple similar documents. A pipeline can ace such a suite while merging outdated and current policy text in production.

HiQA’s authors built the instrument for this gap: MasQA, a benchmark designed to evaluate multi-document QA systems in realistic similar-document settings, introduced alongside the framework in the same paper. Per the abstract, HiQA improves on MasQA while remaining competitive on public MDQA benchmarks. The same no-numbers caveat applies, so MasQA’s difficulty gradient and the size of the improvement are both unquantified in this article.

The broader lesson does not depend on MasQA specifically: evaluation must match corpus shape. If your production corpus is two hundred near-identical policy documents, a benchmark built from heterogeneous Wikipedia passages tells you almost nothing about your worst case. Build or adopt an eval set drawn from your actual document cluster, with questions that require reconciling at least two sources, and include version-conflict cases explicitly. That is the only configuration in which “should we add hierarchy” becomes a measurement instead of an argument.

The verdict: keep flat RAG, but only where it’s flat

The “RAG is simpler than you think” position survives, scoped to its home turf. Keep chunk-embed-retrieve for single-document or genuinely heterogeneous corpora, where it is the right amount of machinery. The moment the corpus becomes many near-duplicate, similarly structured documents, spend complexity in this order: hybrid lexical-plus-vector retrieval with reranking first, cascading document titles and section paths into chunks second, entity-aware multi-route retrieval third. Adding chunks or buying a bigger context window grows the context without adding anything that discriminates between documents.

The strongest limitation on all of this: the quantified case for hierarchy is not in the public abstract, so the margin over a well-tuned hybrid baseline is unknown. HiQA concedes its benefits concentrate in structured, similar-document collections, and the v4 posting that resurfaced the paper this week changed author metadata, not results. Retrieval-side fixes also leave generation-stage hallucination untouched. Treat hierarchical augmentation as a hypothesis with a sensible mechanism, test it against hybrid retrieval on a similar-document eval built from your own corpus, and let that measurement, not a slogan, make the call.

Frequently Asked Questions

Does hierarchical augmentation work for unstructured PDFs with inconsistent headings?

No, it requires reliable document structure at ingestion. Teams with messy PDFs must first invest in extraction plumbing to normalize titles and section hierarchies, which consumes the complexity budget before any retrieval gain is realized. This makes the approach less viable for legacy archives compared to clean, versioned documentation.

HiQA adds a third retrieval route for keyword and entity signals alongside semantic and lexical matching. Standard hybrid search typically fuses only vector and full-text results, whereas HiQA’s entity route allows the system to match specific proper nouns or identifiers that embedding vectors often blur, providing a finer-grained discrimination mechanism for similar documents.

What is the primary operational cost of adopting hierarchical RAG?

The main cost is the latency and complexity added by the metadata pipeline, not the inference time itself. Cascading titles and section paths into chunks is a data-pipeline change that adds no inference-time latency, but it requires maintaining clean segmentation and hierarchy extraction. This shifts the engineering burden from model tuning to data hygiene, which can be a hidden cost for teams with dynamic document structures.

Why is MasQA a better evaluation benchmark than standard RAG suites?

MasQA is designed specifically for multi-document, similar-corpus settings, forcing the system to reconcile conflicting or overlapping information from multiple sources. Standard single-hop benchmarks measure whether a retriever finds the right chunk in isolation, which fails to expose scope confusion or cross-document entity conflicts that only appear when the model must arbitrate between similar but distinct documents.

sources · 4 cited

  1. What is RAG (Retrieval-Augmented Generation)? — AWSaws.amazon.comvendoraccessed 2026-08-27
  2. What is Retrieval-Augmented Generation (RAG) — GeeksforGeeksgeeksforgeeks.organalysisaccessed 2026-08-27
  3. Retrieval-augmented generation — Wikipediaen.wikipedia.organalysisaccessed 2026-08-27