mlsanityData to 7 Oct 2026

Diagnosis Before Recovery: Turning Agent Failures into Selective Self-Correction

arXiv 2608.11772 ↗First posted 12 Aug 2026cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Self-correction is particularly useful when a failure constrains the next repair. Coding agents benefit from this property because compilers, tests, and execution traces turn many failures into typed recovery signals, but broad language-agent tasks often expose only a coarse task failure. This creates a tension for generic recovery playbooks: they broaden the agent's context precisely when the system needs a narrower repair interface, mixing incompatible signals for invalid actions, missing procedures, and strict-format errors. Our insight is that development-set failures can recover part of the missing diagnostic substrate by deciding which recovery interventions are admissible before test-time correction. We propose DARC, a diagnosis-guided recovery harness that profiles task-family failure modes, prunes mismatched interventions from a shared recovery library, and freezes a verifier-selected success-cost policy for deployment. This causal order makes correction selective: the harness first determines what kind of failure can be repaired, then decides how much recovery evidence to spend. In ALFWorld, AppWorld, and XBRL Finance, the same protocol yields an action-validity harness, a procedural-recovery fallback, and a format-precision retrieval policy; in each evaluated setting it improves average task performance over base agents and broad playbooks while reducing environment steps or retrieval budget. Our experiments show that failures need not trigger uniformly more context: DARC turns self-correction from prompt expansion into recovery-interface design. DARC provides a practical route toward more reliable agents in domains where compiler-like feedback is absent: making failures actionable before making contexts larger.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 88 of its 97 references that are in the map. First posted on arXiv 12 Aug 2026.

Builds on

88 of 97 references.

References · 88

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  6. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  7. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  8. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  9. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  10. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  11. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  12. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
38 more
  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  2. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  3. 2023Let's Verify Step by Stepcited by 3,598
  4. 2021Program Synthesis with Large Language Modelscited by 3,509
  5. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  6. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  7. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  8. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  9. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  10. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  11. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  12. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  13. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  14. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
  15. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  16. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  17. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  18. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  19. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  20. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  21. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  22. 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
  23. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  24. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
  25. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  26. 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
  27. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
  28. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  29. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
  30. 2023Teaching Large Language Models to Self-Debugcited by 963
  31. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
  32. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
  33. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  34. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  35. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  36. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
  37. 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
  38. 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 508

50 most cited of 88 All 88 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026AgentTether: Graph-Guided Diagnosis and Runtime Intervention for Reliable LLM Agent Operation
  2. 2026Sentry: Learning to Recover from LLM Agent Failures at Test Time
  3. 2026When Harnesses Lose the Signal: Causal Evaluation of Recovery in LLM Agents
  4. 2025ReflexGrad: Within-Episode Failure Recovery in LLM Agents via Progress-Gated Dual-Process Routing
  5. 2026ExecCritic: Learn to Test, Test to Improve for Coding Agents
  6. 2026Autonomous Repair for Multi-Agent Systems via Monte-Carlo Tree Search
  7. 2026Looping Is Not Reliability: State-Bound Evidence and Typed Revision Contracts for Agentic Code Repair
  8. 2026DAAF: From Failure Localization to Editable System Assets in LLM Agents