← 首页|学术|Repair or Resample? Rethinking Failure Debugging in LLM Multi-Agent Systems
cs.AI, cs.SE · 2608.25920 · 2026-08-26

Repair or Resample? Rethinking Failure Debugging in LLM Multi-Agent Systems

Zhongwen Luan, Xiaoyu Zhang, Ming Hu, Yue Yang et al.
多智能体调试可靠性
💬 现有多智能体系统"修复"方法到底是真的因果修复了失败,还是只是靠LLM采样随机性侥幸绕过?作者发现无引导重跑的失败复现率仅68%、修复率仅6.9%,而症状驱动的干预方法能把修复率提升191%——这是给所有构建多智能体系统的人的一记警钟。

🎯 背景

随着LLM多智能体系统被越来越多用于长程复杂任务,可靠性成为其真实部署的核心瓶颈。现有MAS调试与修复方法通常依赖重跑并重采样整条执行轨迹,但一个根本问题始终未被回答:这些方法究竟是因果性地修复了失败,还是只是利用了LLM采样的随机性做随机修复?

🔬 方法

作者提出SymTrace,一个记录MAS执行轨迹并建立干预锚点的受控评测框架:回放时用记录日志精确重建锚点前的执行,仅重新生成锚点后的下游轨迹,从而可靠复现MAS失败。并构建了SymFail数据集,包含536条人工标注、带图关联位置/类别/证据的失败轨迹,在三个主流MAS框架上做大规模实证研究。

📊 结果

现有无引导重跑方法非常不可靠,失败复现率仅67.97%、修复率仅6.90%;而基于症状驱动的干预方法成功修复20.15%的失败案例,相对现有最优修复方法提升191.89%。

原文摘要

▶ Abstract
As large language model (LLM)-based multi-agent systems (MASs) are increasingly applied to long-horizon complex tasks, their reliability has emerged as the core bottleneck hindering their real-world deployment. Existing MAS debugging and repair methods typically rely on rerunning and resampling the entire execution trajectory. However, a fundamental question remains to be answered: do these methods causally repair MAS failures or merely stochastically repair by leveraging the randomness of LLM sampling? To evaluate the effectiveness of MAS repair methods, we introduce SymTrace, a controlled evaluation framework that records the MAS execution trajectory and establishes intervention anchors. During replay, it effectively reconstructs the execution before the anchor using recorded logs and only regenerates the downstream trajectory, thereby enabling the reliable reproduction of MAS failures. We further construct the dataset SymFail, comprising 536 human-annotated failure trajectories with graph-linked locations, categories, and trace evidence. Based on these foundations, we conduct a large-scale empirical study across three mainstream MAS frameworks. Our findings reveal that existing unguided rerun methods are highly unreliable, exhibiting low failure reproduction and repair rates (only 67.97% and 6.90%, respectively). Building upon these findings, we further explore the effectiveness of a symptom-driven intervention method, which successfully repairs 20.15% of the failed cases (a 191.89% improvement to state-of-the-art repair methods). This study aims to provide actionable insights for MAS debugging and repair research, paving the way for the robust deployment of multi-agent systems.
来源: arXiv:2608.25920 · 精读由高松灯生成,基于摘要与 arXiv 页面信息