A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaboration

Zijun Liu, Yanzhe Zhang, Peng Li, Yang Liu, Diyi Yang
10/3/2023
cs.CLcs.AIcs.MA

No official code found. Best implementation: SALT-NLP/DyLAN (213 stars, MIT, last commit 2024-05-16).

Abstract

Recent studies show that collaborating multiple large language model (LLM) powered agents is a promising way for task solving. However, current approaches are constrained by using a fixed number of agents and static communication structures. In this work, we propose automatically selecting a team of agents from candidates to collaborate in a dynamic communication structure toward different tasks and domains. Specifically, we build a framework named Dynamic LLM-Powered Agent Network ($\textbf{DyLAN}$) for LLM-powered agent collaboration, operating a two-stage paradigm: (1) Team Optimization and (2) Task Solving. During the first stage, we utilize an $\textit{agent selection}$ algorithm, based on an unsupervised metric called $\textit{Agent Importance Score}$, enabling the selection of best agents according to their contributions in a preliminary trial, oriented to the given task. Then, in the second stage, the selected agents collaborate dynamically according to the query. Empirically, we demonstrate that DyLAN outperforms strong baselines in code generation, decision-making, general reasoning, and arithmetic reasoning tasks with moderate computational cost. On specific subjects in MMLU, selecting a team of agents in the team optimization stage improves accuracy by up to 25.0% in DyLAN.

View on arXivView PDF

Code Implementations(1)

SALT-NLP/DyLANCommunity100%
MIT

Official Implementation of Dynamic LLM-Agent Network: An LLM-agent Collaboration Framework with Agent Team Optimization

21329Shell, PythonOct 3, 20232 years agoMIT
chatgptgpt4llmllm-agent

Similar Papers

Cite this paper

@article{liu2023dynamic,
  title  = {A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaboration},
  author = {Zijun Liu and Yanzhe Zhang and Peng Li and Yang Liu and Diyi Yang},
  year   = {2023},
  eprint = {2310.02170},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.02170v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.02170.svg)](https://codeofpaper.com/paper/2310.02170)

Discussion