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

TRACER:面向大语言模型智能体的轨迹感知工具检索

TRACER: Trajectory-Aware Tool Retrieval for LLM Agents

Microsoft(微软)

Tanish Kher, Sarvesh DK, Abedelkadir Asi, Sparsha Chennarayapatna Sundaresh, Dezhi Hong

AI总结:

TRACER 是面向大语言模型智能体的轨迹感知工具检索前端,通过字典树索引工具调用序列并结合混合先验排序,在多环境多模型下提升工具选择准确率、降低输入 token 成本,效果优于全注册表选择。

摘要:

现代智能体从工具注册表中选择工具,但随着注册表规模扩大,暴露全部工具会产生高 token 成本,且可能损害选择效果。本文提出 TRACER,一种检索前端,它将观测到的工具调用序列索引在 trie(字典树)中,并结合经验先验与上下文先验的学习混合模型对后续工具进行排序。在混合零售与电信的 τ² 环境中,TRACER 将 GPT-5.4 的工具选择准确率提升 4.7 个百分点,同时每步输入 token 减少 80%,仅暴露 128 个工具中的 5 个。在自主全轮次执行中,它达到了 GPT-5.4 全注册表的任务成功率,且每步输入 token 减少 61%。在六个环境和四个模型的测试中,TRACER 在 24 组模型-环境对中的 21 组上较全注册表选择提升了工具选择准确率,平均提升 6 至 10 个百分点;3 个例外的落后幅度最多为 2.2 个百分点。本文分析了两种场景下的失败案例,以明确未来工作方向。

英文摘要:

Modern agents select tools from registries, but exposing entire registries incurs high token costs and can impair selection as they grow. We present TRACER, a retrieval front-end that indexes observed tool-call sequences in a trie and ranks continuations using a learned blend of empirical and contextual priors. On a mixed retail-and-telecom $τ^2$ environment, TRACER improves GPT-5.4's tool-selection accuracy by 4.7 points while reducing input tokens per step by 80%, exposing just 5 of 128 tools. In autonomous full-turn execution, it matches GPT-5.4's full-registry task success with 61% fewer input tokens per step. Across six environments and four models, TRACER improves tool-selection accuracy over full-registry selection in 21 of 24 model-environment pairs, with average gains of 6 to 10 points; the three exceptions trail by at most 2.2. We analyze failures in both regimes to identify directions for future work.

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

↑