Advancing and Benchmarking Personalized Tool Invocation for LLMs

Xu Huang, Yuefeng Huang, Weiwen Liu, Xingshan Zeng, Yasheng Wang +3 more
5/7/2025
cs.CLcs.AI

Official code: hyfshadow/PTBench (5 stars, last commit 2025-02-21).

Abstract

Tool invocation is a crucial mechanism for extending the capabilities of Large Language Models (LLMs) and has recently garnered significant attention. It enables LLMs to solve complex problems through tool calls while accessing up-to-date world knowledge. However, existing work primarily focuses on the fundamental ability of LLMs to invoke tools for problem-solving, without considering personalized constraints in tool invocation. In this work, we introduce the concept of Personalized Tool Invocation and define two key tasks: Tool Preference and Profile-dependent Query. Tool Preference addresses user preferences when selecting among functionally similar tools, while Profile-dependent Query considers cases where a user query lacks certain tool parameters, requiring the model to infer them from the user profile. To tackle these challenges, we propose PTool, a data synthesis framework designed for personalized tool invocation. Additionally, we construct \textbf{PTBench}, the first benchmark for evaluating personalized tool invocation. We then fine-tune various open-source models, demonstrating the effectiveness of our framework and providing valuable insights. Our benchmark is public at https://github.com/hyfshadow/PTBench.

View on arXivView PDF

Code Implementations(1)

hyfshadow/PTBenchOfficial100%
51PythonFeb 21, 20251 years ago

Similar Papers

Cite this paper

@article{huang2025advancing,
  title  = {Advancing and Benchmarking Personalized Tool Invocation for LLMs},
  author = {Xu Huang and Yuefeng Huang and Weiwen Liu and Xingshan Zeng and Yasheng Wang and Ruiming Tang and Hong Xie and Defu Lian},
  year   = {2025},
  eprint = {2505.04072},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.04072v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.04072.svg)](https://codeofpaper.com/paper/2505.04072)

Discussion