PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 24, 2024140 citationsOpen Access

From Local to Global: A Graph RAG Approach to Query-Focused Summarization

View Full Paper
DEDarren EdgeHTHa TrinhNCNewman Cheng

Key Points

Key points are not available for this paper at this time.

Abstract

The use of retrieval-augmented generation (RAG) to retrieve relevant information from an external knowledge source enables large language models (LLMs) to answer questions over private and/or previously unseen document collections. However, RAG fails on global questions directed at an entire text corpus, such as "What are the main themes in the dataset?", since this is inherently a query-focused summarization (QFS) task, rather than an explicit retrieval task. Prior QFS methods, meanwhile, fail to scale to the quantities of text indexed by typical RAG systems. To combine the strengths of these contrasting methods, we propose a Graph RAG approach to question answering over private text corpora that scales with both the generality of user questions and the quantity of source text to be indexed. Our approach uses an LLM to build a graph-based text index in two stages: first to derive an entity knowledge graph from the source documents, then to pregenerate community summaries for all groups of closely-related entities. Given a question, each community summary is used to generate a partial response, before all partial responses are again summarized in a final response to the user. For a class of global sensemaking questions over datasets in the 1 million token range, we show that Graph RAG leads to substantial improvements over a na\"ive RAG baseline for both the comprehensiveness and diversity of generated answers. An open-source, Python-based implementation of both global and local Graph RAG approaches is forthcoming at https://aka.ms/graphrag.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Edge et al. (2024) studied this question.

synapsesocial.com/papers/68e6dc0eb6db643587657d6bhttps://doi.org/10.48550/arxiv.2404.16130
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1GraphRAG for Context-Aware Question Answering2026
  2. 2GraphRAG for Context-Aware Question Answering2026
  3. 3GraphRAG In The Field Of General Question Answering: A Survey2026
  4. 4GraphRAG In The Field Of General Question Answering: A Survey2026
  5. 5LeanRAG: Knowledge-Graph-Based Generation with Semantic Aggregation and Hierarchical Retrieval2025