LatentMem: Customizing Latent Memory for Multi-Agent Systems
Muxin Fu, Guibin Zhang, Xiangyuan Xue, Yafu Li, Zefeng He, Siyuan Huang, Xiaoye Qu, Yu Cheng, Yang Yang
TL;DR
LatentMem introduces a learnable, role-aware memory framework for multi-agent systems that uses a lightweight experience bank and a learnable memory composer to distill raw interactions into compact latent memories. Trained end-to-end via Latent Memory Policy Optimization (LMPO), the system propagates task rewards through memories to improve agent reasoning without altering underlying architectures. Across six benchmarks and four MAS frameworks, LatentMem achieves substantial performance gains, improves generalization to unseen domains, and reduces token and inference costs, addressing memory homogenization and information overload. The approach promises robust, scalable memory customization for real-world MAS deployments, while highlighting ethical considerations and the importance of safeguards in powerful memory-enabled systems.
Abstract
Large language model (LLM)-powered multi-agent systems (MAS) demonstrate remarkable collective intelligence, wherein multi-agent memory serves as a pivotal mechanism for continual adaptation. However, existing multi-agent memory designs remain constrained by two fundamental bottlenecks: (i) memory homogenization arising from the absence of role-aware customization, and (ii) information overload induced by excessively fine-grained memory entries. To address these limitations, we propose LatentMem, a learnable multi-agent memory framework designed to customize agent-specific memories in a token-efficient manner. Specifically, LatentMem comprises an experience bank that stores raw interaction trajectories in a lightweight form, and a memory composer that synthesizes compact latent memories conditioned on retrieved experience and agent-specific contexts. Further, we introduce Latent Memory Policy Optimization (LMPO), which propagates task-level optimization signals through latent memories to the composer, encouraging it to produce compact and high-utility representations. Extensive experiments across diverse benchmarks and mainstream MAS frameworks show that LatentMem achieves a performance gain of up to $19.36$% over vanilla settings and consistently outperforms existing memory architectures, without requiring any modifications to the underlying frameworks.
