Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuning
Mingyang Chen, Haoze Sun, Tianpeng Li, Fan Yang, Hao Liang, Keer Lu,, Bin Cui, Wentao Zhang, Zenan Zhou, Weipeng Chen

TL;DR
This paper introduces BUTTON, a method for multi-turn function calling in LLMs, using synthetic data generation to improve handling of complex, multi-step real-world queries involving functions.
Contribution
The paper presents a novel synthetic data generation approach for multi-turn function calling, enabling LLMs to better handle compositional, multi-step tasks.
Findings
BUTTON improves multi-turn function calling performance
Synthetic data enhances LLM understanding of complex tasks
Experiments show effectiveness across various LLMs
Abstract
Large Language Models (LLMs) have exhibited significant potential in performing diverse tasks, including the ability to call functions or use external tools to enhance their performance. While current research on function calling by LLMs primarily focuses on single-turn interactions, this paper addresses the overlooked necessity for LLMs to engage in multi-turn function calling--critical for handling compositional, real-world queries that require planning with functions but not only use functions. To facilitate this, we introduce an approach, BUTTON, which generates synthetic compositional instruction tuning data via bottom-up instruction construction and top-down trajectory generation. In the bottom-up phase, we generate simple atomic tasks based on real-world scenarios and build compositional tasks using heuristic strategies based on atomic tasks. Corresponding function definitions…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsVLSI and Analog Circuit Testing · Ferroelectric and Negative Capacitance Devices · Microfluidic and Capillary Electrophoresis Applications
