arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.20316cs.LG
收藏

R2IF: 通过复合奖励对齐推理与决策以实现可解释的LLM函数调用

R2IF: Aligning Reasoning with Decisions via Composite Rewards for Interpretable LLM Function Calling

Shanghai Key Laboratory of Trustworthy Computing, East China Normal University, Shanghai, China(上海可信计算实验室,华东师范大学,上海,中国);Huazhong University of Science and Technology(华中科技大学);Nanyang Technological University(南洋理工大学)

Aijia Cheng, Kailong Wang, Ling Shi, Yongxin Zhao

AI总结:

提出R2IF框架,通过复合奖励(格式/正确性约束、思维链有效性奖励和规范-修改-价值奖励)和GRPO优化,对齐推理过程与工具调用决策,在BFCL/ACEBench上提升函数调用准确性和可解释性。

摘要:

函数调用使大型语言模型(LLM)能够与外部工具交互,但现有的基于强化学习的方法存在推理过程与工具调用决策之间的错位。我们提出了R2IF,一种面向可解释函数调用的推理感知强化学习框架,采用复合奖励,整合格式/正确性约束、思维链有效性奖励(CER)和规范-修改-价值(SMV)奖励,并通过GRPO进行优化。在BFCL/ACEBench上的实验表明,R2IF在性能上优于基线方法,最高提升34.62%(Llama3.2-3B在BFCL上),同时平均思维链有效性为正(Llama3.2-3B为0.05),增强了函数调用的准确性和可解释性,为可靠的工具增强型LLM部署提供了支持。

英文摘要:

Function calling empowers large language models (LLMs) to interface with external tools, yet existing RL-based approaches suffer from misalignment between reasoning processes and tool-call decisions. We propose R2IF, a reasoning-aware RL framework for interpretable function calling, adopting a composite reward integrating format/correctness constraints, Chain-of-Thought Effectiveness Reward (CER), and Specification-Modification-Value (SMV) reward, optimized via GRPO. Experiments on BFCL/ACEBench show R2IF outperforms baselines by up to 34.62% (Llama3.2-3B on BFCL) with positive Average CoT Effectiveness (0.05 for Llama3.2-3B), enhancing both function-calling accuracy and interpretability for reliable tool-augmented LLM deployment.

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

↑