Executable Prefix Values for Locating Agent Failures
Bingyu Shen, Jiaqi Tang, Lan Wei, Yi Sheng, J. Jenny Li, Boyang Li
Abstract
Work on debugging LLM agents treats the "first mistake" marked by a human or LLM judge as ground truth for where a trajectory failed. We ask whether such labels point at causes or symptoms, and make the distinction executable: we restart the agent from reconstructed intermediate states of a failed trajectory and estimate its prefix value V(ht), the probability of success from each step, with a certified point of no return (PNR) for a failure. On 150 SWE-bench Verified tasks with two frozen open-weight agents, we build such curves for 47 and 60 failed trajectories and probe every step labeled by four frontier judges under the Traverse rubric. We find that the labels do not mark what a controller needs. Judges of different lineages agree on the exact step in only 21/57 cases, and the newest judges flag mistakes in 8/10 and 10/10 successful runs. For 66% of the labels, the agent's success probability does not drop at the labeled step; only 7/188 answers name the decisive step. Restarting at the measured restart point raises expected success from 0.44 to 0.57 offline, and real restarts confirm the advantage, whereas restarting at a judge's label does not (-0.08 to -0.03). We release our code, curves, and labels.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
- Comments
- 46 pages, 12 figures, 60 tables
Related papers
Layer-Level Control of Language Model Execution in Agent Frameworks
Shared title terminologycs.AIRan Guan, Yiqi Lin, Xiangxi Tian et al.
When Tools Fail, Agents Fabricate: Silent Failure and Verification-First Oversight in Tool-Using LLM Agents
Shared title terminologycs.AIGün Kaynar, Boshen Yan, Carl Kingsford
Probe-and-Resume: When and How to Evaluate Agent Execution
Shared title terminologycs.AIJiakai Xu, Tiancheng Ge, Tujie Guan et al.
Learning When to Withdraw: Curriculum Coverage and Rule-Specific Failures in Fine-Tuned Language Agents
Shared title terminologycs.AIMohamed Abouzahra
Reflect After Failure: Brain-Inspired Self-Evolving Agents for Embodied Spatial Intelligence
Shared title terminologycs.AIXin Li, Xiaohuan Gu, Yifan Wang et al.
What Coding Agents Leave Unsaid: Measuring Task-State Gaps Between Execution and Reports
Shared title terminologycs.AIGuoyang Xu, Rui Zhang, Xiuyu Wu et al.