Saved in:
Bibliographic Details
Main Authors: Guo, Weiran, Bo, Bing, Wu, Shaoxiang, Yang, Jingsheng
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.19122
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918307793207296
author Guo, Weiran
Bo, Bing
Wu, Shaoxiang
Yang, Jingsheng
author_facet Guo, Weiran
Bo, Bing
Wu, Shaoxiang
Yang, Jingsheng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_19122
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Exploring Weaknesses in Function Call Models via Reinforcement Learning: An Adversarial Data Augmentation Approach
Guo, Weiran
Bo, Bing
Wu, Shaoxiang
Yang, Jingsheng
Artificial Intelligence
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.
title Exploring Weaknesses in Function Call Models via Reinforcement Learning: An Adversarial Data Augmentation Approach
topic Artificial Intelligence
url https://arxiv.org/abs/2601.19122