CoEvolve: Counterfactual-Guided Co-Evolution of Memory and Collaboration in Multi-Agent Systems
Organizations: State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China, Hefei, China
Abstract
Large language model (LLM)-based multi-agent systems have demonstrated remarkable capabilities across diverse tasks. Yet their memory and collaboration architectures often remain static, constraining continued adaptation and improvement over time. Recent work addresses this limitation by evolving memory or collaboration based on interaction experience. However, updates to these interdependent components are not necessarily aligned: an evolved workflow may require experience that memory does not provide, while evolved memory may encode guidance that the workflow cannot use. To address this problem, we propose CoEvolve, a skill-centered framework for aligned memory--collaboration evolution. CoEvolve represents reusable local collaboration patterns as skills that link evolving collaboration decisions to their supporting memories. It further compares original and counterfactual trajectories to identify local evolution signals, which coordinate updates to the skill library, skill memory, and executor memories across rounds. Experiments on the ALFWorld and WebShop benchmarks confirm that CoEvolve achieves the best overall performance among the evaluated baselines, while ablation studies further validate the effectiveness of aligned co-evolution and counterfactual-guided evolution.
Figures & tables
| Dataset | ALFWorld | WebShop | ||||||
|---|---|---|---|---|---|---|---|---|
| Method | Overall | put | clean | heat | cool | examine | puttwo | Score |
| DyLAN | ||||||||
| MemEvolve | ||||||||
| EvolveR | ||||||||
| AWM | ||||||||
| AutoGen-GMemory | ||||||||
| ALFWorld | WebShop | |||
| Setting | SR | Stages | Score | Stages |
| (a) Evolved components | ||||
| None | ||||
| Skill | ||||
| SMem | ||||
| EMem | ||||
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Sem. | Util. | Explor. | ALF. SR | WS Score |
|---|---|---|---|---|---|
| Default | 1.0 | 1.0 | 1.0 | 0.7985 | 0.7072 |
| Semantic | 0.5 | 1.0 | 1.0 | 0.7463 | 0.6732 |
| Semantic | 1.5 | 1.0 | 1.0 | 0.7687 | 0.6863 |
| Utility | 1.0 | 0.5 | 1.0 | 0.7388 | 0.6629 |
| Utility | 1.0 | 1.5 | 1.0 | 0.7612 | 0.6781 |
| Exploration | 1.0 | 1.0 | 0.5 | 0.7164 | 0.6748 |
| Round | Tokens | Time (s) |
|---|---|---|
| R1 | 4.286M | 6,090 |
| R2 | 3.704M | 5,238 |
| R3 | 3.746M | 5,295 |
| Avg. | 3.912M | 5,541 |
| Executor | Persona |
|---|---|
| Executor 1 | A calm and methodical thinker who brings structure to messy situations, surfaces implicit assumptions, and works carefully within defined boundaries. |
| Executor 2 | A steady and results-oriented contributor who turns direction into momentum, makes practical decisions, and keeps work moving without unnecessary overhead. |
| Executor 3 | A rigorous and independent-minded evaluator who pressure-tests ideas, notices fragile assumptions, and improves outcomes by identifying what may fail. |
Multi-Agent LLM Systems
Multi-agent large language model systems coordinate multiple AI agents to solve tasks through communication, specialization, shared tools, and memory.
See all 1,050 papers