← Back to Paper Radar

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

A. Cheng, Kailong Wang, Ling Shi, Yongxin Zhao
Volume 1 | 2026

Reading guide · Based on sections of the original paper

The authors propose R2IF, a GRPO training scheme for function calling. Its composite reward combines a hard format-and-correctness gate with two reasoning rewards. CER scores whether a reasoning prefix raises a student model's tool-call success. SMV scores whether the reasoning covers each argument's specification, required transformation and final value.

Why read this

Practitioners doing RL for tool use can use it to judge whether process-level rewards tied to tool schemas add accuracy and more useful reasoning beyond outcome-only GRPO rewards, at modest training and token cost.

What the authors found

  • The headline +34.62-point BFCL gain for Llama3.2-3B is measured against the raw instruct model (37.59 to 72.21). Against the strongest RL baseline, ToolRL at 66.26, the gain is about 6 points. On the other backbones the margins over the best baseline are under 1 point (Qwen2.5-3B, Qwen2.5-7B), and R2IF ranks second on Qwen2.5-1.5B. On ACEBench, R2IF has the best Overall score on all four backbones, but margins over the best baseline range from 0.4 to 3.1 points. Evaluation covers single-turn tasks only. 4.3 Main Results
  • Average CoT Effectiveness (ACE) is the training reward CER reapplied at test time, with a Llama3.2-3B student. It turns positive only on BFCL Overall, at 0.05 for Llama3.2-3B and 0.02 for Qwen2.5-3B. ACEBench Overall stays negative for every method, including R2IF at -0.28. Table 4 reports no ACE values for 7B. 4.3 Main Results
  • In the ablations, removing SFT warm-start causes the largest drop: BFCL Overall falls from 72.21 to 66.00 on Llama3.2-3B. Removing CER or SMV costs about 3–4 points on Llama3.2-3B but only about 0.2–0.3 points on Qwen2.5-7B. Some subsets, such as Qwen-7B Atom without SMV, actually improve when a component is removed. 4.4 Ablation Study

Main limitation

The main evaluation is single-turn only. The authors say multi-turn behaviour is untested. Their supplementary multi-turn check uses just 50 samples. Limitations

Where to start

4.3 Main Results · Compare R2IF against the Binary Reward and ToolRL rows rather than the Raw row, and check where ACE stays negative.

Abstract

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.

Generated automatically from paper sections on 2026-11-28.