arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.15041cs.AIcs.CL
收藏

基于案例的自适应推理与执行校准:大型语言模型工具使用

Case-Based Calibration of Adaptive Reasoning and Execution for LLM Tool Use

University of Electronic Science and Technology of China(电子科技大学)

Renning Pang, Tian Lan, Leyuan Liu, Piao Tong, Sheng Cao, Xiaosong Zhang

AI总结:

本文提出CAST框架,通过历史执行轨迹作为结构化案例,提取复杂性和失败特征以优化推理策略,提升工具使用准确性并减少冗余推理。

摘要:

工具使用扩展了大型语言模型的知识范围,但可靠执行需平衡推理深度与结构有效性。本文从案例角度出发,提出CAST框架,将历史执行轨迹视为结构化案例,提取案例派生信号以识别复杂性轮廓,估算最优推理策略,同时映射可能的结构崩溃。框架将此知识转化为细粒度奖励设计和自适应推理,使模型在强化学习中自主内化案例策略。在BFCLv2和ToolBench上的实验表明,CAST在提升模式忠实执行和任务级工具使用成功率的同时,减少了不必要的推理。该方法在整体执行准确性上提高了5.85个百分点,平均推理长度减少了26%,显著减轻了高影响的结构错误。最终证明了历史执行案例如何为校准的工具使用提供可重用的适应知识。

英文摘要:

Tool use extends large language models beyond parametric knowledge, but reliable execution requires balancing appropriate reasoning depth with strict structural validity. We approach this problem from a case-based perspective to present CAST, a case-driven framework that treats historical execution trajectories as structured cases. Instead of reusing raw exemplar outputs, CAST extracts case-derived signals to identify complexity profiles for estimating optimal reasoning strategies, alongside failure profiles to map likely structural breakdowns. The framework translates this knowledge into a fine-grained reward design and adaptive reasoning, enabling the model to autonomously internalize case-based strategies during reinforcement learning. Experiments on BFCLv2 and ToolBench demonstrate that CAST improves both schema-faithful execution and task-level tool-use success while reducing unnecessary deliberation. The approach achieves up to 5.85 percentage points gain in overall execution accuracy and reduces average reasoning length by 26%, significantly mitigating high-impact structural errors. Ultimately, this demonstrates how historical execution cases can provide reusable adaptation knowledge for calibrated tool use.

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

↑