atlas

Research map / Large language models / Instruction and fine-tuning

ToolRL: Reward is All Tool Learning Needs

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Studies reward design for RL-based tool learning and proposes a fine-grained rule-based reward (format + tool-call correctness) trained with GRPO from cold start on Qwen2.5 and Llama-3.2 instruct models, outperforming SFT and PPO on BFCL, API-Bank, and Bamboogle.

Problem

Training LLMs for general-purpose tool selection and application with RL is hampered by reward design: multiple tools with many parameters make coarse answer-matching rewards uninformative, and SFT generalizes poorly to unfamiliar or complex tool use.

Approach

A rule-based reward combining a binary format reward with a fine-grained correctness reward that matches tool names, parameter names and parameter values via optimal matching between predicted and ground-truth tool calls, scaled to [-3, 3], used in GRPO without a KL term; ablations on length, scale, granularity, and temporal dynamics guide the design.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train with GRPO and the ToolRL reward from a cold start rather than the strongest listed baselineQwen2.5-1.5B-Instruct · BFCL V3Overall Acc: 42.95% -> 46.20%Helped
train with GRPO and the ToolRL reward from a cold start rather than PPO cold startQwen2.5-3B-Instruct · BFCL V3Overall Acc: 51.15% -> 52.98%Helped
train with GRPO and the ToolRL reward from a cold start rather than PPO cold startQwen2.5-7B-Instruct · BFCL V3Overall Acc: 46.68% -> 58.38%Helped
train with GRPO and the ToolRL reward from a cold start rather than SFT4kLlama-3.2-3B-Instruct · BFCL V3Overall Acc: 44.16% -> 44.10%No clear effect
train with GRPO and the ToolRL reward from a cold start rather than the strongest listed baselineQwen2.5-1.5B-Instruct · API-Bank TestOverall Acc: 61.31% -> 63.15%Helped
train with GRPO and the ToolRL reward from a cold start rather than PPO cold startQwen2.5-3B-Instruct · API-Bank TestOverall Acc: 57.62% -> 67.00%Helped
train with GRPO and the ToolRL reward from a cold start rather than the raw modelQwen2.5-7B-Instruct · API-Bank TestOverall Acc: 62.48% -> 64.66%Helped
train with GRPO and the ToolRL reward from a cold start rather than SFT400+PPOLlama-3.2-3B-Instruct · API-Bank TestOverall Acc: 57.79% -> 59.13%Helped
add a reasoning-length reward (ablation)ToolRL GRPO · BFCL V3Overall Acc: 52.98% -> 48.89%Hurt
use a dynamic reasoning-length reward (ablation)ToolRL GRPO · BFCL V3Overall Acc: 52.98% -> 48.24%Hurt
equalize the maximum correctness and format rewards (ablation)ToolRL GRPO · BFCL V3Overall Acc: 52.98% -> 51.76%Hurt
use two-stage reward scaling (ablation)ToolRL GRPO · BFCL V3Overall Acc: 52.98% -> 50.66%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ToolACE Hammer (Masked) xLAM

Benchmarks: BFCL V3 API-Bank Bamboogle

Metrics: accuracy average number of tool calls

Baselines: Raw Instruct Model SFT on RL data (400 and 4K) SFT400+GRPO PPO Cold Start SFT400+PPO

Builds on: GRPO PPO DeepSeek-R1-style rule-based rewards veRL

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy