根因归因是一个搜索问题:对长时程智能体故障的持续搜索
研究论文 · 2026/09/16
随着AI智能体在长时程任务中的部署增加,产生了大量执行日志。诊断这些记录中的失败对于可靠性至关重要,因为它将结果层面的信号转化为可操作的干预措施。数据规模之大使得人工审查不切实际,因此需要自动化的根因归因(RCA)。然而,使用LLM的自动化RCA方法诊断准确率低,尤其是当执行轨迹变大时。它们之所以困难,是因为相关信息往往稀疏、分散在遥远的动作中,并且与可见的失败脱节,使得根因归因成为一个大规模搜索问题。现有的RCA方法通常依赖一次性LLM判断来从执行轨迹中诊断失败。虽然对较短的轨迹有效,但这些判断者倾向于过早地确定一个看似合理的诊断,而忽略了较长轨迹中的关键证据。我们引入了持续搜索(Continual Search),这是一个迭代框架,通过连续轮次推动判断者不断搜索未解决的诊断证据。我们在四个现有的RCA基准上评估了持续搜索。认识到当前基准中缺乏大规模执行轨迹,我们引入了MegaRCA-Mix来评估大规模RCA。MegaRCA-Mix提供了一个具有挑战性的测试平台,包含50个人工标注的失败试验,涵盖长时程、执行密集型任务。在多个基准套件和模型家族中,持续搜索持续提高了归因性能。例如,在MegaRCA-Mix上,它将GPT-5.5的F1分数提高了40%以上,从0.349提高到0.498。更有趣的是,在同一模型家族中,较低层级的模型甚至可以超越其较高层级的对应模型,表明有效的搜索胜过原始模型规模。
该研究将根因归因重新定义为搜索问题,提出的持续搜索框架显著提升了长时程AI智能体失败诊断的准确性,并表明有效搜索比模型规模更重要,对提升AI可靠性具有重要价值。
The increasing deployment of AI agents in long-horizon tasks yields massive execution logs. Diagnosing failures within these records is crucial for reliability, as it transforms outcome-level signals into actionable interventions. The sheer scale of the data renders human review impractical, driving the need for automated root-cause attribution (RCA). However, automated RCA methods using LLMs suffer from low diagnostic accuracy, especially as execution traces grow larger. They struggle because relevant information is often sparse, distributed across distant actions, and disconnected from the visible failure, reducing root-cause attribution to a massive search problem. Existing RCA methods typically rely on one-shot LLM judgments to diagnose failures from execution traces. While effective for shorter trajectories, these judges tend to settle on a plausible diagnosis early, leaving critical evidence in longer traces unexamined. We introduce Continual Search, an iterative framework that nudges the judge, over successive turns, to keep searching for unresolved diagnostic evidence. We evaluate Continual Search across four existing RCA benchmarks. Recognizing the lack of massive execution traces in current benchmarks, we introduce MegaRCA-Mix to evaluate RCA at scale. MegaRCA-Mix provides a challenging testbed of 50 human-annotated failure trials spanning long-horizon, execution-heavy tasks. Across multiple benchmark suites and model families, Continual Search consistently improves attribution performance. On MegaRCA-Mix, for example, it improves GPT-5.5's F1 score by more than 40\%, from 0.349 to 0.498. More interestingly, within the same model family, lower-tier models can even surpass their higher-tier counterparts, demonstrating that effective search supersedes raw model scale.