ToolRM: Towards Agentic Tool-Use Reward Modeling

Renhao Li, Jianhong Tu, Yang Su, Yantao Liu, Fei Huang +4 more
10/30/2025
cs.AIcs.CL

No official code found. Best implementation: lirenhao1997/ToolRM (11 stars, last commit 2026-01-14).

Abstract

Reward models (RMs) play a critical role in aligning large language models (LLMs) with human preferences. Yet in the domain of tool learning, the lack of RMs specifically designed for function-calling tasks has limited progress toward more capable agentic AI. We introduce ToolRM, a family of lightweight reward models tailored for general tool-use scenarios. To build these models, we propose a novel pipeline that constructs high-quality pairwise preference data using rule-based scoring and multidimensional sampling. This yields ToolPref-Pairwise-30K, a diverse, balanced, and challenging preference dataset that supports both generative and discriminative reward modeling. We also introduce TRBench$_{BFCL}$, a benchmark built on the agent evaluation suite BFCL to evaluate RMs on tool calling tasks. Trained on our constructed data, models from the Qwen3-4B/8B series achieve up to 17.94% higher accuracy, substantially outperforming frontier LLMs and RMs in pairwise reward judgments. Beyond training objectives, generative ToolRM generalizes to broader critique tasks, including Best-of-N sampling and self-correction. Experiments on ACEBench highlight its effectiveness and efficiency, enabling inference-time scaling while reducing output token usage by over 66%. Its support for downstream RL training further validates its practical utility. We release data to facilitate future research.

View on arXivView PDF

Code Implementations(1)

ToolRM: Towards Agentic Tool-Use Reward Modeling

110Shell, PythonSep 24, 20259 months agoNOASSERTION
function-callingllm-agentreward-modelingtool-use

Similar Papers

Cite this paper

@article{li2025toolrm,
  title  = {ToolRM: Towards Agentic Tool-Use Reward Modeling},
  author = {Renhao Li and Jianhong Tu and Yang Su and Yantao Liu and Fei Huang and Hamid Alinejad-Rokny and Derek F. Wong and Junyang Lin and Min Yang},
  year   = {2025},
  eprint = {2510.26167},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.26167v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.26167.svg)](https://codeofpaper.com/paper/2510.26167)

Discussion