arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.18282cs.AIcs.CLcs.LG
收藏

思考增强的功能调用:通过嵌入式推理提高LLM参数准确性

Think-Augmented Function Calling: Improving LLM Parameter Accuracy Through Embedded Reasoning

Alibaba International Digital Commerce Group(阿里巴巴国际数字商业集团);School of Software and Microelectronics(软件与微电子学院);Peking University(北京大学)

Lei Wei, Xiao Peng, Jinpeng Ou, Bin Wang

AI总结:

TAFC通过嵌入式推理提升LLM参数准确性,实现函数调用的显式推理和细粒度优化,增强多参数函数的生成准确性和可解释性。

摘要:

大型语言模型(LLMs)在自主代理的功能调用中展示了显著的能力,但当前机制在参数生成过程中缺乏显式的推理透明性,特别是在处理具有相互依赖参数的复杂函数时。虽然现有方法如链式思维提示在代理层面运作,但它们无法为单个函数参数提供细粒度的推理指导。为了解决这些局限性,我们提出了思考增强的功能调用(TAFC),一种新的框架,通过在函数和参数层面进行显式推理来提高功能调用的准确性。我们的方法引入了一个通用的

英文摘要:

Large language models (LLMs) have demonstrated remarkable capabilities in function calling for autonomous agents, yet current mechanisms lack explicit reasoning transparency during parameter generation, particularly for complex functions with interdependent parameters. While existing approaches like chain-of-thought prompting operate at the agent level, they fail to provide fine-grained reasoning guidance for individual function parameters. To address these limitations, we propose Think-Augmented Function Calling (TAFC), a novel framework that enhances function calling accuracy through explicit reasoning at both function and parameter levels. Our method introduces a universal "think" parameter augmentation that enables models to articulate their decision-making process, with dynamic optimization for parameter descriptions to improve reasoning quality. For complex parameters, TAFC automatically triggers granular reasoning based on complexity scoring, ensuring appropriate justification for critical decisions. Additionally, we propose reasoning-guided optimization to align generated reasoning with human expectations. TAFC requires no architectural modifications to existing LLMs while maintaining full API compatibility. Evaluation on ToolBench across proprietary and open-source models demonstrates significant improvements in parameter generation accuracy and reasoning coherence for multi-parameter functions, while providing enhanced interpretability for debugging AI agent behaviors.

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

↑