Graph-based RAG methods such as GraphRAG achieve strong global understanding by constructing hierarchical entity graphs, yet their LLM-heavy indexing and pre-defined query workflows hinder efficient deployment. We propose E^2GraphRAG, a streamlined graph-based RAG framework that advances the empirical Pareto frontier of Efficiency and Effectiveness. In the indexing stage, E^2GraphRAG utilizes large language models to generate a hierarchical summary tree and lightweight NLP tools to construct an entity graph from document chunks, with bidirectional indexes linking entities and chunks for efficient lookup. In the retrieval stage, the graph structure filters related entities, while the bidirectional indexes map these entities to their corresponding chunks, supporting an adaptive mechanism that dynamically switches between local and global modes. Experiments on three long-document QA datasets with two backbone models show that E^2GraphRAG achieves up to 10 times faster indexing than GraphRAG while maintaining comparable QA performance, improving the observed indexing efficiency--QA effectiveness frontier under the evaluated settings. Our code is publicly available at https://github.com/YiboZhao624/E-2GraphRAG.
翻译:暂无翻译