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

ReplayRCA:通过反事实回放测量智能体故障的事后诊断与实时监督

ReplayRCA: Measuring Post-hoc Diagnosis and Live Oversight of Agent Failures by Counterfactual Replay

Jeremy Canale, Fabien Soulis

AI总结:

该研究提出ReplayRCA基准,评估语言模型智能体故障的事后诊断与实时监督能力,发现事后诊断性能无法作为实时监督的良好代理,且部分模型在两类任务中表现差异显著。

摘要:

当语言模型智能体在多步骤任务中失败时,另一个模型能否找到决定性错误并通过单一操作修复?我们提出ReplayRCA基准,该基准通过干预而非与标注的一致性来评估诊断效果:将环境恢复到所选步骤之前的状态,用提出的操作替换智能体自身的操作,然后让同一智能体继续运行。因果修复分数为继续运行的成功率减去通过相同机制回放智能体原始操作的配对安慰剂的成功率。该基准包含两个任务:事后尸检(诊断器查看整个失败运行并被告知其失败)和实时监督(监督者在运行展开时观察,可在不可逆操作前干预一次,且不知道运行是否会失败)。任务来自OpsWorld——一个确定性的、程序生成的后端办公环境,包含六个难度级别,最后一级为多模态(含二维码、手写内容)。在62个校准的系统性故障上,13个前沿模型中表现最佳的Grok 4.7达到+51.3的因果修复分数;前8个模型表现无统计差异,两大厂商的旗舰模型分别排名第8和第12,5个项目未被任何模型修复。强制强模型在最后一步干预会使其损失17.1分,因此基于标注归因基准的最后一步捷径无法迁移。在87次运行中,两个最佳实时监督者表现无统计差异,其中一个是小型开放权重模型DeepSeek V4.1 Flash;属于最佳事后诊断器的GPT-6.1 Sol是最弱的实时监督者(在相同运行上为-14.5分,p=0.002),因此事后诊断性能可能无法作为实时监督的良好代理。环境和评估代码已在此https URL发布。

英文摘要:

When a language-model agent fails a multi-step task, can another model find the decisive mistake and fix it with a single action? We introduce ReplayRCA, a benchmark that scores such diagnoses by intervention rather than by agreement with annotations: the environment is restored to the state preceding the chosen step, the proposed action replaces the agent's own, and the same agent continues. The score, causal repair, is the continuation success rate minus that of a paired placebo that replays the agent's original action through the same mechanism. Two tracks share this protocol: a post-hoc autopsy, where the diagnoser sees the whole failed run and is told that it failed, and live oversight, where a supervisor watches the run unfold and may intervene once, before an irreversible action, without knowing whether the run will fail. Tasks come from OpsWorld, a deterministic, procedurally generated back-office environment with six difficulty levels, the last of which is multimodal (QR codes, handwriting). On 62 calibrated systematic failures, the best of 13 frontier models (Grok 4.7) reaches a causal repair of +51.3 points; the top eight models are statistically indistinguishable, the flagship models of the two largest vendors rank 8th and 12th, and 5 items are repaired by no model. Forcing a strong model to intervene at the last step costs it 17.1 points, so the last-step shortcut of annotation-based attribution benchmarks does not transfer. On 87 runs, the two best live supervisors are statistically tied and one of them is a small open-weight model (DeepSeek V4.1 Flash); the supervisor that is among the best post-hoc diagnosers (GPT-6.1 Sol) is the weakest live one (-14.5 points on the same runs, p = 0.002), so post-hoc diagnostic performance can be a poor proxy for live oversight. The environment and the evaluation code are released at https://github.com/jeremy1392/RCAreplay.

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

↑