研究:声明式技能文件对AI Agent工具调用工作流的影响
Declarative Skills for AI Agents in Knowledge-Grounded Tool-Use Workflows
研究对比声明式技能文件、状态机与无脚手架基线三类客服LLM Agent,发现编排整体不提升任务成功率,效果取决于观测通道质量。在embedding检索下,声明式技能文件在五个模型中四个呈中性至正向;在基线与脚手架结果不一致的任务上,声明式胜率从42.4%升至62.7%(p=0.016)。技能文件在全部十种条件下提升写入参数准确率(p=0.002),但不改善端到端成功率。
arXiv:2606.06923v2 Announce Type: replace Abstract: We study how orchestration affects tool-using large language model (LLM) agents in customer-service workflows over an unstructured knowledge base, comparing a declarative agent that reads natural-language skill files, an imperative agent built on a state machine, and an unscaffolded baseline. The three are formalized as policy classes within one decentralized partially observable Markov decision process and evaluated on a complete design of five models, two retrieval regimes, and three agents, with paired tests. Averaged over all conditions, orchestration does not improve task success. The effect, however, depends on the quality of the agent's observation channel. Under perfect retrieval, skill files are neutral-to-negative on four of the five models; under embedding retrieval they are neutral-to-positive on four of the five. On the tasks where baseline and scaffold disagree, the declarative win rate rises from 42.4% to 62.7% (p = 0.016), and the same interaction is present for the state machine (p = 0.003). Orchestration thus substitutes for information the agent lacks rather than supplementing information it has. Since deployed systems never attain perfect retrieval, the regime in which skill files help is the realistic one. Skill files also improve write-argument accuracy in all ten conditions (p = 0.002) without improving end-to-end success, and reduce unauthorized writes only where a compliance gap exists. The state machine lowers task success on four of the five models, and its verification gate is phase routing that misclassification can bypass. Enforcing the same precondition at the tool-execution layer eliminates unauthorized writes while preserving task success.
来源:arXiv (AI + Vision + Imaging) · arxiv.org