# KET-RAG Audit Shows 84% of RAG Errors Occur Post-Search

*Updated on November 26, 2026*

An empirical audit of Graph-RAG pipelines from researchers at the University of Victoria and Santa Clara University has challenged where most engineering teams spend their retrieval-augmented generation tuning budgets. Evaluating KET-RAG across `1,500` multi-hop questions (`500` each from HotpotQA, MuSiQue, and 2WikiMultiHopQA), authors Yasaman Zarrinkia, Venkatesh Srinivasan, and Alex Thomo found that the retriever successfully fetched the gold answer `77%` to `91%` of the time, yet final end-to-end model accuracy lagged at `23%` to `67%` on `Llama-3.1-8B` and `35%` to `78%` on `Llama-3.3-70B`.

Decomposing every incorrect answer into retrieval misses versus post-retrieval synthesis mistakes revealed a lopsided root cause: `73%` to `84%` of all failures occurred **after** the right answer was already sitting inside the retrieved prompt. Even under a stricter bridging-entity coverage test requiring every intermediate hop fact to appear in context, reasoning failures still dominated in `5` of `6` dataset-model cells.

The culprit is context bloat. Standard KET-RAG pipelines pack roughly `10,000` tokens of entity descriptions, relationship edges, community summaries, and raw text chunks into each inference call. When a model must trace two to four hops across noisy entity subgraphs, attention dilutes across irrelevant branches, creating a multi-hop needle-in-a-haystack trap that better embeddings alone cannot fix.

Instead of retraining models or rebuilding expensive vector indexes, the authors tested two inference-time interventions released under the MIT license: **SPARQL chain-of-thought (CoT) prompting**, which instructs the model to translate natural-language questions into explicit subject-relation-object query patterns before answering, and **graph-walk compression**, a zero-LLM breadth-first search (BFS) traversal over the retrieved graph that slashes context size by roughly `60%` (from `~10,000` tokens down to `~4,000`). Combined with simple question-type routing, an augmented `Llama-3.1-8B` matched or outperformed an unaugmented `Llama-3.3-70B` baseline across all three benchmarks at roughly `12x` lower inference cost.

<a aria-hidden="true" id="executive-fast-facts"></a>  Fast Facts

- **73% to 84% Post-Retrieval Error Share**: Published in [The Reasoning Bottleneck in Graph-RAG (arXiv:2603.14045)](https://arxiv.org/abs/2603.14045) with MIT code at [github.com/thomouvic/graph-rag-qa-pub](https://github.com/thomouvic/graph-rag-qa-pub) and summarized by [AlphaSignal](https://alphasignal.ai/paper/ket-rag-audit-finds-84-of-ai-errors-happen-after-retrieval), reasoning errors represented `84%` of `Llama-3.1-8B` mistakes on HotpotQA, `73%` on MuSiQue, and `80%` on 2WikiMultiHopQA, and still accounted for `64%` to `74%` of errors on `70B + SPARQL CoT`.
- **Budget Indexing Beat Costly Embeddings**: Using free `384`-dimensional embeddings and a `$0.05/M`-token indexing model (`3x` cheaper indexing LLM and `4x` smaller embedding vectors than published GPT-4o-mini baselines), the researchers still reached `90.8%` gold-answer coverage on HotpotQA (`454/500`), `77.2%` on MuSiQue (`386/500`), and `81.0%` on 2WikiMultiHopQA (`405/500`).
- **Measured Accuracy Lift From Two Zero-Retraining Fixes**: SPARQL CoT prompting added `+2` to `+14` percentage points across benchmarks; pairing deterministic BFS graph-walk compression (`~60%` fewer tokens, zero LLM calls) with structured prompting added another `+6` percentage points on average for smaller models.
- **SPARQL Syntax Validity Gap**: On average, `Llama-3.3-70B` produced syntactically valid SPARQL decompositions `93.4%` of the time versus `87.4%` for `Llama-3.1-8B` (with a `10.8`-point gap on HotpotQA), making syntax validation with a fallback prompt essential in production.
- **Cross-Framework Transfer Limits**: A replication study on `LightRAG` confirmed that SPARQL CoT prompting transfers cleanly across Graph-RAG architectures, whereas BFS graph-walk compression did not transfer directly and applies specifically to pipelines exposing explicit entity-relation graphs rather than flat passage-only vector RAG.

## Error Decomposition and Budget Retrieval Performance

Teams tempted to upgrade from `384`-dimensional embeddings to expensive high-dimensional retrieval stacks should examine how much headroom actually remains in retrieval versus post-retrieval synthesis.

| Benchmark (`N=500` Each) | Budget Context Coverage | `8B` Baseline Reasoning Error Share | `70B + SPARQL CoT` Reasoning Error Share | Key Failure Pattern |
|---|---|---|---|---|
| **HotpotQA (2-Hop)** | `90.8%` (`454/500`) | `84%` | `74%` | `70B + SPARQL CoT` hits `83.9%` on covered queries, nearing retrieval ceiling |
| **MuSiQue (2–4 Hops)** | `77.2%` (`386/500`) | `73%` | `64%` | `8B` baseline hits just `23.6%` overall (`>50`-pt reasoning drop); `70B` recovers `53.2%` covered |
| **2WikiMultiHopQA** | `81.0%` (`405/500`) | `80%` | `69%` | Wide mix of bridge, comparison, and compositional chains degrades long prompts |

Notice the economic payoff hidden inside the MuSiQue row. Retrieving the right facts on `77.2%` of four-hop questions yielded only `23.6%` accuracy on an unaugmented `8B` model because `10,000` tokens of loosely connected entity cards overwhelmed the smaller model's working memory. Pruning the graph deterministically via BFS walks starting from question entities strips out `60%` of dead-end branches before a single generation token executes, cutting both input token cost and distractor interference simultaneously.

There is an important boundary condition before rolling this out across every enterprise search stack: the paper evaluated entity-relation Graph-RAG (`KET-RAG` and `LightRAG`), not standard dense-vector chunk retrieval. If your RAG pipeline stores flat PDF chunks without extracted entity triples, BFS graph-walk compression has no graph topology to traverse, though structured query decomposition and strict coverage logging still apply.

## Implementing Coverage Logging and SPARQL Fallback Routing

Before buying a new vector database or swapping embedding vendors, instrument every RAG evaluation run to separate `context_covered` from `answer_correct`, then guard structured SPARQL CoT with a deterministic syntax fallback:

```
def run_graph_rag_inference(question: str, subgraph_ctx: str, llm_client) -> str:
 # 1. Zero-LLM BFS walk trims ~10k-token Graph-RAG payload down to ~4k tokens
 compressed_ctx = bfs_prune_subgraph(question, subgraph_ctx, max_hops=3)

 # 2. Decompose into explicit RDF triple pattern (validate syntax for 8B models)
 sparql_plan = llm_client.generate_sparql_cot(question)
 if not is_valid_sparql_pattern(sparql_plan):
     # Fallback protects against the 12.6% malformed SPARQL rate on 8B models
     return llm_client.answer_with_standard_cot(question, compressed_ctx)

 return llm_client.answer_with_sparql_plan(question, sparql_plan, compressed_ctx)
```

Pairing that syntax check with question-type routing lets production teams keep routine two-hop lookups on fast `8B`-class open-weight models while escalating only malformed decompositions or deep multi-hop comparisons to `70B` or frontier APIs.

  Next Steps

1. **Split RAG Telemetry Into Coverage vs. Post-Retrieval Reasoning**: Audit `200` failed production queries and log whether the gold answer appeared in retrieved chunks; if coverage already exceeds `80%`, stop tuning embeddings and fix context compression and prompting instead.
2. **Add Zero-LLM Graph-Walk Pruning to Graph-RAG Pipelines**: Use breadth-first traversal anchored on question entities to trim `10,000`-token Graph-RAG contexts by `50%`–`60%` before invoking the generation LLM.
3. **Validate Structured CoT Outputs With Automatic Fallbacks**: When using SPARQL or triple-pattern prompting on `8B`–`14B` models, run a lightweight syntax parser on the intermediate plan and fall back to standard chain-of-thought or a larger tier if parsing fails.