TL;DR
TopoDIM is a decentralized multi-agent framework that generates optimized communication topologies in a single inference step (one-shot), eliminating the need for costly multi-round dialogues. By explicitly modeling diverse interaction modes—such as conditioning, feedback, and debate—within a heterogeneous graph, TopoDIM slashes total token consumption by 46.41% while outperforming state-of-the-art multi-agent systems in task accuracy.
What Problem Does This Paper Address?
Large Language Model (LLM)-based multi-agent systems (MAS) excel at complex problem-solving by collaborating. However, existing frameworks heavily rely on multi-round, spatio-temporal dialogue paradigms where agents iteratively chat back and forth to reach a consensus.
As shown in Figure 1, this recursive design incurs massive token overhead, high computational costs, and significant latency. While single-round dialogue schemes are computationally cheaper, they typically suffer from poor task performance because they lack the rich reasoning capabilities provided by multi-agent evaluation and debate.
The authors tackle a crucial question: Can we achieve the performance benefits of complex multi-agent interactions (like debate and reflection) without the massive token and latency penalties of multi-round execution?
Methods
TopoDIM solves this by framing communication topology generation as a one-shot, conditional autoregressive decision process. Instead of letting agents talk indefinitely, the framework predicts the optimal, heterogeneous communication structure upfront.
As detailed in Figure 2, the framework consists of four main stages:
- Diverse Interaction Modes: Rather than using uniform message passing, TopoDIM defines three distinct edge types (protocols) between agents:
- Conditioned Edges: Standard sequential generation where agent $v_j$ builds on agent $v_i$'s output.
- Feedback Edges: A supervisory mechanism where agent $v_j$ critiques agent $v_i$, prompting $v_i$ to re-solve the task.
- Debate Edges: A structured, two-round dialectical challenge between two agents.
- Heterogeneous Graph Architecture: A Semantics-aware Relational Encoder (using a Relational Graph Convolutional Network, or R-GCN) embeds agent roles and task queries. An Autoregressive Edge Sampling Decoder then generates the multi-relational topology.
- Structural Constraints & Sparsification: To prevent deadlocks, the framework enforces strict acyclic constraints on conditioned and debate edges. It also applies an adaptive pruning mechanism (Top-K sparsification) to eliminate redundant communication channels.
- Decentralized Optimization: The global topology policy is optimized via Reinforcement Learning (Policy Gradient with Entropy Regularization) using a composite reward for task success and structural diversity. Crucially, to preserve privacy and scalability, this global policy is distilled into lightweight local networks (MLPs) residing on individual agents using Knowledge Distillation.
Datasets
The authors evaluated TopoDIM across three reasoning domains using several prominent benchmarks:
- General Reasoning: MMLU-Pro
- Mathematics: MultiArith, GSM8K, and AIME (2023–2025)
- Coding: HumanEval and LiveCodeBench (V1, data from May 2023 to March 2024)
Key Insights and Ideas
- One-Shot Structure Replaces Multi-Round Chatter: The core "aha" moment is that multi-round interaction patterns (like debate) can be pre-structured and executed in a single topological pass. You don't need agents to dynamically decide to debate over multiple turns; you can predict that a debate is needed based on the task context.
- Graph Density is a Double-Edged Sword: Naively connecting all agents leads to information overload and model hallucination. TopoDIM's adaptive pruning proves that less is more—filtering out weak connections directly improves final decision accuracy.
- Decentralization via Distillation: By distilling a heavy global graph-optimizer into local agent MLPs, the system achieves decentralized execution. Agents can autonomously choose who to connect with based only on local states and the task embedding, eliminating centralized coordination overhead during inference.
Key Results
TopoDIM was validated using diverse base models, including Gemma-3-it:12B, GPT-OSS-120B, and DeepSeek-V3.2.
- Token Efficiency: As illustrated in Figure 4, TopoDIM drastically reduces token consumption, achieving a 46.41% total token reduction compared to state-of-the-art multi-round frameworks like G-Designer and GPTSwarm.
- Performance Gains: Despite using fewer tokens, TopoDIM achieved an average performance boost of 1.50% over the strongest baselines across all datasets. In heterogeneous agent settings (mixing strong and weak models), it yielded a 1.86% improvement.
- Robustness: When malicious/faulty agents were injected into the system, TopoDIM's dynamic topology limited performance degradation to just 0.3 points, compared to a 1.2-point drop for fixed-topology methods like LLM-Debate.
Limitations and Future Work
While highly effective, the authors note a few limitations:
- Interaction Scope: The framework is restricted to direct conditioning, feedback, and debate. It does not yet support complex organizational behaviors like dynamic coalition formation, where sub-groups of agents spontaneously cluster to solve sub-problems.
- Heterogeneous Sensitivity: Randomly pairing high-performance LLMs with lightweight LLMs can sometimes be counterproductive if the task complexity vastly exceeds the weaker agent's capabilities.
- Future Directions: The team aims to explore executing agent cooperation entirely within the latent space to further optimize cost-efficiency and eliminate text-based communication overhead entirely.
Summary updated