arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.26167cs.AIcs.CL
收藏

ToolRM: 向代理工具使用奖励建模迈进

ToolRM: Towards Agentic Tool-Use Reward Modeling

University of Macau(澳门大学);Qwen Team, Alibaba Inc.(阿里云Qwen团队);UNSW Sydney(新南威尔士大学悉尼分校);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究所)

Renhao Li, Jianhong Tu, Yang Su, Yantao Liu, Fei Huang, Hamid Alinejad-Rokny, Derek F. Wong, Junyang Lin, Min Yang

AI总结:

ToolRM通过构建高质量偏好数据集和基准,提升代理AI在工具调用任务中的表现和泛化能力。

摘要:

奖励模型(RMs)在对齐大语言模型(LLMs)与人类偏好方面发挥关键作用。然而在工具学习领域,缺乏专门针对功能调用任务设计的RMs限制了向更强大代理AI迈进的进展。我们引入ToolRM,一组轻量级奖励模型,专门针对通用工具使用场景。为了构建这些模型,我们提出了一种新的管道,通过基于规则的评分和多维采样构建高质量的成对偏好数据。这产生了ToolPref-Pairwise-30K,一个多样、平衡且具有挑战性的偏好数据集,支持生成和判别奖励建模。我们还引入了TRBench_BFCL,一个基于代理评估套件BFCL构建的基准,用于评估RMs在工具调用任务上的表现。在我们构建的数据上训练后,Qwen3-4B/8B系列模型在成对奖励判断中达到最高准确率提升17.94%,显著优于前沿LLMs和RMs。除了训练目标外,生成的ToolRM还能推广到更广泛的批判任务,包括Best-of-N采样和自我修正。在ACEBench上的实验突显了其有效性和效率,使推理时间扩展的同时减少输出标记使用超过66%。其对下游RL训练的支持进一步验证了其实际用途。我们发布数据以促进未来研究。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑