Efficient and Scalable Estimation of Tool Representations in Vector Space
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
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 retrieval strategy using small encoder models. Empowered by LLMs, we create ToolBank, a new tool retrieval dataset that reflects real human user usages. For tool retrieval methodologies, we propose novel approaches: (1) Tool2Vec: usage-driven tool embedding generation for tool retrieval, (2) ToolRefiner: a staged retrieval method that iteratively improves the quality of retrieved tools, and (3) MLC: framing tool retrieval as a multi-label classification problem. With these new methods, we achieve improvements of up to 27.28 in Recall@K on the ToolBench dataset and 30.5 in Recall@K on ToolBank. Additionally, we present further experimental results to rigorously validate our methods. Our code is available at urlhttps://github.com/SqueezeAILab/Tool2Vec
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 34 of its 41 references that are in the map. First posted on arXiv 2 Sep 2024.
Builds on
34 of 41 references.
Closest ancestors · 12
Same direction, newest first
- 2024TinyAgent: Function Calling at the Edge1 Sep
- 2024Octopus v2: On-device language model for super agent2 Apr
- 2024AnyTool: Self-Reflective, Hierarchical Agents for Large-Scale API Calls6 Feb
- 2024EASYTOOL: Enhancing LLM-based Agents with Concise Tool Instruction11 Jan
- 2023MetaTool Benchmark for Large Language Models: Deciding Whether to Use Tools and Which to Use4 Oct
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
- 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Cases8 Jun
- 2023Large Language Models as Tool Makers26 May
- 2023Gorilla: Large Language Model Connected with Massive APIs24 May
- 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings19 May
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMs14 Apr
- 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb
Other references · 22
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Mistral 7Bcited by 3,065
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2024Mixtral of Expertscited by 1,785
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2022CodeT: Code Generation with Generated Testscited by 369
- 2023An LLM Compiler for Parallel Function Callingcited by 170
10 more
- 2022MRKL Systems: A modular, neuro-symbolic architecture that combines large language models, external knowledge sources and discrete reasoningcited by 153
- 2023Generalized Planning in PDDL Domains with Pretrained Large Language Modelscited by 139
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2024LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancementcited by 69
- 2023MM-LIMA: Less Is More for Alignment in Multi-Modal Datasetscited by 61
- 2024ToolRerank: Adaptive and Hierarchy-Aware Reranking for Tool Retrievalcited by 40
- 2024Towards Completeness-Oriented Tool Retrieval for Large Language Modelscited by 26
- 2024Characterizing Prompt Compression Methods for Long Context Inferencecited by 18
- 2024Enhancing Tool Retrieval with Iterative Feedback from Large Language Modelscited by 17
- 2023ProTIP: Progressive Tool Retrieval Improves Planningcited by 12
Built on by
Citing papers per year: 2024: 2; 2025: 9; 2026: 11.
22 papers.
Sort:
By area:
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Taskscited by 190
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2025MCP-Zero: Active Tool Discovery for Autonomous LLM Agentscited by 32
- 2024Toolshed: Scale Tool-Equipped Agents with Advanced RAG-Tool Fusion and Tool Knowledge Basescited by 23
- 2025MCPVerse: An Expansive, Real-World Benchmark for Agentic Tool Usecited by 16
- 2025Graph RAG-Tool Fusioncited by 15
- 2026Toward Efficient Agents: Memory, Tool learning, and Planningcited by 11
- 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedbackcited by 5
- 2025Agent-as-a-Graph: Knowledge Graph-Based Tool and Agent Retrieval for LLM Multi-Agent Systemscited by 4
- 2026SING: Synthetic Intention Graph for Scalable Active Tool Discovery in LLM Agentscited by 4
- 2025MassTool: A Multi-Task Search-Based Tool Retrieval Framework for Large Language Modelscited by 3
- 2025LoSemB: Logic-Guided Semantic Bridging for Inductive Tool Retrievalcited by 3
10 more
- 2026AgentSelect: Benchmark for Narrative Query-to-Agent Recommendationcited by 3
- 2026UniToolCall: Unifying Tool-Use Representation, Data, and Evaluation for LLM Agentscited by 3
- 2026TabAgent: A Framework for Replacing Agentic Generative Components with Tabular-Textual Classifierscited by 2
- 2026Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMscited by 2
- 2026When Tool-Backed Skill Retrieval Fails: Source-Style Collapse in Executable Capability Retrievalcited by 2
- 2025Planning Agents on an Ego-Trip: Leveraging Hybrid Ego-Graph Ensembles for Improved Tool Retrieval in Enterprise Task Planningcited by 1
- 2026Try, Check and Retry: A Divide-and-Conquer Framework for Boosting Long-context Tool-Calling Performance of LLMscited by 1
- 2026Non-negative Elastic Net Decoding for Information Retrievalcited by 1
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrievalcited by 0
- 2026Self-Evolving Agents via Likelihood-Guided Tool-Space Optimizationcited by 0
- 2026Self-Evolving Agents via Likelihood-Guided Tool-Space Optimization28 Sep 2026
- 2026When Tool-Backed Skill Retrieval Fails: Source-Style Collapse in Executable Capability Retrieval17 Aug 2026
- 2026Non-negative Elastic Net Decoding for Information Retrieval16 Jun 2026
- 2026SING: Synthetic Intention Graph for Scalable Active Tool Discovery in LLM Agents15 Jun 2026
- 2026Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMs14 May 2026
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrieval4 May 2026
- 2026UniToolCall: Unifying Tool-Use Representation, Data, and Evaluation for LLM Agents13 Apr 2026
- 2026Try, Check and Retry: A Divide-and-Conquer Framework for Boosting Long-context Tool-Calling Performance of LLMs12 Mar 2026
- 2026AgentSelect: Benchmark for Narrative Query-to-Agent Recommendation4 Mar 2026
- 2026TabAgent: A Framework for Replacing Agentic Generative Components with Tabular-Textual Classifiers18 Feb 2026
- 2026Toward Efficient Agents: Memory, Tool learning, and Planning20 Jan 2026
- 2025Agent-as-a-Graph: Knowledge Graph-Based Tool and Agent Retrieval for LLM Multi-Agent Systems22 Nov 2025
10 more
- 2025MCPVerse: An Expansive, Real-World Benchmark for Agentic Tool Use22 Aug 2025
- 2025LoSemB: Logic-Guided Semantic Bridging for Inductive Tool Retrieval11 Aug 2025
- 2025Planning Agents on an Ego-Trip: Leveraging Hybrid Ego-Graph Ensembles for Improved Tool Retrieval in Enterprise Task Planning7 Aug 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025MassTool: A Multi-Task Search-Based Tool Retrieval Framework for Large Language Models1 Jul 2025
- 2025MCP-Zero: Active Tool Discovery for Autonomous LLM Agents1 Jun 2025
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks12 Mar 2025
- 2025Graph RAG-Tool Fusion11 Feb 2025
- 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedback23 Dec 2024
- 2024Toolshed: Scale Tool-Equipped Agents with Advanced RAG-Tool Fusion and Tool Knowledge Bases18 Oct 2024
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Taskscited by 190
- 2025MCP-Zero: Active Tool Discovery for Autonomous LLM Agentscited by 32
- 2024Toolshed: Scale Tool-Equipped Agents with Advanced RAG-Tool Fusion and Tool Knowledge Basescited by 23
- 2025MCPVerse: An Expansive, Real-World Benchmark for Agentic Tool Usecited by 16
- 2026Toward Efficient Agents: Memory, Tool learning, and Planningcited by 11
- 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedbackcited by 5
- 2025Agent-as-a-Graph: Knowledge Graph-Based Tool and Agent Retrieval for LLM Multi-Agent Systemscited by 4
- 2026SING: Synthetic Intention Graph for Scalable Active Tool Discovery in LLM Agentscited by 4
- 2025LoSemB: Logic-Guided Semantic Bridging for Inductive Tool Retrievalcited by 3
- 2026AgentSelect: Benchmark for Narrative Query-to-Agent Recommendationcited by 3
- 2026UniToolCall: Unifying Tool-Use Representation, Data, and Evaluation for LLM Agentscited by 3
- 2026TabAgent: A Framework for Replacing Agentic Generative Components with Tabular-Textual Classifierscited by 2
12 most cited of 14 All 14 (JSON)
- 2026SING: Synthetic Intention Graph for Scalable Active Tool Discovery in LLM Agents15 Jun 2026
- 2026Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMs14 May 2026
- 2026UniToolCall: Unifying Tool-Use Representation, Data, and Evaluation for LLM Agents13 Apr 2026
- 2026Try, Check and Retry: A Divide-and-Conquer Framework for Boosting Long-context Tool-Calling Performance of LLMs12 Mar 2026
- 2026AgentSelect: Benchmark for Narrative Query-to-Agent Recommendation4 Mar 2026
- 2026TabAgent: A Framework for Replacing Agentic Generative Components with Tabular-Textual Classifiers18 Feb 2026
- 2026Toward Efficient Agents: Memory, Tool learning, and Planning20 Jan 2026
- 2025Agent-as-a-Graph: Knowledge Graph-Based Tool and Agent Retrieval for LLM Multi-Agent Systems22 Nov 2025
- 2025MCPVerse: An Expansive, Real-World Benchmark for Agentic Tool Use22 Aug 2025
- 2025LoSemB: Logic-Guided Semantic Bridging for Inductive Tool Retrieval11 Aug 2025
- 2025MCP-Zero: Active Tool Discovery for Autonomous LLM Agents1 Jun 2025
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks12 Mar 2025
12 newest of 14 All 14 (JSON)
- 2025Graph RAG-Tool Fusioncited by 15
- 2025Graph RAG-Tool Fusion11 Feb 2025
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2025MassTool: A Multi-Task Search-Based Tool Retrieval Framework for Large Language Modelscited by 3
- 2026When Tool-Backed Skill Retrieval Fails: Source-Style Collapse in Executable Capability Retrievalcited by 2
- 2025Planning Agents on an Ego-Trip: Leveraging Hybrid Ego-Graph Ensembles for Improved Tool Retrieval in Enterprise Task Planningcited by 1
- 2026Non-negative Elastic Net Decoding for Information Retrievalcited by 1
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrievalcited by 0
- 2026Self-Evolving Agents via Likelihood-Guided Tool-Space Optimizationcited by 0
- 2026Self-Evolving Agents via Likelihood-Guided Tool-Space Optimization28 Sep 2026
- 2026When Tool-Backed Skill Retrieval Fails: Source-Style Collapse in Executable Capability Retrieval17 Aug 2026
- 2026Non-negative Elastic Net Decoding for Information Retrieval16 Jun 2026
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrieval4 May 2026
- 2025Planning Agents on an Ego-Trip: Leveraging Hybrid Ego-Graph Ensembles for Improved Tool Retrieval in Enterprise Task Planning7 Aug 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025MassTool: A Multi-Task Search-Based Tool Retrieval Framework for Large Language Models1 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Tools are under-documented: Simple Document Expansion Boosts Tool Retrieval
- 2025Retrieval Models Aren't Tool-Savvy: Benchmarking Tool Retrieval for Large Language Models
- 2024Data-Efficient Massive Tool Retrieval: A Reinforcement Learning Approach for Query-Tool Alignment with Language Models
- 2026ToolWeaver: Weaving Collaborative Semantics for Scalable Tool Use in Large Language Models
- 2026Semantic Tool Discovery for Large Language Models: A Vector-Based Approach to MCP Tool Selection
- 2025ToolDreamer: Instilling LLM Reasoning Into Tool Retrievers
- 2024Planning and Editing What You Retrieve for Enhanced Tool Learning
- 2026Tool Retrieval Bridge: Aligning Vague Instructions with Retriever Preferences via Bridge Model