One Model to Critique Them All: Rewarding Agentic Tool-Use via Efficient Reasoning

Renhao Li, Jianhong Tu, Yang Su, Hamid Alinejad-Rokny, Derek F. Wong, Junyang Lin, Min YangSubmission to ICLR 2026 · Withdrawn

TL;DR

ToolRM is a family of lightweight generative reward models (3B–8B parameters) purpose-built to evaluate agentic tool use and function calling. Trained on a curated 30,000-pair preference dataset via reinforcement learning with verifiable rewards (RLVR), a 4B ToolRM model outperforms frontier giants like Claude 4 and OpenAI o3 at judging tool calls while cutting critique token overhead by over 66% in downstream self-correction tasks.

What Problem Does This Paper Address?

While modern LLMs increasingly rely on external tool use, aligning and evaluating these agentic behaviors remains a bottleneck. Existing reinforcement learning setups (like RLVR) typically require verifiable ground-truth trajectories or exact execution environments, making them difficult to scale to open domains where ground truth is unavailable.

Furthermore, existing reward models (RMs) are largely optimized for conversational "Helpful & Harmless" (3H) criteria rather than the structured, causal logic demanded by tool calling. Directly scoring tool calls with pointwise reward models frequently leads to reward hacking—where models simply memorize score distributions rather than understanding schema validity or execution intent.

Methods

The authors tackle these challenges with an end-to-end data construction and training pipeline:

  1. Trajectory Preparation & Rule-Based Scoring: The authors standardize trajectories from seven open-source tool-use datasets into the Hermes function-calling format. They sample alternate responses across five diverse LLMs and score them against ground-truth calls using rule-based metrics that evaluate tool-name accuracy and argument key-value overlap.
  2. Difficulty-Aware Downsampling & Multidimensional Sampling (BMDS): Instead of keeping trivially easy or impossible samples, they discard contexts where all or no sampled responses score 1.0. To build pairwise training sets, they apply a balanced sampling strategy across three axes: data sources, preference intensity ($s^+ - s^-$), and task complexity (number of calls and arguments).
  3. Pairwise RLVR Training: Rather than pointwise regression, the reward model is framed as a pairwise comparative critic. Models are prompted to compare two responses against unified critique criteria and output the winning choice within <choice> tags. Optimization is performed using Group Relative Policy Optimization (GRPO) with a verifiable binary reward (1 if the predicted winner matches ground truth, 0 otherwise), omitting the KL penalty.
Raw Trajectories ──> Standardize & Validate ──> LLM Multi-Sampling 
                 ──> Rule-Based Verification ──> Balanced Multidimensional Sampling (BMDS)
                 ──> Pairwise Preference Data ──> GRPO (Verifiable Choice Reward) ──> ToolRM

Datasets

  • Data Sourcing: Raw trajectories are compiled from seven sources: APIGen, APIGen-MT, BUTTON, ComplexFuncBench, Glaive-Function-Calling, Hermes-Function-Calling, and ToolAlpaca.
  • ToolPref-Pairwise-30K (New): A balanced training set of 30,000 challenging preference pairs (29,500 train / 500 validation) constructed via BMDS.
  • TRBench$_\text{BFCL}$ (New): An out-of-distribution evaluation benchmark derived from BFCL (v1–v3), covering 2,983 pairs across 1,397 tasks and 9 categories (including single-turn, multi-turn, and parallel calls), featuring challenging negative trajectories from seven top models (DeepSeek-R1, GPT-4o, OpenAI o1, Gemini-2.5-Pro, Claude-3.7-Sonnet, etc.).
  • ACEBench: Used to evaluate downstream inference-time scaling (Best-of-$N$) and policy self-correction.

Key Insights and Ideas

  • Pairwise Comparison Prevents Reward Hacking: Pointwise scoring caused models to mimic superficial training score distributions. In contrast, pairwise preference modeling forces the model to perform comparative causal reasoning over tool selection and arguments.
  • Thinking Models Benefit Most from RLVR: Reasoning-capable base models (e.g., Qwen3-4B-Thinking) showed the highest post-RL gains (+14.28%), indicating that long initial reasoning chains provide an exploratory capacity that RLVR effectively channels into tool critique.
  • Scalar vs. Generative Trade-offs: Discriminative Bradley-Terry models (ScalarRMs) provide superior score calibration for Best-of-$N$ candidate re-ranking, whereas generative critics (GenRMs) provide interpretable, actionable natural language explanations crucial for iterative model self-correction.
  • Concise Reasoning Emerges Naturally: ToolRM learned to generate compact, targeted critiques—dropping average reasoning tokens from 3,211 down to 1,111 while actually boosting self-correction accuracy.

Key Results

  • TRBench$_\text{BFCL}$ Benchmark: Trained on ToolPref-Pairwise-30K, ToolRM-Qwen3-4B-Thinking achieved 71.87% weighted average accuracy (+14.28% over base), outperforming proprietary frontier models including Claude 4 Sonnet (64.23%), DeepSeek-V3 (61.45%), and OpenAI o3 (59.40%), as well as specialized critics like Skywork-Critic-70B (60.31%).
  • Best-of-$N$ (BoN) Selection on ACEBench: Utilizing ToolRM for BoN-16 response selection improved the base generator's accuracy from 63.4% to 66.6% (Generative) and 67.2% (Scalar), demonstrating robustness to long-context candidate pools.
  • Model Self-Correction: When feeding ToolRM's critiques back to the policy model on ACEBench, accuracy jumped from 63.4% to 74.8% (+11.4 points), outperforming base model critiques while reducing decoding length by 66.4%.

Limitations and Future Work

  • Underspecified Tool Schemas: Error analysis reveals ToolRM still struggles when tool documentation lacks concrete parameter formatting examples, limiting its ability to deduce non-standard arguments.
  • Primary vs. Secondary Error Hierarchy: When both candidate responses exhibit defects, ToolRM occasionally fails to distinguish severe architectural errors (e.g., wrong tool entirely) from minor flaws (e.g., suboptimal optional parameters).
  • Future Directions: Expanding ToolRM beyond function-calling syntax to open-ended agentic environments involving multi-step planning, human-in-the-loop interaction, and multi-agent coordination.

Summary updated

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 generative RMs tailored for general tool-use scenarios. To build these models, we propose a novel pipeline that constructs pairwise preference data using rule-based scoring and multidimensional sampling. This yields *ToolPref-Pairwise-30K*, a diverse, balanced, and challenging dataset of critique tasks that supports reinforcement learning with verifiable feedback. To evaluate tool-use RMs, we also introduce TRBench$_\text{BFCL}$, a benchmark built on the agentic evaluation suite BFCL. Trained on our constructed data, models from the Qwen3-4B/8B series achieve up to 14.28\% higher accuracy, substantially outperforming frontier models such as Claude 4 and OpenAI o3 in pairwise reward judgments. Beyond training objectives, 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 and reducing output token usage by over 66\%. We release data and model checkpoints to facilitate future research.
BibTeX
@inproceedings{li2026one,
  author = {Renhao Li and Jianhong Tu and Yang Su and Hamid Alinejad-Rokny and Derek F. Wong and Junyang Lin and Min Yang},
  title = {{One Model to Critique Them All: Rewarding Agentic Tool-Use via Efficient Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.419},
}

Loading related content...

Figure