[Paper Review] A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaboration
DyLAN creates a dynamic, multi-round LLM-agent collaboration framework with inference-time agent selection and early-stopping, plus an unsupervised Agent Importance Score to optimize agent teams, yielding higher accuracy across reasoning and code generation tasks with improved efficiency.
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 ($ extbf{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 $ extit{agent selection}$ algorithm, based on an unsupervised metric called $ extit{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.
Motivation & Objective
- Motivate the need for a task-agnostic, efficient multi-agent LLM collaboration framework that generalizes across domains.
- Propose a dynamic interaction architecture where agents act as nodes in a multi-layer network with time-step dependencies.
- Introduce inference-time agent selection and an early-stopping mechanism to boost efficiency without sacrificing accuracy.
- Develop an automatic agent team optimization algorithm based on an unsupervised Agent Importance Score to select top-performing agents.
Proposed method
- Formulate LLM-agent collaboration as a multi-layer feed-forward network where agents at time steps are nodes and messages are edges.
- Employ an LLM-empowered ranker to perform inference-time agent selection and deactivate low-performing agents in subsequent steps.
- Apply Byzantine-consensus-inspired early stopping to terminate inference when a layer achieves consensus (or max steps reached).
- Introduce Agent Importance Score via a three-step process: propagation (rating predecessors), aggregation (summing successors’ contributions weighted by ratings), and selection (choosing top-k agents by total importance).
- Demonstrate task-agnostic design by decoupling interaction architecture from task-specific design and validate on reasoning and code generation tasks.
Experimental results
Research questions
- RQ1How can LLM-agent collaboration be organized into a dynamic, task-agnostic architecture that adapts to different queries?
- RQ2Does inference-time agent selection and early stopping improve efficiency without sacrificing accuracy across reasoning and code-generation tasks?
- RQ3Can an unsupervised Agent Importance Score reliably identify an optimal subset of agents for different domains?
- RQ4What level of performance gains are achievable through dynamic architectures and agent-team optimization compared to static, single-agent baselines?
Key findings
- DyLAN achieves higher accuracy than baselines on MATH (+4.1 over single execution with CoT) and on HumanEval (+9.7 with GPT-4 backbones).
- On MMLU, agent team optimization increases accuracy by up to 25.0% for certain subjects.
- DyLAN reduces API calls and achieves better efficiency (e.g., 36.6% of CodeT/LLM Debate API usage in some cases).
- Agent Importance Score-guided team optimization enables substantial performance gains with smaller, task-tailored agent sets (e.g., 7→4 agents yielding notable improvements).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.