Co-Evolving Agents: Learning from Failures as Hard Negatives
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Self-evolving agents improve their performance on long-horizon tasks by learning from their own interactions with an environment. A common approach uses the resulting failed trajectories as negatives for preference training. However, collecting an agent's own failures does not ensure that they provide informative supervision for further improvement. Obvious failures may be easy to reject without learning to identify errors in more plausible attempts. These plausible but incorrect trajectories can serve as hard negatives, helping agents learn to distinguish successful behavior from failures with less obvious errors. To enable agents to generate and learn from such informative negatives, we propose a co-evolving framework that couples a target agent's self-improvement with a failure agent trained to generate hard negatives. The failure agent learns exclusively from both agents' failed trajectories to generate higher-reward failures, which the target agent uses as negatives for preference training. As the target policy improves, its failures provide new training data for the failure agent. The updated failure agent, in turn, provides new negatives for target training, allowing negative generation to adapt alongside the target policy. Across online shopping, scientific reasoning, and interactive SQL querying, our framework improves average task reward by 5.7 over the baseline. These results demonstrate the value of learning to generate and use informative failures for agent self-improvement. We will make our code publicly available.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 33 of its 43 references that are in the map. First posted on arXiv 27 Nov 2025.
Builds on
33 of 43 references.
Closest ancestors · 9
Same direction, newest first
- 2025Agent-R: Training Language Model Agents to Reflect via Iterative Self-Training20 Jan
- 2025Learn-by-interact: A Data-Centric Framework for Self-Adaptive Agents in Realistic Environments18 Jan
- 2025AgentRefine: Enhancing Agent Generalization through Refinement Tuning3 Jan
- 2024Star-Agents: Automatic Data Optimization with LLM Agents for Instruction Tuning21 Nov
- 2024DynaSaur: Large Language Agents Beyond Predefined Actions4 Nov
- 2024Watch Every Step! LLM Agent Learning via Iterative Step-Level Process Refinement17 Jun
- 2024Agent-FLAN: Designing Data and Methods of Effective Agent Tuning for Large Language Models19 Mar
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMs19 Oct
- 2023FireAct: Toward Language Agent Fine-tuning9 Oct
Other references · 24
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
- 2024Self-Rewarding Language Modelscited by 681
- 2020Contrastive Learning with Hard Negative Samplescited by 628
- 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Modelscited by 427
12 more
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
- 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 327
- 2024WebRL: Training LLM Web Agents via Self-Evolving Online Curriculum Reinforcement Learningcited by 256
- 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 238
- 2024Trial and Error: Exploration-Based Trajectory Optimization for LLM Agentscited by 197
- 2024Advancing LLM Reasoning Generalists with Preference Treescited by 192
- 2024Generalized Preference Optimization: A Unified Approach to Offline Alignmentcited by 157
- 2023RoboCat: A Self-Improving Generalist Agent for Robotic Manipulationcited by 111
- 2024DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-Solvingcited by 95
- 20243D-Properties: Identifying Challenges in DPO and Charting a Path Forwardcited by 24
- 2024MACPO: Weak-to-Strong Alignment via Multi-Agent Contrastive Preference Optimizationcited by 22
- 2025Solving the Granularity Mismatch: Hierarchical Preference Learning for Long-Horizon LLM Agentscited by 4
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026Verified Critical Step Optimization for LLM Agentscited by 14
- 2026Self-Evolving World Models for LLM Agent Planningcited by 13
- 2026SkillAdaptor: Self-Adapting Skills for LLM Agents from Trajectoriescited by 11
- 2026On-Policy Self-Evolution via Failure Trajectories for Agentic Safety Alignmentcited by 8
- 2026Dynamic Agent Skills: A Lifecycle Survey and Taxonomy of Evolving Skill Librariescited by 6
- 2026Interactive Critique-Revision Training for Reliable Structured LLM Generationcited by 2
- 2026CWM: Contrastive World Models for Action Feasibility Learning in Embodied Agent Pipelinescited by 0
- 2026DeLoop: Repeated Actions as Self-Supervision for Long-Horizon Agentscited by 0
- 2026DeLoop: Repeated Actions as Self-Supervision for Long-Horizon Agents14 Oct 2026
- 2026Dynamic Agent Skills: A Lifecycle Survey and Taxonomy of Evolving Skill Libraries11 Jul 2026
- 2026Self-Evolving World Models for LLM Agent Planning29 Jun 2026
- 2026SkillAdaptor: Self-Adapting Skills for LLM Agents from Trajectories31 May 2026
- 2026On-Policy Self-Evolution via Failure Trajectories for Agentic Safety Alignment12 May 2026
- 2026Interactive Critique-Revision Training for Reliable Structured LLM Generation8 May 2026
- 2026CWM: Contrastive World Models for Action Feasibility Learning in Embodied Agent Pipelines25 Feb 2026
- 2026Verified Critical Step Optimization for LLM Agents3 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026CAFE: Self-Improving Search Agents Need Co-Evolving Feedback
- 2026Co-Evolution in Agentic Systems: Toward Self-Directed Evolution Beyond Human Design
- 2026SEAL: Synergistic Co-Evolution of Agents and Learning Environments
- 2026SkillSmith: Co-Evolving Skills and Tools for Self-Improving Agent Systems
- 2025Towards Self-Evolving Benchmarks: Synthesizing Agent Trajectories via Test-Time Exploration under Validate-by-Reproduce Paradigm
- 2026EvolveNet: Collaborative Harness Evolution for Agent Self-Improvement
- 2026EvoTrainer: Co-Evolving LLM Policies and Training Harnesses for Autonomous Agentic Reinforcement Learning
- 2026Co-Evolving Acting and Forecasting for Language Agents