多智能体协作实现记忆自适应,提升长程推理精度与效率。
AMA: Adaptive Memory via Multi-Agent Collaboration
- 用多个智能体分工管理记忆,按任务复杂度动态调整检索粒度。
- 在长上下文任务中表现优于现有方法,令牌消耗减少约80%。
- 适合需要长期记忆一致性的复杂推理场景,如对话系统、智能助手。
大型语言模型(LLM)智能体的快速发展对稳健的记忆系统提出了更高要求,以支持连贯的长期交互和复杂推理。尽管大模型具备强大能力,但当前研究已从简单的上下文扩展转向专用的智能体记忆系统。然而,现有方法通常依赖固定的检索粒度、高累积量的维护策略以及粗粒度的更新机制,导致存储信息与任务需求不匹配,并随时间积累逻辑矛盾。为此,我们提出自适应记忆多智能体协作框架(AMA),通过协调多个智能体在多粒度下管理记忆。AMA采用分层记忆设计,动态对齐检索粒度与任务复杂度。构造者(Constructor)与检索者(Retriever)协同完成多粒度记忆构建与自适应查询路由;裁判者(Judge)验证检索内容的相关性与一致性,当证据不足时触发迭代检索,检测到逻辑冲突则调用刷新者(Refresher)进行针对性更新或删除过期条目。在多个挑战性长上下文基准测试中,AMA显著优于现有最优基线,相比全上下文方法减少约80%的令牌消耗,有效维持了检索精度与长期记忆一致性。
原文摘要 · Abstract (English)
The rapid evolution of Large Language Model (LLM) agents has necessitated robust memory systems to support cohesive long-term interaction and complex reasoning. Benefiting from the strong capabilities of LLMs, recent research focus has shifted from simple context extension to the development of dedicated agentic memory systems. However, existing approaches typically rely on rigid retrieval granularity, accumulation-heavy maintenance strategies, and coarse-grained update mechanisms. These design choices create a persistent mismatch between stored information and task-specific reasoning demands, while leading to the unchecked accumulation of logical inconsistencies over time. To address these challenges, we propose Adaptive Memory via Multi-Agent Collaboration (AMA), a novel framework that leverages coordinated agents to manage memory across multiple granularities. AMA employs a hierarchical memory design that dynamically aligns retrieval granularity with task complexity. Specifically, the Constructor and Retriever jointly enable multi-granularity memory construction and adaptive query routing. The Judge verifies the relevance and consistency of retrieved content, triggering iterative retrieval when evidence is insufficient or invoking the Refresher upon detecting logical conflicts. The Refresher then enforces memory consistency by performing targeted updates or removing outdated entries. Extensive experiments on challenging long-context benchmarks show that AMA significantly outperforms state-of-the-art baselines while reducing token consumption by approximately 80% compared to full-context methods, demonstrating its effectiveness in maintaining retrieval precision and long-term memory consistency.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。