Skip to content

Disentangling Task Difficulty from Run-Level Failure in Agent Failure Prediction

Oct 2026 · 3 citations · 41 references
Computer Science

TL;DR

Results show that failure prediction should be evaluated not only by outcome accuracy, but by whether the captured signal supports the intended deployment decision.

Abstract

Predicting whether an LLM agent will fail has emerged as a promising direction for supporting intervention during execution. Recent approaches report strong predictive performance, often with AUROC values between 0.85 and 0.94. However, predictors are typically trained by pooling runs from many tasks. We hypothesize that part of this performance comes from recognizing that some tasks are harder than others, rather than detecting whether a particular run is heading toward failure. This distinction matters because task-level difficulty supports decisions about where to allocate computation, while run-level prediction is needed to decide whether to intervene in an ongoing trajectory. We study benchmarks with repeated attempts of the same task by the same agent and separate cross-unit comparisons from comparisons between successful and failed runs of the same model-task unit. Across the evaluated corpora, more than 99.93% of the positive-negative pairs underlying pooled AUROC are cross-unit. Accordingly, predictors that never observe the current run can achieve high pooled performance, including a difficulty oracle with AUROC up to 0.945, while remaining at chance within task. Early run-level discrimination is consistently weak across trajectory predictors, released monitors, and hidden-state probes, although it improves later in execution and is stronger for weaker agents. Under fixed token budgets, task-level allocation outperforms abort-only strategies, while early stopping becomes beneficial only when within-task AUROC reaches about 0.84-0.93, far above the 0.50-0.55 range observed for early monitors. These results show that failure prediction should be evaluated not only by outcome accuracy, but by whether the captured signal supports the intended deployment decision.

View source

Similar papers

Preprint Oct 2026

Continue or Restart? The Limits of Early Failure Prediction in Coding Agents

Early stopping promises to reduce compute costs for autonomous coding agents by terminating unpromising runs early. Deciding when to abandon a run requires separating baseline issue difficulty from the trajectory of an individual attempt. We study the distinction in 147,002 execution traces from two public corpora span...

Srinath Srinivasan, Lun-Xiao Li, Tim Menzies et al. · 0 citations
#machine learning Preprint Oct 2026

When Low Prediction Error Misleads Planning: Diagnosing Representation, Dynamics, and Decision Failures in Latent World Models

The component that dominates a latent world model's prediction error need not be the one whose repair most improves action selection. We show this by comparing action sequences from identical physical starts and separating endpoint error into a candidate-pool center and action-relative responses. Across four model fami...

Rui Min, Xian-Yao Li, Fang Xu et al. · 1 citation
Preprint Oct 2026

StopLoss: Teaching Agents to Predict Failure and Stop Early

StopLoss, a small external monitor that learns failure recognition from completed trajectories and their verifier outcomes, is introduced, inspired by the stop-loss order in finance, to make failure recognition cheap enough for early stopping to pay for itself.

Jia-Rong Liang, Xue-Guang Ma, Dongfu Jiang et al. · 0 citations
#artificial intelligence Review Oct 2026

Structural Baselines Matter for Agent Failure Detection and Attribution

An LLM agent using tools can fail silently. It stops before the task is done, raises no error, and answers fluently. Two kinds of monitor address this, one deciding whether a run failed and the other naming the step where failure became unavoidable. Much of the reported performance on both tasks comes from regularities...

R. A. Naagarajan, Stefan Streif · 1 citation

When Do Models Admit They Are Wrong? Failure Disclosure Is Unstable Under Reinforcement Learning

This work studies failure disclosure: whether a model admits that an attempted solution failed rather than staying silent or presenting it as successful, and makes reporting substantially more consistent, though its effect on task performance depends on the setting.

Steven Y. Feng, Noah D. Goodman, Michael C. Frank et al. · 0 citations

Related blog posts

MIT News · Artificial Intelligence Nov 17, 2026

Learning the language of machine learning

By studying the computational foundations of language learning, Associate Professor Jacob Andreas builds intelligent systems that can communicate effectively with humans.

Microsoft Research Blog Nov 16, 2026

TokenEconomizer: Learning from Experience to Make AI Coding Agents More Efficient

AI coding agents are increasingly help developers fix bugs and build features largely on their own, but every interaction with their models consumes tokens. In each session, an agent sends instructions, tool descriptions, and session history to its model. Most efforts to reduce this cost focus on individual tasks. Yet developers return to the same […] The post TokenEconomizer: Learning from Experience to Make AI Coding Agents More Efficient appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.