TL;DR
CoEvolve introduces a closed-loop framework where an LLM agent and its training data distribution evolve together. By detecting behavioral weaknesses—such as forgetting previously learned skills or showing instability—during reinforcement learning, it dynamically synthesizes and validates new tasks to continuously challenge and improve the agent without human intervention.
What Problem Does This Paper Address?
Training Large Language Model (LLM) agents via reinforcement learning typically relies on static datasets, whether they are human-curated expert trajectories or synthetic data generated through unguided random exploration. This creates a major bottleneck: static data cannot adapt to an agent's shifting capabilities during training.
As an agent improves, it continues to practice tasks it has already mastered while leaving complex, long-tail, or multi-step environment interactions completely unaddressed. To build truly robust agents, we need a dynamic curriculum that automatically discovers and targets the agent's evolving failure modes.
Methods
The authors propose CoEvolve, an autonomous, closed-loop agent-data co-evolution framework that operates in three iterative stages:
- Training and Signal Extraction: The agent is optimized using Group Relative Policy Optimization (GRPO). During environment rollouts, the framework monitors trajectories to extract three distinct behavioral weakness signals:
- Forgetting Signals: Tasks the agent previously succeeded at but now fails due to policy drift.
- Boundary Signals: Tasks showing high outcome variability (borderline success/failure), indicating proximity to a decision boundary.
- Rare Signals: Infrequent but recurring action patterns that signal systematic underexploration.
- Signal-Guided Environment Re-exploration: An external exploration LLM (e.g., Qwen3-Max) analyzes these failure trajectories, summarizes the root cause of the weakness, and performs targeted multi-round, multi-step re-exploration in the environment to uncover alternative successful paths.
- Task Abstraction and Validation: The newly discovered interactions are abstracted into clean task-solution pairs. These are validated through actual environment execution; only successful or positive-reward tasks are appended to the training set, dynamically reshaping the data distribution for the next training iteration.
Datasets
The framework was evaluated across several highly interactive agent benchmarks:
- AppWorld: A simulated ecosystem of digital services (Spotify, calendar, mail) where agents execute multi-step tasks via Python API calls. Evaluated on both Test-Normal and Test-Challenge splits.
- BFCL (Berkeley Function Calling Leaderboard) v3: A benchmark focusing on complex, multi-turn tool use and function-calling accuracy.
- ALFWorld & WebShop: Used in the appendix to evaluate cross-domain transferability beyond API-centric environments (household tasks and e-commerce navigation, respectively).
Key Insights and Ideas
- Curriculum via Failure: Instead of relying on complex, human-engineered curricula, an agent's own algorithmic failures provide the perfect, automated blueprint for targeted data generation.
- The Dominance of Boundary Conditions: Analysis revealed that "Boundary Signals" make up the largest share of agent weaknesses (~45-51%), showing that agents struggle most with instability near success thresholds rather than completely random failures.
- Structural Complexity Emergence: Feedback-driven synthesis naturally shifts the training data toward longer interaction sequences and multi-step dependencies, automatically filling the gap left by short-horizon static datasets.
- True Novelty, Not Memorization: Measuring the cosine similarity between synthesized tasks and validation sets proved that CoEvolve generates genuinely novel tasks (similarity peaking around 0.4–0.7) rather than near-duplicates, preserving data diversity.
Key Results
- Substantial Performance Gains: CoEvolve achieved massive absolute improvements over base models across multiple scales: +19.43% for Qwen2.5-7B, +15.58% for Qwen3-4B, and +18.14% for Qwen3-30B-A3B.
- Beating Closed-Source Giants: Mid-sized open models trained with CoEvolve outperformed massive closed-source models. For instance, Qwen3-4B with CoEvolve achieved a 63.00% success rate on BFCL-V3, surpassing GPT-4 (54.00%) and Gemini-2.5-Flash (41.50%).
- High Cost-Efficiency: Despite the continuous generation loop, CoEvolve only introduces about ~10% additional computational overhead compared to standard GRPO training, making it highly practical.
Limitations and Future Work
- Signal Coverage: The framework currently relies on only three behavioral signals (forgetting, boundary, rare), which might miss other nuanced types of agent underperformance.
- Early-Stage Noise: In the initial phases of training when the agent's policy is highly immature, the extracted feedback signals can be noisy or incomplete, potentially misguiding the exploration model.
- Safety and Alignment: Because the data evolution loop is entirely autonomous, deploying CoEvolve in safety-critical or adversarial environments would require integrating explicit safety filters and risk-triggered human reviews to keep the adaptation controllable.
Summary updated