EMPIRICAL RESULTS · UPDATED DECEMBER 5, 2026

What Happened When We Replaced Vector Top-K With Graph Traversal & Hot Slots

By BrainDB Engineering · Verified over FastMCP SSE & Docker runs

Standard chunk embeddings work until a question crosses two files or a user updates an old rule three turns into a session. That is where pure cosine search drops clauses and forgets decisions.

Wiring Neo4j entity edges and a sub-15ms working-memory layer behind FastMCP produced these numbers across five suites: 89.5% on GraphRAG Bench (Novel), 87.4% on ZeroSets Atlas v0, 65.67% Recall@1 on LegalBench RAG, 75.83% on LongMemEval v2, and 93% (83/89 cases) on PrecisionMemBench v4.

GraphRAG Bench (Novel)
89.5%
+23.41 pts vs FalkorDB (66.09%)
ZeroSets Atlas v0
87.4%
+21.40 pts vs ZeroSets (66.00%)
LegalBench RAG (R@1)
65.67%
+60.73 pts vs 4.94% baseline
LongMemEval v2
75.83%
+6.53 pts vs Codex (69.30%)
PrecisionMemBench v4
93%
83/89 passed (+5.4 pts vs 87.6%)

Why does naive vector RAG miss multi-hop answers?

When someone asks which vendor owns liability after an amendment, plain embeddings rank text by surface wording. Usually that pulls Clause 9 from the original agreement and drops the two-line override buried in Exhibit C, which is why vector retrieval hit only 4.94% Recall@1 in our LegalBench RAG baseline while entity-linked graph retrieval reached 65.67% Recall@1.

Benchmark Suite Failure Mode Tested Judge / Model BrainDB Score Reference Baseline Gain (percentage pts)
GraphRAG Bench (Novel) Cross-chapter relational jumps across entities GPT-4o-mini 89.5% FalkorDB 66.09% +23.41 pts
ZeroSets Atlas v0 Schema discovery on messy unstructured files Gemini 2.5 Flash 87.4% ZeroSets 66.00% +21.40 pts
LegalBench RAG Pinpoint clause recall at Rank 1 GPT-4o-mini 65.67% 4.94% vector baseline +60.73 pts
LongMemEval v2 Remembering decisions across compacted runs GPT-5.6 Luna 75.83% OpenAI Codex 69.30% +6.53 pts
PrecisionMemBench v4 89 adversarial checks: belief updates, isolation, drift GPT-4o-mini 93% (83/89) Prior pipeline 87.6% +5.40 pts

Where the remaining 6 cases in PrecisionMemBench v4 broke

Any suite reporting 100% hides its edge cases. On PrecisionMemBench v4 over our FastMCP SSE gateway, 83 of 89 cases passed. The 6 misses showed up when ambiguous pronouns overlapped between adjacent turns inside the same project_id namespace without explicit entity grounding, or when soft temporal phrasing conflicted with explicit invalidation timestamps.

That failure mode is why BrainDB keeps deterministic working state (ACTIVE_TASK, USER_PREF) separate from semantic search (KNOWLEDGE). You shouldn't trust cosine distance to tell you whether Subtask 2.1 already finished.

Reproducing the setup on your own Neo4j instance

When your IDE points at BrainDB Cloud, nothing runs locally on your laptop. Extraction, HNSW lookup, and graph traversals go through FastMCP server dispatch (https://mcp.braindb.tech/mcp/sse) with your Encrypted Cloud Vault BYOK keys and either managed Aura storage or your own Neo4j instance (BYODB). Read the 31-tool developer docs or compare BrainDB Cloud vs. local transcript recorders.

npx braindb-mcp init --api-key bdb_live_YOUR_API_KEY
# Or install the Python package:
pip install braindb-mcp && braindb-mcp init --api-key bdb_live_YOUR_API_KEY

Benchmark FAQ

What score does BrainDB Cloud get on GraphRAG Bench (Novel)?

BrainDB Cloud hits 89.5% on GraphRAG Bench (Novel) using GPT-4o-mini difference-percentage scoring, beating FalkorDB's 66.09% score by 23.41 percentage points on cross-document relational questions.

How was PrecisionMemBench v4 tested?

We ran all 89 adversarial cases against our FastMCP SSE gateway with GPT-4o-mini, passing 83/89 (93%) across namespace isolation, superseded beliefs, recency ranking, and multi-turn drift.

Does using BYOK or my own Neo4j (BYODB) change retrieval quality?

Model choice matters. The benchmarks name the exact evaluator models (GPT-4o-mini, Gemini 2.5 Flash, GPT-5.6 Luna) because swapping extraction or reranker models in Encrypted Cloud Vault shifts accuracy and API cost directly, with 0% BrainDB markup.