CoMAS: Co-Evolving Multi-Agent Systems via Interaction Rewards

Xiangyuan Xue, Yifan Zhou, Guibin Zhang, Zaibin Zhang, Yijiang Li, Chen Zhang, Zhenfei Yin, Philip Torr, Wanli Ouyang, Lei Bai

CoMAS (Co-Evolving Multi-Agent Systems) is a novel framework that allows Large Language Model (LLM) agents to improve their reasoning and coding skills autonomously by debating and evaluating each other. By generating "interaction rewards" from peer discussions rather than relying on external human labels or math verifiers, the framework enables decentralized, scalable self-evolution that consistently outperforms traditional self-training methods.

What Problem Does This Paper Address?

Large Language Models (LLMs) are typically "frozen" after their initial training. To make them better at complex tasks, researchers use "self-evolution"—letting the model practice and learn from its own outputs.

However, current methods have a significant supervision problem. They generally rely on one of two paradigms:

  1. External rewards: Requiring a rule-based math verifier or a human-labeled reward model, which are hard to scale for open-ended problems.
  2. Intrinsic rewards: Having the model try to grade itself, which often leads to "reward hacking," where the model becomes overconfident or biased toward its own mistakes.

CoMAS looks to human intelligence for a solution: we don't just learn in isolation; we improve through discussion, critique, and collaboration. The authors ask: Can LLM agents achieve self-evolution purely through social interaction, without any external "oracle" telling them the right answer?

Comparison of reward mechanisms: External, Intrinsic, and the proposed Interaction Rewards.

Methods: The CoMAS Framework

The CoMAS framework sets up a "community" of agents that interact through three distinct patterns to generate reliable training signals:

  1. Solution: Agent A proposes a step-by-step answer to a given problem.
  2. Evaluation: Agent B is explicitly prompted to act as a "critic," hunting for flaws, logical gaps, and mistakes in Agent A's solution.
  3. Scoring: An agent (acting as a judge) assigns a score (1–3) based on whether the solution was correct and whether the evaluation was genuinely helpful.

The Secret Sauce: Adversarial Rewards To prevent agents from simply agreeing with each other (a common failure mode called "catering bias"), CoMAS uses a zero-sum reward formulation. If a solution is correct and the evaluator's critique is unhelpful, the solver gets the reward. If the evaluator identifies a fatal flaw, the evaluator gets the reward. This creates a competitive yet collaborative environment that forces agents to become both better problem-solvers and sharper critics.

The agents are then updated using REINFORCE++, a reinforcement learning algorithm, to internalize the lessons learned from these interactions.

Datasets and Evaluation

The authors trained their agents on a relatively small but high-quality set of 2,000 samples across three domains:

  • Math: 600 tasks (Level 4–5) from the MATH dataset.
  • Coding: 600 medium/hard tasks from KodCode.
  • Science: 800 physics, chemistry, and biology tasks from WebInstruct-verified.

They evaluated the results on a wide battery of standard benchmarks, including GSM8K (math), HumanEval/MBPP (coding), SciBench/GPQA (science), and MMLU (general knowledge).

Key Insights and Ideas

  • Critique is Mandatory: Ablation studies showed that without the "Evaluation" step, training collapses. Agents need a critic to provide a meaningful signal; otherwise, they just reinforce their own bad habits.
  • The "Wisdom of the Crowd" Scales: Performance improved as the number of agents increased (from 1 to 4). More agents mean more diverse perspectives and more rigorous peer review.
  • Heterogeneity Helps: In a fascinating experiment, the authors mixed different base models (e.g., Qwen and Llama). These "heterogeneous" teams outperformed teams made of identical models, suggesting that agents can effectively learn from the unique strengths of different architectures.
  • Stable Dynamics: Unlike other RL methods that can be "swingy," the adversarial design of CoMAS kept rewards hovering around a stable 0.5, preventing the models from drifting into nonsensical "reward-hacking" behavior.

Key Results

CoMAS consistently outperformed both untrained models and strong baselines (like SRLM and MAPoRL):

  • Multi-Agent Boost: In "AutoGen" settings, CoMAS achieved absolute gains of up to 19.8% over untrained agents.
  • Generalization: Even though it was trained on specific math/science tasks, the skills transferred to general benchmarks like MMLU, showing a +13.2% improvement in some multi-agent setups.
  • State-of-the-Art: It achieved the best or near-best results across almost all evaluation settings, particularly excelling in collaborative "Debate" environments where other self-evolution methods proved fragile.

Limitations and Future Work

  • Computational Cost: While effective, the multi-agent approach is token-heavy. Moving from 1 agent to 4 agents increases the number of interaction samples quadratically, which requires significant hardware resources.
  • Objective vs. Subjective: The study focused on tasks with a "ground truth" (math, code, science). It remains to be seen if this "evolution via discussion" works as well for subjective tasks like creative writing or ethics, where "correctness" is harder to define.
  • Long-term Evolution: The paper looks at a specific training window. Future work could explore "continual evolution," where agents interact and learn over much longer periods, potentially developing capabilities far beyond their initial programming.

Summary updated

BibTeX
@inproceedings{xue2026comas,
  author = {Xiangyuan Xue and Yifan Zhou and Guibin Zhang and Zaibin Zhang and Yijiang Li and Chen Zhang and Zhenfei Yin and Philip Torr and Wanli Ouyang and LEI BAI},
  title = {{CoMAS: Co-Evolving Multi-Agent Systems via Interaction Rewards}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ihwAzktmWc},
}
Figure