[Paper Review] HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
HippoRAG introduces a neurobiologically inspired retrieval framework that uses a knowledge graph and Personalized PageRank to enable single-step multi-hop retrieval, improving accuracy and efficiency over standard RAG methods.
In order to thrive in hostile and ever-changing natural environments, mammalian brains evolved to store large amounts of knowledge about the world and continually integrate new information while avoiding catastrophic forgetting. Despite the impressive accomplishments, large language models (LLMs), even with retrieval-augmented generation (RAG), still struggle to efficiently and effectively integrate a large amount of new experiences after pre-training. In this work, we introduce HippoRAG, a novel retrieval framework inspired by the hippocampal indexing theory of human long-term memory to enable deeper and more efficient knowledge integration over new experiences. HippoRAG synergistically orchestrates LLMs, knowledge graphs, and the Personalized PageRank algorithm to mimic the different roles of neocortex and hippocampus in human memory. We compare HippoRAG with existing RAG methods on multi-hop question answering and show that our method outperforms the state-of-the-art methods remarkably, by up to 20%. Single-step retrieval with HippoRAG achieves comparable or better performance than iterative retrieval like IRCoT while being 10-30 times cheaper and 6-13 times faster, and integrating HippoRAG into IRCoT brings further substantial gains. Finally, we show that our method can tackle new types of scenarios that are out of reach of existing methods. Code and data are available at https://github.com/OSU-NLP-Group/HippoRAG.
Motivation & Objective
- Motivate long-term memory for LLMs beyond standard RAG by modeling hippocampal memory indexing.
- Propose a three-component HippoRAG system that builds and uses a schemaless knowledge graph as an artificial hippocampal index.
- Demonstrate single-step multi-hop retrieval with efficiency gains over iterative retrieval baselines.
- Show that HippoRAG improves multi-hop QA performance on MuSiQue and 2WikiMultiHopQA and complements IRCoT.
Proposed method
- Offline indexing converts passages into a schemaless knowledge graph via OpenIE using a strong instruction-tuned LLM.
- Add synonymy edges to the KG with a retrieval encoder when cosine similarity exceeds a threshold.
- Online retrieval extracts query entities with the LLM and links them to KG nodes using the retrieval encoder.
- Run Personalized PageRank on the KG with query nodes as seeds to produce a scored neighborhood.
- Aggregate PPR results over passages to obtain passage retrieval scores, with node specificity serving as a local IDF-like signal.
- Use PPR-based ranking to enable single-step multi-hop retrieval and compare against single-step and multi-step baselines.
Experimental results
Research questions
- RQ1Can a neurobiologically inspired KG and PPR retrieval achieve single-step multi-hop retrieval in LLM augmentation?
- RQ2How does HippoRAG perform on multi-hop QA benchmarks compared to standard RAG and IRCoT baselines?
- RQ3What is the impact of KG construction choices (OpenIE, synonym edges) and PPR variations on retrieval and QA performance?
- RQ4Can HippoRAG effectively handle path-finding multi-hop scenarios beyond standard path-following questions?
Key findings
- HippoRAG outperforms all baselines on MuSiQue and 2WikiMultiHopQA in single-step retrieval.
- HippoRAG achieves comparable or better performance than iterative retrieval like IRCoT while being 10–30x cheaper and 6–13x faster online.
- Combining HippoRAG with IRCoT yields additional gains on the same datasets.
- HippoRAG shows strong results on path-following multi-hop QA and promises on path-finding multi-hop QA.
- Ablations show node specificity and synonym edges contribute to performance; OpenIE quality significantly affects results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.