Blogs
RAG Field Guide

There Is No Best RAG. Only The Right Fit.

A field guide to retrieval architectures — and LiveRAG, the index that learns.

What we learned testing a dozen retrieval architectures on real client documents, and the one Arsenal AI built to close the gap they all share.

Raja Bitra & Manikya ShettyJuly 23, 20269 min read
Why it matters

Why Retrieval Architecture Reaches The Balance Sheet

When a company grounds AI in its own documents, the retrieval layer quietly makes three business decisions at once: how often the answers are right, what each answer costs to produce, and how much risk the organization carries when an answer is wrong. Most companies already have the raw material — millions of files sitting in their databases. What they don’t have is an AI that can find the right ones. Either the data is not referenced at all, or it is retrieved so inefficiently that cost climbs and answers go stale.

This is no longer a niche concern. Grand View Research put the retrieval augmented generation market at roughly $1.2 billion in 2024, growing toward $11 billion by 2030 — a rate near 49 percent per year. Microsoft reports $3.70 returned for every dollar invested in generative AI, a figure cited via Mordor Intelligence. Real money is flowing into this layer, which makes choosing it well a leadership question, not only an engineering one.

The basics

What RAG Actually Is

Retrieval augmented generation (RAG), named by Patrick Lewis and colleagues in a 2020 paper, acts like giving an AI a searchable library of your documents to consult before it answers a question. Instead of relying solely on its internal memory, the system first retrieves the relevant facts from your files, then uses them to construct a grounded, accurate response. This keeps the AI honest by citing the exact source of its information, and it makes the system flexible — you can update your documents with new data instantly without needing to rebuild or “retrain” the AI from scratch.

Where it breaks

The Default Recipe, And Where It Breaks

The recipe most teams start with is simple: cut documents into chunks, turn each chunk into a vector, find the chunks nearest the question, and paste them into the prompt. For simple lookup questions it works well enough to ship, which is exactly why it spread everywhere.

Then the cracks show. Chunking shreds context, so the model sees fragments instead of complete thoughts. Worse, vector search bets that similarity equals relevance, and that bet fails on the hard questions. A question that requires connecting facts across two documents often shares almost no words with the passage holding the answer, so a nearest-neighbor search never finds it. The plumbing is solid. The retrieval logic underneath it is blunt.

The field

A Dozen Ways To Retrieve Better

The fixes came from every direction, and no team needs all of them. The question is never which approach is most advanced — only which one fits the job.

Which RAG Fits The Job?
Match the architecture to the shape of the question, not to what is most advanced
The jobThe fit
Simple lookups & general enterprise Q&A
Hybrid RAG
The 2026 default. Keyword + vector. Start here.
Exact answers from structured filings & contracts
PageIndex
VectifyAI, 2025. 98.7% on FinanceBench vs 30–50% vector.
Understanding one long document end to end
RAPTOR
Stanford, ICLR 2024. Lifted a hard benchmark by 20%.
Themes & patterns across a whole corpus
GraphRAG
Microsoft Research, 2024. Maps entities & relationships.
Multi-step investigations across many sources
Agentic RAG
Plans, searches, and assembles the answer.
High-stakes work where a wrong answer is costly
Self / Corrective RAG
Checks its own evidence before it speaks.
Mixed workloads where cost control matters
Adaptive RAG
Routes each query to the cheapest path that works.
Charts, tables, & scanned pages
Visual RAG
Reads the page image itself: layout, tables, figures.
Small, stable knowledge that rarely changes
Cache-Augmented Generation
Skips retrieval, holds the corpus in context.
Repeated questions at scale, on documents that keep changing
LiveRAG
Arsenal AI, MIT license. Learns from real queries.
The rule: start with Hybrid, and add a layer only when the task clearly demands it.
Before you build

Five Questions To Ask Before Anyone Writes Code

Choosing well controls accuracy, cost, and risk at the same time. Before a line of code is written, run the use case through five questions.

  1. 1What shape is the question? One specific fact, a theme across everything you have, or a multi-step investigation.
  2. 2What shape is the data? Small and fixed, constantly changing, long and highly structured, a web of linked entities, or visual and scanned.
  3. 3How costly is a wrong answer? In high-stakes work it’s worth paying for a system that checks itself before it speaks.
  4. 4How fast, and how cheap, must each answer be? Real-time chat lives on a different budget from overnight analysis.
  5. 5Once, or a million times? Questions you’ll answer at scale, on data that keeps changing, justify a system that adapts and learns.
Which RAG? Start Here.
Answers must come from your documents?
NO
Skip RAG.
Just use the model.
↓ YES
Small enough to fit in context?
YES
Skip retrieval.
Load it all (CAG).
↓ NO
What is the question like?
Everyday lookups
Hybrid
One long document
PageIndex
Themes across everything
GraphRAG
Multi-step investigation
Agentic
Then add only what the work demands
High stakes?
Self / Corrective
Cost pressure?
Adaptive
Scans, charts?
Visual
Hot, changing?
LiveRAG
Every layer must earn its cost.
Arsenal AI
The test

What We Saw Testing This On Real Client Documents

Frameworks are useful, but Arsenal AI forms its recommendations by testing architectures on real client work. In a recent engagement building a document intelligence product for the proposal and procurement space, our engineering team ran a structure-aware, reasoning-based retrieval system built on open-source PageIndex head to head against a tuned vector pipeline. Both systems received the same documents and the same questions, and both were scored by an independent evaluation framework on three measures: whether the right context was retrieved, whether the answer addressed the question, and whether the answer stayed faithful to the evidence.

What The Model Actually Sees
The same document, retrieved two ways
Vector RAG: fragments
document is shredded into chunks
…renewal terms for the initial contract period?
[ header lost ] …continued from above
Stitched fragments, no headers, no order — cross-document comparisons fall apart.
PageIndex: whole sections
mapped like a table of contents
1. Overview
2. Vendor Requirements
2.1 Service Levels
3. Proposed Fees
Complete logical units, headings intact — comparisons and negative searches hold up.
Three observations

Whole Sections Beat Fragments

  1. 1Whole sections beat fragments. The vector pipeline returned stitched paragraph fragments, while the section-aware system returned complete logical units with their headings intact. On questions that required comparing terms across multiple documents, that difference decided whether the answer held together.
  2. 2The negative search test was decisive. Asked which of several documents contained a specific legal disclosure, the section-aware system identified the right document and the right section. The vector pipeline reported that the information was not present, even though it was.
  3. 3Faithfulness was consistently at the ceiling on standard operations. And when retrieval did go wrong, the failure showed up plainly in the evaluation scores rather than hiding inside a fluent, confident answer — the failure mode that worries us most in client-facing systems.
PageIndex Retrieval Quality, Query By Query
Scored on a 10-query test set across three measures: context precision, answer relevance, and faithfulness.
Context precisiondid it retrieve the right section7 of 10at 1.0Answer relevancedid it answer the question asked9 of 10at 1.0Faithfulnessdid it stay true to the evidence↑ one clear failure,visible in the score8 of 10at 1.00.000.250.500.751.00
24 of 30 scores were a perfect 1.0
When retrieval went wrong, the failure showed up plainly in the score instead of hiding inside a fluent answer.

One caution, and it is the reason we publish observations rather than leaderboards: these results come from one document set and one workload. We treat them as directional evidence for this class of task — complex analysis over long, structured business documents — not as universal benchmarks. That is also exactly why we evaluate on a client’s own documents before recommending an architecture to them.

The gap

The Blind Spot Every Architecture Shares

Lay all of these systems side by side and a shared assumption appears: every one of them builds its index up front, the same way for every question, and then freezes it until someone rebuilds it. None of them learns from the questions it actually receives. The index serving a query asked ten thousand times a day is identical to the index serving a query asked once. The field is pouring real money into architectures that all share this gap — and that gap is what our engineering team set out to close.

The fix

LiveRAG: The Index That Learns

LiveRAG is built by Arsenal AI in Pittsburgh, released under the MIT license, and rests on a simple conviction: an index should be answerable to its own use. In one line, it is the RAG that learns its own cache.

On day one it behaves like a strong, ordinary hybrid baseline. But it watches real query traffic, and as certain entities are asked about again and again, it promotes them into precomputed, instantly servable understanding while the long tail stays on the standard path. Within weeks the most common questions answer instantly, and everything else is handled exactly as well as before. What gets promoted is not a saved answer string but a structured, provenance-tracked record: facts tied to their sources, the relationships between them, and a summary derived from those facts. The record is rebuilt the moment a source document changes, so it does not drift, and when two sources genuinely conflict, both are kept and the contradiction is shown rather than hidden.

The Index That Learns
Every other architecture
Build the index onceSame index for every questionFrozen until rebuilt
It never learns from the questions it receives.
LiveRAG by Arsenal AI
Watch real queries
Day one behaves like a strong hybrid baseline.
Promote hot entities
Provenance-tracked records, not saved answer strings.
Answer instantly
Common questions become precomputed and immediate.
Rebuild on change
Records refresh when a source document changes.
The loop runs continuously, so the index stays answerable to its own use
Measured, not asserted
A fixed slice of eligible entities is held out and never promoted, so the lift over that control group is a number anyone can check.

A trust layer adds the rest of the honesty: it checks every answer for grounding, can withhold a weak one, and treats an honest report that something is not in the corpus as a good answer, so the system never learns to prefer a confident fabrication.

On a held-out sample drawn from three public multi-hop benchmarks (HotpotQA, 2WikiMultiHopQA, and MuSiQue), LiveRAG reached 0.915 retrieval recall, found the bridging evidence on the hardest multi-hop links every time in its top five results with zero additional model calls, and ran at roughly $0.0006 per query end to end. The methodology, including the approaches we tried and rejected, is published alongside the code.

LiveRAG, Measured
0.915
Retrieval recall
1.00
Bridge recall @5, hardest links
$0.0006
Per query, end to end
Open
Code, benchmarks & methodology public
A held-out sample, not the full benchmark sets. The lift from learning is measured against a control group of entities that are never promoted.

We are equally clear about where LiveRAG is not the tool. Corpus-wide sensemaking fits a graph or a summary tree better. Reasoning over one long, structured document is a job for PageIndex. Simple, high-volume, single-fact traffic performs within noise of plain hybrid retrieval. LiveRAG earns its keep when multi-hop linkage, freshness over changing documents, and traffic-shaped precomputation are what the work requires.

Takeaway

What Leadership Should Take From This

For a technical leader, all of this reduces to two questions worth asking any vendor. The first is universal: how do you measure retrieval quality on our documents, not on your demo? Any serious vendor should have an answer, because a benchmark run on someone else’s corpus says almost nothing about yours. The second question separates the field: does the system get better at our questions over time, and can you show us that number?

Most systems only improve when a human rebuilds the index, so a retrieval system that cannot answer the second question is a snapshot. One that can is an asset that compounds. In fairness, that second question is the one we designed LiveRAG to answer, so weigh our interest accordingly — the difference is that the claim is checkable, since the code, the benchmarks, and the holdout methodology are public.

A retrieval system that cannot get better at your questions over time is a snapshot. One that can is an asset that compounds.

This is also a fair picture of how Arsenal AI works. Our consulting arm and our venture studio share one engineering team in Pittsburgh, so the same people who benchmark retrieval architectures on a client’s documents are the people shipping those architectures into production inside our portfolio companies — and feeding what breaks back into the next build. That loop is where this field guide came from.

Most firms will recommend a retrieval architecture. Arsenal AI has built them, benchmarked them on real client work, and released the one the field was missing.

If you are deciding how to ground AI in your own documents, that is a conversation we have every week — and we would be glad to have it with you.