ArchRAG: Attributed Community-based Hierarchical Retrieval-Augmented Generation
About
Retrieval-Augmented Generation (RAG) has proven effective in integrating external knowledge into large language models (LLMs) for solving question-answer (QA) tasks. The state-of-the-art RAG approaches often use the graph data as the external data since they capture the rich semantic information and link relationships between entities. However, existing graph-based RAG approaches cannot accurately identify the relevant information from the graph and also consume large numbers of tokens in the online retrieval process. To address these issues, we introduce a novel graph-based RAG approach, called Attributed Community-based Hierarchical RAG (ArchRAG), by augmenting the question using attributed communities, and also introducing a novel LLM-based hierarchical clustering method. To retrieve the most relevant information from the graph for the question, we build a novel hierarchical index structure for the attributed communities and develop an effective online retrieval method. Experimental results demonstrate that ArchRAG outperforms existing methods in both accuracy and token cost.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Question Answering | NarrativeQA | BLEU-111.5 | 28 | |
| Reading Comprehension | QUALITY | Accuracy37.77 | 26 | |
| Question Answering | Multihop-RAG | Exact Match (EM)68.8 | 22 | |
| Reading Comprehension | Multihop-RAG | Accuracy60.64 | 16 | |
| Factual Question Answering | PopQA | Accuracy30.81 | 16 | |
| Multi-hop Question Answering | MuSiQue | Accuracy14.27 | 16 | |
| Question Answering | HotpotQA | Accuracy65.4 | 11 | |
| Retrieval-Augmented Generation Question Answering | RAG-QA Arena Lifestyle | Win Ratio0.495 | 4 | |
| Retrieval-Augmented Generation Question Answering | RAG-QA Arena Recreation | Win Ratio41.5 | 4 | |
| Retrieval-Augmented Generation Question Answering | RAG-QA Arena Science | Win Ratio56 | 4 |