arXiv:2602.08369cs.AIcs.CL2026-02被引 1

让不同记忆方式的智能体快速对齐,只需13分钟且用不到5%算力。

MemAdapter: Fast Alignment across Agent Memory Paradigms via Generative Subgraph Retrieval

  • 用生成式子图检索器统一不同记忆范式,训练分两阶段完成。
  • 跨范式对齐仅需13分钟,性能优于原有检索器且计算成本低于5%。
  • 支持零样本融合,可直接插入现有智能体系统使用。

记忆机制是基于大模型的智能体核心组件,使智能体能在长上下文环境中进行推理与知识发现。现有智能体记忆系统通常局限于单一范式(如显式、参数化或隐式记忆),其检索方法与范式紧密耦合,阻碍了跨范式的泛化与融合。本文首次提出统一异构记忆范式的内存系统——MemAdapter,通过两阶段训练策略实现快速跨范式对齐:(1) 在统一内存空间中训练生成式子图检索器;(2) 通过对比学习微调轻量级对齐模块,适配未见记忆范式。该设计显著提升检索灵活性并大幅降低对齐成本。在三个公开评估基准上的实验表明,生成式子图检索器在三种记忆范式和多种智能体模型规模下均超越五种强基线系统。值得注意的是,MemAdapter在单张GPU上13分钟内完成跨范式对齐,性能优于原始检索器,且训练算力不足5%。此外,该方法实现了有效的零样本跨范式融合,具备作为即插即用解决方案的潜力。

原文摘要 · Abstract (English)

Memory mechanism is a core component of LLM-based agents, enabling reasoning and knowledge discovery over long-horizon contexts. Existing agent memory systems are typically designed within isolated paradigms (e.g., explicit, parametric, or latent memory) with tightly coupled retrieval methods that hinder cross-paradigm generalization and fusion. In this work, we take a first step toward unifying heterogeneous memory paradigms within a single memory system. We propose MemAdapter, a memory retrieval framework that enables fast alignment across agent memory paradigms. MemAdapter adopts a two-stage training strategy: (1) training a generative subgraph retriever from the unified memory space, and (2) adapting the retriever to unseen memory paradigms by training a lightweight alignment module through contrastive learning. This design improves the flexibility for memory retrieval and substantially reduces alignment cost across paradigms. Comprehensive experiments on three public evaluation benchmarks demonstrate that the generative subgraph retriever consistently outperforms five strong agent memory systems across three memory paradigms and agent model scales. Notably, MemAdapter completes cross-paradigm alignment within 13 minutes on a single GPU, achieving superior performance over original memory retrievers with less than 5% of training compute. Furthermore, MemAdapter enables effective zero-shot fusion across memory paradigms, highlighting its potential as a plug-and-play solution for agent memory systems.

智能体记忆机制快速对齐生成式检索

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