NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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

Zijun Liu, Yanzhe Zhang, Peng Li, Yang Liu, Diyi Yang

TL;DR

DyLAN (Dynamic LLM-Powered Agent Network) is a novel framework that treats multi-agent collaboration as a dynamic, two-stage process: first selecting an "elite" team of agents based on their task-specific contributions, and then coordinating them through a flexible communication network. By using an unsupervised "Agent Importance Score," DyLAN consistently outperforms static multi-agent baselines in reasoning and coding while significantly reducing computational costs through early-stopping mechanisms.

What Problem Does This Paper Address?

While multi-agent systems (where different LLMs take on roles like "coder" or "critic") have shown great promise, they are currently held back by two main limitations:

  1. Static Teams: Most systems use a fixed set of agents regardless of the specific query. This is unlike human collaboration, where a medical consultation team might change as the diagnosis becomes clearer.
  2. Static Structures: Communication paths are usually hard-coded. If an agent is providing low-quality input, a static system has no way to "mute" them, leading to noise that can derail the final answer and waste expensive API calls.

The authors ask: Can we build a system that automatically picks the best agents for a specific task and adjusts their communication structure on the fly?

Methods

DyLAN introduces a two-stage paradigm: Team Optimization and Task Solving.

1. The Temporal Feed-Forward Network (T-FFN)

The authors conceptualize agent interaction as a network where each "layer" represents a time step in the conversation. Nodes are agents, and edges are the messages passed between them.

2. Team Optimization & Agent Importance Score (AIS)

To pick the best team, DyLAN runs a preliminary trial. It uses a novel, unsupervised metric called the Agent Importance Score (AIS). Inspired by back-propagation in neural networks, agents in one layer rate the responses of agents in the previous layer. These ratings are propagated backward to calculate which agents actually drove the conversation toward a successful consensus. The "elite" agents with the highest AIS are then selected for the actual task.

Figure 1: DyLAN adopts a two-stage paradigm. Agents communicate in a structure of the temporal feed-forward network (T-FFN). At the “Team Optimization” stage, DyLAN performs agent selection for the most contributory agents in a primary collaboration, oriented to tasks or domains. The selected agents then collaborate dynamically for an answer on the given query at the “Task Solving” stage.

3. Task Solving & Dynamic Reformation

During the actual task, DyLAN employs Agent Team Reformation. An internal "LLM Ranker" evaluates responses at each step and can deactivate low-performing agents for subsequent rounds. To save costs, the framework uses an early-stopping mechanism based on Byzantine Consensus theory: if more than 2/3 of the agents reach a consistent answer, the process terminates immediately.

Figure 2: The left part shows how DyLAN outputs the answer in a temporal feed-forward network (T-FFN), where nodes represent agents at specific time steps (Section 3.2). Agent team reformation functions in the middle steps, during which the low-performing agent is deactivated in subsequent time steps. The right part depicts agent selection (Section 3.4), where the contribution of each agent in a primary trial is automatically evaluated in three steps using Agent Importance Score, denoted as I. Then, the top-ranked agents based on I will be selected as the optimized, task-oriented team of agents.

Datasets

The authors evaluated DyLAN across four diverse domains:

  • HumanEval: Function-level code generation (CG).
  • WebShop: A complex environment for online shopping decision-making (DM).
  • MMLU: A massive multitask benchmark covering 57 subjects in general reasoning (GR).
  • MATH: A challenging dataset for multi-step arithmetic reasoning (AR).

Key Insights and Ideas

  • Peer Ratings as a Proxy for Quality: You don't need ground-truth labels to find good agents. The unsupervised AIS effectively identifies "expert" agents (e.g., picking a "Mathematician" role for a calculus query) better than human-designed priors in many cases.
  • Diversity is a Strength: Surprisingly, DyLAN performs better at higher temperatures (more randomness). While randomness usually introduces noise, DyLAN’s dynamic pruning filters out the "hallucinations" while keeping the creative, correct solutions that diversity provides.
  • Efficiency via Consensus: By applying Byzantine Consensus theory, the authors found they could stop the collaboration early without losing accuracy, cutting API calls by over 60% in some reasoning tasks.

Key Results

  • Accuracy Gains: In the MMLU general reasoning task, DyLAN improved accuracy by up to 25.0% on specific subjects compared to non-optimized teams.
  • Superiority over Baselines: DyLAN outperformed strong multi-agent frameworks like AgentVerse and LLM Debate across all tested tasks.
  • Efficiency: In code generation, DyLAN achieved a higher Pass@1 score (82.9%) than LATS (81.1%) while using significantly fewer API calls (16.85 vs 48.00).
  • Robustness: The framework showed high stability across different backbone models (GPT-3.5 and GPT-4), suggesting the "team optimization" logic is model-agnostic.

Limitations and Future Work

  • Contradictory Priors: If the majority of candidate agents are poorly prompted or designed to contradict the task, the selection process can still fail.
  • Consistency Metrics: For open-ended tasks like coding, determining "consensus" for early stopping is difficult. The authors used BLEU scores, but note that more task-specific metrics (like unit tests) could improve this.
  • Future Directions: The authors plan to test DyLAN on open-source models and explore even finer-grained optimization methods that combine "off-collaboration" and "in-collaboration" tuning.

Summary updated

BibTeX
@inproceedings{liu2024dynamic,
  author = {Zijun Liu and Yanzhe Zhang and Peng Li and Yang Liu and Diyi Yang},
  title = {{A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaboration}},
  booktitle = {COLM},
  year = {2024},
  url = {https://openreview.net/forum?id=XII0Wp1XA9},
}
Figure