TL;DR
This paper introduces Group-Evolving Agents (GEA), a novel approach to open-ended AI self-improvement that treats groups of agents as the evolutionary unit, enabling explicit experience sharing. GEA significantly outperforms existing self-evolving methods on coding benchmarks and matches human-designed frameworks, demonstrating more efficient progress and greater robustness.
What Problem Does This Paper Address?
Current AI systems, while capable of learning, are often limited by their initial human-designed architectures. They struggle to fundamentally modify their own structures to transcend these limitations, requiring continuous human intervention for significant advancements. Open-ended self-improvement aims to overcome this by enabling AI agents to autonomously evolve and improve their capabilities. However, existing methods often adopt a "tree-structured" evolution where different evolutionary branches remain isolated, leading to inefficient utilization of exploratory diversity. Discoveries made in one branch might be lost or never integrated into the main evolutionary path, hindering long-term cumulative progress. This paper addresses this limitation by proposing a group-centric evolutionary paradigm that facilitates experience sharing and reuse across agents.
Methods
The core innovation of GEA is its shift from an individual-agent-centric evolution to a group-centric one. Instead of a single agent evolving into offspring, a group of agents is treated as the fundamental unit.
- Parent Group Selection: GEA selects a group of "parent" agents based on a Performance-Novelty criterion. This balances an agent's current task-solving competence with its evolutionary novelty, encouraging both exploitation of successful strategies and exploration of new directions.
- Open-Ended Group Evolution: The selected parent group then jointly produces an offspring group. This is achieved through explicit experience sharing and reuse across all agents within the parent group. Each agent in the parent group contributes its evolutionary traces (code modifications, task predictions, execution logs, evaluation outcomes). These aggregated experiences are then used by each agent to generate evolution directives and framework-level patches, leading to a new generation of agents. This process allows for the consolidation of diverse discoveries from different agents into a shared pool, preventing beneficial innovations from being lost.
Datasets
The authors evaluate GEA on two challenging coding benchmarks:
- SWE-bench Verified: A curated, human-validated subset of SWE-bench focusing on repository-level software engineering tasks. It requires coordinated modifications across multiple files.
- Polyglot: Assesses algorithmic code generation across diverse programming languages (C++, Rust, Java, etc.), serving as an out-of-domain generalization test. It primarily involves modifying a single file.
Key Insights and Ideas
- Group-level evolution is more efficient than individual-level: By sharing experiences, GEA consolidates diverse discoveries, leading to faster and more sustained progress compared to isolated evolutionary branches.
- Experience sharing prevents "death" of good ideas: Innovations explored in isolated branches in other methods can be integrated into the main evolutionary path in GEA, preventing them from dying out.
- GEA adapts to task complexity: The method shows flexibility by producing different evolutionary patterns (e.g., larger patches for simpler tasks like Polyglot, more distributed patches for complex tasks like SWE-bench) based on the benchmark's characteristics.
- Improvements are model-agnostic: GEA's advancements focus on workflow and tool usage, allowing them to transfer effectively across different underlying language models (GPT-series and Claude-series).
- Robustness through collaboration: GEA can repair framework-level bugs much faster by leveraging the experience of bug-free agents within the group, highlighting the benefit of collaborative self-improvement.
Key Results
- Outperforms state-of-the-art self-evolving methods:
- SWE-bench Verified: 71.0% success rate for GEA vs. 56.7% for the DGM baseline.
- Polyglot: 88.3% success rate for GEA vs. 68.3% for the DGM baseline.
- Matches or surpasses human-designed frameworks:
- SWE-bench Verified: 71.0% for GEA vs. 71.8% for OpenHands + GPT-5.
- Polyglot: 88.3% for GEA vs. 52.0% for Aider + GPT-5.
- Faster bug repair: GEA requires an average of 1.4 iterations to fix injected framework-level bugs, compared to 5 iterations for the self-evolving baseline.
- Broader integration of innovations: The best GEA agent integrates experiences from 17 unique ancestors, nearly double that of the best DGM agent (9 ancestors).
- Population-wide quality improvement: The worst-case performance of GEA's top-5 agents (58.3%) exceeds the single best agent from DGM (56.7%).
Limitations and Future Work
- Computational Cost: While GEA is more efficient in terms of agent evolution, the evaluation on benchmarks can still be computationally expensive, as noted in the cost estimate section.
- Potential for Misalignment: The paper acknowledges that open-ended exploration can inadvertently introduce directions misaligned with human intent or lead to overly complex systems.
- Future Work: The authors suggest that this paradigm has broader potential applications beyond coding, such as mitigating biases in AI systems and becoming more trustworthy. They also emphasize the need for appropriate boundaries and alignment with human intent in open-ended systems. The work is conducted in isolated sandbox environments to mitigate potential impacts.
Summary updated