循环语言模型提升组合式工具调用
研究论文 · 2026/08/20
循环语言模型在推理基准上表现优异,但其在智能体工具调用方面的潜力尚未充分探索。本研究在组合式工具调用场景中探讨了这一问题,该场景要求模型协调多个API调用、维护中间状态并保持工具交互间的依赖关系。我们在API-Bank、BFCL和NESTful上评估了原生和改造的循环语言模型,比较了在匹配的监督微调方案和不同推理循环深度下循环与非循环模型的性能。受控实验表明,循环计算通常有利于组合式和依赖感知的工具使用,而在孤立API调用上的收益较小且更依赖模型。多步工具使用的准确率通常随循环深度增加而提高;然而,自适应推理通过仅在需要时分配额外计算,实现了更优的计算性能权衡。我们的结果表明,循环语言模型是智能体系统的一种有前景的架构,适用于需要可靠规划、协调和执行组合式工具使用工作流的场景。
该研究首次系统评估循环语言模型在组合式工具调用中的表现,填补了该领域空白,并通过受控实验和自适应推理提供了实用见解,对智能体系统设计具有重要参考价值。
Looped language models have shown promising results on reasoning benchmarks, yet their potential for agentic tool use remains largely unexplored. We study this question in compositional tool-calling settings, where models must coordinate multiple API calls, maintain intermediate state, and preserve dependencies across tool interactions. We evaluate native and retrofitted looped language models on API-Bank, BFCL, and NESTful, comparing looped and non-looped models trained under matched supervised fine-tuning recipes and varying recurrent depth at inference time. In controlled experiments, recurrent computation generally benefits compositional and dependency-aware tool use, while providing smaller and more model-dependent gains on isolated API invocation. Accuracy on multi-step tool use generally increases with recurrent depth; adaptive inference, however, achieves a more favorable compute-performance trade-off by allocating additional computation only when needed. Our results suggest that looped language models are a promising architecture for agentic systems that require reliable planning, coordination, and execution of compositional tool use workflows.