mlsanityData to 7 Oct 2026

Failure Makes the Agent Stronger: Enhancing Accuracy through Structured Reflection for Reliable Tool Interactions

arXiv 2509.18847 ↗First posted 23 Sep 2025cs.CV cs.AI cs.CLcited by 12

On the map: LLM agents and tool use → Tool learning and function calling

Abstract (arXiv)

Tool-augmented large language models (LLMs) are usually trained with supervised imitation or coarse-grained reinforcement learning that optimizes single tool calls. Current self-reflection practices rely on heuristic prompts or one-way reasoning: the model is urged to 'think more' instead of learning error diagnosis and repair. This is fragile in multi-turn interactions; after a failure the model often repeats the same mistake. We propose structured reflection, which turns the path from error to repair into an explicit, controllable, and trainable action. The agent produces a short yet precise reflection: it diagnoses the failure using evidence from the previous step and then proposes a correct, executable follow-up call. For training we combine DAPO and GSPO objectives with a reward scheme tailored to tool use, optimizing the stepwise strategy Reflect, then Call, then Final. To evaluate, we introduce Tool-Reflection-Bench, a lightweight benchmark that programmatically checks structural validity, executability, parameter correctness, and result consistency. Tasks are built as mini trajectories of erroneous call, reflection, and corrected call, with disjoint train and test splits. Experiments on BFCL v3 and Tool-Reflection-Bench show large gains in multi-turn tool-call success and error recovery, and a reduction of redundant calls. These results indicate that making reflection explicit and optimizing it directly improves the reliability of tool interaction and offers a reproducible path for agents to learn from failure.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 31 of its 73 references that are in the map. First posted on arXiv 23 Sep 2025.

Builds on

31 of 73 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024TL-Training: A Task-Feature-Based Framework for Training Large Language Models in Tool Use20 Dec
  2. 2024Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuning16 Oct
  3. 2024From Exploration to Mastery: Enabling LLMs to Master Tools via Self-Driven Interactions10 Oct
  4. 2024ToolACE: Winning the Points of LLM Function Calling2 Sep
  5. 2024Tool Learning with Large Language Models: A Survey28 May
  6. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  7. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMs14 Apr

Other references · 24

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2025Qwen3 Technical Reportcited by 8,195
  3. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  4. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
  5. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  6. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
  7. 2025Group Sequence Policy Optimizationcited by 788
  8. 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 377
  9. 2024SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuningcited by 345
  10. 2025ToolRL: Reward is All Tool Learning Needscited by 342
  11. 2025SFT or RL? An Early Investigation into Training R1-Like Reasoning Large Vision-Language Modelscited by 209
  12. 2025ToRL: Scaling Tool-Integrated RLcited by 166
12 more
  1. 2024xLAM: A Family of Large Action Models to Empower AI Agent Systemscited by 108
  2. 2024Planning, Creation, Usage: Benchmarking LLMs for Comprehensive Tool Utilization in Real-World Complex Scenarioscited by 85
  3. 2024ToolGen: Unified Tool Retrieval and Calling via Generationcited by 72
  4. 2025LongCat-Flash Technical Reportcited by 54
  5. 2023LLM4EDA: Emerging Progress in Large Language Models for Electronic Design Automationcited by 40
  6. 2024Large Language Models Can Self-Correct with Key Condition Verificationcited by 39
  7. 2025PAG: Multi-Turn Reinforced LLM Self-Correction with Policy as Generative Verifiercited by 28
  8. 2024Self-Reflection Makes Large Language Models Safer, Less Biased, and Ideologically Neutralcited by 20
  9. 2025Boosting LLM Reasoning via Spontaneous Self-Correctioncited by 18
  10. 2024Equipping Language Models with Tool Use Capability for Tabular Data Analysis in Financecited by 14
  11. 2024Sparse Rewards Can Self-Train Dialogue Agentscited by 6
  12. 2025Correcting Hallucinations in News Summaries: Exploration of Self-Correcting LLM Methods with External Knowledgecited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 11.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026ReGRPO: Reflection-Augmented Policy Optimization for Tool-Using Agents
  2. 2025MIRROR: Multi-agent Intra- and Inter-Reflection for Optimized Reasoning in Tool Learning
  3. 2025PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Cases
  4. 2025Advancing Tool-Augmented Large Language Models via Meta-Verification and Reflection Learning
  5. 2026Loud Failures, Quiet Failures: Fault Detection and Recovery in Tool-Using Language Model Agents
  6. 2026ToolRobustBench: Stage-Wise Perturbation Evaluation and Failure Diagnosis for Tool-Calling Agents
  7. 2026Retry, Switch, or Abstain? Learning Strategy-Aware Tool-Use Policies via Controlled Error Injection
  8. 2026ParaRecover: A Process-Level Benchmark for Error Localization and Recovery in Parallel Tool-Use Agents