Loading...
Graph RAG(GRAG)
Knowledge graph-enhanced RAG using entity relationships and community detection for global sensemaking queries
π― 30-Second Overview
Pattern: Knowledge graph-based RAG with community detection and hierarchical summarization for large-scale reasoning
Why: Enables complex multi-hop reasoning and relationship understanding through structured graph traversal
Key Insight: Microsoft's approach uses community detection algorithms to create hierarchical summaries for global and local reasoning
β‘ Quick Implementation
π Do's & Don'ts
π¦ When to Use
Use When
- β’ Complex multi-hop reasoning requiring entity relationship understanding
- β’ Knowledge-intensive domains with rich interconnected information
- β’ Enterprise data with well-defined entity schemas and relationships
- β’ Fact-checking and verification requiring structured evidence paths
- β’ Large-scale knowledge bases needing hierarchical summarization
Avoid When
- β’ Simple factual queries adequately served by document-based RAG
- β’ Domains with poor entity extraction and relation modeling quality
- β’ Real-time applications with strict latency requirements
- β’ Small datasets where graph complexity exceeds retrieval benefits
- β’ Applications lacking well-defined entity schemas or ontologies
π Key Metrics
π‘ Top Use Cases
References & Further Reading
Deepen your understanding with these curated resources
Foundational Papers & Microsoft GraphRAG
From Local to Global: A Graph RAG Approach to Query-Focused Summarization (Edge et al., 2024)
GraphRAG: Unlocking LLM Discovery on Narrative Private Data (Microsoft Research, 2024)
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (Lewis et al., 2020)
Knowledge Graph-Enhanced Large Language Models via Path Selection (Wang et al., 2023)
Community Detection & Graph Algorithms
Contribute to this collection
Know a great resource? Submit a pull request to add it.
Graph RAG(GRAG)
Knowledge graph-enhanced RAG using entity relationships and community detection for global sensemaking queries
π― 30-Second Overview
Pattern: Knowledge graph-based RAG with community detection and hierarchical summarization for large-scale reasoning
Why: Enables complex multi-hop reasoning and relationship understanding through structured graph traversal
Key Insight: Microsoft's approach uses community detection algorithms to create hierarchical summaries for global and local reasoning
β‘ Quick Implementation
π Do's & Don'ts
π¦ When to Use
Use When
- β’ Complex multi-hop reasoning requiring entity relationship understanding
- β’ Knowledge-intensive domains with rich interconnected information
- β’ Enterprise data with well-defined entity schemas and relationships
- β’ Fact-checking and verification requiring structured evidence paths
- β’ Large-scale knowledge bases needing hierarchical summarization
Avoid When
- β’ Simple factual queries adequately served by document-based RAG
- β’ Domains with poor entity extraction and relation modeling quality
- β’ Real-time applications with strict latency requirements
- β’ Small datasets where graph complexity exceeds retrieval benefits
- β’ Applications lacking well-defined entity schemas or ontologies
π Key Metrics
π‘ Top Use Cases
References & Further Reading
Deepen your understanding with these curated resources
Foundational Papers & Microsoft GraphRAG
From Local to Global: A Graph RAG Approach to Query-Focused Summarization (Edge et al., 2024)
GraphRAG: Unlocking LLM Discovery on Narrative Private Data (Microsoft Research, 2024)
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (Lewis et al., 2020)
Knowledge Graph-Enhanced Large Language Models via Path Selection (Wang et al., 2023)
Community Detection & Graph Algorithms
Contribute to this collection
Know a great resource? Submit a pull request to add it.