atlas

Research map / Large language models / Agents, code and math

Advancing Tool-Augmented Large Language Models: Integrating Insights from Errors in Inference Trees

NeurIPS 2024 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Builds step-wise preference pairs from ToolBench DFSDT decision trees (using failed branches) and applies SFT followed by DPO to LLaMA-2-7B, yielding TP-LLaMA for tool-augmented reasoning.

Problem

Tool-augmented LLMs trained by SFT on ToolBench use only successful DFSDT paths, discarding information from failed branches, which limits data utilization and exploration.

Approach

Parse each branch node along the successful path of a DFSDT tree into a step-wise preference pair (success child preferred over failed sibling), then run SFT on successful trajectories followed by DPO on these pairs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add DPO training on step-wise ToolPreference data after SFTLLaMA-2-7B tool-use model · ToolBench six test scenarios (Avg)pass rate: 0.53 -> 0.65Helped
Add DPO training on step-wise ToolPreference data after SFTLLaMA-2-7B tool-use model · ToolBench six test scenarios (Avg)win rate: 0.61 -> 0.65Helped
Add DPO training on step-wise ToolPreference data after SFTLLaMA-2-7B tool-use model · ToolBench six test scenarios (Avg)DFSDT inference steps: 32.06 -> 22.62Helped
Add DPO training on step-wise ToolPreference data after SFTLLaMA-2-7B tool-use model · G3-Ins.pass rate: 0.35 -> 0.61Helped
Add DPO training on step-wise ToolPreference data after SFT (ablation)Mistral-7B tool-use model · ToolBench six test scenarios (Avg)pass rate: 0.47 -> 0.62Helped
Add DPO training on step-wise ToolPreference data after SFT (ablation)Mistral-7B tool-use model · ToolBench six test scenarios (Avg)win rate: 0.58 -> 0.60Helped
Add DPO training on step-wise ToolPreference data after SFT (ablation)Mistral-7B tool-use model · ToolBench six test scenarios (Avg)DFSDT inference steps: 27.22 -> 22.39Helped
Add DPO training on step-wise ToolPreference data after SFT (ablation)Qwen1.5-7B tool-use model · ToolBench six test scenarios (Avg)pass rate: 0.57 -> 0.65Helped
Add DPO training on step-wise ToolPreference data after SFT (ablation)Qwen1.5-7B tool-use model · ToolBench six test scenarios (Avg)win rate: 0.60 -> 0.63Helped
Add DPO training on step-wise ToolPreference data after SFT (ablation)Qwen1.5-7B tool-use model · ToolBench six test scenarios (Avg)DFSDT inference steps: 35.68 -> 24.40Helped
Add DPO training on step-wise ToolPreference data after SFT (ablation)Gemma-7B tool-use model · ToolBench six test scenarios (Avg)pass rate: 0.47 -> 0.65Helped
Add DPO training on step-wise ToolPreference data after SFT (ablation)Gemma-7B tool-use model · ToolBench six test scenarios (Avg)win rate: 0.58 -> 0.64Helped

Surprising findings

Limitations

Experimental setup

Datasets: ToolBench ToolPreference

Benchmarks: ToolBench test sets (G1-Ins., G1-Tool, G1-Cat., G2-Ins., G2-Cat., G3-Ins.)

Metrics: pass rate win rate average DFSDT steps

Baselines: ChatGPT+DFSDT Text-Davinci-003 ToolLLaMA LLaMA with SFT

Builds on: ToolBench DFSDT Direct Preference Optimization ToolLLaMA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy