paper-with-me

홈 › Papers

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

2024-01-14 · Weizhou Shen, Chenliang Li, Hongzhan Chen, Ming Yan, Xiaojun Quan, Hehong Chen, Ji Zhang, Fei Huang

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.

📄 PDF Abstract BibTeX arXiv:2401.07324

Code (1)

x-plug/multi-llm-agent 공식 구현 pytorch

Tasks

Language ModellingLarge Language ModelTask Planning

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Language models are weak learners

2023-06-25 · NeurIPS 2023 11

A central notion in practical and theoretical machine learning is that of a $\textit{weak learner}$, classifiers that achieve better-than-random performance (on any given distribution over data), even by a small margin. …

Few-Shot LearningLanguage ModellingLarge Language Model

PREFER: Prompt Ensemble Learning via Feedback-Reflect-Refine

2023-08-23 · Chenrui Zhang, Lin Liu, Jinpeng Wang, Chuyuan Wang 외

As an effective tool for eliciting the power of Large Language Models (LLMs), prompting has recently demonstrated unprecedented abilities across a variety of complex tasks. To further improve the performance, prompt ense…

Ensemble LearningHallucination

Meta-Learners for Few-Shot Weakly-Supervised Medical Image Segmentation

2023-05-11 · Hugo Oliveira, Pedro H. T. Gama, Isabelle Bloch, Roberto Marcondes Cesar Jr

Most uses of Meta-Learning in visual recognition are very often applied to image classification, with a relative lack of works in other tasks {such} as segmentation and detection. We propose a generic Meta-Learning frame…

image-classificationImage ClassificationImage SegmentationMedical Image Segmentation+5

ToolExpander: Extending the Frontiers of Tool-Using Reinforcement Learning to Weak LLMs

2025-10-09 · Fu Chen, Peng Wang, Xiyin Li, Wen Li 외 arxiv

Training Large Language Models (LLMs) with Group Relative Policy Optimization (GRPO) encounters a significant challenge: models often fail to produce accurate responses, particularly in small-scale architectures. This li…

Reinforcement Learning

Aggregated f-average Neural Network for Interpretable Ensembling

2023-10-09 · Mathieu Vu, Emilie Chouzenoux, Jean-Christophe Pesquet, Ismail Ben Ayed

Ensemble learning leverages multiple models (i.e., weak learners) on a common machine learning task to enhance prediction performance. Basic ensembling approaches average the weak learners outputs, while more sophisticat…

class-incremental learningClass Incremental LearningEnsemble LearningFew-Shot Class-Incremental Learning+2