TL;DR
This paper introduces GoAgent, a novel method for generating communication topologies in LLM-based multi-agent systems (MAS). Instead of focusing on individual agents, GoAgent treats collaborative groups as fundamental units, leading to more efficient and effective coordination, achieving state-of-the-art performance while reducing token consumption.
What Problem Does This Paper Address?
Large language models (LLMs) are increasingly used to build multi-agent systems (MAS) capable of tackling complex tasks. However, the performance of these MAS heavily relies on their communication topology – how agents are connected and share information. Existing methods often generate these topologies in a "node-centric" manner, where each agent's connections are decided individually. This approach struggles to explicitly model the higher-level, task-specific group structures that are crucial for effective problem-solving (e.g., a team of a coder, a verifier, and a planner). This can lead to suboptimal coordination, inefficient communication (too many tokens used), and noise propagation, where irrelevant information can derail the system. GoAgent aims to solve this by explicitly designing topologies around collaborative groups.
Methods
GoAgent introduces a group-centric paradigm for communication topology generation. The core idea is to treat "collaborative groups" – clusters of agents with defined roles for a specific subtask – as the atomic units for constructing the MAS communication graph.
Here's a breakdown of the key steps:
- Group Discovery: An LLM (like GPT-4) is prompted to generate a pool of candidate collaborative groups. Each group is defined by its name, expertise, roles, and an internal topology (e.g., a chain of roles).
- Autoregressive Generation: GoAgent then uses a learned model to autoregressively select and connect these groups. This process builds the overall communication graph by deciding which groups to add and how they should communicate with each other.
- Conditional Information Bottleneck (CIB): To combat communication inefficiency and noise, GoAgent incorporates a CIB mechanism. This component acts as a filter, compressing inter-group communication signals. Crucially, it's conditioned on the task itself, meaning it learns to preserve only the information relevant to the specific task while discarding irrelevant historical noise. This is applied to both group and edge predictions for architectural uniformity.
This approach contrasts with node-centric methods that build topologies by connecting individual agents, often resulting in dense, unconstrained communication.
Datasets
The paper evaluates GoAgent on six benchmarks:
- General Reasoning: MMLU (Massive Multitask Language Understanding)
- Mathematical Reasoning: GSM8K, MultiArith, SVAMP, AQUA
- Code Generation: HumanEval
The authors also mention curating a training dataset using an automated heuristic exploration process, where successful and minimal topologies are collected.
Key Insights and Ideas
- Groups as Atomic Units: The most significant insight is shifting from a node-centric to a group-centric view. This aligns better with how humans organize complex tasks and allows for explicit modeling of higher-order collaborative structures.
- CIB for Task-Specific Compression: The Conditional Information Bottleneck is a clever way to manage communication overhead. By conditioning the compression on the task, it ensures that only relevant information is passed between groups, preventing noise from degrading performance.
- Efficiency and Performance Synergy: GoAgent demonstrates that focusing on group-level coordination and intelligent compression can simultaneously improve accuracy and reduce token consumption, a critical factor for LLM-based systems.
- Robustness to Attacks: The CIB layer also contributes to robustness against adversarial attacks, as it helps filter out signals that deviate from the task goal, preventing the spread of hallucinations.
Key Results
- State-of-the-Art Performance: GoAgent achieves an average accuracy of 93.84% across six benchmarks, outperforming existing methods.
- Reduced Token Consumption: GoAgent reduces token consumption by approximately 17% compared to state-of-the-art baselines, while maintaining high accuracy.
- Improved Robustness: In robustness tests against prompt injection attacks, GoAgent maintained an accuracy of 89.54%, significantly better than node-centric methods.
- Ablation Studies: Removing the group-centric paradigm ("w/o Group") or the CIB mechanism ("w/o CIB") led to significant performance drops, highlighting the importance of both components.
Limitations and Future Work
- Predefined Group Pool: The current approach relies on a predefined pool of collaborative groups generated offline. This limits flexibility, as the model cannot dynamically synthesize entirely novel group structures or roles during inference if a task requires expertise outside this pool.
- Static Reasoning Focus: The current evaluation primarily focuses on static reasoning tasks. The authors suggest that future work should investigate the effectiveness of group-centric topology generation in more dynamic environments, such as embodied AI or multi-agent reinforcement learning.
Summary updated