Manuscript Offprint

arXiv:2610.07376

MemCo: Memory-Centric Collaboration for Generalizing LLM Agents to Unseen Environments

Xinting Liao, Siyan Liu, Rabab K. Ward, Holger R. Roth, Xiaoxiao Li

UBC VECTOR INSTITUTE INSTITUT VECTEUR

NVIDIA

MemCo: Memory-Centric Collaboration for Generalizing LLM Agents to Unseen Environments

Xinting Liao 1,2,†^{1,2,\dagger}, Siyan Liu 1,†^{1,\dagger}, Rabab K. Ward 1^{1}, Holger R. Roth 3,∗^{3,*}, Xiaoxiao Li 1,2,∗^{1,2,*}

1^{1}The University of British Columbia, Vancouver, BC, Canada

2^{2}Vector Institute, Toronto, ON, Canada

3^{3}NVIDIA, Santa Clara, CA, USA

†^{\dagger}Equal contribution.

*Corresponding authors: holger@nvidia.com, xiaoxiao.li@ece.ubc.ca

Abstract

Large language model (LLM) agents increasingly operate in interactive environments, where they need to make sequential decisions through observation, action, and feedback. Although memory can help agents reuse experience, existing work designs memory in isolation, where collecting enough trajectories to populate it is expensive. Existing shared-memory approaches mitigate isolated experience by pooling episodic memories across tasks and environments. However, retrieving shared memory is challenged by the granularity, where retrieved memories can be either too specific to preserve current grounding or too coarse to support the next action. In this work, we propose MemCo, a memory-centric collaboration framework for generalizing LLM agents to unseen interactive environments. It maintains complementary local and global memory spaces, preserving environment-specific details locally while promoting transferable workflows induced from local trajectories to global memory. During online interaction, MemCo routes relevant local and global memories in terms of the agent's current state and decision phase, enabling agents to reuse the experience of other agents without blindly transferring environment-specific details. Experiments on interactive decision-making benchmarks show that MemCo improves task success and reduces redundant exploration compared with isolate-memory and shared-memory baselines. Our codes are available at https://github.com/SYannL/nvdamas.

Figure

(a) Individual-Agent Interaction

(b) Familiar Layout

(c) Held-out Layout

Figure 1: (a) Memory-centric collaboration among independently acting agents: each agent preserves environment-specific local experience while contributing reusable experience to global memory for use across environments. (b) and (c) ALFWorld performance on familiar and held-out layouts, respectively, with Qwen3-32B. Markers and error bars denote the mean and standard deviation.

References (38)