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 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.
RAG(检索增强生成)是一种结合信息检索与生成式大模型的架构范式,模型生成答案前先根据用户查询从外部知识库检索最相关的文档片段,再将其作为上下文注入模型
Timeline (last 90 days)
The system encapsulates three retrieval tools: hybrid vector retrieval, entity lookup, and path synthesis.
The intent router classifies user requests into one of four execution paths: vector_search, entity_lookup, path_synthesis, or general.
TRACE outperforms vanilla RAG (Retrieval-Augmented Generation) and general-purpose GraphRAG.
Vex's future roadmap includes introducing Rust as a chunking engine for more advanced sub-chunking, adding global GraphRAG to improve cross-file associative retrieval, and supporting more programming languages.
GraphRAG requires a dedicated entity extraction pipeline, graph schema design, and a synchronization mechanism between graph updates and vector indexes, resulting in high engineering complexity.
GraphRAG shows significant improvement over traditional RAG on multi-hop reasoning questions.
Existing RAG and GraphRAG methods over-rely on lexical or semantic similarity and neglect the normative relationships between legal provisions.
The test case generation solution is divided into five progressive levels: a single agent plus prompt achieves only approximately 30% coverage, a workflow approach can achieve approximately 80% coverage, and an exploratory learning approach can achieve over 90% coverage.
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 combined vector-plus-graph approach is the core driver behind the rise of the GraphRAG direction in recent years.
25 more timeline events
All Facts (20)
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).
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.
80%VerifiedRAG(检索增强生成)是一种结合信息检索与生成式大模型的架构范式,模型生成答案前先根据用户查询从外部知识库检索最相关的文档片段,再将其作为上下文注入模型
70%VerifiedThe 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.
65%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%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%UnverifiedGraphRAG 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.
60%UnverifiedThe intent router classifies user requests into one of four execution paths: vector_search, entity_lookup, path_synthesis, or general.
50%UnverifiedThe system encapsulates three retrieval tools: hybrid vector retrieval, entity lookup, and path synthesis.
50%UnverifiedTRACE outperforms vanilla RAG (Retrieval-Augmented Generation) and general-purpose GraphRAG.
50%UnverifiedGraphRAG requires a dedicated entity extraction pipeline, graph schema design, and a synchronization mechanism between graph updates and vector indexes, resulting in high engineering complexity.
50%UnverifiedGraphRAG shows significant improvement over traditional RAG on multi-hop reasoning questions.
50%UnverifiedExisting RAG and GraphRAG methods over-rely on lexical or semantic similarity and neglect the normative relationships between legal provisions.
50%UnverifiedThe test case generation solution is divided into five progressive levels: a single agent plus prompt achieves only approximately 30% coverage, a workflow approach can achieve approximately 80% coverage, and an exploratory learning approach can achieve over 90% coverage.
50%