arXiv:2604.12285cs.AI2026-04ACL被引 15

提出分层图结构记忆框架,解决大模型长期对话中信息更新与知识保留的矛盾。

GAM: Hierarchical Graph-based Agentic Memory for LLM Agents

论文配图:GAM: Hierarchical Graph-based Agentic Memory for LLM Agents
图 1 · 摘自论文原文
  • 将对话事件与主题网络分离,仅在语义变化时整合信息
  • 在LoCoMo和LongDialQA上推理准确率超越现有方法
  • 适合需要长期一致性交互的智能代理系统

为维持大语言模型代理的长期交互连贯性,必须平衡新信息获取与旧知识保留之间的冲突。当前统一流式记忆系统虽利于上下文更新,但易受临时噪声干扰;而离散结构化记忆虽具备强知识保留能力,却难以适应动态叙事演变。为此,我们提出GAM——一种分层图基代理记忆框架,通过显式解耦记忆编码与巩固过程,有效缓解快速感知上下文与稳定知识保留之间的矛盾。通过将正在进行的对话隔离于事件演进图中,并仅在语义发生转移时将其融入主题关联网络,该方法显著降低干扰并保持长期一致性。此外,引入图引导的多因素检索策略以提升上下文精度。在LoCoMo和LongDialQA上的实验表明,本方法在推理准确率与效率方面均持续优于现有最优基线。

原文摘要 · Abstract (English)

To sustain coherent long-term interactions, Large Language Model (LLM) agents must navigate the tension between acquiring new information and retaining prior knowledge. Current unified stream-based memory systems facilitate context updates but remain vulnerable to interference from transient noise. Conversely, discrete structured memory architectures provide robust knowledge retention but often struggle to adapt to evolving narratives. To address this, we propose GAM, a hierarchical Graph-based Agentic Memory framework that explicitly decouples memory encoding from consolidation to effectively resolve the conflict between rapid context perception and stable knowledge retention. By isolating ongoing dialogue in an event progression graph and integrating it into a topic associative network only upon semantic shifts, our approach minimizes interference while preserving long-term consistency. Additionally, we introduce a graph-guided, multi-factor retrieval strategy to enhance context precision. Experiments on LoCoMo and LongDialQA indicate that our method consistently outperforms state-of-the-art baselines in both reasoning accuracy and efficiency.

记忆机制对话系统图神经网络

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。