What can GraphRAG answer that top-k vector retrieval structurally cannot, and when is the cost justified?
Describe what GraphRAG does differently from standard vector RAG, the class of questions it unlocks, and the conditions under which its higher build cost is worth paying.
GraphRAG pre-builds an entity graph, communities, and summaries so global "sensemaking" questions can map-reduce over the whole corpus — worth it only when those questions dominate a connected, stable corpus.
Imagine an analyst handed a whole filing cabinet and asked "what story do all these files tell together?" Plain search just pulls the few folders whose labels match your words — no help for a question about the whole cabinet. GraphRAG hires the analyst ahead of time: they read everything, map how the files connect, group them into related stacks, and write a one-page summary per stack. Later, the big-picture question gets answered by reading those summaries and stitching them together. The honest catch is that hiring the analyst to read the entire cabinet is expensive, and every time files change you pay them to re-read. So you only do it when people keep asking whole-cabinet questions, not when they just want one fact from one folder.
Detailed answer & concept explanation~6 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5-6 min: the local-operator limit of top-k, index-time versus query-time synthesis, the build economics, refresh as the operational killer, and the alternatives that change the build or skip decision.
Real products, models, and research that use this idea.
- Microsoft GraphRAG applied to research-corpus sensemaking, the use case its original write-up benchmarks.
- Incident-retrospective tooling that asks "what patterns recur across last quarter's outages" over a connected report set.
- Legal e-discovery where the question is about relationships and themes spanning thousands of connected documents.
What an interviewer would ask next. Try answering before peeking at the approach.
QWhen would a hierarchical summary tree beat full GraphRAG for global questions?
QHow do you keep a GraphRAG graph fresh on a corpus that changes daily?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Recommending GraphRAG as a default upgrade without sizing the build cost. On a churning corpus or a fact-lookup workload it burns tokens for capability nobody uses — the cheaper move is often query-focused summarization or long-context.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.