HackerPapers

arXiv:2405.14831cs.CL

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

Bernal Jiménez Gutiérrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga, Yu Su

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.

arXiv comments
NeurIPS 2024. Code and data: https://github.com/OSU-NLP-Group/HippoRAG
Journal reference
DOI
Subjects
cs.CLComputation and Language cs.AIArtificial Intelligence

On Hacker News

Linked by 3 identifiable commenters in 3 comments across 3 threads, from Jan 2025 to Apr 2026. Found in 2 HN submissions from Jan 2025 to Feb 2025. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

    • hmm the repo doesnt mention this at all but this name and problem domain brings up HippoRAG https://arxiv.org/abs/2405.14831 <- any relation? seems odd to miss out this exactly similarly named paper with related techniques.

      swyxView on HNParent context

    • > HippoRAG [..] builds a KG from scratch using LLMs and performs multi-hop retrieval without any supervision They use GPT-3.5 Turbo[0] for entity extraction when populating the knowledge graph. Curious how well GPT-4/Claude would do here? [0]https://arxiv.org/html/2405.14831v3#A3

      jumploopsView on HNParent context

    • You might be interested in HippoRAG [1] which takes a graph-based approach similar to what you’re suggesting here. [1]: https://arxiv.org/abs/2405.14831

      jsennView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.