When Evidence is Sparse: Weakly Supervised Early Failure Alerting in Dialogs and LLM-Agent Trajectories
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Early failure alerting requires deciding, while a dialog or agent trajectory is still unfolding, whether to flag it as likely to fail. This is challenging because supervision is typically available only as a trajectory-level success/failure label while alerts must be raised from partial interactions. Prior early-classification methods often bridge this gap by assigning the terminal label to every prefix, treating every turn as failure evidence. We hypothesize that this prefix-label assumption is poorly matched to multi-turn language interactions, where evidence of eventual failure is sparse and often delayed. In this paper, we introduce a two-stage approach that learns from this sparse evidence structure and uses the resulting risk estimates for controllable early alerting. Specifically, our attention-based failure predictor learns sparse turn-level failure evidence from trajectory labels and uses it to estimate failure risk from partial histories. We then pair this predictor with α-STOP, a single preference-conditioned stopping policy that selects an accuracy-earliness operating point at inference time rather than training a separate trigger for each preference. Across five benchmarks spanning customer support, task-oriented dialog, persuasion, tool use, and planning, we first show that high-relevance failure evidence occupies only 4.7-11.3% of turns and first appears after 59.0-83.6% of trajectories on average. We further show that the attention-based predictor improves Pareto-frontier quality (hypervolume) by 1-10% over naive prefix supervision, and that the full system improves frontier quality by 3-42% over state-of-the-art trigger policies while reducing training cost per operating point by 1-3 orders of magnitude.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 45 references that are in the map. First posted on arXiv 3 Jun 2026.
Builds on
19 of 45 references.
Closest ancestors · 1
Same direction, newest first
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents26 Jul
Other references · 18
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Let's Verify Step by Stepcited by 3,598
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
- 2018Attention-based Deep Multiple Instance Learningcited by 1,077
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
- 2024Judging the Judges: A Systematic Study of Position Bias in LLM-as-a-Judgecited by 249
- 2019Persuasion for Good: Towards a Personalized Persuasive Dialogue System for Social Goodcited by 207
- 2020pymoo: Multi-objective Optimization in Pythoncited by 196
- 2016Multiple Instance Learning: A Survey of Problem Characteristics and Applicationscited by 163
6 more
- 2019Reward-Conditioned Policiescited by 101
- 2020Provable Benefit of Orthogonal Initialization in Optimizing Deep Linear Networkscited by 73
- 2020Joint Turn and Dialogue level User Satisfaction Estimation on Multi-Domain Conversationscited by 19
- 2022Stop&Hop: Early Classification of Irregular Time Seriescited by 10
- 2025Learning the Optimal Stopping for Early Classification within Finite Horizons via Sequential Probability Ratio Testcited by 3
- 2023Multi-Step Dialogue Workflow Action Predictioncited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026PrefixGuard: From LLM-Agent Traces to Online Failure-Warning Monitors
- 2026Evaluation of Multi-Turn Consistency in LLM Agents: Survival Analysis and Failure-Rationale Taxonomy
- 2026Detect Before You Attribute: Cascade Failure Attribution for Multi-Agent Systems
- 2026Sentry: Learning to Recover from LLM Agent Failures at Test Time
- 2026SeDT: Sentence-Transformer Decision-Transformer Conditioning for Multi-Turn Conversation Reliability
- 2026Strained Coherence: A Pre-Failure Signal in Coding Agent Execution Trajectories
- 2026When Does a Spoken Agent Have Enough Evidence to Act? The PACT-SLM Contract Test
- 2026Before Reasoning Can Fail: Pre-Evidence Procedural Failures in Agentic RAG