Reproduce “Joint Optimization of Tool Creation and Use for Large Language Model Agents” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zhi Rui Tam, Chieh-Yen Lin, Yun-Nung Chen, Shao-Hua Sun, Hung-yi Lee
Prentis AI and National Taiwan University researchers introduced SMITH (Schema-grounded Multi-task Iterative Tool Honing), a multi-task reinforcement learning framework that enables a single language model to jointly optimize both tool creation and tool use. This approach allowed a 4B model to achieve a macro-average accuracy of 79.8% on Reasoning-Gym tasks and demonstrated strong zero-shot transferability to unseen domains like TabMWP-Hard (40.4%) and GQA (42.6%), while significantly reducing token usage compared to baselines.
Key insights
- Jointly optimizing tool creation and use within a single policy incentivizes the LLM to generate more robust, clear, and reliably usable tool schemas because the model directly experiences the consequences of ambiguous or dysfunctional designs.
- Disentangling reward signals for tool format, execution correctness, and semantic quality provides more effective guidance for reinforcement learning in complex code generation and tool interaction tasks.
- Using an evaluator (`π_eval`) that is periodically synchronized from the evolving policy provides a stable yet improving target for assessing generated tools, overcoming issues of unreliable self-evaluation or misaligned fixed external judges.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.