NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Relevance Is Not Necessity: Selecting the Necessary API Set for Tool-Using LLMs

Chen Wang

NeurIPS page · OpenReview · Open on the map

Category: LLM Agents, Evals & Benchmarks › Agentic Workflow and Environment Generation · Type: new method · Keywords: API set selection, necessity vs relevance, tool-using LLMs, offline refinement, ToolBench

Areas: Evaluation & Benchmarks › Language Model and Agent Benchmarks › Tool Use in LLM Agents; Evaluation Methodology & Auditing › Model Performance and Reliability Assessment › Model Selection and Evaluation

Summary

TC-MASS is an offline refinement framework that improves verifier-consistent API-set recovery for tool-using LLMs by leveraging necessity-aware set-level supervision.

Explained to a 5-year-old

People ask computers to do many things using different tools. Sometimes the computer picks tools that seem helpful but aren't needed. This makes the answer wrong. The paper teaches the computer to pick only the tools that are truly needed. It does this by looking at past examples and learning which tools are necessary.

Explained to a 5-year-old, longer

Imagine you have a robot that can help you with chores, and it can use many different tools like a broom, a vacuum, or a mop. When you ask it to clean a room, it might choose to use both the broom and the vacuum. But maybe you only need the vacuum, and using the broom is extra. If the robot uses the wrong tools, it might not clean as well. The paper looks at how to make the robot pick only the tools that are truly needed. It studies a situation where the robot has already seen many examples of how people use tools. By learning from those examples, the robot can tell which tools are necessary for each task. The researchers created a special test called ToolBench to check how well the robot picks tools. They compared the old way of picking tools, which only looked at whether each tool was useful, with a new way that looks at whether each tool is needed. The new way performed better on the test, meaning the robot gave more correct answers. They also tried the new method on different kinds of tasks and it still worked well. This helps robots and computer programs be more reliable when they have to use many tools. It also saves time because they don't waste effort on unnecessary tools. Overall, the study shows that focusing on necessity, not just relevance, makes tool-using systems smarter.

For a technical reader

The paper identifies a gap where current tool-use systems select APIs based on relevance alone, causing verification failures. It proposes an offline refinement that uses whole-set exact-match supervision on frozen traces to select only necessary APIs. Evaluated on ToolBench G2/G3, the method improves API-set recovery without extra LLM generation.

Problem

Selecting the correct set of APIs for multi-tool plans is challenging because standard methods focus on relevance of individual APIs, yet downstream verification requires the exact necessary set. This creates a gap between relevance and necessity that must be addressed to achieve accurate tool-use.

Method

The approach formulates the relevance-necessity gap and introduces an offline refinement framework that leverages whole-set exact-match supervision on frozen upstream traces. It uses a Bayes-optimal set selector and operates under a leakage-free benchmark protocol to improve verifier-consistent API-set recovery without additional LLM generation.

Results

The approach achieves improved verifier-consistent API-set recovery compared to baseline selectors, as shown by ablations and cross-distribution probes.

Contributions

It formalizes the relevance-necessity gap, proposes necessity-aware set-level supervision as the correct objective, and demonstrates that whole-set exact-match supervision yields better API-set recovery on the benchmark.

Limitations and assumptions

The method assumes frozen upstream traces and evaluates only under a leakage-free benchmark protocol, which may limit its applicability to online or more realistic settings.

Practical relevance

It enables more reliable tool-use in LLMs by ensuring the selected API set is both relevant and necessary, reducing verification failures.

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