TL;DR
This paper introduces Mem²Evolve, a novel framework for self-evolving AI agents that tackles the isolated nature of capability expansion and experience learning. By integrating "Asset Memory" for dynamic tool/agent creation and "Experience Memory" for distilled lessons, Mem²Evolve achieves a synergistic co-evolution, leading to significantly more capable and stable agents.
What Problem Does This Paper Address?
Current self-evolving AI agents often fall into one of two camps: those that learn from experience but are limited by a static set of tools and agents, or those that can dynamically create new capabilities but do so without the benefit of past learning, leading to instability and repeated errors. This paper addresses the critical gap of co-evolution, where expanding an agent's capabilities should inform and improve its learning process, and vice-versa, creating a virtuous cycle for continuous improvement. The authors highlight that isolating these two processes limits an agent's ability to truly grow and adapt to complex, unseen tasks.
Methods
Mem²Evolve is built around a Dual-Memory Mechanism:
- Asset Memory (MA): This acts as a repository for the agent's capabilities, storing both expert agents and executable tools. It supports dynamic capability expansion.
- Experience Memory (ME): This stores distilled lessons from past successes and failures, guiding future asset creation and task execution.
The framework operates in two phases:
- Forward Inference: The agent plans tasks, recruits necessary assets (tools/agents) from Asset Memory, and executes them. If a task exceeds current capabilities, it dynamically creates new assets, guided by Experience Memory.
- Backward Evolution: After task completion, high-quality newly created assets are preserved in Asset Memory, and strategic insights from the execution trajectory are distilled into Experience Memory. This loop drives the co-evolution.
Key novelties include:
- Co-evolutionary Paradigm: The core concept of coupling capability expansion with experience distillation.
- Experience-Guided Creation: Using past experiences to inform the generation of new tools and agents, leading to more stable and reliable assets.
- Dual-Memory System: The specific architecture of Asset and Experience Memory working in tandem.
Datasets
The paper evaluates Mem²Evolve across 6 task categories and 8 benchmarks:
- GAIA: General assistant tasks.
- ALFWorld: Embodied tasks in text-based games.
- HotpotQA & 2WikiMultihopQA: Multi-hop question answering.
- AIME 24/25: Mathematical reasoning.
- TravelPlanner: Complex, long-horizon planning scenarios.
- WebShop: Simulated e-commerce environment for web navigation and interaction.
The paper does not introduce new benchmarks but uses established ones to demonstrate performance.
Key Insights and Ideas
- The whole is greater than the sum of its parts: Separating capability expansion and experience learning is suboptimal. Their integration leads to a synergistic effect that significantly boosts agent performance and stability.
- Experience is the best teacher for creation: Dynamically creating new tools and agents from scratch is prone to errors. Guiding this creation process with distilled past experiences dramatically improves the quality and reliability of newly generated assets.
- Lifelong learning requires persistent memory: Agents need to retain and leverage knowledge across tasks, not just within a single task. The dual-memory system facilitates this cross-task generalization.
- Dynamic asset creation breaks capability boundaries: The ability to generate new tools and agents on demand allows agents to tackle tasks far beyond their initial predefined capabilities.
Key Results
Mem²Evolve consistently outperformed baselines across various benchmarks:
- Overall Improvement: Achieved an average Pass@1 of 70.24%, outperforming:
- Standard LLMs (Naive LLMs) by 18.53%.
- Experience-centric frameworks by 11.80%.
- Capability-centric frameworks by 6.46%.
- Breaking Static Agent Boundaries: When initialized with minimal tools (e.g., web search), Mem²Evolve showed substantial gains (+57.84% on GAIA) by creating new tools and agents, demonstrating its ability to extend capabilities.
- Experience Memory's Impact: The inclusion of Experience Memory improved performance by 6.46% over a capability-centric baseline, highlighting its role in refining and stabilizing asset utilization.
- Single-Task Evolution: Initializing agents with prior memory consistently improved performance, with significant gains achieved even with small amounts of initial memory.
- Cross-Task Evolution: Mem²Evolve demonstrated robust generalization, reusing heterogeneous memory across tasks without negative transfer, achieving performance comparable to single-task initialization.
Limitations and Future Work
- Sandbox Environment Dependency: Mem²Evolve currently relies on a sandbox environment for executing generated code. This limits its deployment in open-world scenarios requiring direct file system access or unrestricted network interaction.
- Future Work: The authors suggest exploring more sophisticated memory management, enhancing the agent's ability to learn from human feedback, and developing more robust mechanisms for handling complex, multi-agent interactions. The framework's potential for building general-purpose, lifelong-learning agents with reduced human intervention is a key future direction.
Summary updated