GraphRAG
A graph-enhanced retrieval-augmented generation project from Microsoft Research that combines knowledge graphs with RAG technology to provide structured context to large language models, improving comprehension of code and documentation.
Core Facts
The GraphRAG approach extracts entities and relationships from documents, stores them as nodes and edges in a graph database, and during retrieval first uses vector search to recall candidate nodes before performing multi-hop reasoning along the graph's edges.
The core of GraphRAG is integrating knowledge graphs into the traditional RAG pipeline, organizing information in the form of triples (two entities and their relationship).
GraphRAG performs hierarchical clustering of knowledge graphs via community detection algorithms (such as the Leiden algorithm) to generate community summaries at different levels of granularity.
Timeline (last 90 days)
GraphRAG enables global discovery across large-scale corpora, capturing key information that traditional RAG completely misses.
GraphRAG has broad application prospects in areas such as financial analysis, legal research and academic literature review.
GraphRAG implementations have already appeared in the open-source community.
GraphRAG captures multi-hop relationships between entities through graph structure, thereby discovering deep connections.
Microsoft's Discovery system is a product of GraphRAG's generational evolution, sitting at the intersection of frontier research and real customer applications.
GraphRAG Gen 1 was a proof of concept, while Gen 2 and Gen 3 are devoted to integrating it into products.
In the healthcare example shown in the video, GraphRAG correctly identifies and links the newly FDA-approved treatment, while conventional RAG based on the same corpus completely misses this finding.
SCorPion uses GraphRAG to extract chat strategies from diverse text corpora and guide the model to switch styles according to human principles.
Community detection is a classic task in graph analysis, and GraphRAG commonly uses the Leiden algorithm to perform hierarchical partitioning on the knowledge graph to obtain multi-level communities.
The indexing stage of GraphRAG requires a large number of LLM calls and is significantly more costly than naive RAG, so it is more suitable for scenarios where the corpus is relatively stable and global summarization is needed.
40 more timeline events
All Facts (20)
The GraphRAG approach extracts entities and relationships from documents, stores them as nodes and edges in a graph database, and during retrieval first uses vector search to recall candidate nodes before performing multi-hop reasoning along the graph's edges.
90%VerifiedThe core of GraphRAG is integrating knowledge graphs into the traditional RAG pipeline, organizing information in the form of triples (two entities and their relationship).
90%VerifiedGraphRAG performs hierarchical clustering of knowledge graphs via community detection algorithms (such as the Leiden algorithm) to generate community summaries at different levels of granularity.
90%VerifiedGraphRAG organizes code knowledge by constructing a knowledge graph that uses functions, classes, and modules as nodes, and call relationships, inheritance relationships, and dependency relationships as edges.
75%VerifiedRAG(检索增强生成)是一种结合信息检索与生成式大模型的架构范式,模型生成答案前先根据用户查询从外部知识库检索最相关的文档片段,再将其作为上下文注入模型
70%VerifiedTraditional RAG relies on chunk-based retrieval, splitting documents into segments and returning the most relevant passages through vector similarity matching, which cannot capture logical relationships and causal chains between entities.
65%VerifiedMicrosoft's 2024 research experiments demonstrated that GraphRAG significantly outperforms standard RAG on global questions requiring synthesis and reasoning across multiple documents, but with increased index construction costs and query latency.
65%VerifiedMicrosoft proposed GraphRAG in 2024, which represents an exploration in the direction of graph-based memory.
65%VerifiedThe GraphRAG architecture compensates for the limitations of pure vector retrieval by explicitly modeling character relationships and event causal chains through knowledge graphs.
65%VerifiedMicrosoft Research published the GraphRAG paper in 2024, demonstrating that GraphRAG significantly improves accuracy over traditional RAG when handling structured knowledge.
65%UnverifiedSkill Seeker的文档转Skills自动化方向与微软Research提出的GraphRAG思路相近
65%UnverifiedThe solution employs agentic retrieval to give the retrieval process active reasoning capabilities, and uses the Cypher query language to perform structured queries on the graph.
60%UnverifiedMicrosoft's research indicates that compared to the performance of traditional RAG on global questions, GraphRAG's answer comprehensiveness improved by approximately 50–70%.
60%UnverifiedGraphRAG Blueprint offers two retrieval modes—local mode and global mode—where local mode targets precise factual question answering and global mode is oriented toward cross-document synthesis and summarization.
60%UnverifiedMicrosoft's Discovery system is a product of GraphRAG's generational evolution, sitting at the intersection of frontier research and real customer applications.
50%UnverifiedGraphRAG captures multi-hop relationships between entities through graph structure, thereby discovering deep connections.
50%UnverifiedGraphRAG implementations have already appeared in the open-source community.
50%UnverifiedGraphRAG enables global discovery across large-scale corpora, capturing key information that traditional RAG completely misses.
50%UnverifiedGraphRAG Gen 1 was a proof of concept, while Gen 2 and Gen 3 are devoted to integrating it into products.
50%UnverifiedGraphRAG has broad application prospects in areas such as financial analysis, legal research and academic literature review.
50%