Exploring Weaknesses in Function Call Models via Reinforcement Learning: An Adversarial Data Augmentation Approach
On the map: Deep reinforcement learning methods → RL training of language and agent models
Abstract (arXiv)
Function call capabilities have become crucial for Large Language Models (LLMs), enabling them to interact more effectively with external tools and APIs. Existing methods for improving the function call capabilities of LLMs rely on data obtained either through manual annotation or automated generation by models, and use this data to finetune the LLMs. However, these methods often lack targeted design and are constrained by fixed patterns and data distributions, which limits their effectiveness in enhancing the generalization and robustness of function call LLMs. To address this limitation, we propose a novel adversarial data augmentation method that employs reinforcement learning to systematically identify and target the weaknesses of function call LLMs. Our training framework introduces a query model trained with reinforcement learning (RL) to generate adversarial queries that are specifically designed to challenge function call (FC) models. This approach adopts a zero sum game formulation, where the query model and the FC model engage in iterative alternating training. Overall, our method advances the development of more robust FC models and provides a systematic way to identify and correct weaknesses in the ability of LLMs to interact with external tools.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RL training of language and agent models, one of 15 directions in Deep reinforcement learning methods. Builds on 19 of its 27 references that are in the map. First posted on arXiv 27 Jan 2026.
Builds on
19 of 27 references.
References · 19
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2022Generative Adversarial Networkscited by 5,627
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
- 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 557
- 2024Self-Play Preference Optimization for Language Model Alignmentcited by 232
- 2024Planning, Creation, Usage: Benchmarking LLMs for Comprehensive Tool Utilization in Real-World Complex Scenarioscited by 86
7 more
- 2024Self-playing Adversarial Language Game Enhances LLM Reasoningcited by 83
- 2024ToolGen: Unified Tool Retrieval and Calling via Generationcited by 74
- 2025ComplexFuncBench: Exploring Multi-Step and Constrained Function Calling under Long-Context Scenariocited by 55
- 2025LongFuncEval: Measuring the effectiveness of long context models for function callingcited by 18
- 2024Reflect-RL: Two-Player Online RL Fine-Tuning for LMscited by 13
- 2024Toward Optimal LLM Alignments Using Two-Player Gamescited by 13
- 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedbackcited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Adversarial Testing in LLMs: Insights into Decision-Making Vulnerabilities
- 2025Adversarial Reinforcement Learning for Large Language Model Agent Safety
- 2025ToolExpander: Extending the Frontiers of Tool-Using Reinforcement Learning to Weak LLMs
- 2024Can Reinforcement Learning Unlock the Hidden Dangers in Aligned Large Language Models?
- 2026A Survey of Reinforcement Learning for Large Language Models under Data Scarcity: Challenges and Solutions
- 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research
- 2024The Dark Side of Function Calling: Pathways to Jailbreaking Large Language Models
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks