Research map / Large language models / Instruction and fine-tuning
ToolFlow: Boosting LLM Tool-Calling Through Natural and Coherent Dialogue Synthesis
Zezhong Wang, Xingshan Zeng, Weiwen Liu, Liangyou Li, Yasheng Wang, Lifeng Shang, Xin Jiang, Qun Liu, Kam-Fai Wong
The Chinese University of Hong Kong · Huawei Technologies
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- MMLU leaderboard accuracy 69.8 · rank 124 of 351 papers
- BBH leaderboard accuracy 63.3 · rank 33 of 68 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add Planned-Generation to data synthesis (ablation) | ToolFlow synthetic data · Synthetic data, EnR (Graph on) | entailment ratio: 32.1 -> 47.3 | Improved |
| add Graph-based Sampling to data synthesis (ablation) | ToolFlow synthetic data · Synthetic data, D-3 (Plan on) | Distinct-3: 0.3393 -> 0.4865 | Improved |
| add Planned-Generation to data synthesis (ablation) | ToolFlow synthetic data · GPT-4 evaluation (Graph on) | naturalness (NAT): 3.00 -> 3.72 | Improved |
| add Graph and Plan to data synthesis (ablation) | ToolFlow synthetic data · GPT-4 evaluation | accuracy (ACC): 4.90 -> 4.92 | No clear effect |
| fine-tune on ToolFlow data (Graph+Plan) | Llama-3.1-8B-Instruct · BFCL-v2 Overall | accuracy: 78.14 -> 82.57 | Improved |
| add Graph and Plan to training data synthesis (ablation) | Llama-3.1-8B-Instruct SFT · BFCL-v2 Overall | accuracy: 81.09 -> 82.57 | Improved |
| add Graph-based Sampling to training data (ablation) | Llama-3.1-8B-Instruct SFT · API-Bank L2 (Retrieve + Call) | accuracy: 39.27 -> 42.23 | Improved |
| add Graph and Plan to training data (ablation) | Llama-3.1-8B-Instruct SFT · ToolAlpaca Overall | accuracy (%): 77 -> 84 | Improved |
| fine-tune on ToolFlow data | Llama-3.1-8B-Instruct · MMLU and BBH | accuracy: MMLU 69.3% -> 69.8%; BBH 63.2% -> 63.3% | No clear effect |
| add Plan-Generation to training data (Graph on) (ablation) | Llama-3.1-8B-Instruct SFT · MT-Bench Avg. | score: 6.91 -> 7.62 | Improved |
| replace GPT-4 with Llama-3.1-8B-Instruct as data synthesizer (ablation) | ToolFlow pipeline · BFCL Avg. | accuracy: 88.66 -> 86.42 | Hurt |
| fine-tune Mistral-7B-Instruct-v0.1 and Qwen2-7B on ToolFlow data | other base models · BFCL Avg. | accuracy: Mistral 53.32% -> 84.35%; Qwen2 69.43% -> 84.80% | Improved |
Open problems in fine-tuning generalization and delta compression
Do fine-tuning findings hold beyond small English-only models and automatic judges?
- Experiments stop at small or mid-sized models. · 21 papers state it
- Only English or one other language is tested. · 19 papers state it
- Scores come from LLM judges with no human check. · 12 papers state it
Closest papers by meaning
- ToolWeave: Structured Synthesis of Complex Multi-Turn Tool-Calling Dialogues (EMNLP 2026 · similarity 0.91)
- ToolACE: Winning the Points of LLM Function Calling (ICLR 2025 · similarity 0.90)
- Small LLMs Are Weak Tool Learners: A Multi-LLM Agent (EMNLP 2024 · similarity 0.89)
- ToolDial: Multi-turn Dialogue Generation Method for Tool-Augmented Language Models (ICLR 2025 · similarity 0.88)
- ToolACE-MT: Non-Autoregressive Generation for Agentic Multi-Turn Interaction (ICLR 2026 · similarity 0.88)
- Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Models (ICML 2024 · similarity 0.87)
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.