arXiv:2511.22254cs.AI2025-11被引 8

让智能体从失败中学习,通过对手生成更难的负样本提升性能。

Co-Evolving Agents: Learning from Failures as Hard Negatives

  • 构建主智能体与故障智能体协同进化,后者专门学习失败轨迹。
  • 用近似成功却失败的硬负样本提升主智能体决策边界清晰度。
  • 适合自进化智能体、强化学习优化及数据稀缺场景的研究者。

大型基础模型的快速发展推动了各领域任务专用智能体的兴起。然而,智能体效能仍高度依赖训练数据质量,而构建特定任务数据集成本高昂且在真实场景中常不可行。近期工作探索了能自主生成、优化并重训练自身轨迹的自改进智能体。其中,一种主流方法通过将预测轨迹与稀缺真实轨迹配对进行偏好优化,使智能体直接从自身失败中学习。尽管该类方法优于监督微调,但其对预测轨迹的高度依赖及有限真实轨迹监督,易导致过拟合。为此,本文提出共进化智能体框架:目标智能体与辅助故障智能体协同进化。故障智能体通过对目标智能体和自身产生的失败轨迹进行偏好优化,生成接近成功但仍为失败的硬负样本。将这些信息丰富的硬负样本纳入目标智能体优化过程,可显著增强决策边界并提升泛化能力。跨基准数据集的全面分析与实验表明,本方法不仅性能更优,还证明失败并非仅作为原始数据使用,而是可系统性转化为结构化、有价值的自学习信号。

原文摘要 · Abstract (English)

The rapid progress of large foundation models has accelerated the development of task-specialized agents across diverse domains. However, the effectiveness of agents remains tightly coupled with the quality of training data, while curating task-specific datasets remains costly and often infeasible in real-world scenarios. Recent work has explored self-improving agents that autonomously generate, refine, and re-train on their own trajectories. A prominent line of approaches further leverages preference optimization by pairing predicted trajectories with scarce ground-truth trajectories, enabling agents to learn directly from their own failures. While these methods outperform supervised fine-tuning, their heavy reliance on predicted trajectories under limited ground-truth supervision leaves them prone to overfitting. To address this, we propose a co-evolving agents framework in which a target agent improves jointly with an auxiliary failure agent. The failure agent learns through preference optimization over failure trajectories from both the target and itself, thereby generating hard negatives that are close to success yet remain failures. Incorporating these informative hard negatives into the target agent's optimization sharpens decision boundaries and enhances generalization. Our comprehensive analysis and experiments across benchmark datasets show that our method not only shows improved performance but also demonstrates that failures, instead of being used as-is, can be systematically transformed into structured and valuable learning signals in self-improving agents.

智能体自进化失败学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。