# ToolGrad: Efficient Tool-use Dataset Generation with Textual "Gradients"

Source: [ToolGrad: Efficient Tool-use Dataset Generation with Textual "Gradients"](<https://www.sota2.com/research/paper/68fa7a711e209131cea83430>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-06-19T05:00:05.274Z

Authors: Zhongyi Zhou, Kohei Uehara, Haoyu Zhang, Jingtao Zhou, Lin Gu, Ruofei Du, Zheng Xu, Tatsuya Harada

Published: 2025-08-06T05:04:00.000Z

## Abstract

Prior work synthesizes tool-use LLM datasets by first generating a user query, followed by complex tool-use annotations like depth-first search (DFS). This leads to inevitable annotation failures and low efficiency in data generation. We introduce ToolGrad, an agentic framework that inverts this paradigm. ToolGrad first constructs valid tool-use chains through an iterative process guided by textual "gradients", and then synthesizes corresponding user queries. This "answer-first" approach led to ToolGrad-500, a dataset generated with more complex tool use, lower cost, and almost 100% pass rate. Experiments show that ToolGrad models outperform those trained on expensive baseline datasets and proprietary LLMs. The ToolGrad source code, dataset, and models are available at https://github.com/zhongyi-zhou/toolgrad.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Single-turn Tool Use on ToolBench](<https://www.sota2.com/research/sota/single-turn-tool-use-on-toolbench.md>): Single-turn Tool Use; ToolBench; Score: 19.6.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2508.04086>)

[PDF](<https://arxiv.org/pdf/2508.04086.pdf>)
