ARIA:多智能体系统的运行时检查与修正
ARIA: Runtime Inspection and Amendment for Multi-Agent Systems
AI总结:
本研究提出ARIA框架,构建首个配对失败轨迹与验证修正的大规模数据集,训练模型实现多智能体系统运行时的高效修正,且能泛化到新框架与模型。
摘要:
在基于大语言模型(LLM)的多智能体系统(MAS)中,局部错误会因其他智能体基于该错误构建而传播,将可纠正的错误转化为任务失败。诊断已完成的运行或重复重新执行以寻找修正方法,无法提供在执行仍在进行时进行干预的学习策略。我们提出智能体运行时检查与修正(ARIA),这是一种用于学习何时以及如何修正多智能体正在执行的任务的框架。我们的核心直觉是将经执行验证的修正转化为可复用的监督,将修正搜索转移到数据构建与训练中,使学习到的模型能在运行时进行干预,而无需重复测试替代方案。首先,我们在四个多智能体框架、六个基准和八个宿主模型上收集了超过24000条成功与失败的轨迹。从这些轨迹中,我们构建了ARIA数据集,据我们所知,这是首个将失败的多智能体轨迹与经执行验证的修正配对的大规模数据集。它包含3953个经验证的修正对,每个对都指明了问题所在、干预位置以及执行应如何继续。然后,我们开发了ARIA框架,用于与MAS无关的运行时检查与修正,该框架设计为可与任何公开执行轨迹并支持继续替换的MAS集成。利用经验证的修正作为训练示例,我们训练了一个紧凑模型,以识别何时需要干预以及如何修正正在进行的运行。目标是学习适用于新配置中相关失败的修正策略,而非仅复制单个修正。最后,训练后的ARIA模型在事后和运行时设置中均表现出强大的修正性能,并能泛化到未见过的框架和宿主模型。我们的代码可在该https URL获取。
英文摘要:
In LLM-based multi-agent systems (MAS), a local mistake can propagate as other agents build on it, turning a correctable error into a failed task. Diagnosing completed runs or repeatedly re-executing them to search for corrections does not provide a learned policy for intervening while execution is still in progress. We present Agent Runtime Inspection and Amendment (ARIA), a framework for learning when and how to repair ongoing multi-agent executions. Our key intuition is to turn execution-verified repairs into reusable supervision, moving repair search into data construction and training so that a learned model can intervene at runtime without repeatedly testing alternatives. First, we collect over 24{,}000 successful and failed trajectories across four multi-agent frameworks, six benchmarks, and eight host models. From these trajectories, we construct the ARIA dataset, to our knowledge the first large-scale dataset pairing failed multi-agent trajectories with execution-verified repairs. It contains 3{,}953 verified repair pairs, each specifying what went wrong, where to intervene, and how execution should continue. Then, we develop the ARIA framework for MAS-agnostic runtime inspection and amendment, designed to integrate with any MAS that exposes execution trajectories and supports continuation replacement. Using verified repairs as training examples, we teach a compact model to recognize when intervention is needed and how to correct an ongoing run. The aim is to learn repair strategies that apply to related failures in new configurations, rather than merely reproduce individual corrections. Finally, the trained ARIA model demonstrates strong repair performance in both post-hoc and runtime settings, with generalization to unseen frameworks and host models. Our code is available at https://github.com/LabRAI/ARIA.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。