AI
E²GraphRAG speeds up graph-based document search while keeping accuracy
Researchers propose a more efficient approach to retrieval-augmented generation that cuts indexing time by tenfold compared to existing methods.
A new framework called E²GraphRAG tackles a key performance bottleneck in graph-based retrieval systems: the time it takes to prepare documents for search. While existing tools like GraphRAG excel at understanding complex document relationships through hierarchical entity networks, they require extensive language-model processing during setup, making them slow and resource-intensive.
The efficiency challenge#
Graph-based retrieval-augmented generation (RAG) methods construct hierarchical networks of entities—concepts and relationships extracted from documents—to enable nuanced question-answering. However, this rich indexing stage, which builds the entity graphs and prepares the system, is computationally expensive because it relies heavily on large language models. Additionally, existing workflows use fixed query strategies that don't adapt to different information needs.
How E²GraphRAG works differently#
The new approach streamlines the indexing phase through a hybrid strategy. During preparation, it uses language models to generate hierarchical summaries but switches to lightweight natural language processing tools to construct the entity graph from document chunks. Crucially, the system maintains dual indexes linking entities bidirectionally to their source chunks, enabling rapid lookups without redundant processing.
At query time, E²GraphRAG's adaptive retrieval mechanism dynamically selects between two modes: a local approach for focused questions about specific topics, and a global mode when answering requires broader contextual understanding. The graph structure filters candidate entities before mapping them back to document chunks, keeping retrieval both targeted and efficient.
Experimental results#
Testing across three long-document question-answering datasets using two different underlying models, E²GraphRAG achieved indexing speeds up to 10 times faster than GraphRAG while sustaining comparable answer quality. The researchers report that this advance effectively moves the efficiency-effectiveness trade-off frontier forward, delivering better performance-per-unit-compute for document-based question-answering systems.

