# ToolSearcher: Optimizing Tool Selection at Scale via Reinforcement Learning

*Zhenlong Dai, Xujie Song, Zitong Wang, Tong Niu, Jian liu, Weiqiang Wang, Xiu Tang, Sai Wu, Chang Yao, Jingyuan Chen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154349) · [OpenReview](https://openreview.net/forum?id=EFnOrwjviv) · [Open on the map](../papers.html#p154349)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [LLM-Driven Tool-Use and Planning](../pgroup/691.md) · Type: new method · Keywords: tool selection, reinforcement learning, LLM agents, multi-turn search, category-constrained discrimination

Areas: [LLM Reasoning](../areas/reasoning.md) › Agentic Reasoning › Tool Use in Agents; [AI Agents](../areas/agents.md) › Agent Optimization and Evaluation › Agentic Tool Use; [Evaluation & Benchmarks](../areas/evaluation.md) › Agent Capabilities and Memory › Agentic Tool Use; [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Agents › Agentic Tool Use

## Summary
ToolSearcher is a reinforcement learning framework that optimizes large-scale tool selection for LLMs through multi-turn search and fine-grained credit allocation.

## Explained to a 5-year-old
Imagine a robot that talks but needs to use many tools like a brush or a hammer. There are so many tools that it's hard to find the right one. The researchers created a special way for the robot to learn which tool to use by playing a game with rewards. This helps the robot pick the best tool faster. It makes the robot more useful in real life.

## Explained to a 5-year-old, longer
A talking robot wants to help people by using tools, like a virtual assistant that can open files or send emails. In the real world there are thousands of different tools, and they often look similar. It’s hard for the robot to know which tool does exactly what it needs. The robot also has a limited memory, so it can’t keep all tool information at once. Researchers noticed that existing methods only work when there are just a few tools. They decided to treat finding the right tool as a game where the robot gets points for good choices. The game is played over many steps, letting the robot search and learn gradually. They added special rules to help the robot tell apart tools that do similar things. They also gave the robot a way to understand which part of its search was successful. This helps the robot focus on the most promising tools quickly. After training, the robot can pick the right tool even when there are many options. This makes the robot more helpful and able to work in complex situations.

## For a technical reader
The paper addresses the challenge of selecting appropriate tools from large, diverse repositories for LLM-based agents. It frames tool selection as a multi-turn reinforcement learning problem and introduces category-constrained discrimination, event-level search modeling, and trajectory-aligned credit allocation to guide the search. These mechanisms enable fine-grained reward signals that improve tool distinction and discovery under context constraints. Experiments on large-scale benchmarks show consistent gains over baseline RL and heuristic approaches. The work provides a scalable RL framework that can be integrated into agent pipelines to enhance tool usage.

## Problem
Selecting appropriate tools from large, diverse repositories for agentic tasks is challenging, especially when tools are functionally similar and context-length constraints limit information availability.

## Method
The approach uses reinforcement learning with category-constrained discrimination, event-level search modeling, and trajectory-aligned credit allocation to guide multi-turn search and optimize tool selection.

## Results
The approach shows consistent superiority over strong baselines in challenging iterative search and tool composition tasks.

## Contributions
It identifies large-scale tool selection as a new challenge for agentic RL, proposes category-constrained discrimination, event-level search modeling, and trajectory-aligned credit allocation, and evaluates performance on large-scale benchmarks.

## Research questions this paper is counted under

- [How can we efficiently select specialized components from large, diverse pools to accomplish tasks?](../q/753.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154349)
