Localizing Emergent Failures in Agentic AI: Recovering Minimal Repair Families via Counterfactual Replay
Bingjie Li, Yumeng Song, Zhongming Yao, Tianyi Li
Key points
From the paper's conclusion- We formulate Minimal Repair Family Recovery (MRFR): recovering all inclusion-minimal event sets whose counterfactual replay restores task success within a declared size bound.
Abstract
Failures in agentic AI systems can arise from interactions among messages exchanged by multiple large language model (LLM) agents. Pointwise attribution cannot distinguish a jointly necessary repair from alternative singleton repairs. We formulate Minimal Repair Family Recovery (MRFR): recovering all inclusion-minimal event sets whose counterfactual replay restores task success within a declared size bound. We propose Graph-Constrained Joint Replay (GCJR), which slices failure-relevant events from an execution dependency graph, constructs graph-feasible singleton and pair candidates, and verifies them by replay with paired clean counterparts. For fixed replay outcomes, GCJR is exact within its declared graph domain. On 90 in-scope cases from a 120-DAG controlled benchmark, GCJR achieves 1.000 Family Exact Match while reducing mean replay calls from 56.3 to 25.3 (55.1%) relative to exhaustive search. On a 24-case, four-agent LLM pilot, it again achieves 1.000 Family Exact Match and reduces mean model calls from 21.0 to 10.0 (52.4%); single-event replay misses jointly necessary repairs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Same Winners, Different Success Rates: Evaluating How LLM Agents Recover from FailuresarXiv · 2026
- Dependable Long-Horizon LLM Agents: A Trajectory-Centered Empirical Study of Where Errors Enter and Which Controls Reach ThemarXiv · 2026
- ARIA: Runtime Inspection and Amendment for Multi-Agent SystemsarXiv · 2026
- Sentry: Learning to Recover from LLM Agent Failures at Test TimearXiv · 2026
- A Mechanistic Study of Automated Failure Attribution in LLM-based Agentic SystemsarXiv · 2026
- Finding Where the Buck Stops: An Automated Failure Attribution-Based Reflection Framework for Multi-Agent CollaborationarXiv · 2026