---
title: "Small LLMs Are Weak Tool Learners: A Multi-LLM Agent"
canonical_url: "https://www.modelscope.cn/papers/30539"
md_url: "https://www.modelscope.cn/papers/30539.md"
arxiv_id: 2401.07324
published: 2024-01-14
last_updated: 2024-01-14
authors:
  - "Weizhou Shen"
  - "Chenliang Li"
  - "Hongzhan Chen"
  - "Ming Yan"
  - "Xiaojun Quan"
  - "Hehong Chen"
  - "Ji Zhang"
  - "Fei Huang"
model_name: "Small LLMs Are Weak Tool Learners: A Multi-LLM Agent"
model_developer: "Sun Yat-sen University, Alibaba Group"
domain:
  - "自然语言处理"
  - "深度学习"
type:
  - "自然语言处理"
  - "深度学习"
  - "Artificial Intelligence (cs.AI)"
  - "Computation and Language (cs.CL)"
arxiv_url: "https://arxiv.org/abs/2401.07324"
pdf_url: "https://arxiv.org/pdf/2401.07324.pdf"
---

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

> 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 complex tasks in a self-directed fashion. The challenge of tool use demands that…

「Small LLMs Are Weak Tool Learners: A Multi-LLM Agent」是 ModelScope 魔搭社区收录的论文，arXiv 2401.07324，作者为 Weizhou Shen, Chenliang Li, Hongzhan Chen et al.，发表于 2024-01-14，属于 自然语言处理、深度学习 领域。

- **ArXiv**: 2401.07324
- **Published**: 2024-01-14
- **Authors**: Weizhou Shen, Chenliang Li, Hongzhan Chen, Ming Yan, Xiaojun Quan, Hehong Chen, Ji Zhang, Fei Huang
- **Model**: Small LLMs Are Weak Tool Learners: A Multi-LLM Agent
- **Developer**: Sun Yat-sen University, Alibaba Group
- **Domain**: 自然语言处理, 深度学习
- **ArXiv URL**: https://arxiv.org/abs/2401.07324
- **PDF**: https://arxiv.org/pdf/2401.07324.pdf

Source: https://www.modelscope.cn/papers/30539

---

> 阿里巴巴团队提出的Small LLMs Are Weak Tool Learners: A Multi-LLM Agent模型在工具学习领域取得突破性进展

## 摘要

本论文提出了一种新颖的多模型语言模型（LLM）代理，用于解决工具学习的挑战。传统方法通常训练一个具备所有能力的单一LLM，但是在小型模型中存在性能限制，并且当工具更新时需要重新训练整个LLM。为了克服这些挑战，本文提出了一种将能力分解为规划器、调用器和总结器的策略。每个组件由一个专注于特定能力的单一LLM实现，并与其他组件协作完成任务。这种模块化框架便于单独更新，并且可以使用较小的LLM构建每个能力。为了有效训练该框架，本文引入了一个两阶段的训练范式。首先，在不区分子任务的情况下对骨干LLM进行全数据集微调，使模型全面理解任务。其次，使用微调后的LLM实例化规划器、调用器和总结器，分别在各自的子任务上进行持续微调。在各种工具使用基准测试中的评估结果表明，我们提出的多LLM框架超越了传统的单LLM方法，在工具学习方面具有更高的效能和优势。

## Abstract

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 complex tasks in a self-directed fashion. The challenge of tool use demands that LLMs not only understand user queries and generate answers but also excel in task planning, memory management, tool invocation, and result summarization. While traditional approaches focus on training a single LLM with all these capabilities, performance limitations become apparent, particularly with smaller models. Moreover, the entire LLM may require retraining when tools are updated. To overcome these challenges, we propose a novel strategy 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 other components 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.
