Efficient and Scalable Estimation of Tool Representations in Vector Space
Suhong Moon, Siddharth Jha, Lutfi Eren Erdogan, Sehoon Kim, Woosang, Lim, Kurt Keutzer, Amir Gholami

TL;DR
This paper introduces a scalable framework for tool retrieval in large language models using synthetic data, novel embedding and retrieval methods, and new datasets, significantly improving retrieval accuracy.
Contribution
It presents a new synthetic data generation approach, three innovative tool retrieval methods, and two datasets, advancing efficient tool management in LLMs.
Findings
Up to 27.28 improvement in Recall@K on ToolBench
Up to 30.5 improvement in Recall@K on ToolBank
Validated effectiveness of new retrieval methods
Abstract
Recent advancements in function calling and tool use have significantly enhanced the capabilities of large language models (LLMs) by enabling them to interact with external information sources and execute complex tasks. However, the limited context window of LLMs presents challenges when a large number of tools are available, necessitating efficient methods to manage prompt length and maintain accuracy. Existing approaches, such as fine-tuning LLMs or leveraging their reasoning capabilities, either require frequent retraining or incur significant latency overhead. A more efficient solution involves training smaller models to retrieve the most relevant tools for a given query, although this requires high quality, domain-specific data. To address those challenges, we present a novel framework for generating synthetic data for tool retrieval applications and an efficient data-driven tool…
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
TopicsFuzzy Logic and Control Systems · AI-based Problem Solving and Planning · Semantic Web and Ontologies
