From RAG to Memory: Non-Parametric Continual Learning for Large Language Models

Bernal Jiménez Gutiérrez, Yiheng Shu, Weijian Qi, Sizhe Zhou, Yu Su

arXiv:2502.14802 · 2026-07-27 공개 · arXiv · PDF

large-language-models continual-learning retrieval-augmented-generation long-term-memory associative-memory hippo-rag non-parametric-learning personalized-pagerank

Abstract

Our ability to continuously acquire, organize, and leverage knowledge is a key feature of human intelligence that AI systems must approximate to unlock their full potential. Given the challenges in continual learning with large language models (LLMs), retrieval-augmented generation (RAG) has become the dominant way to introduce new information. However, its reliance on vector retrieval hinders its ability to mimic the dynamic and interconnected nature of human long-term memory. Recent RAG approaches augment vector embeddings with various structures like knowledge graphs to address some of these gaps, namely sense-making and associativity. However, their performance on more basic factual memory tasks drops considerably below standard RAG. We address this unintended deterioration and propose HippoRAG 2, a framework that outperforms standard RAG comprehensively on factual, sense-making, and associative memory tasks. HippoRAG 2 builds upon the Personalized PageRank algorithm used in HippoRAG and enhances it with deeper passage integration and more effective online use of an LLM. This combination pushes this RAG system closer to the effectiveness of human long-term memory, achieving a 7% improvement in associative memory tasks over the state-of-the-art embedding model while also exhibiting superior factual knowledge and sense-making memory capabilities. This work paves the way for non-parametric continual learning for LLMs. Code and data are available at https://github.com/OSU-NLP-Group/HippoRAG.

한국어 요약

한 줄 요약

HippoRAG 2는 인간 장기 기억의 동적 구조를 반영한 RAG 시스템으로, 7%의 연관 기억 성능 향상을 달성한다.

핵심 기여도

핵심 아이디어

기존 RAG 시스템은 벡터 기반 검색에 의존해 인간의 장기 기억과 같은 동적이고 연결된 구조를 모방하지 못한다. HippoRAG 2는 인간 뇌의 기억 형성 방식을 모방한 Personalized PageRank 알고리즘을 기반으로, 패스지 간의 관계를 그래프 구조로 표현하고 이를 기반으로 다중 훅 추론을 수행한다. 특히, 쿼리 기반의 컨텍스트화를 강화하여, KG 트리플 선택 과정에 쿼리를 깊이 참여시키고, 온라인 검색 과정에서 LLM을 활용해 불필요한 트리플을 필터링한다. 이는 단순한 벡터 검색을 넘어, 의미적 연결성을 강화하는 데 기여한다.

기술적 접근법

주요 결과

의의 및 한계

HippoRAG 2는 인간의 장기 기억 구조를 반영한 RAG 시스템으로, 기존 RAG의 단순 벡터 검색에 의존한 한계를 극복하고, 의미적 연결성을 강화한 첫 시도이다. 특히, 연관 기억, 사실 기억, 의미 생성 기억을 모두 포괄적으로 개선한 점에서 학술적 의의가 크다. 그러나, 모든 RAG 시스템과 마찬가지로, 패스지의 질과 수량에 크게 의존하며, 대규모 KG 구축에 필요한 계산 비용이 높다는 한계가 있다. 또한, 쿼리 기반 필터링 과정에서의 오류 가능성도 남아 있다.

실용적 활용

HippoRAG 2는 대규모 지식 기반을 필요로 하는 법률, 의료, 연구 분야에서 지속 학습을 지원하는 RAG 시스템으로 활용 가능하다. 특히, 다중 훅 추론이 필요한 복잡한 QA 시나리오에서 유용하며, 개방형 및 프로퍼티 LLM 모두에서 사용할 수 있어 산업 현장에서의 유연한 적용이 가능하다.