# HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models

- **ID:** 665
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2405.14831
- **Authors:** Bernal Jiménez Gutiérrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga, Yu Su
- **Venue:** arXiv / NeurIPS 2024
- **Published:** 2024
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **License:** MIT (github.com/OSU-NLP-Group/HippoRAG)
- **License family:** Permissive (auto-classified)
- **Tags:** hipporag, rag, knowledge-graph, pagerank, neurips-2024, osu, x
- **Topics:** RAG, knowledge graphs, long-term memory
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/665

## Summary

NeurIPS 2024 (cite Gutiérrez et al.; arXiv 2405.14831). Hippocampal indexing: LLM extracts a schemaless KG (neocortex), Personalized PageRank spreads activation from query entities (hippocampus) for single-step multi-hop retrieval. Up to +20% vs then-SOTA RAG on multi-hop QA; single-step HippoRAG matches or beats iterative IRCoT at 10–30× cheaper and 6–13× faster; combining them helps further. Also handles integration scenarios existing RAG misses. Discord/X is a 2026 hype recap by @N01ennn quoting their “How to be a Memory Engineer” X article (Stanford/Microsoft/Anthropic/Nvidia lenses); the substantial artifact is this 2024 paper. MIT code OSU-NLP-Group/HippoRAG. OSU + Stanford.

## Attributes

- **Purpose:** Index a corpus as a schemaless KG and retrieve with Personalized PageRank so one cue completes a multi-hop memory
- **Scale:** GitHub 3,942 stars / 417 forks at check. Python. Recap tweet ~293 likes / 39 retweets / ~32k views; quoted article tweet ~486 likes / ~682k views at fetch.
- **Time period:** arXiv 2024-05-23. NeurIPS 2024. Repo created 2024-05-23; pushed 2026-07-29. Recap tweet 2026-08-07. Discord posted 2026-08-08.
- **Author type:** human

## From the source (fetched 2026-10-03)

- **Published:** May 23, 2024 (arXiv)
- **Last revised:** Jan 14, 2025 (arXiv)
- **arXiv categories:** cs.CL, cs.AI (arXiv)
- **Author comment:** NeurIPS 2024. Code and data: https://github.com/OSU-NLP-Group/HippoRAG (arXiv)
- **Citations:** 392 (34 influential) (Semantic Scholar)
- **References:** 97 (Semantic Scholar)
- **Published in:** Neural Information Processing Systems (Semantic Scholar)

## Abstract

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.

## Research notes

- Primary: arxiv abs 2405.14831 (NeurIPS 2024). Discord/X https://x.com/N01ennn/status/2085758307495498103 via fxtwitter (third-party recap quoting X article https://x.com/N01ennn/status/2083971749079581120, id 2083965152056033281). Code https://github.com/OSU-NLP-Group/HippoRAG (MIT). Distinct from papers_local 541 (MeMo, which cites HippoRAG). Retrieval framework, not a new hosted corpus, so no datasets_local row.

## Cites, within this collection

- [From Local to Global: A Graph RAG Approach to Query-Focused Summarization](https://papers.projxon.ai/entries/572) (paper 2024, #572)

## Similar entries

- [MeMo: Memory as a Model](https://papers.projxon.ai/entries/522) (paper, #522)
- [Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory](https://papers.projxon.ai/entries/549) (paper, #549)
- [Reaching 1B context length with RAG](https://papers.projxon.ai/entries/1112) (post, #1112)
- [PageIndex: Vectorless, Reasoning-based RAG](https://papers.projxon.ai/entries/643) (code, #643)
- [Dynamic Linear Attention](https://papers.projxon.ai/entries/489) (paper, #489)
- [Cohere Embed 5 (Pro and Fast embeddings family)](https://papers.projxon.ai/entries/816) (model, #816)
