cs.LGOct 22, 2026

Training Small Language Models for Transferable Tool Selection

Authors: Zhaoyi Zhou, Akshayaa Magesh, Jeongyeol Kwon, Artem Kuriksha, Daniel Jiang, Andrea Zanette, Ayush Jain

Organizations: Meta · Carnegie Mellon University

Abstract

As LLM agents operate over corpora of more than ten thousand tools, selecting the right tool for a complex multi-step user instruction becomes a central bottleneck. Tool descriptions cannot all fit in context, and relevance-based retrievers only rank tools without knowing which are actually needed. Recent work instead leverages proprietary commercial LLMs like Claude or ChatGPT to drive a retriever, decomposing the instruction and selecting over retrieved candidates. We show that a small, open model can be trained via reinforcement learning to perform the same functionality. On ToolBench, a Qwen3-8B model post-trained with our recipe outperforms Llama-4-Maverick (402B). In addition, the trained model transfers directly to different retrievers and generalizes to new tool corpora in different domains.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ToolSearcher: Optimizing Tool Selection at Scale via Reinforcement Learning

    Sep 25, 2026Zhenlong Dai, Xujie Song, Zitong Wang +7Tool SelectionLLM Tool Use

  2. PORTS: Preference-Optimized Retrievers for Tool Selection with Large Language Models

    Jul 3, 2026Lorenzo Molfetta, Giacomo Frisoni, Nicolò Monaldini +1Preference OptimizationLLM Tool Use

  3. Joint Optimization of Tool Creation and Use for Large Language Model Agents

    Aug 25, 2026Zhi Rui Tam, Chieh-Yen Lin, Yun-Nung Chen +2Tool-Augmented Language Model AgentsLLM Agent Training