Small LLMs Are Weak Tool Learners: A Multi-LLM Agent
Малые большие языковые модели плохо обучаются работе с инструментами: агент на основе нескольких БЯМ
2024-01-01
SCID: 54.1/9aq8kcea
Discuss with AI
LLM agentsmulti-LLM frameworktask planningtool invocationtool learning
Figures from the paper
Abstract (AI)
Large Language Model (LLM) agents significantly extend the capabilities of standalone LLMs, empowering them to interact with external tools (e.g., APIs, functions) and complete various tasks in a self-directed fashion.The challenge of tool use demands that LLMs not only understand user queries and generate answers accurately but also excel in task planning, tool invocation, and result summarization.While traditional works focus on training a single LLM with all these capabilities, performance limitations become apparent, particularly with smaller models.To overcome these challenges, we propose a novel approach that decomposes the aforementioned capabilities into a planner, caller, and summarizer.Each component is implemented by a single LLM that focuses on a specific capability and collaborates with others to accomplish the task.This modular framework facilitates individual updates and the potential use of smaller LLMs for building each capability.To effectively train this framework, we introduce a two-stage training paradigm.First, we fine-tune a backbone LLM on the entire dataset without discriminating sub-tasks, providing the model with a comprehensive understanding of the task.Second, the fine-tuned LLM is used to instantiate the planner, caller, and summarizer respectively, which are continually fine-tuned on respective sub-tasks.Evaluation across various tool-use benchmarks illustrates that our proposed multi-LLM framework surpasses the traditional single-LLM approach, highlighting its efficacy and advantages in tool learning.
Key Findings
1
A two-stage training paradigm first fine-tunes a backbone LLM on the full dataset, then specializes separate models on planning, calling, and summarization subtasks.
2
Across various tool-use benchmarks, the multi-LLM framework outperforms the traditional single-LLM approach.
3
Small language models face performance limitations when a single model must simultaneously plan tasks, invoke tools, and summarize results.
4
The modular design enables independent component updates and supports constructing capabilities with smaller LLMs.
5
The proposed multi-LLM agent decomposes tool use into specialized planner, caller, and summarizer components that collaborate on task completion.
Research Object
multi-LLM agents for LLM tool use
Research Subject
the decomposition and collaborative learning of task planning, tool invocation, and result summarization, and its effect on tool-use performance
Publication Details
Publication Date
2024-01-01
Journal
Publisher
ISSN
Cited by
24
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest