The Reasoning Bottleneck in Graph-RAG: Structured Prompting and Context Compression for Multi-Hop QA
Organizations: University of Victoria · Santa Clara University
Abstract
Graph-RAG systems achieve strong multi-hop question answering by indexing documents into knowledge graphs, but strong retrieval does not guarantee strong answers. Evaluating KET-RAG, a leading Graph-RAG system, on three multi-hop QA benchmarks (HotpotQA, MuSiQue, 2WikiMultiHopQA), we find that 77% to 91% of questions have the gold answer in the retrieved context, yet accuracy is only 35% to 78%, and 73% to 84% of errors are reasoning failures. We propose two augmentations: (i) SPARQL chain-of-thought prompting, which decomposes questions into triple-pattern queries aligned with the entity-relationship context, and (ii) graph-walk compression, which compresses the context by ~60% via knowledge-graph traversal with no LLM calls. SPARQL CoT improves accuracy by +2 to +14 pp; graph-walk compression adds +6 pp on average when paired with structured prompting on smaller models. Surprisingly, we show that, with question-type routing, a fully augmented budget open-weight Llama-8B model matches or exceeds the unaugmented Llama-70B baseline on all three benchmarks at ~12x lower cost. A replication on LightRAG confirms that our augmentations transfer across Graph-RAG systems.
Figures & tables
| Component | Model | Cost |
|---|---|---|
| Embeddings | MiniLM-L6-v2 (384d) | Free |
| Index LLM | Llama-3.1-8B (Groq) | $0.05/M |
| QA (budget) | Llama-3.1-8B (Groq) | $0.05/M |
| QA (standard) | Llama-3.3-70B (Groq) | $0.59/M |
| Dataset | Ours | KET Low | KET High |
|---|---|---|---|
| HotpotQA | 90.8 (454/500) | 60.2 | 82.6 |
| MuSiQue | 77.2 (386/500) | 77.0 | 79.6 |
| 2WikiMHQA | 81.0 (405/500) | — | — |
| All Questions | Covered Questions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Hotpot | MuSiQue | 2Wiki | Hotpot (454) | MuSiQue (386) | 2Wiki (405) | ||||||||||||||
| Method | Model | Acc | F1 | EM | Acc | F1 | EM | Acc | F1 | EM | Acc | F1 | EM | Acc | F1 | EM | Acc | F1 | EM |
| Base | 8B | 67.0 | 59.5 | 49.4 | 23.6 | 18.0 | 12.4 | 31.4 | 29.1 | 24.2 | 69.6 | 62.2 | 51.5 | 27.5 | 21.2 | 15.8 | 32.1 | 30.1 | 24.7 |
| +GW | 8B | 63.6 | 55.9 | 46.0 | 19.4 | 14.6 | 9.0 | 30.4 | 28.1 | 24.8 | 66.3 | 58.3 | 48.0 | 22.6 | 17.0 | 11.4 | 33.1 | 30.8 | 26.9 |
| SPARQL | 8B | 70.6 | 60.8 | 49.4 | 28.8 | 22.6 | 15.4 | 45.6 | 36.9 | 31.0 | 74.4 | 64.2 | 52.6 | 34.8 | 27.4 | 19.7 | 49.9 | 40.6 | 33.6 |
| +GW | 8B | 76.6 | 62.2 | 50.6 | 30.6 | 22.9 | 15.8 | 55.8 | 41.1 | 34.8 | 79.5 | 64.9 | 52.9 | 35.1 | 26.4 | 20.0 | 59.5 | 44.5 | 37.5 |
| Model | Hotpot | MuSiQue | 2Wiki |
|---|---|---|---|
| Accuracy (pp) | |||
| 8B | |||
| 70B | |||
| Abstain (pp) | |||
| 8B | |||
| 70B | |||
| Method | 8B Acc | 8B Abs | 70B Acc | 70B Abs |
|---|---|---|---|---|
| Baseline | 31.4 | 46.0 | 48.8 | 34.8 |
| Generic CoT | 52.6 | 25.2 | 56.4 | 36.8 |
| SPARQL CoT | 45.6 | 21.6 | 61.0 | 30.6 |
| Routing | 58.4 | 14.2 | 66.4 | 26.8 |
| Accuracy (%) | Abstain (%) | |||||
|---|---|---|---|---|---|---|
| Dataset | 8B | 70B | 8B | 70B | ||
| HotpotQA | 79.8 | 78.0 | 1.0 | 5.6 | ||
| MuSiQue | 35.6 | 35.2 | 6.2 | 16.2 | ||
| 2WikiMHQA | 64.8 | 48.8 | 7.2 | 34.8 | ||
| Method | Model | Hot. | Mus. | 2Wi. | Avg |
|---|---|---|---|---|---|
| Base | 8B | ||||
| Base | 70B | ||||
| SPARQL | 8B | ||||
| SPARQL | 70B |
| Config | Hotpot | MuSiQue | 2Wiki |
|---|---|---|---|
| 8B Baseline | 84 | 73 | 80 |
| 70B + SPARQL CoT | 74 | 64 | 69 |
| HotpotQA | 2WikiMHQA | MuSiQue | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Model | Bri. | Comp. | Comp. | BrCmp. | Cmp. | Inf. | 2h | 3h | 4h |
| 8B | |||||||||
| 70B | |||||||||
| Dataset | Category | SPARQL+8B | Base+70B |
|---|---|---|---|
| Hotpot | Bridge (398) | ||
| Comparison (102) | |||
| 2Wiki | Composit. (205) | ||
| Br-Comp. (121) | |||
| Comparison (120) | |||
| Inference 00 (54) |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| All Questions | Covered Questions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Hotpot | MuSiQue | 2Wiki | Hotpot (450) | MuSiQue (374) | 2Wiki (417) | ||||||||||||||
| Method | Model | Acc | F1 | EM | Acc | F1 | EM | Acc | F1 | EM | Acc | F1 | EM | Acc | F1 | EM | Acc | F1 | EM |
| Base | 8B | 62.2 | 55.1 | 45.2 | 26.6 | 19.3 | 12.8 | 32.2 | 29.0 | 24.6 | 65.8 | 57.8 | 47.3 | 34.2 | 23.7 | 16.6 | 34.5 | 31.2 | 26.6 |
| +GW | 8B | 54.4 | 47.8 | 38.4 | 25.4 | 18.1 | 11.8 | 35.2 | 31.9 | 27.6 | 56.0 | 49.1 | 39.1 | 30.7 | 22.0 | 15.2 | 35.7 | 32.2 | 27.6 |
| SPARQL | 8B | 66.8 | 57.5 | 46.6 | 37.4 | 26.9 | 18.6 | 57.4 | 44.3 | 36.2 | 69.6 | 59.3 | 47.8 | 46.3 | 33.0 | 24.1 | 61.9 | 47.1 | 38.8 |
| +GW | 8B | 66.2 | 55.2 | 44.4 | 33.6 | 23.5 | 15.8 | 56.4 | 44.6 | 37.8 | 69.3 | 57.0 | 45.6 | 40.1 | 28.1 | 20.3 | 60.2 | 46.6 | 39.8 |