Small LLMs Are Weak Tool Learners: A Multi-LLM Agent

Малые большие языковые модели плохо обучаются работе с инструментами: агент на основе нескольких БЯМ
Weizhou Shen, Chenliang Li, Hongzhan Chen, Ming Yan, Xiaojun Quan, Hehong Chen, Ji Zhang, Fei Huang
2024-01-01

LLM agentsmulti-LLM frameworktask planningtool invocationtool learning
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.
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.

multi-LLM agents for LLM tool use

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
Access Type
Author Information
Authors
Weizhou Shen
Chenliang Li
Hongzhan Chen
Ming Yan
Xiaojun Quan
Hehong Chen
Ji Zhang
Fei Huang
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%