On Effectiveness and Efficiency of Agentic Tool-calling and RL Training

TL;DR

This study analyzes effectiveness and RL training efficiency, revealing high sensitivity in evaluation and proposing two acceleration techniques.

cs.LG 🔴 Advanced 2026-05-29 54 views
Tong Liu Cheng Qian Matej Cief Yuan He Daniele Dan Nikolaos Aletras Gabriella Kazai
Large Language Models Tool Calling Reinforcement Learning Benchmarking Training Optimization

Key Findings

Methodology

The paper systematically examines tool-calling evaluation pipelines, focusing on factors like random seeds, multi-turn templates, and history handling. Using the BFCL benchmark, it assesses how these details influence performance, especially in multi-turn tasks. For RL training, it identifies two main inefficiencies: rollout waste with no learning signals and high computational costs during policy updates. Two techniques—online pre-filtering and variance-aware sampling—are proposed. Experiments demonstrate that these methods accelerate training by 1.7-2.6× without performance loss, validated across multiple models and datasets.

Key Results

  • Multi-turn evaluation shows seed variance up to 3%, while single-turn remains stable. Native templates outperform context templates by 6-8%. Small prompt modifications can match RL gains, highlighting the importance of standardization. In RL, 80% of rollouts lack signals, and policy updates are 3-5× more costly. The proposed methods reduce training time significantly, with models achieving a score of 39.4 in BFCL multi-turn tasks, surpassing baseline models. Data format impacts are limited, with single-turn training effectively boosting performance. The results emphasize optimizing RL workflows and evaluation protocols for better tool-calling capabilities.
  • The study underscores the evaluation sensitivity, advocating for standardized benchmarks. The introduced acceleration techniques enable faster training, reducing costs and facilitating larger-scale RL applications. These findings are crucial for deploying reliable, efficient language agents in real-world scenarios, especially in multi-turn and complex tasks. Future work includes integrating multimodal inputs and refining trajectory quality to further enhance robustness and scalability.

Significance

This research exposes the fragility of current tool-calling evaluations, stressing the need for rigorous standardization to ensure fair comparisons. The proposed acceleration methods address the high computational costs of RL training, making large-scale, reliable language agents more feasible. These advances have profound implications for both academia and industry, enabling more efficient development of robust, multi-turn interactive systems. As language models become integral to automation, customer service, and intelligent assistants, ensuring their effectiveness and efficiency is vital. This work paves the way for more reproducible, scalable, and trustworthy AI systems, fostering broader adoption and innovation in AI-powered tools.

Technical Contribution

The paper provides a comprehensive analysis of evaluation sensitivities, revealing how minor implementation choices drastically affect reported performance. It introduces two innovative techniques—online prompt filtering and variance-based rollout sampling—that significantly reduce RL training overhead while maintaining accuracy. These methods are grounded in empirical observations of reward variance and prompt stability, representing a novel approach to optimizing RL workflows. The work also emphasizes the importance of benchmark standardization, proposing protocols to improve reproducibility. Overall, it advances the state-of-the-art in efficient RL training for language agents and sets new standards for evaluation robustness.

Novelty

This work is the first to systematically analyze the sensitivity of tool-calling evaluation pipelines, demonstrating how seemingly minor implementation details can lead to substantial performance fluctuations. The proposed acceleration techniques—particularly the dynamic prompt filtering and reward variance-based sampling—are innovative, addressing core inefficiencies in RL training. Unlike prior methods that focus solely on model architectures, this research emphasizes evaluation protocols and training efficiency, offering practical solutions that can be readily adopted. Its dual focus on robustness and efficiency marks a significant step forward in the development of scalable, reliable language agents.

Limitations

  • The methods are validated mainly on BFCL and ACEBench benchmarks; their generalization to other tasks or models remains to be tested. The prompt filtering relies on reward stability assumptions, which may not hold in highly dynamic environments. The proposed techniques may require tuning for different model architectures and datasets, limiting immediate transferability. Additionally, the focus on RL training efficiency does not address potential issues in data quality or trajectory annotation, which are crucial for multi-turn performance. Future work should explore broader validation and integration with multimodal inputs.

Future Work

Future directions include extending the evaluation to multimodal and multi-task scenarios, aiming for more comprehensive benchmarks. Developing adaptive filtering strategies that dynamically adjust to model evolution could further improve efficiency. Integrating self-supervised signals and transfer learning may reduce data dependency, enhancing scalability. Additionally, exploring more sophisticated reward modeling and trajectory refinement could address current limitations in multi-turn data quality. Ultimately, the goal is to build more robust, scalable, and trustworthy language agents capable of complex, real-world interactions.

AI Executive Summary

Tool-calling has become a cornerstone of modern large language models, enabling them to interact with external resources such as APIs and databases. This capability significantly extends the models' functional scope beyond their parametric knowledge, facilitating applications in automation, customer support, and complex reasoning tasks. However, the effectiveness of tool-calling heavily depends on evaluation protocols, which are often sensitive to minor implementation details like random seeds, prompt construction, and history management. This sensitivity can lead to inconsistent and unreliable benchmarking results, impeding progress and fair comparison across models.

To address these issues, the authors conducted a systematic analysis of the evaluation pipeline using the BFCL benchmark. They found that small changes in implementation—such as the choice of multi-turn templates or prompt handling—could cause performance fluctuations of up to 8%. Moreover, multi-turn evaluations are particularly vulnerable to seed variance, with performance deviations reaching 3%. These findings underscore the necessity of standardizing evaluation procedures to ensure reproducibility and fair comparisons.

Beyond evaluation, the paper investigates the training process, specifically reinforcement learning (RL) methods like PPO and GRPO, which are commonly used to improve tool-calling accuracy post-training. The authors identified two major sources of computational waste: first, a high proportion of rollouts (up to 80%) produce no learning signal, especially in early training; second, policy updates are computationally expensive, often 3-5 times more costly than rollout generation. To mitigate these inefficiencies, they proposed two techniques: online prompt filtering, which skips prompts that are already correctly answered, and variance-aware rollout down-sampling, which selects the most informative rollouts based on reward variance.

Experimental results demonstrated that these methods could accelerate RL training by 1.7-2.6× without sacrificing performance. The improved models achieved an average score of 39.4 on BFCL multi-turn tasks, outperforming baseline models. The study emphasizes that optimizing training workflows and evaluation protocols is crucial for scaling reliable, efficient language agents capable of multi-turn interactions. Future work aims to extend these techniques to multimodal inputs and more complex scenarios, fostering broader adoption of robust AI tools.

Deep Dive

Abstract

Tool-calling is a central component of modern large language model (LLM) agents, equipping them with skills beyond their parametric knowledge. This paper studies tool-calling along two complementary axes: effectiveness, i.e., how this capability is measured, and efficiency, i.e., how it is learned. On effectiveness, we systematically analyze tool-calling evaluation pipelines and show that results can be highly sensitive to seemingly minor, often undocumented implementation choices including the random seed, system prompt, multi-turn template construction, and how prior interaction/reasoning history is carried forward. These choices can lead to substantial differences in reported performance, especially in multi-turn settings where without rigorous standardization, leaderboard rankings are unreliable. On efficiency, we examine standard reinforcement learning (RL) for tool-calling and identify two sources of computational waste: (i) during rollouts, many prompts produce no learning signal, and (ii) during policy updates, optimization incurs high computational cost. Guided by these findings, we introduce two techniques that accelerate RL-based tool-calling training, achieving substantial wall-clock speedup without degrading performance.

cs.LG cs.AI