让大模型高效调用数百工具,减少错误累积。
HTAA: Enhancing LLM Planning via Hybrid Toolset Agentization & Adaptation
- 将常一起使用的工具封装为专用代理,缩小规划动作空间。
- 在真实数据集上任务成功率更高,调用轨迹更短,上下文开销更低。
- 适合需要大规模工具协同的生产级应用,如出行平台验证系统。
让大语言模型可靠地扩展使用数百个工具是现实应用的关键,但传统扁平化调用架构存在效率低和错误累积问题。为此,我们提出分层式可扩展工具规划框架HTAA,引入新型工具集代理化范式,将频繁共用的工具整合为专用代理工具,从而缩小规划器的动作空间并减少冗余。为确保有效协同,设计了基于轨迹的不对称规划器适应机制,通过反向重建与正向优化对齐高层规划器与代理工具。在基于中国最大网约车平台POI验证流程的真实内部数据集InfoVerify上进行实验,该数据集包含长时序可执行工具轨迹。实验表明,HTAA在InfoVerify及多个通用基准上均显著提升任务成功率,调用轨迹更短,上下文开销大幅降低。此外,在实际部署中,HTAA显著减少人工验证工作量与运营成本,证明其实际有效性。
原文摘要 · Abstract (English)
Enabling large language models to scale and reliably use hundreds of tools is critical for real-world applications, yet challenging due to the inefficiency and error accumulation inherent in flat tool-calling architectures. To address this, we propose Hybrid Toolset Agentization & Adaptation (HTAA), a hierarchical framework for scalable tool-use planning. We propose a novel toolset agentization paradigm, which encapsulates frequently co-used tools into specialized agent tools, thereby reducing the planner's action space and mitigating redundancy. To ensure effective coordination, we design Asymmetric Planner Adaptation, a trajectory-based training paradigm that aligns the high-level planner with agent tools via backward reconstruction and forward refinement. To validate the performance of HTAA, we conduct experiments on a real-world internal dataset, InfoVerify, based on the POI validation workflow of China's largest online large-scale ride-hailing platform, featuring long-horizon executable tool trajectories. Experiments on InfoVerify and widely-used benchmarks show that HTAA consistently achieves higher task success rates, requires short tool calling trajectories, and significantly reduces context overhead compared to strong baselines. Furthermore, in a production deployment, HTAA substantially reduces manual validation effort and operational cost, demonstrating its practical efficacy.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。