Reproduce “Tool-Planner: Task Planning with Clusters across Multiple Tools” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yanming Liu, Xinyue Peng, Jiannan Cao, Yuwei Zhang, Xuhong Zhang, Sheng Cheng, Xun Wang, Jianwei Yin and 1 more

The TOOL-PLANNER framework enhances Large Language Model (LLM) tool utilization by organizing functionally similar APIs into 'toolkits' and employing a hierarchical planning strategy with two-tiered error correction. This approach improved task pass rates by 6.6% on APIBench and 8.8% on ToolBench over prior methods, while also reducing hallucination.

Key insights

  • Organizing tools into functionally similar 'toolkits' significantly reduces the LLM's planning complexity and context length.
  • Prioritizing local error correction within a toolkit before global re-planning stabilizes the task execution and reduces computational overhead.
  • The granularity of tool clustering (number of clusters, k) and the choice of embedding model are crucial for maximizing planning efficiency and accuracy.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.