2025-02-21 · 专家 · 自然语言处理 · 机器学习

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

该论文提出了一种名为HippoRAG 2的框架,通过结合个性化PageRank算法、更深入的段落集成和更有效的LLM在线使用,提高了大语言模型在事实、理解和关联记忆任务上的表现,使其更接近人类长期记忆的效果。

更新于 2025-07-18。作者:Bernal Jiménez Gutiérrez、Yiheng Shu、Weijian Qi、Sizhe Zhou、Yu Su。

中文摘要

我们持续获取、组织和利用知识的能力是人类智能的关键特征,AI系统必须接近这一特征才能充分发挥其潜力。鉴于在大规模语言模型(LLMs)中持续学习的挑战,检索增强生成(RAG)已成为引入新信息的主要方式。然而,其对向量检索的依赖阻碍了其模拟人类长期记忆动态和互联特性的能力。最近的RAG方法通过添加各种结构,如知识图谱,来增强向量嵌入,以解决一些这些差距,特别是意义构建和关联性。然而,它们在更基本的实际记忆任务上的表现大幅低于标准RAG。我们解决了这种意外下降,并提出了HippoRAG 2,这是一个框架,在事实、意义构建和关联记忆任务上全面优于标准RAG。HippoRAG 2建立在HippoRAG中使用的个性化PageRank算法之上,并通过更深入的段落集成和更有效的LLM在线使用来增强它。这种组合使RAG系统更接近人类长期记忆的有效性,在关联记忆任务上实现了相对于最先进嵌入模型的7%的改进,同时展现出卓越的事实知识和意义构建记忆能力。这项工作为LLMs的无参数持续学习铺平了道路。我们的代码和数据将在https://github.com/OSU-NLP-Group/HippoRAG上发布。

英文摘要

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. Our code and data will be released at https://github.com/OSU-NLP-Group/HippoRAG.

解读

一句话总结

该论文提出了一种名为HippoRAG 2的框架,通过结合个性化PageRank算法、更深入的段落集成和更有效的LLM在线使用,提高了大语言模型在事实、理解和关联记忆任务上的表现,使其更接近人类长期记忆的效果。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt