cs.MAMar 13, 2026

Joint Optimization of Multi-agent Memory System

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

Organizations: University of Science and Technology of China · Institute of Dataspace, Hefei Comprehensive National Science Center

Abstract

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.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Tree-based Credit Assignment for Multi-Agent Memory System

    May 6, 2026Marina Mao, Alexandr Liu, Pengbo Li +3Credit AssignmentLong-Horizon LLM Agents

  2. CoMem: Collective-Individual Memory Synergy for Evolutionary Multi-Agent Systems

    Sep 14, 2026Chengxin Yu, Zhaoxin Fan, Faguo Wu +3Multi-Agent LLM SystemsMulti-Agent Collaboration

  3. AMA: Adaptive Memory via Multi-Agent Collaboration

    Jan 28, 2026Weiquan Huang, Zixuan Wang, Hehai Lin +6Long-Term Conversational MemoryMulti-Agent LLMs