Advancing Tool-Augmented Large Language Models: Integrating Insights from Errors in Inference Trees
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Tool-augmented large language models (LLMs) leverage tools, often in the form of APIs, to improve their reasoning capabilities on complex tasks. This enables them to act as intelligent agents interacting with the real world. The recently introduced ToolLLaMA model by Qin et al. [2023] utilizes the depth-first search-based decision tree (DFSDT) mechanism for multi-step reasoning with 16000+ real-world APIs, effectively enhancing the performance of tool-augmented LLMs compared to traditional chain reasoning mechanisms. However, their approach only employs successful paths from decision trees (also called inference trees) for supervised fine-tuning (SFT), missing out on the potential learning opportunities from failed paths. Inspired by this, we propose an inference trajectory optimization framework based on preference learning to address this limitation. We first introduce a novel method for constructing step-wise preference data from tree-like expert trajectories, which leverages the previously ignored failed explorations in the decision trees. In the subsequent training phase, we first fine-tune the LLM with successful tool-usage expert trajectories and then apply direct preference optimization (DPO) with the preference data to update the LLM's policy, resulting in our ToolPrefer-LLaMA (TP-LLaMA) model. This approach not only enhances the utilization of original expert data but also broadens the learning space of the model. Our experiments demonstrate that by obtaining insights from errors in inference trees, TP-LLaMA significantly outperforms the baselines across almost all test scenarios by a large margin and exhibits better generalization capabilities with unseen APIs. At the same time, TP-LLaMA has also demonstrated superior reasoning efficiency compared to the baselines, making it more suitable for complex tool-usage reasoning tasks.
Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 38 of its 52 references that are in the map. First posted on arXiv 11 Jun 2024.
Builds on
38 of 52 references.
Closest ancestors · 1
Same direction, newest first
Other references · 37
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
25 more
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2023Qwen Technical Reportcited by 3,273
- 2023Mistral 7Bcited by 3,065
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,210
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2023Chameleon: Plug-and-Play Compositional Reasoning with Large Language Modelscited by 352
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 293
- 2023Large Language Model Alignment: A Surveycited by 241
- 2021Internet-Augmented Dialogue Generationcited by 217
- 2024Trial and Error: Exploration-Based Trajectory Optimization for LLM Agentscited by 194
- 2022A Survey of Deep Learning for Mathematical Reasoningcited by 124
- 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Modelscited by 122
- 2023Let's reward step by step: Step-Level reward model as the Navigators for Reasoningcited by 96
- 2018Reliability and Learnability of Human Bandit Feedback for Sequence-to-Sequence Reinforcement Learningcited by 57
- 2023Domain-Controlled Prompt Learningcited by 22
- 2023Domain Prompt Learning with Quaternion Networkscited by 17
Built on by
Citing papers per year: 2024: 4; 2025: 18; 2026: 16.
38 papers.
Sort:
By area:
- 2025Acting Less is Reasoning More! Teaching Model to Act Efficientlycited by 80
- 2024Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Taskscited by 52
- 2025PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Casescited by 21
- 2025CRITICTOOL: Evaluating Self-Critique Capabilities of Large Language Models in Tool-Calling Error Scenarioscited by 19
- 2025Iterative Tool Usage Exploration for Multimodal Agents via Step-wise Preference Tuningcited by 18
- 2025Divide-Then-Aggregate: An Efficient Tool Learning Method via Parallel Tool Invocationcited by 16
- 2025CheMatAgent: Enhancing LLMs for Chemistry and Materials Science through Tree-Search Based Tool Learningcited by 12
- 2025TTPA: Token-level Tool-use Preference Alignment Training Framework with Fine-grained Evaluationcited by 9
- 2026Triplets Better Than Pairs: Towards Stable and Effective Self-Play Fine-Tuning for LLMscited by 9
- 2025Rethinking LLM Evaluation: Can We Evaluate LLMs with 200x Less Data?cited by 8
- 2025ToolForge: A Data Synthesis Pipeline for Multi-Hop Search without Real-World APIscited by 8
- 2024Weak-eval-Strong: Evaluating and Eliciting Lateral Thinking of LLMs with Situation Puzzlescited by 7
26 more
- 2025Enhancing Tool Learning in Large Language Models with Hierarchical Error Checklistscited by 7
- 2025SPACE: Noise Contrastive Estimation Stabilizes Self-Play Fine-Tuning for Large Language Modelscited by 7
- 2024CITI: Enhancing Tool Utilizing Ability in Large Language Models without Sacrificing General Performancecited by 6
- 2025CodeTool: Enhancing Programmatic Tool Invocation of LLMs via Process Supervisioncited by 6
- 2025Network-Level Prompt and Trait Leakage in Local Research Agentscited by 5
- 2025Offline Learning and Forgetting for Reasoning with Large Language Modelscited by 4
- 2025PEToolLLM: Towards Personalized Tool Learning in Large Language Modelscited by 3
- 2025Beyond Fast and Slow: Cognitive-Inspired Elastic Reasoning for Large Language Modelscited by 2
- 2026Teaching LLMs to Learn Tool Trialing and Execution through Environment Interactioncited by 2
- 2026Picking the Right Specialist: Attentive Neural Process-based Selection of Task-Specialized Models as Tools for Agentic Healthcare Systemscited by 2
- 2026FinTrace: Holistic Trajectory-Level Evaluation of LLM Tool Calling for Long-Horizon Financial Taskscited by 2
- 2024MATATA: Weakly Supervised End-to-End MAthematical Tool-Augmented Reasoning for Tabular Applicationscited by 1
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Banditscited by 1
- 2026Think-Augmented Function Calling: Improving LLM Parameter Accuracy Through Embedded Reasoningcited by 1
- 2026Building Autonomous GUI Navigation via Agentic-Q Estimation and Step-Wise Policy Optimizationcited by 1
- 2026When to Trust Tools? Adaptive Tool Trust Calibration For Tool-Integrated Math Reasoningcited by 1
- 2025HGMF: A Hierarchical Gaussian Mixture Framework for Scalable Tool Invocation within the Model Context Protocolcited by 0
- 2025Adaptive Tool Generation with Models as Tools and Reinforcement Learningcited by 0
- 2026Unlearning in LLMs: Methods, Evaluation, and Open Challengescited by 0
- 2026Emerging from Ground: Addressing Intent Deviation in Tool-Using Agents via Deriving Real Calls into Virtual Trajectoriescited by 0
- 2026ToolWeaver: Weaving Collaborative Semantics for Scalable Tool Use in Large Language Modelscited by 0
- 2026Robust and Efficient Tool Orchestration via Layered Execution Structures with Reflective Correctioncited by 0
- 2026HTAA: Enhancing LLM Planning via Hybrid Toolset Agentization & Adaptationcited by 0
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrievalcited by 0
- 2026AgroTools: A Benchmark for Tool-Augmented Multimodal Agents in Agriculturecited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2026AgroTools: A Benchmark for Tool-Augmented Multimodal Agents in Agriculture21 May 2026
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrieval4 May 2026
- 2026HTAA: Enhancing LLM Planning via Hybrid Toolset Agentization & Adaptation13 Apr 2026
- 2026FinTrace: Holistic Trajectory-Level Evaluation of LLM Tool Calling for Long-Horizon Financial Tasks11 Apr 2026
- 2026When to Trust Tools? Adaptive Tool Trust Calibration For Tool-Integrated Math Reasoning9 Apr 2026
- 2026Robust and Efficient Tool Orchestration via Layered Execution Structures with Reflective Correction21 Feb 2026
- 2026Picking the Right Specialist: Attentive Neural Process-based Selection of Task-Specialized Models as Tools for Agentic Healthcare Systems16 Feb 2026
- 2026Building Autonomous GUI Navigation via Agentic-Q Estimation and Step-Wise Policy Optimization14 Feb 2026
- 2026ToolWeaver: Weaving Collaborative Semantics for Scalable Tool Use in Large Language Models29 Jan 2026
- 2026Think-Augmented Function Calling: Improving LLM Parameter Accuracy Through Embedded Reasoning26 Jan 2026
- 2026Emerging from Ground: Addressing Intent Deviation in Tool-Using Agents via Deriving Real Calls into Virtual Trajectories21 Jan 2026
26 more
- 2026Unlearning in LLMs: Methods, Evaluation, and Open Challenges19 Jan 2026
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Bandits19 Jan 2026
- 2026Teaching LLMs to Learn Tool Trialing and Execution through Environment Interaction19 Jan 2026
- 2026Triplets Better Than Pairs: Towards Stable and Effective Self-Play Fine-Tuning for LLMs13 Jan 2026
- 2025ToolForge: A Data Synthesis Pipeline for Multi-Hop Search without Real-World APIs18 Dec 2025
- 2025Beyond Fast and Slow: Cognitive-Inspired Elastic Reasoning for Large Language Models17 Dec 2025
- 2025SPACE: Noise Contrastive Estimation Stabilizes Self-Play Fine-Tuning for Large Language Models8 Dec 2025
- 2025Rethinking LLM Evaluation: Can We Evaluate LLMs with 200x Less Data?12 Oct 2025
- 2025Adaptive Tool Generation with Models as Tools and Reinforcement Learning8 Oct 2025
- 2025PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Cases25 Sep 2025
- 2025Network-Level Prompt and Trait Leakage in Local Research Agents27 Aug 2025
- 2025HGMF: A Hierarchical Gaussian Mixture Framework for Scalable Tool Invocation within the Model Context Protocol11 Aug 2025
- 2025CRITICTOOL: Evaluating Self-Critique Capabilities of Large Language Models in Tool-Calling Error Scenarios11 Jun 2025
- 2025CheMatAgent: Enhancing LLMs for Chemistry and Materials Science through Tree-Search Based Tool Learning9 Jun 2025
- 2025Enhancing Tool Learning in Large Language Models with Hierarchical Error Checklists28 May 2025
- 2025TTPA: Token-level Tool-use Preference Alignment Training Framework with Fine-grained Evaluation26 May 2025
- 2025Iterative Tool Usage Exploration for Multimodal Agents via Step-wise Preference Tuning30 Apr 2025
- 2025Acting Less is Reasoning More! Teaching Model to Act Efficiently21 Apr 2025
- 2025Offline Learning and Forgetting for Reasoning with Large Language Models15 Apr 2025
- 2025CodeTool: Enhancing Programmatic Tool Invocation of LLMs via Process Supervision26 Mar 2025
- 2025PEToolLLM: Towards Personalized Tool Learning in Large Language Models26 Feb 2025
- 2025Divide-Then-Aggregate: An Efficient Tool Learning Method via Parallel Tool Invocation21 Jan 2025
- 2024MATATA: Weakly Supervised End-to-End MAthematical Tool-Augmented Reasoning for Tabular Applications28 Nov 2024
- 2024Weak-eval-Strong: Evaluating and Eliciting Lateral Thinking of LLMs with Situation Puzzles9 Oct 2024
- 2024CITI: Enhancing Tool Utilizing Ability in Large Language Models without Sacrificing General Performance20 Sep 2024
- 2024Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks27 Jun 2024
- 2024Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Taskscited by 52
- 2025PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Casescited by 21
- 2025CRITICTOOL: Evaluating Self-Critique Capabilities of Large Language Models in Tool-Calling Error Scenarioscited by 19
- 2025Divide-Then-Aggregate: An Efficient Tool Learning Method via Parallel Tool Invocationcited by 16
- 2025CheMatAgent: Enhancing LLMs for Chemistry and Materials Science through Tree-Search Based Tool Learningcited by 12
- 2025TTPA: Token-level Tool-use Preference Alignment Training Framework with Fine-grained Evaluationcited by 9
- 2025ToolForge: A Data Synthesis Pipeline for Multi-Hop Search without Real-World APIscited by 8
- 2025Enhancing Tool Learning in Large Language Models with Hierarchical Error Checklistscited by 7
- 2024CITI: Enhancing Tool Utilizing Ability in Large Language Models without Sacrificing General Performancecited by 6
- 2025Network-Level Prompt and Trait Leakage in Local Research Agentscited by 5
- 2025PEToolLLM: Towards Personalized Tool Learning in Large Language Modelscited by 3
- 2026Teaching LLMs to Learn Tool Trialing and Execution through Environment Interactioncited by 2
12 most cited of 22 All 22 (JSON)
- 2026AgroTools: A Benchmark for Tool-Augmented Multimodal Agents in Agriculture21 May 2026
- 2026HTAA: Enhancing LLM Planning via Hybrid Toolset Agentization & Adaptation13 Apr 2026
- 2026FinTrace: Holistic Trajectory-Level Evaluation of LLM Tool Calling for Long-Horizon Financial Tasks11 Apr 2026
- 2026Robust and Efficient Tool Orchestration via Layered Execution Structures with Reflective Correction21 Feb 2026
- 2026Picking the Right Specialist: Attentive Neural Process-based Selection of Task-Specialized Models as Tools for Agentic Healthcare Systems16 Feb 2026
- 2026Building Autonomous GUI Navigation via Agentic-Q Estimation and Step-Wise Policy Optimization14 Feb 2026
- 2026ToolWeaver: Weaving Collaborative Semantics for Scalable Tool Use in Large Language Models29 Jan 2026
- 2026Emerging from Ground: Addressing Intent Deviation in Tool-Using Agents via Deriving Real Calls into Virtual Trajectories21 Jan 2026
- 2026Teaching LLMs to Learn Tool Trialing and Execution through Environment Interaction19 Jan 2026
- 2025ToolForge: A Data Synthesis Pipeline for Multi-Hop Search without Real-World APIs18 Dec 2025
- 2025Adaptive Tool Generation with Models as Tools and Reinforcement Learning8 Oct 2025
- 2025PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Cases25 Sep 2025
12 newest of 22 All 22 (JSON)
- 2025Acting Less is Reasoning More! Teaching Model to Act Efficientlycited by 80
- 2024Weak-eval-Strong: Evaluating and Eliciting Lateral Thinking of LLMs with Situation Puzzlescited by 7
- 2025Offline Learning and Forgetting for Reasoning with Large Language Modelscited by 4
- 2025Beyond Fast and Slow: Cognitive-Inspired Elastic Reasoning for Large Language Modelscited by 2
- 2024MATATA: Weakly Supervised End-to-End MAthematical Tool-Augmented Reasoning for Tabular Applicationscited by 1
- 2026Think-Augmented Function Calling: Improving LLM Parameter Accuracy Through Embedded Reasoningcited by 1
- 2026When to Trust Tools? Adaptive Tool Trust Calibration For Tool-Integrated Math Reasoningcited by 1
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2026When to Trust Tools? Adaptive Tool Trust Calibration For Tool-Integrated Math Reasoning9 Apr 2026
- 2026Think-Augmented Function Calling: Improving LLM Parameter Accuracy Through Embedded Reasoning26 Jan 2026
- 2025Beyond Fast and Slow: Cognitive-Inspired Elastic Reasoning for Large Language Models17 Dec 2025
- 2025Acting Less is Reasoning More! Teaching Model to Act Efficiently21 Apr 2025
- 2025Offline Learning and Forgetting for Reasoning with Large Language Models15 Apr 2025
- 2024MATATA: Weakly Supervised End-to-End MAthematical Tool-Augmented Reasoning for Tabular Applications28 Nov 2024
- 2024Weak-eval-Strong: Evaluating and Eliciting Lateral Thinking of LLMs with Situation Puzzles9 Oct 2024
- 2026Unlearning in LLMs: Methods, Evaluation, and Open Challenges19 Jan 2026
- 2025Rethinking LLM Evaluation: Can We Evaluate LLMs with 200x Less Data?cited by 8
- 2025CodeTool: Enhancing Programmatic Tool Invocation of LLMs via Process Supervisioncited by 6
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Banditscited by 1
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrievalcited by 0
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrieval4 May 2026
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Bandits19 Jan 2026
- 2025Rethinking LLM Evaluation: Can We Evaluate LLMs with 200x Less Data?12 Oct 2025
- 2025CodeTool: Enhancing Programmatic Tool Invocation of LLMs via Process Supervision26 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2024Advancing Process Verification for Large Language Models via Tree-Based Preference Learning
- 2024Monte Carlo Tree Search Boosts Reasoning via Iterative Preference Learning
- 2025Toward Effective Tool-Integrated Reasoning via Self-Evolved Preference Learning
- 2024LLM With Tools: A Survey
- 2025DiaTool-DPO: Multi-Turn Direct Preference Optimization for Tool-Augmented Large Language Models
- 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graph
- 2025Alignment for Efficient Tool Calling of Large Language Models
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspective