paper-with-me

Papers

Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuning

2024-10-16 · Mingyang Chen, Haoze Sun, Tianpeng Li, Fan Yang, Hao Liang, Keer Lu, Bin Cui, Wentao Zhang, Zenan Zhou, WeiPeng Chen

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 functions are then developed for these compositional tasks. The top-down phase features a multi-agent environment where interactions among simulated humans, assistants, and tools are utilized to gather multi-turn function calling trajectories. This approach ensures task compositionality and allows for effective function and trajectory generation by examining atomic tasks within compositional tasks. We produce a dataset BUTTONInstruct comprising 8k data points and demonstrate its effectiveness through extensive experiments across various LLMs.

📄 PDF Abstract BibTeX arXiv:2410.12952

Code (1)

pku-baichuan-mlsystemlab/button 공식 구현

Tasks

8k

Similar Papers 제목 키워드 기반

Assertion-Conditioned Compliance: A Provenance-Aware Vulnerability in Multi-Turn Tool-Calling Agents

2025-11-29 · Daud Waqas, Aaryamaan Golthi, Erika Hayashida, Huanzhi Mao arxiv

Multi-turn tool-calling LLMs (models capable of invoking external APIs or tools across several user turns) have emerged as a key feature in modern AI assistants, enabling extended dialogues from benign tasks to critical …

PARL-MT: Learning to Call Functions in Multi-Turn Conversation with Progress Awareness

2025-09-27 · Huacan Chai, Zijie Cao, Maolin Ran, Yingxuan Yang 외 arxiv

Large language models (LLMs) have achieved impressive success in single-turn function calling, yet real-world applications such as travel planning or multi-stage data analysis typically unfold across multi-turn conversat…

Reinforcement Learning

HammerBench: Fine-Grained Function-Calling Evaluation in Real Mobile Device Scenarios

2024-12-21 · Jiamu Zhou, Muning Wen, Xiaoyun Mo, Haoyu Zhang 외

Evaluating the performance of LLMs in multi-turn human-agent interactions presents significant challenges, particularly due to the complexity and variability of user behavior. In this paper, we introduce HammerBench, a n…

Benchmarking

ACEBench: Who Wins the Match Point in Tool Learning?

2025-01-22 · Chen Chen, Xinlong Hao, Weiwen Liu, Xu Huang 외

Large language models (LLMs) have demonstrated significant potential in decision-making and reasoning, especially when combined with various tools to effectively solve complex problems. However, existing evaluation syste…

Decision Making

Asynchronous LLM Function Calling

2024-12-09 · In Gim, Seung-seob Lee, Lin Zhong

Large language models (LLMs) use function calls to interface with external tools and data source. However, the current approach to LLM function calling is inherently synchronous, where each call blocks LLM inference, lim…