Google Research Releases ToolGrad: Answer-First Framework Hits 99.8% Pass Rate for Tool-Use Data Generation
Training an LLM to call tools reliably requires datasets that pair user queries with correct tool-use chains.Producing that data at scale has been slow and expensive.A team of researchers from Google, the University of Tokyo, RIKEN AIP, and Tohoku University introduce ToolGrad.
The research work inverts the usual pipeline: build a verified tool chain first, then write the query.Gemma-3 models fine-tuned on 500 samples of the resulting data reach scores that sit alongside frontier proprietary models on the Berkeley Function Calling Leaderboard.Is it deployable?Yes.
The code is Apache-2.0, the ToolGrad-500 dataset and the 1B, 4B, and 12B models are on Hugging Face, and there is a PyPI package.The problem with query-first generation Prior pipelines such as ToolBench and ToolACE follow a query-first recipe.
The system samples a pool of APIs, asks an LLM to invent a plausible user instruction, and then dispatches a depth-first search (DFS) agent to find a tool-use path that satisfies it.The search has no guarantee of success.
When it dead-ends, the compute spent on exploration is wasted, and the sample is discarded.The paper frames this as distilling valuable trajectories from a complex and often failing agent exploration, which is inherently inefficient.ToolGrad reverses the order.
It first constructs a ground-truth tool-use chain by actually executing APIs, then annotates that chain with a matching user query.An explicit, working chain is far less ambiguous than a hypothetical prompt, so the chain-to-query step takes a single LLM call.
Four modules in a loop Each iteration runs four modules in sequence: API Proposer narrows a sampled set of APIs down to a few candidates that could extend the current workflow.API Executors run those candidates in parallel and produce detailed execution reports.
API Selector reviews the reports, picks the single best-performing call, and appends it to the workflow.Its directional feedback is the textual gradient.LLM Updater rewrites the synthetic user query and AI response so they match the new API set.
Repeating the loop yields one sample: a user query, a verified API workflow, and the final response.The repository’s default configuration runs 10 iterations over 50 sampled APIs per workflow.
Generation efficiency on ToolBench The research team evaluated data generation on the ToolBench API database, which contains 16,000+ real-world APIs, and compared ToolGrad against ToolBench’s DFS-based query-first approach.According to the research paper: Pass rate rose from 63.8% (DFS) to 99.
8% (ToolGrad).Ground-truth tool uses per sample rose from 2.1 to 3.4, meaning longer chains.Tool-use steps per sample fell from 34.3 to 20.0.LLM invocations per sample fell slightly, from 64.5 to 63.9.The 0.
2% failure case occurred when the agent could not get a successful response from 3 selected APIs across all 10 iterations and saved an empty sample.Interactive explainer (function(){var f=document.getElementById("mtp-toolgrad-frame");window.addEventListener("message",function(e){if(e.data&&e.data.
type==="mtp-toolgrad-resize"&&e.source===f.contentWindow){f.style.height=e.data.height+"px";}});})(); BFCL results with Gemma-3 The researchers generated ToolGrad-500, a 500-sample dataset built with Gemini 2.5 Flash-Lite, and used it to post-train Gemma-3 at 1B, 4B, and 12B parameters.
They evaluated on the Berkeley Function Calling Leaderboard, which uses a tool set that differs from ToolBench, making it an out-of-distribution test with unseen tools.Findings reported by the authors: Fine-tuning on ToolGrad-500 improved tool-use scores at every parameter size.
ToolGrad-12B scored 83.1, compared with Gemini 2.5 Pro at 83.2, Claude 4.5 Opus at 82.8, and GPT-5 at 74.4, as measured at the time of publication.The 12B student outperformed Gemini 2.5 Flash-Lite, the teacher model that generated its training data.
ToolGrad-12B led open tool-use specialists including ToolACE and Hammer-2.1-7B.The repository’s reproduction scripts target BFCL V1 and V2 through a customized fork, run inference in a vLLM Docker image, and were verified on a single NVIDIA A100 40GB.
Key Takeaways ToolGrad flips tool-use data generation: verify the chain first, write the query second.Pass rate jumps from 63.8% to 99.8% on ToolBench, with longer chains and fewer tool steps.Only 500 samples lift Gemma-3-12B to 83.1 on BFCL, next to Gemini 2.5 Pro at 83.2.
The student model beats its Gemini 2.5 Flash-Lite teacher.Check out the Paper, GitHub Page, and Google Research Blog.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!are you on telegram?
now you can join us on telegram as well.Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?Connect with us The post Google Research Releases ToolGrad: Answer-First Framework Hits 99.
8% Pass Rate for Tool-Use Data Generation appeared first on MarkTechPost.
Related
相關文章
曝OpenAI拿下超6.7億年單!打“骨折”、送額度、配工程師,就為了搶Anthropic客戶
編譯 | 孫小雯 編輯 | 程茜 OpenAI和Anthropic為了搶用戶,最近又槓上了!10月30日,OpenAI剛將部分Pro套餐的ChatGPT Work和Codex額度翻倍;次日,Anthropic取消了已驗證Ultra賬戶的5小時用量限制,周限額保留。
英特爾與騰訊發佈基於至強6+的雲實例,曬智能體AI基礎設施全家桶
作者 | ZeR0 編輯 | 漠影 11月3日報道,近日,在2026騰訊全球數字生態大會上,英特爾與騰訊雲發佈基於英特爾至強6+處理器的騰訊雲新一代雲實例,並全面展示英特爾的芯片產品與雲端實踐。 全新至強6+處理器擁有最高288顆能效核,單顆處理器最高可支持超過1000個智能體的穩定部署,這也為騰訊雲服務器提供更高併發、更低時延、更優能效的雲端算力服務。
智元榮獲2026世界互聯網大會傑出貢獻獎
11月3日,2026年世界互聯網大會烏鎮峰會在浙江烏鎮隆重開幕,國務院總理李強出席開幕式並發表主旨演講。開幕式上,智元憑藉在具身智能領域的系統性技術突破與產業化實踐,獲頒世界互聯網大會傑出貢獻獎。智元合夥人、高級副總裁朱潔在領獎時表示:人工智能的終局,不在於屏幕與雲端,而紮根於工廠一線和尋常煙火。具身智能賽道的競爭,早已跳出單點技術的競速,轉向軟硬協同、工程化落地、產業組織與治理體系的綜合比拼。智元期待與各界同心同行,堅守務實,躬身落地。
電動車退燒、AI 儲能燒起來:LG 新能源把產能挪向數據中心
11 月 3 日,首席財務官李昌植在財報電話會上給出時間表:今年底軟包儲能系統(ESS)產能將超 50 吉瓦時,明年進一步拉到 70 GWh 以上。在他看來,電動車增速放緩之際,AI 數據中心的大規模新建為電池廠撕開了新口子——第三季度 ESS 在手訂單已達 160 GWh,公司正與電力企業、超大型數據中心運營商談新項目,今年 9 月還作為儲能供應商擠進了英偉達的 DSX Ready 計劃。
最高288核的至強6+,為了Agent高密度部署還下了哪些「雲功夫」?
作者 | 陳悅琳編輯 | 包永剛 一個智能體能順利完成任務,不代表成百上千個智能體就能同時高效運行。 對於承載大量智能體任務的雲服務器而言,除了提升計算速度,如何在任務集中到來時迅速準備好執行環境、怎樣減少暫時閒置的任務對內存資源的佔用,也成為亟待解決的問題。 對此,在一年一度的騰訊全球數字生態大會上,英特爾與騰訊雲聯合發佈了基於至強6+處理器的新一代雲實例,圍繞任務啟動效率、內存資源利用率等關鍵因素進行優化後,其綜合性能較上一代提升30%以上。
聯合國副秘書長點贊!千問AI耳夾式耳機亮相烏鎮互聯網大會
他認為,產品非常實用,適合自己日常工作中需要使用多國語言進行交流的場景。面對面交流時,用戶可以通過耳機收聽譯文;會議中的討論內容,也能通過AI聽記整理為結構化紀要,方便會後回顧。連接千問App後,用戶還可通過語音交辦資料研究等任務、接收完成提醒,讓耳機成為日常辦公的隨身助手。