What is GraphRAG? The Hybrid Approach Explained
How GraphRAG connects knowledge graphs with RAG, where the advantage is measurable and where it is not.
The problem with classic RAG
RAG (Retrieval Augmented Generation) is the standard way to give an LLM external knowledge:
- Documents are split into chunks and stored as vectors
- A question retrieves the most semantically similar chunk
- That chunk goes to the LLM as context
The limit of a single retrieval: relationships are not joined automatically.
Fictional, simplified example: The following details illustrate a query. Any inferred reason remains a hypothesis until the underlying sources are checked.
Ask "why is the Mozart Street deal stalled?" and the system has to connect:
- The Mozart Street deal is linked to the Mozart Street property
- That property is missing an energy certificate
- The certificate has been missing for 8 days
- The responsible provider has been contacted twice
That information is spread across several documents and records. A single Vector RAG retrieval does not join the fragments automatically; additional retrieval and synthesis logic can do so.
GraphRAG: the hybrid approach
Stage 1: entity extraction and graph building
Entities (customers, properties, deals, documents) and their relationships are extracted from your data and stored in a knowledge graph.
Stage 2: graph-augmented retrieval
- Entity recognition: "Mozart Street deal" is located in the graph
- Graph traversal: The system follows the edges (CONCERNS, MISSING, CONTACTED)
- Subgraph extraction: Only the relevant nodes and edges are pulled
- Context compression: That subgraph becomes compact text instead of whole documents
- LLM generation: The model answers from the selected context; completeness and correctness still need checking
What the measurements show
Many articles put figures like "3.4x more accurate" or "100x fewer tokens" here. Neither holds up. Here is what can be supported.
Classic RAG leads on plain fact retrieval. Table 2 of GraphRAG-Bench v1 reports, on the Novel dataset and its stated accuracy metric, 60.9 for RAG with reranking and 60.1 for HippoRAG2; Microsoft GraphRAG global appears in a separate row at 36.9. These are results for this dataset and these methods, not a universal ranking.
Chained questions reverse the order on the same Novel dataset. Table 2 of GraphRAG-Bench v1 reports 53.4 for HippoRAG2 and 42.9 for RAG with reranking. The difference is scoped to this task type, metric, and version.
The effect depends on the dataset and retriever configuration. HippoRAG v3 reports Recall@5 for ColBERTv2 versus HippoRAG using Contriever: 68.2 versus 89.5 on 2WikiMultiHopQA and 49.2 versus 52.1 on MuSiQue. This is not a controlled test of graph structure alone.
The token comparison is narrowly scoped too. Figure 8 of GraphRAG-Bench v1 reports average prompt tokens per query on the Novel dataset: 879 for V-RAG, 38,707 for Microsoft GraphRAG local, and 331,375 for Microsoft GraphRAG global. This setup establishes neither total operating cost nor a universal token rule.
Treat evaluation by a second language model with care. Zeng et al. v1, section 5.1, compared two identical LightRAG instances and the protocol produced a 90:10 split. The authors attribute it to position and single-trial bias.
Microsoft uses a second language model to judge several answer-quality dimensions in the cited study. Such model judgments depend on the protocol and do not establish a universal ranking.
Why compress at all?
The position of information in a context window can affect whether a model uses it. Liu et al. study this effect in long contexts; transfer depends on the model, task, and setup.
Less context means less room for the decisive fact to get buried.
Multi-hop reasoning
Questions requiring several jumps through the graph:
1 hop: "Which documents are missing for the Mozart Street deal?"
2 hops: "Which customers have deals with missing documents?"
3 hops: "Which notaries handle deals for customers from Hamburg?"
Vector RAG can also reach such answers through repeated retrieval. It needs suitable query and synthesis logic, and quality depends on the dataset, retriever, and evaluation.
When to use GraphRAG
| Use case | Vector RAG | GraphRAG |
|---|---|---|
| Document QA ("What does the contract say?") | Retrieve relevant passages | Combine passages and relationships |
| Looking up single facts | A suitable starting point | Weigh the added graph work |
| Relationship questions ("Who handles whom?") | Needs suitable orchestration | Can traverse explicit relationships |
| Aggregations ("How many deals are stalled?") | With suitable evaluation logic | With a suitable graph query |
| Diagnosis ("Why is deal X stalled?") | Needs evidence and gap handling | Can show a query path; cause still needs checking |
| CRM/ERP integration | Depends on the connector | Depends on the data model and connector |
Described Osiris target architecture
The Osiris target architecture described on this website proposes Neo4j for graph-based queries. Data scope, connectors, and operating status must be checked for each project.
- Data transfer: A project-specific connector can transfer approved CRM data into a graph model; scope and update behavior need prior verification.
- Schema design: A real-estate ontology (property, deal, customer, document, activity)
- Cypher queries: Graph queries tuned for the recurring questions
- MCP integration: The LLM queries Osiris through the Model Context Protocol
- Context compression: Subgraphs become compact prompts
Keep locally
Reading notes
Select a passage, add your thought and keep the note locally. Without an account or AI, the exact excerpt stays with its source.
Select a passage in the article. Your selection does not change the article.
Selected passage
No passage selected yet.
Saved notes
0No local reading note yet.
Frequently Asked Questions
Do I need GraphRAG if I only want to search documents?
For document search, Vector RAG is often a suitable starting point. Whether a graph also helps depends on the actual relationship questions, data, and quality requirements; either approach needs a separately built and verified CRM/ERP connector.
Is GraphRAG harder to implement?
Schema design and entity extraction add work. Whether that work is justified must be checked against the actual questions, data, and requirements.
Can I use GraphRAG without a persistent knowledge graph?
Some approaches build graph structures from documents at query time, while others use a persistent graph. The choice depends on factors such as updates, consistency, queries, and operating effort.
Sources
- When to use Graphs in RAG: A Comprehensive Analysis (GraphRAG-Bench) - Xiang et al., ICLR 2026 (2025)
- HippoRAG: Neurobiologically Inspired Long-Term Memory for LLMs - Gutiérrez et al., NeurIPS 2024 (2024)
- From Local to Global: A Graph RAG Approach to Query-Focused Summarization - Edge et al., Microsoft Research (2024)
- Lost in the Middle: How Language Models Use Long Contexts - Liu et al., TACL (2024)
- How Significant Are the Real Performance Gains? An Unbiased Evaluation Framework for GraphRAG - Zeng et al. (2025)
Use Cases
- Business Intelligence
- CRM Integration
- Process Diagnosis
- Multi-Source Analytics
Prerequisites
- Grundverständnis von RAG
- Basis Knowledge Graphs
Effort
MVP-Scope, iterativ erweiterbar