Tool Graph Retriever: Exploring Dependency Graph-based Tool Retrieval for Large Language Models
Linfeng Gao, Yaoxiang Wang, Minlong Peng, Jialong Tang, Yuzhe Shang, Mingming Sun, Jinsong Su

TL;DR
This paper introduces Tool Graph Retriever (TGR), a novel method that leverages tool dependencies via graph convolution to improve tool retrieval for large language models, outperforming existing approaches.
Contribution
The paper proposes a dependency-aware tool retrieval method using graph convolution, addressing the limitation of independent tool consideration in prior methods.
Findings
TGR achieves state-of-the-art performance on multiple datasets.
Tool dependencies significantly enhance retrieval accuracy.
Graph-based representations improve tool integration efficiency.
Abstract
With the remarkable advancement of AI agents, the number of their equipped tools is increasing rapidly. However, integrating all tool information into the limited model context becomes impractical, highlighting the need for efficient tool retrieval methods. In this regard, dominant methods primarily rely on semantic similarities between tool descriptions and user queries to retrieve relevant tools. However, they often consider each tool independently, overlooking dependencies between tools, which may lead to the omission of prerequisite tools for successful task execution. To deal with this defect, in this paper, we propose Tool Graph Retriever (TGR), which exploits the dependencies among tools to learn better tool representations for retrieval. First, we construct a dataset termed TDI300K to train a discriminator for identifying tool dependencies. Then, we represent all candidate tools…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
