arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.23342cs.AIcs.CLcs.SE
收藏

接口漂移下大语言模型智能体的鲁棒函数调用

Robust Function Calling for LLM Agents Under Interface Drift

Aniruddha Chattopadhyay, Kanishka Halder, Partha Sarathi Roy

AI总结:

针对接口漂移导致LLM智能体函数调用失效的问题,提出SchemaShield-Lite修复层,在Qwen3.5-9B上显著提升了DICE-300和BFCL-200的准确率,有效修复了漂移引发的多数失效。

摘要:

工具增强型语言模型智能体依赖接口文本:推理时显示的工具描述、参数模式及候选工具列表。即便底层工具语义保持不变,这些接口在部署后常发生变化,给函数调用系统带来实际可靠性问题。我们将这种失效模式称为接口漂移,研究是否可通过轻量、无需训练的修复层在不重新训练基础模型的情况下恢复鲁棒性。我们的方法SchemaShield-Lite结合了模式验证、针对缺失工具名称的候选集重试以及单次约束修复。在Qwen3.5-9B上,该方法将DICE-300准确率从0.717提升至0.813,BFCL-200准确率从0.580提升至0.805,修复了19/22和33/45个由漂移引发的失效,且未观察到修复带来的负面影响。单纯重试无法解释这些提升。 ablation实验显示,候选集漂移(尤其是干扰工具)是造成大部分观测损伤的原因,而仅描述和模式编辑的危害较小。研究结果表明,验证与修复可作为部署后LLM智能体工具使用的实用鲁棒性层。

英文摘要:

Tool-augmented language-model agents rely on interface text: tool descriptions, argument schemas, and the candidate tool list shown at inference time. These interfaces often change after deployment even when the underlying tool semantics remain fixed, creating a practical reliability problem for function-calling systems. We study this failure mode as interface drift and evaluate whether a lightweight, training-free repair layer can recover robustness without retraining the base model. Our method, SchemaShield-Lite, combines schema validation, candidate-set retry for missing tool names, and one-shot constrained repair. On Qwen3.5-9B, it raises DICE-300 accuracy from 0.717 to 0.813 and BFCL-200 accuracy from 0.580 to 0.805, recovering 19/22 and 33/45 drift-induced failures with no observed repair harms. Naive retry does not explain the gains. Ablations show that candidate-set drift, especially distractor tools, accounts for most observed damage, while description and schema edits alone are less harmful. The results position validation-and-repair as a practical robustness layer for deployed LLM-agent tool use.

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

↑