Reproduce “Democratizing GraphRAG: Linear, CPU-Only Graph Retrieval for Multi-Hop QA” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Qizhi Wang

A CPU-only, linear-time, and token-free GraphRAG system, SPRIG, is introduced to enhance multi-hop question answering by leveraging entity-document co-occurrence graphs and Personalized PageRank. It demonstrates consistent improvements in Recall@10 over BM25 on HotpotQA and 2WikiMultiHopQA datasets, operating within a strict 4 GB RAM budget and without requiring GPUs or LLM-based graph construction.

Key insights

  • Effective multi-hop retrieval can be achieved using simple, entity-document co-occurrence graphs and Personalized PageRank without expensive LLM operations or dedicated GPU hardware.
  • Lightweight optimizations such as hub pruning and explicit seed mixing significantly reduce query time (16-28%) with negligible impact on retrieval quality.
  • The quality of initial seeds, derived from strong lexical (BM25) or dense retrievers, is crucial for effective graph propagation, outperforming seeding based solely on query entities.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.