Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Feedback-Driven Tool-Use Improvements in Large Language Models via Automated Build Environments

About

Effective tool use is essential for large language models (LLMs) to interact with their environment. However, progress is limited by the lack of efficient reinforcement learning (RL) frameworks specifically designed for tool use, due to challenges in constructing stable training environments and designing verifiable reward mechanisms. To address this, we propose an automated environment construction pipeline, incorporating scenario decomposition, document generation, function integration, complexity scaling, and localized deployment. This enables the creation of high-quality training environments that provide detailed and measurable feedback without relying on external tools. Additionally, we introduce a verifiable reward mechanism that evaluates both the precision of tool use and the completeness of task execution. When combined with trajectory data collected from the constructed environments, this mechanism integrates seamlessly with standard RL algorithms to facilitate feedback-driven model training. Experiments on LLMs of varying scales demonstrate that our approach significantly enhances the models' tool-use performance without degrading their general capabilities. Our analysis suggests that these gains result from improved context understanding and reasoning, driven by updates to the lower-layer MLP parameters in models. Code and data are available at https://github.com/bytedance/FTRL.

Junjie Ye, Changhao Jiang, Zhengyin Du, Yufei Xu, Xuesong Yao, Zhiheng Xi, Xiaoran Fan, Qi Zhang, Tao Gui, Xuanjing Huang, Jiecao Chen• 2025

Related benchmarks

TaskDatasetResultRank
Multi-hop tool useToolHop
Answer Correctness44.79
43
Tool Use∞Bench
Average Pass@132.52
38
Function CallingBFCL (Berkeley Function Calling Leaderboard)
Base Score0.515
28
Robustness of Tool-useRoTBench
TS78.1
27
Tool Use ReasoningOurs (test)
Solve Precision (P)49.51
27
Tool-use interaction evaluationFTRL
Solve P34.47
16
Showing 6 of 6 rows

Other info

Follow for update