Joint Optimization of Tool Creation and Use for Large Language Model Agents
Zhi Rui Tam, Chieh-Yen Lin, Yun-Nung, Shao-Hua Sun, Hung-yi Lee
NeurIPS page · OpenReview · Open on the map
Category: LLM Agents, Evals & Benchmarks › Agentic Reasoning and Skill Management · Type: new method · Keywords: joint tool creation and use, reinforcement learning for language models, tool augmentation, procedural reasoning, benchmark evaluation
Areas: LLM Reasoning › Agentic Reasoning › Tool Use in Agents; AI Agents › Agent Optimization and Evaluation › Tool-Augmented Agents; Evaluation & Benchmarks › Agent Capabilities and Memory › Agentic Tool Use; RL for LLMs & Agents › Language Model Agents › Agentic Tool Use
Summary
SMITH is a reinforcement learning framework that jointly optimizes tool creation and use within a single policy, achieving state-of-the-art performance on procedural reasoning and related tasks.
Explained to a 5-year-old
Some computers can use little helpers called tools to solve problems. Right now, the part that writes the helpers is different from the part that uses them, so the helpers sometimes don't work well. This paper creates a new way for the computer to learn both writing and using helpers at the same time, like practicing both drawing and coloring together. By doing this, the helpers become better and the computer can solve more tricky problems, such as math puzzles and questions. The computer gets smarter without needing a huge amount of data or a super big brain.
Explained to a 5-year-old, longer
A computer can ask for help from small tools to answer questions or solve puzzles. Usually, one part of the computer writes the tools, and another part uses them, but they don't learn together. This makes the tools sometimes not fit what the computer needs. The paper introduces a system where the computer learns both writing and using tools at the same time, like a child practicing both reading and writing in one lesson. By training both tasks together, the tools become more useful and the computer can handle harder problems, such as math word problems and general questions. The system also works well on new kinds of problems it hasn't seen before. Even a smaller computer can use the tools written by a bigger one, making the process more efficient. This approach helps language model agents become more capable and reliable without requiring massive amounts of extra data.
For a technical reader
The paper presents a joint reinforcement learning framework that simultaneously optimizes tool creation and usage within a single policy. It alternates between build and use rollouts, providing separate reward signals for schema correctness, code quality, and task outcome failures. This end-to-end training eliminates the decoupling present in prior inference-time tool creation methods. Experiments on 13 procedural reasoning tasks, TabMWP-Hard, and GQA show macro-average accuracies of 79.8, 40.4, and 42.6 respectively, surpassing existing baselines. The method also scales to larger backbones and enables smaller student models to benefit from high-quality tools generated by larger writers.
Problem
Tool-augmented language models are limited by the manually written APIs, and existing inference-time tool creation methods decouple the tool writer from the tool user, providing no feedback that the generated schemas are usable. This mismatch leads to suboptimal tool quality and hampers the effectiveness of language model agents.
Method
The approach formulates tool creation and usage as a joint reinforcement learning problem, training a single policy on alternating build and use rollouts with separate reward signals for schema, code, and outcome failures. This enables end-to-end optimization of both the tool writer and the tool user.
Results
The approach achieves 79.8 macro-average accuracy on the 13 procedural reasoning tasks, 40.4 on TabMWP-Hard, and 42.6 on out-of-domain GQA, outperforming the best inference-time baselines by +7.6 on GQA. Tools written by the 4B model match the quality of those from a 30B writer when used by a frozen student model.
Contributions
A unified reinforcement learning framework that simultaneously learns tool creation and usage, with separate reward signals for schema, code, and outcome failures, enabling end-to-end optimization of tool quality. Demonstrations show that this joint training yields superior performance across multiple benchmarks and scales to larger backbones.
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