arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.06749cs.AIcs.SE
收藏

DoVer:基于干预的LLM多智能体系统自动调试

DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems

Institute of Neuroscience, State Key Laboratory of Brain Cognition and Brain-inspired Intelligence Technology, Center for Excellence in Brain Science and Intelligence Technology, Chinese Academy of Sciences, Shanghai, 200031, China(中国科学院神经科学研究所、脑认知与脑启发智能技术重点实验室、脑科学与智能技术卓越中心、中国科学院、上海);University of Chinese Academy of Sciences, School of Future Technology, Beijing, 100049, China(中国科学院大学、未来技术学院、北京);Microsoft(微软公司)

Ming Ma, Jue Zhang, Fangkai Yang, Yu Kang, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang

AI总结:

DoVer通过干预驱动的调试方法,显著提高了LLM多智能体系统的可靠性,实现了高比例的失败试验修复和任务进展。

摘要:

基于大型语言模型(LLM)的多智能体系统在调试方面具有挑战性,因为故障往往源于长而分支的交互轨迹。目前的做法是利用LLM进行基于日志的故障定位,将错误归因于特定智能体和步骤。然而,这种范式有两个关键限制:(i)仅日志调试缺乏验证,产生未经测试的假设;(ii)单步或单智能体归因通常是不成立的,因为我们发现多个不同的干预可以独立修复失败的任务。为了解决第一个限制,我们引入了DoVer,一个基于干预的调试框架,通过针对性的干预(例如编辑信息、改变计划)增强假设生成与主动验证。为了解决第二个限制,我们不再评估归因准确性,而是测量系统是否解决了故障或在任务成功方面取得可量化的进展,反映了一种更加以结果为导向的调试观点。在Magnetic-One智能体框架中,针对GAIA和AssistantBench派生的数据集,DoVer将18-28%的失败试验转化为成功,实现了高达16%的里程碑进展,并验证或反驳了30-60%的失败假设。DoVer在不同的数据集(GSMPlus)和智能体框架(AG2)上也表现出色,其中恢复了49%的失败试验。这些结果突显了干预作为提高智能体系统可靠性的一种实用机制,并为LLM多智能体系统的更稳健、可扩展的调试方法打开了新的机会。项目网站和代码将在https://aka.ms/DoVer上提供。

英文摘要:

Large language model (LLM)-based multi-agent systems are challenging to debug because failures often arise from long, branching interaction traces. The prevailing practice is to leverage LLMs for log-based failure localization, attributing errors to a specific agent and step. However, this paradigm has two key limitations: (i) log-only debugging lacks validation, producing untested hypotheses, and (ii) single-step or single-agent attribution is often ill-posed, as we find that multiple distinct interventions can independently repair the failed task. To address the first limitation, we introduce DoVer, an intervention-driven debugging framework, which augments hypothesis generation with active verification through targeted interventions (e.g., editing messages, altering plans). For the second limitation, rather than evaluating on attribution accuracy, we focus on measuring whether the system resolves the failure or makes quantifiable progress toward task success, reflecting a more outcome-oriented view of debugging. Within the Magnetic-One agent framework, on the datasets derived from GAIA and AssistantBench, DoVer flips 18-28% of failed trials into successes, achieves up to 16% milestone progress, and validates or refutes 30-60% of failure hypotheses. DoVer also performs effectively on a different dataset (GSMPlus) and agent framework (AG2), where it recovers 49% of failed trials. These results highlight intervention as a practical mechanism for improving reliability in agentic systems and open opportunities for more robust, scalable debugging methods for LLM-based multi-agent systems. Project website and code will be available at https://aka.ms/DoVer.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑