EVOCHAMBER: Test-Time Co-evolution of Multi-Agent System at Individual, Team, and Population Scales

Yaolun Zhang, Tianyi Xu, Shengyu Dai, Zhenwen Shao, Qingyun Wu, Huazheng Wang

TL;DR

Deploying a swarm of AI agents shouldn't look like cloning a single worker twenty times; it should look like cultivating a living ecosystem. EVOCHAMBER is a training-free framework that lets a pool of identical LLM agents co-evolve on the fly—adapting who teams up, how they collaborate, and how knowledge flows across the group. Without updating a single model weight, a blank-slate crowd spontaneously differentiates into specialized experts that crush complex math and coding tasks.

What Problem Does This Paper Address?

When we deploy multi-agent systems (MAS) on a continuous stream of tasks, we want them to get smarter with experience. Currently, researchers trying to make agents learn at test-time (inference time, without expensive retraining) fall into one of two traps:

  1. Isolated diaries: Each agent keeps its own private memory of past mistakes. This forfeits collective learning—if Agent A figures out a great debugging trick, Agent B never hears about it.
  2. The megaphone problem: Every lesson learned is broadcast symmetrically to all agents. While everyone learns, everyone ends up with the exact same memory, erasing the diversity and specialization that make teamwork valuable in the first place.

Meanwhile, methods that optimize how agents interact usually rely on reinforcement learning or offline search, freezing the system before deployment. The authors ask: How can a multi-agent system continuously evolve at test time, across shifting domains, without any gradient updates?

Methods

The authors recognize that a multi-agent system has a much richer evolvable state than a single agent. EVOCHAMBER orchestrates evolution across three distinct scales simultaneously:

Figure 1: Overview of EVOCHAMBER. Starting from a pool of N identically initialized agents (individual level), a niche-conditioned selector assigns three functional roles, anchor, complement, and scout, and a leader-learned policy selects one of four collaboration structures. The team outcome is attributed as a shared reward (team level, intra-task). Between tasks, asymmetric transfer (CODREAM) routes insights from high-fitness to deficit agents, and lifecycle operators fork, merge, prune, and seed new agents to edit pool composition (population level, inter-task).
  • Individual Level (Private Memory & Competence): Starting from $N=20$ identical agents, each participant builds a private archive of task-specific lessons and cross-domain meta-insights, while tracking a running score of its competence in different "niches" (task types).
  • Team Level (Roles & LeadLearn): Instead of picking the top three performers—which starves weaker agents of experience and kills diversity—every incoming task gets a balanced 3-agent squad: an Anchor (the niche's top performer), a Complement (chosen for past synergy and stylistic difference from the anchor), and a Scout (an under-exposed agent brought in to explore). The Anchor acts as leader and uses LeadLearn, consulting a shared leadership bank to dynamically pick the best collaboration structure (voting, debate, generator-critic, or decompose) for the task at hand.
  • Population Level (CODREAM & Lifecycle): This is where the magic happens. When a team fails or disagrees, it triggers CODREAM (Collaborative Dreaming). The team runs a five-step reflective pipeline to contrast failing and succeeding approaches, debate hypothetical strategies, and crystallize structured insights. Crucially, these insights are routed asymmetrically—written only to agents in the pool whose competence on that niche falls below the median. Strong agents teach; deficit agents learn, preserving specialization. Finally, every few tasks, Lifecycle operators reshape the roster: Fork clones overburdened specialists, Merge combines redundant twins, Prune retires dead weight, and Genesis spawns fresh personas for neglected niches.

Datasets

Because EVOCHAMBER is training-free, datasets are used strictly as continuous online evaluation streams where each task carries a domain/niche tag:

  • Hard Math Stream (382 tasks): Combines 262 Level 4/5 problems from MATH with 30 problems each from the 2022–2025 AIME competitions.
  • Hard Code Stream (586 tasks): Mixes MBPP+, HumanEval, and tough competitive programming problems from CodeContests to test whether debugging skills transfer from easy to hard coding challenges.
  • AFlow-Stream (600 tasks): Six sequential 100-task blocks (GSM8K $\rightarrow$ HotpotQA $\rightarrow$ MBPP $\rightarrow$ MATH $\rightarrow$ HumanEval $\rightarrow$ DROP) designed to test rapid adaptation across sudden domain shifts.

Key Insights and Ideas

  • Asymmetric transfer is the secret sauce: Removing CODREAM caused the single largest accuracy drop ($-10.8\%$) in ablations. On tough coding problems, symmetric memory sharing actually hurt performance compared to a lone agent by flooding prompts with noisy, unconditioned advice. Targeted, strong-to-weak routing solves this.
  • Spontaneous, emergent specialization: Even though all 20 agents start as identical clones, four to five stable niche specialists reliably emerge. Remarkably, specialists only wake up when their niche arrives in the stream, and leadership naturally rotates as domains shift.
  • Immunity to curriculum order & pool size: Shuffling the task order slightly improved accuracy, proving the system isn't relying on an easy-to-hard curriculum. Furthermore, starting with 3 agents or 20 agents yielded nearly identical accuracy (within $1.1\%$), because the lifecycle operators naturally grow or prune the population to the right size.

Key Results

Tested primarily on Qwen3-8B (and validated on GPT-4.1-mini) using a single, untuned hyperparameter setup across all benchmarks:

Table 2: Hard Math Stream accuracy on Qwen3-8B. math_hard: 262 MATH Level 4/5; AIME’22–’25: 30 problems each; Overall: micro-average over 382 tasks.
  • Hard Math: Reached 63.9% overall accuracy—more than doubling the single-agent baseline (29.8%) and beating the best multi-agent memory baseline (MemCollab, 48.4%) by 32% relative. Majority voting collapsed on AIME because rare right answers get outvoted when accuracy is below 50%; EVOCHAMBER's anchor-led routing bypassed this trap.
  • Hard Code: Achieved 75.7% overall, highlighted by a 5$\times$ improvement over a single agent on brutal CodeContests problems (35.2% vs. 6.8%).
  • Multi-Domain (AFlow-Stream): Scored 87.1%, winning or tying on 5 of 6 domains.
  • Cross-Model Transfer: On GPT-4.1-mini, EVOCHAMBER maintained its lead across the board, lifting Hard Math accuracy from 67.5% (single agent) to 79.6%.

Limitations and Future Work

In the main text, the authors note that limitations and future directions are deferred to Appendix A (which is not included in the main paper pages). However, one practical boundary visible in the setup is that EVOCHAMBER currently relies on explicit per-task niche labels ($z_t$) derived from dataset metadata to index competence scores and route insights, and exhibits smaller absolute gains when the base model already nears saturation on easier tasks.

Summary updated

Abstract

We argue that multi-agent test-time evolution is not single-agent evolution replicated N times. A single-agent learner can only evolve its own context and memory. A multi-agent system additionally evolves who collaborates, how they collaborate, and how knowledge flows across the population. These components have no single-agent counterpart and can produce phenomena such as emergent specialization. Yet prior test-time methods either confine experiences to individual agents, forfeiting cross-agent learning, or broadcast symmetrically to all agents, erasing the specialization that makes collaboration valuable. We present EVOCHAMBER, a training-free framework that instantiates test-time evolution at three levels over a coevolving agent pool. At its core is CODREAM (Collaborative Dreaming), a post-failure protocol in which agents collaboratively reflect, distill insights, and route them asymmetrically from strong agents to weak ones on the failed niche, preserving specialization while filling knowledge gaps. Team-level operators assemble niche-conditioned teams and select collaboration structures online. Population-level lifecycle operators fork, merge, prune, and seed agents under performance pressure. On three heterogeneous task streams with Qwen3-8B, EvoChamber reaches 63.9% on competition math, 75.7% on code, and 87.1% on multi-domain reasoning, outperforming the best baseline by 30% relative on math. These gains transfer to GPT-4.1-mini. Ablations attribute the largest single drop of -10.8% to removing CODREAM, confirming asymmetric cross-agent transfer as the primary driver. Starting from 20 identically initialized agents, four to five stable niche specialists spontaneously emerge, a structural signature of multi-agent evolution that no single-agent learner can express.
BibTeX
@inproceedings{zhang2026evochamber,
  author = {Yaolun Zhang and Tianyi Xu and Shengyu Dai and Zhenwen Shao and Qingyun Wu and Huazheng Wang},
  title = {{EVOCHAMBER: Test-Time Co-evolution of Multi-Agent System at Individual, Team, and Population Scales}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=jNJFL5PPGJ},
}
Figure