跳到正文
arXiv cs.AI· Jiahao Wang, Xiaoxuan Chen, Aijun Yang, Xiaohua Wang·· 1 小时前AI 评分37

CAPE:面向工具使用策略的校准与搜索协同编译方法

CAPE: Coordinating Calibration and Search for Tool-Use Policies

AI 导读

arXiv 论文提出 CAPE,一个免训练的工具调用策略编译器,可在编译全程维护可执行策略,并将校准聚焦于能改进策略的调用。基于 64 个请求构建的 CSV 和 JSON 工作流实验中,CAPE 在 504 次编译中的 502 次达到独立计算的最优解,编译时间比 eager 精确搜索少 22.0%。

正文 · 原文

View PDF HTML (experimental)

Abstract:A tool call can fail even when the operation behind it is correct, because the receiving tool parses delimiters, dates or record layouts under a configuration the agent cannot inspect. Compiling a tool-use policy for such a tool requires both calibration, which evaluates candidate calls on candidate configurations, and search over the evaluated calls. The two share one compilation budget: calibrating everything first postpones any improved policy until the end, while re-solving every partially known model delays the next useful query. A call becomes usable as soon as its effects are known on the configurations that reach it. We present CAPE, a training-free compiler built on this observation. It maintains an executable policy at all times, directs calibration to the calls that can improve this policy, and tightens bounds only where doing so ends calibration early. Returned policies preserve every configuration the initial policy completes, and CAPE certifies optimality when its executable and optimistic values meet. On CSV and JSON workflows built from 64 requests, CAPE reaches the independently computed optimum in 502 of 504 compilations while taking 22.0% less compilation time than eager exact search. On larger CSV families it returns policies with higher completion at similar compilation time, and it raises completion by 15.38 to 34.66 percentage points over an LLM that revises its serialization from error feedback.
Subjects: Artificial Intelligence (cs.AI); Software Engineering (cs.SE)
Cite as: arXiv:2611.31938 [cs.AI]
  (or arXiv:2611.31938v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2611.31938

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Jiahao Wang [view email]
[v1] Tue, 24 Nov 2026 04:43:02 UTC (682 KB)

来源:arXiv cs.AI · arxiv.org