|国家预印本平台
首页|NaviAgent: Bilevel Planning on Tool Dependency Graphs for Function Calling

NaviAgent: Bilevel Planning on Tool Dependency Graphs for Function Calling

NaviAgent: Bilevel Planning on Tool Dependency Graphs for Function Calling

来源:Arxiv_logoArxiv
英文摘要

LLMs' reliance on static knowledge and fragile tool invocation severely hinders the orchestration of complex, heterogeneous toolchains, particularly at large scales. Existing methods typically use rigid single-path execution, resulting in poor error recovery and exponentially growing search spaces. We introduce NaviAgent, a graph-navigated bilevel planning architecture for robust function calling, comprising a Multi-Path Decider and Graph-Encoded Navigator. As an LLM-powered agent, the Multi-Path Decider defines a four-dimensional decision space and continuously perceives environmental states, dynamically selecting the optimal action to fully cover all tool invocation scenarios. The Graph-Encoded Navigator constructs a Tool Dependency Heterogeneous Graph (TDHG), where node embeddings explicitly fuse API schema structure with historical invocation behavior. It also integrates a novel heuristic search strategy that guides the Decider toward efficient and highly successful toolchains, even for unseen tool combinations. Experiments show that NaviAgent consistently achieves the highest task success rate (TSR) across all foundation models and task complexities, outperforming the average baselines (ReAct, ToolLLM, α-UMI) by 13.5%, 16.4%, and 19.0% on Qwen2.5-14B, Qwen2.5-32B, and Deepseek-V3, respectively. Its execution steps are typically within one step of the most efficient baseline, ensuring a strong balance between quality and efficiency. Notably, a fine-tuned Qwen2.5-14B model achieves a TSR of 49.5%, surpassing the much larger 32B model (44.9%) under our architecture. Incorporating the Graph-Encoded Navigator further boosts TSR by an average of 2.4 points, with gains up over 9 points on complex tasks for larger models (Deepseek-V3 and GPT-4o), highlighting its essential role in toolchain orchestration.

Yan Jiang、Hao Zhou、LiZhong GU、Ai Han、TianLong Li

计算技术、计算机技术

Yan Jiang,Hao Zhou,LiZhong GU,Ai Han,TianLong Li.NaviAgent: Bilevel Planning on Tool Dependency Graphs for Function Calling[EB/OL].(2025-06-24)[2025-07-18].https://arxiv.org/abs/2506.19500.点此复制

评论