arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.12631cs.MA
收藏

多智能体记忆系统的联合优化

Joint Optimization of Multi-agent Memory System

University of Science and Technology of China(中国科学技术大学);Institute of Dataspace, Hefei Comprehensive National Science Center(合肥综合性国家科学中心数据空间研究院)

Wenyu Mao, Haoyang Liu, Haosong Tan, Yaorui Shi, Jiancan Wu, An Zhang, Xiang Wang

AI总结:

本文提出CoMAM框架,通过端到端强化学习和自适应信用分配机制,解决多智能体记忆系统中代理间依赖性和协作优化问题,实验表明其优于现有方法。

摘要:

记忆系统对大语言模型至关重要,可缓解上下文窗口限制并支持长周期用户-LLM交互。此类系统通常由多个代理负责记忆构建和检索。现有方法通常在共享全局目标下独立优化每个代理(例如下游问答准确率),将其他代理视为静态环境。然而,这种设计存在两个关键限制:(1)独立优化忽略了代理间的依赖关系,缺乏代理间的协同适应;(2)仅依赖稀疏全局奖励对优化专用代理提供有限指导,导致信用分配模糊。这些可能最终限制记忆系统中代理的有效协作。为了解决这些限制,我们提出CoMAM,一种联合优化框架,通过端到端强化学习和自适应信用分配机制促进代理间的协作。具体而言,我们将多代理流水线建模为马尔可夫决策过程(MDP)以在端到端训练中暴露代理间的依赖关系。然后使用本地任务奖励和自适应加权全局奖励的组合对代理进行联合优化,使代理在接收针对各自角色的针对性反馈的同时实现协同适应。实验表明,CoMAM在多个指标上均优于现有记忆系统,验证了联合优化框架的有效性。

英文摘要:

Memory systems are critical for LLMs, mitigating context window limitations and supporting long-horizon user-LLM interactions. Such systems typically comprise multiple agents responsible for memory construction and retrieval. Existing approaches often optimize each agent independently under a shared global objective (e.g., downstream QA accuracy), treating other agents as a static environment. However, this design has two key limitations: (1) independent optimization ignores inter-agent dependencies and lacks agents' co-adaptation, and (2) relying solely on sparse global rewards provides limited guidance for optimizing specialized agents and causes ambiguous credit assignment. These may ultimately limit agents' effective collaboration in the memory system. To address these limitations, we propose CoMAM, a joint optimization framework that promotes collaboration among agents via end-to-end reinforcement learning and an adaptive credit assignment mechanism. Specifically, we model the multi-agent pipeline as a Markov decision process (MDP) to expose inter-agent dependencies during end-to-end training. Agents are then jointly optimized using a combination of their local task reward and an adaptively weighted global reward, enabling agents to co-adapt while receiving targeted feedback for their respective roles. Experiments show that CoMAM consistently outperforms leading memory systems, validating the effectiveness of the joint optimization framework.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑