Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
98 tokens/sec
GPT-4o
61 tokens/sec
Gemini 2.5 Pro Pro
46 tokens/sec
o3 Pro
8 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Tool-Planner: Task Planning with Clusters across Multiple Tools (2406.03807v2)

Published 6 Jun 2024 in cs.AI, cs.CL, and cs.RO

Abstract: LLMs have demonstrated exceptional reasoning capabilities, enabling them to solve various complex problems. Recently, this ability has been applied to the paradigm of tool learning. Tool learning involves providing examples of tool usage and their corresponding functions, allowing LLMs to formulate plans and demonstrate the process of invoking and executing each tool. LLMs can address tasks that they cannot complete independently, thereby enhancing their potential across different tasks. However, this approach faces two key challenges. First, redundant error correction leads to unstable planning and long execution time. Additionally, designing a correct plan among multiple tools is also a challenge in tool learning. To address these issues, we propose Tool-Planner, a task-processing framework based on toolkits. Tool-Planner groups tools based on the API functions with the same function into a toolkit and allows LLMs to implement planning across the various toolkits. When a tool error occurs, the LLM can reselect and adjust tools based on the toolkit. Experiments show that our approach demonstrates a high pass and win rate across different datasets and optimizes the planning scheme for tool learning in models such as GPT-4 and Claude 3, showcasing the potential of our method. Our code is public at \url{https://github.com/OceannTwT/Tool-Planner}

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (10)
  1. Yanming Liu (20 papers)
  2. Xinyue Peng (9 papers)
  3. Yuwei Zhang (48 papers)
  4. Jiannan Cao (9 papers)
  5. Xuhong Zhang (61 papers)
  6. Sheng Cheng (40 papers)
  7. Xun Wang (96 papers)
  8. Jianwei Yin (71 papers)
  9. Tianyu Du (34 papers)
  10. Shi Bo (13 papers)