Reproduce “HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

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

About this paper

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

HippoRAG retrieves multi-hop evidence by building a knowledge graph across passages before queries arrive. An LLM extracts entities and relations, and retrieval encoders link similar concepts; Personalized PageRank propagates query cues through the graph to rank passages. On 2WikiMultiHopQA, it retrieves all supporting passages for 75.7% of queries at five passages, versus 37.1% for ColBERTv2, confined to this test.

Key insights

  • Neurobiological principles, specifically the hippocampal memory indexing theory, offer a robust framework for designing efficient long-term memory systems in AI.
  • Representing external knowledge as a dynamic, continuously updatable schemaless knowledge graph enables complex associative multi-hop reasoning within a single retrieval step.
  • Combining Large Language Models for fine-grained information extraction with graph-based traversal algorithms (Personalized PageRank) provides a highly efficient and effective alternative to iterative retrieval for multi-hop questions.

Summary by alphaXiv.

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