Mara Chain:将失败重新视为AI系统自动进化的垫脚石

·

研究论文 · 2026/10/10

优化已部署的AI系统日益侧重于编辑提示、技能、工具链和代码,而非模型权重。现有方法通常通过“提议-评估-选择”流程优化这些产物,即评估候选配置并仅选择满足接受标准的配置。然而,我们的分析表明,被丢弃的候选往往包含对后续优化至关重要的信息。丢弃它们会导致后续提议重蹈相同的失败模式。我们提出Mara Chain,一种将拒绝的候选转化为垫脚石的改进流程。Mara Chain不丢弃被拒绝的候选,而是保留并利用先前尝试中积累的证据对其进行迭代改进。该流程将每个改进链限制在固定深度,并应用帕累托过滤的Top-N选择来限制候选池。在AppWorld技能优化、TerminalBench 2.1工具链优化和MuSiQue检索流水线优化中,Mara Chain以更少的 rollout 实现了更大的任务性能提升。在AppWorld上,其相对性能比GEPA、ACE和SkillOpt-Lite高出多达20.5%,达到目标分数所需的 rollout 比GEPA少65.5%。在TerminalBench 2.1上,其通过率分别比AHE和Meta-Harness提高了20.2和22.5个百分点,并在MuSiQue上比手写检索流水线将测试nDCG@10和Recall@10分别提高了0.104和0.131。

该研究挑战了优化中丢弃失败候选的常规做法,提出利用失败信息的新范式,并在多个基准上以更少计算量取得显著提升,对AI系统自动进化具有重要实践意义。

Optimizing deployed AI systems increasingly amounts to editing prompts, skills, harnesses, and code rather than model weights. Existing approaches commonly optimize these artifacts through propose-evaluate-select procedures, where candidate configurations are evaluated and only those meeting an acceptance criterion are selected. Yet our analysis shows that discarded candidates often contain information critical for subsequent optimization. Discarding them causes later proposals to revisit the same failure modes. We introduce Mara Chain, a refinement procedure that turns rejected candidates into stepping stones. Rather than discarding a rejected candidate, Mara Chain retains and iteratively refines it using evidence accumulated across preceding attempts. The procedure limits each refinement chain to a fixed depth and applies Pareto-filtered Top-N selection to bound the candidate pool. Across AppWorld skill optimization, TerminalBench 2.1 harness optimization, and MuSiQue retrieval-pipeline optimization, Mara Chain delivers greater task-performance gains with fewer rollouts. It outperforms GEPA, ACE, and SkillOpt-Lite by up to 20.5% in relative performance on AppWorld, reaching the target score with 65.5% fewer rollouts than GEPA. It improves the pass rate by 20.2 and 22.5 percentage points over AHE and Meta-Harness on TerminalBench 2.1, respectively, and improves MuSiQue test nDCG@10 and Recall@10 by 0.104 and 0.131 over a hand-written retrieval pipeline.

阅读原文

参与讨论