HTAA:通过混合工具集代理化与适应增强大语言模型规划
HTAA: Enhancing LLM Planning via Hybrid Toolset Agentization & Adaptation
AI总结:
本文提出HTAA框架,通过混合工具集代理化与适应方法,提升大语言模型在复杂任务中的规划效率与可靠性,实验表明其在任务成功率、工具调用轨迹长度及上下文开销方面均优于基线模型。
摘要:
使大型语言模型能够扩展并可靠地使用数百个工具对于实际应用至关重要,但受限于扁平工具调用架构的效率低下和误差累积。为此,我们提出混合工具集代理化与适应(HTAA),一种可扩展的工具使用规划分层框架。我们提出一种新的工具集代理化范式,将频繁共用的工具封装成专用代理工具,从而减少规划器的动作空间并减轻冗余。为确保有效协调,我们设计了不对称规划器适应,一种基于轨迹的训练范式,通过逆向重建和正向细化对齐高层规划器与代理工具。为验证HTAA的性能,我们在真实世界内部数据集InfoVerify上进行了实验,基于中国最大在线大规模网约车平台的POI验证工作流,具有长视距可执行工具轨迹。在InfoVerify和广泛使用的基准测试中,HTAA一致实现了更高的任务成功率,要求较短的工具调用轨迹,并显著减少了上下文开销,相较于强基线模型。此外,在生产部署中,HTAA大幅减少了人工验证工作量和运营成本,展示了其实际效果。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。