TopoDIM: One-shot Topology Generation of Diverse Interaction Modes for Multi-Agent Systems

Rui Sun\(^{1}\) Jie Ding\(^{1}\) Chenghua Gong\(^{1}\) Tianjun Gu\(^{2}\)
Yihang Jiang\(^{1}\) Juyuan Zhang\(^{1}\) Liming Pan\(^{1{*}}\) Linyuan Lü\(^{1{*}}\)
\(^{1}\)University of Science and Technology of China, Hefei, China
\(^{2}\)East China Normal University, Shanghai, China
{rrsun,jieding25,gongchenghua,jiang_yihang,zhangjuyuan2020}@mail.ustc.edu.cn,
51275901043@stu.ecnu.edu.cn, {pan_liming, linyuan.lv}@ustc.edu.cn


Abstract

Optimizing communication topology in LLM–based multi-agent system is critical for enabling collective intelligence. Existing methods mainly rely on spatio-temporal interaction paradigms, where the sequential execution of multi-round dialogues incurs high latency and computation. Motivated by the recent insights that evaluation and debate mechanisms can improve problem-solving in multi-agent systems, we propose TopoDIM, a framework for one-shot Topology generation with Diverse Interaction Modes. Designed for decentralized execution to enhance adaptability and privacy, TopoDIM enables agents to autonomously construct heterogeneous communication without iterative coordination, achieving token efficiency and improved task performance. Experiments demonstrate that TopoDIM reduces total token consumption by 46.41% while improving average performance by 1.50% over state-of-the-art methods. Moreover, the framework exhibits strong adaptability in organizing communication among heterogeneous agents. Code is available at: https://github.com/Sundiasy/TopoDIM.

1 Introduction↩︎

Large language model (LLM)–based multi-agent systems (MAS) exhibit collective intelligence that can surpass the capabilities of a single LLM, achieving strong performance in mathematical computation [1], code generation [2], software development [3], and scientific discovery [4]. Prior studies [5][7] have demonstrated that carefully designed interaction topologies enhance the task-processing capability of MAS through effective collaboration.

Figure 1: Illustration of hybrid intra/inter-round dialogue method versus TopoDIM. TopoDIM models complex interactions via one-shot topology generation, efficiently cutting potential token overhead.

Research on MAS with structured communication topologies has predominantly relied on dialogue-based interaction paradigms, as illustrated in Figure 1. In earlier frameworks [8][11], agent connections are homogeneous and restricted to a single interaction mode, with information flow governed by static communication graphs lacking dynamic adaptation. While recent studies [5], [6] have achieved performance gains by hybridizing intra- and inter-round dialogues within spatio-temporal graphs, this multi-round design inherently imposes additional computational and token costs. Although mitigation strategies such as edge pruning [12], dynamic agent selection [7], [13], [14], and proxy-based optimization [15] attempt to balance efficiency and performance, structural redundancy remains unavoidable. Specifically, each inter-round interaction triggers a subsequent intra-round dialogue phase, recursively compounding communication overhead [16], [17].

Single-round dialogue schemes offer the advantage of reduced communication overhead; however, maintaining high task performance within such a constrained framework remains a challenge [18]. Drawing on recent insights that evaluation and debate mechanisms can improve problem-solving in multi-agent systems [19], [20], we posit that explicitly modeling diverse interactions through a heterogeneous communication graph yields a balance between efficiency and performance. Thus, we propose TopoDIM (One-shot Topology Generation with Diverse Interaction Modes). Specifically, TopoDIM is characterized by the following key features:

Diverse Interaction Modes. TopoDIM leverages three efficient collaborative argumentation primitives [21], enabling agents to engage in complementary forms of information exchange beyond homogeneous message passing. One-shot Heterogeneous Topology Generation. TopoDIM employs a heterogeneous graph encoder to capture agent- and task-specific contexts, coupled with an autoregressive decoder that generates a communication topology with multiple interaction modes in a single inference step, eliminating iterative dialogue rounds. Decentralized Architecture. To facilitate adaptive decision-making and mitigate privacy risks [22], TopoDIM distills the global topology optimizer into lightweight local networks deployed on individual agents, enabling autonomous and fully decentralized topology construction.

Compared to existing approaches, TopoDIM substantially reducing computational overhead while promoting more diverse collaboration patterns, ultimately leading to improved task-solving performance in multi-agent systems. Our main contributions are summarized as follows:

  • Observation. We suggest that replacing iterative topology generation in both intra- and inter-round dialogue processes with a one-shot heterogeneous topology formulation significantly improves communication efficiency without performance trade-offs.

  • Framework. We propose TopoDIM, a decentralized framework that integrates a heterogeneous graph encoder with an autoregressive decoder to generate multi-relational communication topologies in one shot, enabling autonomous agent-level decision-making.

  • Evaluation. Extensive experiments demonstrate that TopoDIM consistently enhances communication efficiency, task performance, and structural robustness across both homogeneous and heterogeneous multi-agent settings, surpassing strong task-adaptive cooperation baselines.

2 Methodology Overview↩︎

TopoDIM dynamically orchestrates conditioned, feedback, and dialectical behaviors within a single execution to leverage the complementary strengths of LLM agents and heterogeneous interactions. The schematic overview of TopoDIM is presented in Figure 2.

Figure 2: The framework of TopoDIM, comprising 4 components: Materials: defining agents, roles, interaction modes, and plugins; Topology: illustrating the heterogeneous topology design; Optimization: detailing topology optimization strategies, and Decentralization: describing the decentralized agent decision-making.

2.1 Communication Topology and Pipeline↩︎

Communication topology. We model LLM-based MAS as a directed heterogeneous graph \(\mathcal{G} = (\mathcal{V}, \mathcal{E}, r)\). The node set \(\mathcal{V} = \{v_1, \dots, v_N\}\) represents the collection of agents. As illustrated in Figure  2, each agent \(v_i\) is instantiated by a base language model \(\mathrm{LM}_i\), a role \(\mathrm{Role}_i\) (e.g., math-solver), a context \(\mathrm{Context}_i\) which includes the knowledge and dialogues history, and a set of external tools \(\mathrm{Tool}_i\) (e.g., file-reader). The edge set \(\mathcal{E}\) denotes agent interactions, where \(r: \mathcal{E} \to \mathcal{R}\) serves as an edge-type mapping function. Specifically, a directed edge \(e_{ij}\in\mathcal{E}\) signifies an interaction from \(v_i\) to \(v_j\) governed by a protocol \(r_{ij}:=r(e_{ij})\in\mathcal{R}\). The definition of \(\mathcal{R}\) will be discussed in Section 3.1.

Communication pipeline. Given a query \(q\), a scheduling function \(\psi\) maps \(\mathcal{G}\) to an execution sequence \(\psi \rightarrow\sigma = \langle v_{\sigma(1)}, \dots, v_{\sigma(N)} \rangle\). When activated, each agent \(v_i\) processes a prompt \(\mathcal{P}\) to produce a solution \(\mathcal{S}_i = v_i(\mathcal{P})\). The final output \(a\) is obtained by aggregating all agents’ solutions: \(a \leftarrow \mathrm{Aggregate}(\{\mathcal{S}_i\}_{i=1}^N)\). As a comparision, hybrid intra/inter-round dialogue paradigms framework rely on a \(T\)-round iterative simulation yielding sequential outputs \(\{a^{(t)}\}_{t=1}^{T}\), which imposes a potential overhead on execution efficiency.

2.2 Optimization and Decentralized Design↩︎

Centralized optimization. We employ reinforcement learning to optimize the interaction graph. Specifically, we formulate this task as learning a stochastic policy \(\pi_{\theta}\) that, given a task query \(q\), seeks to construct an optimal interaction graph \(\mathcal{G^*}= (\mathcal{V}^{*},\mathcal{E}^{*},r^{*})\). The objective of policy \(\pi_{\theta}\) is to maximize the expected reward over the distribution of possible graphs, guided by a task-related reward function \(R(\cdot)\) derived from the quality of the final answer: \[\begin{align} \mathcal{G}^*= \underset{\mathcal{G}}{\operatorname*{argmax}} \begin{bmatrix}\mathbb{E}_{\mathcal{G}\sim\pi_\theta(\cdot|q)}[R(\mathcal{G})] \end{bmatrix}. \end{align}\]

Decentralized design. To support adaptive decision-making while addressing potential privacy risks, we adopt a decentralized architecture where each agent \(v_i \in \mathcal{V}\) maintains an independent local policy network \(\pi^{(i)}_{\theta^\prime}\) to infer its connectivity with other nodes. Conditioned on the task embedding \(\mathbf{z}\) and the local states \(\mathbf{h}_i\) and \(\mathbf{h}_j\), the communication link between agent \(v_i\) and \(v_j\) is formulated as: \[p_{ij}^{(r)}=\pi_{\theta^\prime}^{(i)}(r_{ij}|\mathbf{h}_i,\mathbf{h}_j,\mathbf{z}).\]

3 Architecture Details↩︎

3.1 Diverse Interaction Modes↩︎

Recent studies indicate that diverse collaborative mechanisms, such as evaluation and debate, can significantly bolster the complex problem-solving capabilities of MAS [19], [20]. Motivated by these findings, we formalize the interaction space \(\mathcal{R}\) using three distinct edge types, as shown in Figure 3. Each edge type is instantiated via specific prompts to govern its interaction logic.

Conditioned edges. The classical edge type where agent \(v_j\) handles the query \(q\) conditioned with the outputs of agent \(v_i\).

Feedback edges. Encapsulate a supervisory mechanism where agent \(v_j\) critiques or validates the intermediate outputs generated by agent \(v_i\) and \(v_i\) re-handle the query \(q\) referring to the feedback of \(v_j\), simulating an evaluation and reflection process.

Debate edges. Model a debate process wherein agent \(v_j\) challenges \(v_i\)’s proposition for two rounds, ultimately \(v_j\) proceed the query \(q\) with the context of the debate.

Given a query \(q\), TopoDIM aims to learn a policy \(\pi_{\theta}\) that determines the optimal relation \(r^*_{ij} \in \mathcal{R}^\prime:= \mathcal{R}\cup \{\emptyset\}\) between the agent pair \((v_i, v_j)\), where \(\emptyset\) signifies the non-existence of an edge. \[r^*_{ij} = \underset{r \in \mathcal{R}^\prime}{\arg\max} \;\pi_{\theta}\left(r \vert v_i, v_j, q \right).\]

3.2 Heterogeneous Interaction Topology↩︎

We formulate the generation of heterogeneous topologies as a conditional autoregressive decision process. The learnable policy \(\pi_\theta\) defines a distribution \(p_{\theta}(\mathcal{G} \vert q)\) over feasible communication graphs.

Semantics-aware relational encoder. To establish a robust latent representation for each agent, we employ a relational graph convolutional network [23], [24] over a prior knowledge graph \(\mathcal{G}_\text{pri} = (\mathcal{V},\mathcal{E}_{\mathrm{pri}},r_{\mathrm{pri}})\), which is initialized by an advanced LLM (e.g., GPT-5). The node update rule at layer \(l+1\) is defined as \(\mathbf{h}^{\ell+1}_i = \sigma (\hat{\mathbf{h}}^{\ell}_i)\), where \[\hat{\mathbf{h}}^{\ell}_i = \sum_{r \in \mathcal{R}_{\mathrm{pri}}} \sum_{j \in \mathcal{N}_i^r} \frac{1}{c_{i,r}} \mathbf{W}_r^{(l)} \mathbf{h}_j^{(l)} + \mathbf{W}_0^{(l)} \mathbf{h}_i^{(l)},\] \(\mathcal{N}_{i}^{r}\) denotes the set of neighbors of node \(v_i\) under relation \(r\), and \(c_{i,r}=|\mathcal{N}_i^r|\). The initial node embeddings combine role and task information: \[\mathbf{h}_i^{(0)}=\mathbf{e}_i^\text{role}+\mathbf{W}_q\phi(q),\] where \(\mathbf{e}_{i}^{\mathrm{role}}\) is a learnable role embedding and \(\phi(q)\) is the feature representation of the task query \(q \in Q\) obtained from a pre-trained sentence encoder. The final set of node embeddings from the encoder, \(\{\mathbf{h}_1, \dots, \mathbf{h}_N\}\), constitutes the conditional representation \(\mathbf{H}\).

Autoregressive edge sampling decoder. Given the conditional representation \(\mathbf{H}\), a decoder generates topology \(\mathcal{G}\) sequentially. With a prespecified ordering of nodes, the joint probability of observing a graph \(\mathcal{G}\) reads: \[\begin{align} &p_\theta(\mathcal{G} \mid \mathbf{H}) = \prod_{j=2}^N \prod_{i=1}^{j-1} p_{\theta}(r_{ij} \mid \mathbf{H}, \mathcal{G}_{<ij}) \\ &= \prod_{j=2}^N \prod_{i=1}^{j-1} \frac{\exp\left(\mathbf{w}_{r_{ij}}^\top [\mathbf{h}_i \| \mathbf{h}_j] / \tau\right)}{\sum_{r \in \mathcal{R}^\prime} \exp\left(\mathbf{w}_r^\top [\mathbf{h}_i \| \mathbf{h}_j] / \tau\right)}, \end{align}\] where \(\|\) denotes concatenation, and \(\tau\) is the temperature. We sample the relation type \(r_{ij}\) using inverse transform sampling by generating \(u \sim \text{Uniform}(0,1)\) and setting \(F(r) = \sum_{r\in\mathcal{R}^\prime} p_\theta(r)\), where \(r_{ij} = \min\{r : F(r) \geq u\}\) represents the cumulative probability.

Figure 3: Interaction modes of TopoDIM. TopoDIM selects three effective interaction modes aiming to optimize the execution sequence among the agents.

Structural constraints. To ensure logical consistency and prevent circular dependencies, we enforce an acyclic constraint via a dynamic mask \(\mathbf{M}\). Specifically, if the presence of edge \((v_i,v_j)\) violates the acyclic constraint in any existing path from \(v_i\) to \(v_j\), the probability of this node pair is masked as: \[p(r_{ij} \mid \cdot) \leftarrow p(r_{ij} \mid \cdot) \odot \mathbf{M}_{ij},\] where \(\mathbf{M}_{ij} = \mathbb{I}(v_i \not\rightsquigarrow v_j)\) indicates if \(v_i\) and \(v_j\) are not path-connected. Detailed discussions on structural constraint is shown in Appendix 8.

Adaptive sparsification. Inspired by connectivity sparsification methods [12], [14] that enhance task performance through structural reduction, we employ an adaptive pruning mechanism to retain only salient interactions. Specifically, we identify the subset of edges \(\mathcal{E}_{\mathrm{final}}\) based on confidence scores, subject to a sparsity budget ratio \(\alpha\): \[\begin{align} &\mathcal{E}_{\mathrm{final}}=\mathrm{TopK}\left(\{p(r_{ij})\}_{\forall i,j},1-\alpha\right). \end{align}\] To identify the most relevant contributors for each task, TopoDIM filters out inactive nodes that lack connectivity within the selected edge subset. The final node set \(\mathcal{V}_{\mathrm{final}}\) is derived by retaining only those vertices involved in at least one valid interaction: \[\mathcal{V}_{\mathrm{final}}=\{v\mid\exists(h,t,r)\in\mathcal{E}_{\mathrm{final}},v\in\{h,t\}\}.\]

Execution order. Upon establishing the final set of agents \(\mathcal{V}_{\mathrm{final}}\) and edges \(\mathcal{E}_{\mathrm{final}}\), the interaction process follows a breadth-first manner. Starting from the root node (characterized by zero in-degree), each agent interacts with its neighbors in a sequence determined by ascending node indices.

3.3 Diversity-Aware Optimization Strategy↩︎

We optimize a graph generation policy \(\pi_{\theta}\) via reinforcement learning, aiming to maximize a composite objective that balances task success with structural diversity. For each generated graph \(\mathcal{G} \sim \pi_{\theta}\), the agent ensembles execute the collaborative task to yield a binary performance metric \(R_{\mathrm{task}}(\mathcal{G})\in\{0,1\}\), where 1 indicates a successful solution and 0 indicates failure. To mitigate mode collapse and prevent the policy from converging to a narrow set of interaction patterns, we introduce a structural balance reward [25], [26]. This term is formulated as the Shannon entropy of the empirical edge-type distribution \(p(r) = |\mathcal{E}_r|/|\mathcal{E}|\), where \(\mathcal{E}_r\) denotes the set of edges with relation type \(r\): \[R_{\text{div}}(\mathcal{G}) = - \sum_{r\in \mathcal{R}} p(r) \log p(r).\] The holistic reward signal \(R(\mathcal{G})\) is a weighted interpolation of task performance and structural entropy: \[R(\mathcal{G}) = \lambda \cdot R_{\text{task}}(\mathcal{G}) + (1-\lambda) \cdot R_{\text{div}}(\mathcal{G}),\] where \(\lambda \in [0,1]\) is a hyperparameter governing the trade-off between performance exploitation and diversity exploration.

Following the policy gradient theorem [27], we maximize the expected objective \(J(\theta) = \mathbb{E}_{\mathcal{G}\sim\pi_\theta}[R(\mathcal{G})]\). To stabilize training and reduce variance, we employ a moving average baseline \(b\) [28], [29]. The overall loss function also includes an entropy regularization term for the policy’s output distribution to encourage exploration: \[\begin{align} \nabla_\theta J(\theta) = & \mathbb{E}_{\mathcal{G}\sim\pi_\theta} \Big[ \nabla_\theta \log \pi_\theta(\mathcal{G}) \cdot \left( R(\mathcal{G}) - b \right) \\ &+ \gamma \nabla_\theta H(\pi_\theta(\mathcal{G})) \Big], \end{align}\] where \(H(\pi_\theta)\) denotes the entropy of the policy distribution and \(\gamma\) is the regularization coefficient.

3.4 Decentralized Architecture Design↩︎

To facilitate scalable and autonomous deployment, each agent \(v_i\) employs a light local policy (e.g., MLP) \(\pi_{\theta^\prime}^{(i)}\) to predict a relation type with all other node \(\sum_{j\neq i}v_j\), taking each ordered pair of representations\(( \mathbf{h}_i^{(0)},\mathbf{h}^{(0)}_j)\). We align local policy with the global policy \(\pi_{\theta}\) via policy distillation, minimizing the Kullback-Leibler (KL) divergence \(D_{KL}\) to capture global structural dependencies: \[\begin{align} \mathcal{L}_{\text{distill}}&(\theta^\prime) = {\sum_{v_i \in \mathcal{V}}}{\sum_{v_j \in \mathcal{V} \setminus v_i}} D_{KL}\big( \\ &\pi_\theta (r_{ij}| \mathcal{G}_{\text{pri}},q) || \pi_{\theta^\prime}(r_{ij} | \mathbf{h}^{(0)}_i, \mathbf{h}^{(0)}_j)\big), \end{align}\] where \(\pi_\theta(\cdot|\cdot)\) is the centralized policy induced marginal distribution. During inference, agents autonomously sample connections from \(\pi_{\theta^\prime}^{(i)}\) following the structural constraints, thereby combining centralized training optimality with decentralized execution efficiency.

Table 1: Performance comparison with three different base LLMs including Gemma-3-it:12B, GPT-OSS-120B, and DeepSeek-V3.2. Ada., DIM., and Dec. indicates whether it is task-adaptive, whether it supports diverse interaction modes, and whether it is decentralized architecture respectively. The bold and underlined fonts show the best and the second best result. , , and signifies no/partial/full support in these aspects.
Ada. DIM. Dec. LiveCodeBench MMLU-Pro GSM8K MultiArith AIME HumanEval Avg.
Vanilla 24.46 51.24 87.37 96.68 11.28 82.23 58.88
CoT 24.90 51.95 87.83 97.01 12.14 82.85 59.45
LLM-Debate 25.47 52.66 88.46 97.62 11.88 83.85 59.99
GPTSwarm 26.22 53.14 89.38 97.85 12.50 84.14 60.54
AgentDropout 26.75 53.79 90.14 98.20 13.24 84.73 61.14
G-Designer 27.08 54.25 90.27 98.45 12.86 85.47 61.40
TopoDIM 27.38 55.08 91.86 98.85 13.58 86.62 62.23
Base model: GPT-OSS:120B
Vanilla 81.58 74.49 95.90 100 74.77 90.04 86.13
CoT
LLM-Debate 82.92 75.53 95.72 100 75.38 91.43 86.83
GPTSwarm 83.59 76.88 96.50 100 77.41 92.30 87.78
AgentDropout 85.06 78.62 96.86 100 78.13 92.88 88.59
G-Designer 85.63 79.08 97.08 100 78.62 93.47 88.98
TopoDIM 87.28 80.11 98.34 100 80.34 95.83 90.32
Base model: DeepSeek-V3.2-251201:671B
Vanilla 78.35 78.68 96.31 100 64.37 89.46 83.53
CoT 78.84 78.92 96.58 100 64.08 89.84 84.71
LLM-Debate 79.66 80.14 96.82 100 64.84 90.67 85.36
GPTSwarm 80.40 81.75 97.14 100 67.20 92.32 86.47
AgentDropout 81.19 82.37 97.76 100 68.17 93.15 87.11
G-Designer 81.63 82.83 97.48 100 68.62 93.54 87.35
TopoDIM 83.26 84.80 98.52 100 69.93 94.86 88.53

4 Experiment↩︎

4.1 Experimental Setups↩︎

Models and benchmarks. To evaluate the general adaptability of TopoDIM to different LLMs, we employ a diverse set of models including Gemma-3-it:12B [30], GPT-OSS-20B [31], GPT-OSS-120B [31], and DeepSeek-V3.2-251201:671B [32]. We test the performance of TopoDIM on three types of reasoning datasets: General Reasoning: MMLU-Pro [33]; Mathematics: MultiArith [34], GSM8K [35] , AIME\(_{(2023-2025)}\); Coding: HumanEval [36]; LiveCodeBench\(_{(202305-202403)}\)[37].

Baselines. We evaluate TopoDIM by comparing its task-solving performance against 6 typical methods, including Single-agent prompting methods: Vanilla, Chain-of-Thought [38] which augment few-shot exemplars with intermediate reasoning steps. Multi-agent topology methods: LLM-Debate [9], GPTSwarm [5], G-Designer [6], AgentDropout [14].

Implementations. In our experiments, Gemma-3 and GPT-OSS are deployed locally on an NVIDIA RTX 4090 via Ollama [39], while DeepSeek-V3.2 is accessed through its official APIs. We implement a temperature annealing schedule decaying from 2.0 to 0.5 and maintain a fixed learning rate of 0.01 for both centralized and decentralized training. Specific parameters include Top-K sparsity budget ratio \(\alpha \in \{0.3, 0.5, 0.7\}\), \(\lambda \in \{0.3, 0.5, 0.8\}\), and \(\eta \in \{0.01,0.03,0.05\}\). The feature extraction function \(\phi(\cdot)\) is instantiated with all-MiniLM-L6-v2 [40], yielding \(384\)-dimensional embeddings. Each experimental run is initialized with 5 agents. For all benchmarks, the query budgets for optimization (\(M\)) and and decentralized knowledge distillation (\(M'\)) are selected from \(\{40, 80\}\). Furthermore, we employ GPT-5[41] to generate prompt descriptions for three distinct interaction types, and the local policy is parameterized by an MLP. All remaining configurations and agent settings follow the protocols established in [6].

4.2 Main Results↩︎

Task performance. Table 1 demonstrates that TopoDIM outperforms various baselines across multiple datasets, including single models and state-of-the-art multi-agent systems. Specifically, with Gemma-3-it:12B and DeepSeek-V3.2-251201, TopoDIM yields average performance gains of 1.35% \(\uparrow\) and 1.38% \(\uparrow\) over the strongest baselines, respectively. Notably, TopoDIM also enhances the capabilities of the reasoning model (GPT-OSS:120B) on complex tasks, resulting in a 1.50% \(\uparrow\) increase in average predictive accuracy.

Computation efficiency. We compare the token consumption of TopoDIM against other baselines on MMLU-Pro and LiveCodeBench using GPT-OSS:120B, with the results illustrated in Figure 4. TopoDIM significantly reduces token expenditure, saving a total of 1.42M and 2.44M tokens on MMLU-Pro and LiveCodeBench, respectively, while maintaining competitive performance. A comprehensive efficiency analysis is provided in Appendix 10.

Figure 4: Performance-cost trade-off between TopoDIM and state-of-the-art methods. The bubble size is proportional to token consumption.
Figure 5: Dependence on hyperparameter and architecture designs. (a) Edge diversity vs. accuracy/pass@1, (b) edge sparsity vs. accuracy/pass@1, (c) training sample size vs. accuracy/pass@1, and (d) decentralized sample size vs. accuracy/pass@1.

Heterogeneous agents adaptability. To validate the adaptability of TopoDIM within a heterogeneous MAS, we construct a collaborative framework comprising agents with varying capabilities: three GPT-OSS-20B agents and two GPT-OSS-120B agents, with the latter serves as the final decision-maker. As shown in Table 2, the results demonstrate that TopoDIM achieves SOTA performance across all datasets, yielding an average improvement of 1.86% \(\uparrow\) over existing homogeneous topology frameworks. TopoDIM leverages its adaptive sparsification design to effectively prune agents that make negligible contributions, thereby optimizing communication efficiency. A more comprehensive evaluation is provided in Appendix 11.

4.3 Framework Analysis↩︎

We conduct comprehensive experiments using GPT-OSS:120B to validate the framework design of our proposed TopoDIM.

Edge diversity. Figure 5 (a) demonstrates the impact of edge diversity on the collaborative problem-solving capabilities of TopoDIM. Specifically, Base. denotes the configuration with only conditioned edges, while + Fbk./Dbt. corresponds to the incremental addition of feedback and debate edge types. Our systematic investigation reveals a positive correlation between edge diversity and performance. Notably, integrating all available edge types improves the prediction accuracy/pass@1 by 2.21%\(\uparrow\) on MMLU-Pro and 2.18%\(\uparrow\) on LiveCodeBench, respectively.

Edge sparsity. The amount of edges, controlled by the TopK sparsity budget ratio \(\alpha \in \{0, 0.3, 0.5, 0.7, 1.0\}\), significantly impacts performance, as depicted in Figure 5 (b). The optimal accuracy/pass@1 (80.11% on MMLU-Pro and 87.28% on LiveCodeBench) is achieved at \(\alpha = 0.7\), which reveals a crucial trade-off: a dense graph risks in creating redundant communication channels, leading to model hallucination and ultimately impairing decision-making performance.

Training sample size. We evaluate the data efficiency of TopoDIM by varying the training sample size \(M\) (Figure 5 (c)). The results demonstrate a monotonic improvement in performance as the number of samples increases, with the most significant gains occurring within the first 40 samples. Decentralized sample size. To evaluate the effectiveness of the distillation process, we vary the number of decentralized samples \(M'\)(from 0 to 160, where 0 indicates the direct use of the centralized policy to generate topology). As illustrated in Figure 5 (d), TopoDIM achieves robust performance with as few as 40 samples, demonstrating the efficiency of the knowledge transfer.

Table 2: Performance comparison of heterogeneous agents distinguished by skill in MAS.
LiveCodeBench MMLU-Pro AIME
Vanilla 81.58 74.49 74.77
AgentDropout 82.92 77.35 76.71
G-Designer 83.86 78.18 77.10
TopoDIM 84.52 79.52 79.39
Table 3: Ablation study on the impact of topology and optimization strategy.
LiveCodeBench MMLU-Pro AIME
TopoDIM 87.28 80.11 80.34
w/ Rand 82.52 76.36 75.71
w/o Graph 85.49 78.62 78.77
w/o Baseline 86.57 79.45 79.53
w/o ER 86.42 78.97 78.95

Ablation studies. To analyze TopoDIM’s architecture and validate the necessity of its core components, we perform a series of ablation studies. First, to evaluate our heterogeneous interactions topology design, we consider two configurations: w/ Rand, which features randomly generated heterogeneous edges, and w/o Graph, which replaces \(\mathcal{G}_\text{pri}\) with a fully connected graph (using random edge types). These modifications result in average performance drops of 5.60%\(\downarrow\) and 1.99%\(\downarrow\), respectively, underscoring the significance of the graph prior and our topology design. Second, to evaluate the topology optimization strategy, we examine the contributions of the baseline and entropy regularization in optimization phases. Removing the baseline \(b\): w/o Baseline, which enhances training stability, leads to an accuracy decrease of 0.89%\(\downarrow\). Similarly, removing the entropy regularization term: w/o ER, which facilitates policy exploration, causes accuracy to fall by 1.38% \(\downarrow\). These studies demonstrate the critical role of each component in TopoDIM.

Figure 6: TopoDIM vs. Intra/inter-round dialogues methods on LiveCodeBench. Collaboration with diversity modes synthesizes various perspectives to ensure robust solutions with cost-efficiency.

4.4 Case study↩︎

We conduct a case study on LiveCodeBench using GPT-OSS-120B to evaluate the performance and optimized communication structures of TopoDIM against existing methods. Figure 6 visualizes the topologies generated by different approaches for a representative query. The top panel depicts a typical intra-round dialogue graph. When handling complex tasks, such methods are often prone to information loss, leading to suboptimal performance in ambiguous scenarios. The middle panel illustrates an intra/inter-round paradigm that facilitates agent collaboration through multi-turn dialogues. However, this approach incurs additional token overhead and increases susceptibility to hallucination. In contrast, TopoDIM (bottom panel) dynamically constructs a sparse yet informative topology. By selectively activating conditional, feedback, and debate interaction patterns, it effectively preserves critical context without unnecessary token consumption, thereby successfully resolving complex reasoning challenges. Detailed dialogues are provided in Appendix 13.

5 Related Work↩︎

5.1 LLM-based MAS↩︎

Multi-agent systems(MAS) catalyze a paradigm shift from single-agent strategies [42], [43] to collective intelligence for complex problems [44][46]. Pioneering frameworks demonstrated the efficacy of communicative role-playing and social simulation [47], [48], while task-oriented architectures have formalized collaborative workflows in graph generation [49], software engineering [50], and logical reasoning [51] by integrating dynamic role assignment [52], iterative debate [17], [53], [54], and shared memory [55], [56]. Additionally, recent work has introduced benchmarks for evaluating MAS [57]. Recent advancements have corroborated decentralized architectures [22] and diversified interaction patterns [19] to improve task proficiency and adaptability. TopoDIM orchestrates decentralized structure and diverse interactions, demonstrating superior performance.

5.2 Topology Design of MAS↩︎

Communication topologies in LLM-based MAS are generally categorized into intra-round, inter-round, and hybrid structures [12]. Early research primarily organizes either intra- or inter-round dialogues, including chain [58], [59], tree [8], layered [9], [60], and filtered graphs [5], [10]. Recent advancements focus on generating task-specific adaptive topologies by integrating both intra- and inter-round interactions[7], [13], [15], [20], [61]. For instance, G-Designer [6] employs variational autoencoders to generate adaptive graph structures. While recent methods attempt to mitigate these costs via edge pruning [12] and dropout [14], TopoDIM eliminates redundant dialogue rounds while maintaining diverse interactions, making a promising performance.

6 Conclusion↩︎

In this paper, we aim at solving the structural redundancy of the hybrid intra/inter-round dialogue paradigm in MAS. We introduce TopoDIM, a novel decentralized framework for one-shot heterogeneous topology generation tailored adaptively to task queries. Experiments show that TopoDIM achieves SOTA performance in overall performance and cost-efficiency. Meanwhile, its adaptability to heterogeneous agent types allows to avoid the bucket effect. We hope our work will inspire future research on exploring synergy between cognitive mechanisms and interaction topology for scalable collective intelligence.

Limitations↩︎

Interaction constraints. While TopoDIM demonstrates competitive performance through conditioning, feedback, and debate mechanisms, our current focus prioritizes these direct interaction forms to maintain an optimal balance between predictive accuracy and token efficiency. Consequently, the scope of this work does not extend to complex organizational methods, such as dynamic coalition formation, where subsets of agents spontaneously align to address specific sub-problems.

Heterogeneous agents adaptability. We demonstrate TopoDIM outperforms baselines in heterogeneous agent settings, nevertheless finding the combination of high-performance and lightweight LLMs is non-trivial. In practice, we observed that simply introducing random agents yields small performance gains when tasks observably exceed agents capabilities. Furthermore, the deployment of heterogeneous LLMs imposes infrastructure challenges, as serving models with varying architectures and weights requires engineering support.

Computational Overhead. Compared to single-LLM approaches, MAS inevitably incurs more token consumption and latency due to extensive inter-agent communication [62]. While recent works attempt to mitigate this by organizing cooperation within the latent space [63], [64], we adhere to a topology-based paradigm to ensure compatibility with proprietary models. Future work will explore effective mechanisms to further optimize cost-efficiency while improving performance.

Ethical Considerations↩︎

This work relies exclusively on publicly available datasets and benchmarks, ensuring that no private or personally identifiable information is involved. While we did not observe emergent harmful behaviors or unintended autonomous actions during evaluation, we acknowledge that LLM-based multi-agent systems may inherit risks such as bias propagation or hallucinations. Crucially, our proposed framework serves as a coordination layer designed to enhance cooperative efficiency; it operates within the safety boundaries of the base LLMs without bypassing their existing guardrails. Finally, AI assistants were employed solely for grammatical error correction and rephrasing.

Acknowledgement↩︎

This work was supported by the National Natural Science Foundation of China (T2293771), the STI 2030–Major Projects (2022ZD0211400), and National Natural Science Foundation of China (No. 42230406).

7 Algorithm workflow↩︎

The algorithm workflow of TopoDIM is illustrated in Algorithm [Algo:topodim]. Specifically, TopoDIM comprises two training stages. In stage 1, TopoDIM iterates through all training queries and employs policy optimization to update the encoder and decoder parameters, incorporating structural constraints and adaptive sparsification. In stage 2, TopoDIM performs decentralized policy distillation using the same training set as in Stage 1, updating the parameters of lightweight networks which are deployed on each agent itself for a purpose of flexible and private decision for . During the inference phase, TopoDIM generates a communication topology and traverses it in a breadth-first manner. By facilitating agent cooperation through three semantically rich interaction modes, the method achieves competitive performance on complex tasks.

Figure 7: Illustration of acyclic property for three edge types, including (a) loop collaboration with conditioned and debate edges and (b) no loop collaboration with three edge types. The solid arrows only indicate communication directions.

8 Acyclic Property↩︎

We impose acyclic structural constraints exclusively on conditioned and debate edges, leaving feedback edges unconstrained. Specifically, structural constraints are applied exclusively to conditioned and debate edges, which must remain acyclic to preclude circular dependencies (Figure 7 (a)). In contrast, feedback edges are allowed for arbitrary connectivity (Figure 7 (b)). During traversal, feedback edges are prioritized for immediate execution: they are excluded from degree calculations and removed upon visit. Meanwhile other edge types adhere to standard breadth-first scheduling.

9 Data Statistics↩︎

We summarized the data statistics in Table 4. In this paper we conduct experiments across three representative categories of datasets, incorporating challenging benchmarks such as MMLU-Pro, AIME, and LiveCodeBench to make a comprehensive evaluation of our proposed TopoDIM. For the AIME benchmark, given the limited volume of available problems, we utilize the entire collection of samples from 2023 to 2025 for training (40 samples) and evaluation (50 samples) [65]. For LiveCodeBench, we employ Release V1 version of for a moderately challenging evaluation on code generation tasks, which comprises data collected between May 2023 and March 2024. For MMLU-Pro, we adopt the same data processing pipeline as applied to MMLU in previous work [6], selecting 153 samples from the test set as our evaluation subset. The experimental settings for the remaining datasets, including MultiArith, HumanEval, and GSM8K, remain consistent with prior research [14] to ensure fair comparison.

Table 4: Dataset descriptions and statistics.
Category Dataset Answer Type Metric #Test
MMLU-Pro Multi-choice Acc. 153
Math reasoning AIME\(_{23-25}\) Number Acc. 50
MultiArith Number Acc. 600
GSM8K Number Acc. 1,319
Code generation LiveCodeBench\(_{\text{v}1}\) Code Pass@1 360
HumanEval Code Pass@1 164

10 Cost Efficiency↩︎

We provide a more detailed display for cost-efficiency of TopoDIM, shown in Table 6. TopoDIM cuts down the token expenditure, saving maximum prompt and completion token by 57.82% and 22.05% compared to the most efficient framework. Moreover, we conducted experiments to evaluate GPU resource overhead during the inference phase. By randomly instantiating 1,000 nodes, we demonstrated that our decentralized design, where each agent operates a lightweight network, requires merely 6.36 GB of memory, achieving significant cost efficiency.

Table 5: Performance comparison of heterogeneous agents distinguished by sources and capacities in MAS.
LiveCodeBench MMLU-Pro AIME
Collabration: 3 Gemma3-it:12B, 2 GPT-OSS:20B
Vanilla 70.40 68.84 29.57
AgentDropout 71.26 69.57 29.80
G-Designer 71.18 70.46 29.24
TopoDIM 72.23 71.20 30.18
Decision-maker: DeepSeek-V3.2
Collabration: 3 GPT-OSS:20B, 2 DeepSeek-V3.2
Vanilla 78.38 78.68 64.37
AgentDropout 79.52 80.10 64.55
G-Designer 80.17 80.68 65.23
TopoDIM 82.46 82.37 66.59
Table 6: Comparison of token consumption. Ctok. and Ptok. indicate prompt and complete token consumption.
LLM-Debate GPTSwarm G-Designer AgentDropout TopoDIM
MMLU-Pro LiveCodeBench MMLU-Pro LiveCodeBench MMLU-Pro LiveCodeBench MMLU-Pro LiveCodeBench MMLU-Pro LiveCodeBench
Ptok. 7.31 M 13.72 M 6.14 M 9.46 M 3.93 M 6.37 M 2.09 M 5.30 M 0.88 M 3.02 M
Ctok. 2.87 M 4.63 M 2.40 M 3.15 M 1.56 M 2.21 M 0.98 M 1.85 M 0.76 M 1.69 M
Total 10.18 M 18.36 M 8.54 M 12.61 M 5.49 M 8.58 M 3.06 M 7.16 M 1.64 M 4.71 M

11 Heterogeneous Agents Adaptability↩︎

To provide a more comprehensive evaluation of TopoDIM’s adaptability to heterogeneous agents, we conducted experiments on two additional configurations involving agents with distinct sources and capacities. As detailed in Table 5, we combined GPT-OSS:20B with DeepSeek-V3.2 and Gemma3-it:12b, respectively. In these settings, TopoDIM consistently outperformed other baselines across three representative datasets, achieving average improvements of 1.32% and 1.15%, respectively. It is worth noting that identifying effective combinations of high-performance and lightweight LLMs is non-trivial; naively introducing random agents with heterogeneous skills can sometimes be counterproductive (e.g., the performance degradation observed with G-Designer). In contrast, TopoDIM leverages its adaptive sparsification design to effectively prune agents that make negligible contributions, thereby optimizing communication efficiency.

12 Robustness Analysis↩︎

We evaluated the robustness of TopoDIM by conducting experiments on LiveCodeBench with GPT-OSS:120B. An agent is randomly selected and injected with prompts that drive it to generate failure outputs. As illustrated in Figure 8, thanks to its heterogeneous adaptability, TopoDIM exhibits remarkable robustness to these attacks, limiting the performance degradation to 0.3 points. Conversely, LLM-Debate incurs a drop of 1.2 due to its fixed communication topology. Meanwhile, dynamic topology frameworks like GPTSwarm, G-Designer, and AgentDropout also display competitive structural robustness, with an average drop of 0.43. This adaptive capability is vital for identifying malicious agents, underscoring the superiority of dynamic topologies in maintaining structural integrity.

Figure 8: Pass@1 performance comparison of TopoDIM and other multi-agent baselines on LiveCodeBench pre- and post-prompt attacks. Dynamic topology frameworks exhibit competitive structural robustness, demonstrating small performance degradation.

13 Case Study↩︎

Task-specific Patterns. We conduct case studies with GPT-OSS-120B on AIME (math) and MMLU-Pro (general) to illustrate task-specific collaboration patterns, as shown in Figure 9. For an MMLU-Pro psychology question, TopoDIM generates an efficient topology that coordinates multiple agents to solve the problem. The psychologist and historian first engage in a debate. The critic then reviews the psychologist’s response and consults a knowledgeable expert for professional feedback. For an AIME problem, the math analyst first examines the question and passes the result to the math solver. Conditioned on this output, the math solver works out the solution and requests feedback from a programming expert for verification. Finally, the math solver and inspector enter a debate to further refine the solution.

Specific Cases. While the main text briefly compares the communication sequence of TopoDIM with two typical intra- and inter-round dialogue paradigms using GPT-OSS:120B on a LiveCodeBench question, this section presents the detailed cooperative dialogues among different agents, as illustrated in Figures 10 through 14. Upon receiving a question \(q\), TopoDIM effectively generates a communication graph to orchestrate agent collaboration. As shown in Figure 11, the algorithm designer outlines the solution strategy and provides the initial code. The bug fixer then generates a revised solution conditioned on the designer’s output. Subsequently, a programming expert engages in a debate with the bug fixer to produce robust code that efficiently solves \(q\), as depicted in Figure 12. Next, the project manager proposes a separate solution, which undergoes a detailed evaluation by the algorithm designer. Based on this critical feedback, the project manager refines the solution, as illustrated in Figure 13. Finally, a decision-maker reviews the collective contributions from all participants and delivers the final answer, as depicted in Figure 14. These interactions exemplify the iterative self-correction capability facilitated by the multi-type interactions.

Figure 9: Case studies of the communication topologies designed by TopoDIM on MMLU-Pro (case a) and AIME (case b) benchmarks.

Initial graph \(\mathcal{G}_\text{pri}\), query \(\mathcal{Q}\) Communication topology \(\hat{\mathcal{G}}\)

\(\mathbf{h}_i^{(0)} \gets \mathbf{e}_i^\text{role} + \mathbf{W}_q\phi(q)\)

\(\mathbf{h}^{l+1}_i \gets \sigma \big(\sum_{r\in\mathcal{R}_\text{pri}}\sum_{j\in\mathcal{N}_i^r}\frac{1}{c_{i,r}}\mathbf{W}_r^{(l)}\mathbf{h}_j^{(l)}+\mathbf{W}_0^{(l)}\mathbf{h}_i^{(l)}\big)\) \(\mathbf{H} \gets [\mathbf{h}^{l+1}_1,\mathbf{h}^{l+1}_2,...,\mathbf{h}^{l+1}_N]\)

\(p_\theta(\mathcal{G}\mid\mathbf{H})=\prod_{j=2}^N\prod_{i=1}^{j-1}p_\theta(r_{ij}\mid\mathbf{H},\mathcal{G}_{<ij})\) \(r_{ij}\gets \operatorname*{min}\{r\::\:F(r)\:\geq\:u\}\), \(F(r)\gets\sum_{r^{\prime}=0}^rp_\theta(r')\)

\(p(r_{ij}\mid\cdot)\leftarrow p(r_{ij}\mid\cdot)\odot\mathbf{M}_{ij}\)

\(\mathcal{E}_{\mathrm{final}}=\mathrm{TopK}\left(\{p(r_{ij})\}_{\forall i,j},1-\alpha\right)\) \(\mathcal{V}_{\mathrm{final}}=\{v\mid\exists(h,t,r)\in\mathcal{E}_{\mathrm{final}},v\in\{h,t\}\}\) \(\mathcal{G}_{\mathrm{final}} \gets (\mathcal{V}_{\mathrm{final}},\mathcal{E}_{\mathrm{final}},r_{\mathrm{final}})\) \(\mathcal{S}_i \gets v_i(\mathcal{P})\) \(a\leftarrow\text{Aggregate}(\{\mathcal{S}\}_{i=1}^N)\)

\(\theta^{q+1}\leftarrow\theta^{q}-\delta\nabla_{\theta^{q}}J(\theta)\)

\(\mathcal{L}_{\mathrm{distill}}(\theta^\prime) \gets \sum_{v_i\in\mathcal{V}}\sum_{v_j\in\mathcal{V}\setminus v_i} D_{KL} \big( \pi_\theta(r_{ij} | \mathcal{G}_\text{pri}, q) \,||\, \pi_{\theta^\prime}(r_{ij} | \mathbf{h}_i^{(0)}, \mathbf{h}_j^{(0)}) \big)\) \(\theta^{\prime q+1}\leftarrow\theta^{\prime q}-\beta\nabla_{\theta^{\prime q}}\mathcal{L}_{\mathrm{distill}}\)

Figure 10: Question overview of case study.
Figure 11: Detailed dialogues generated in the \mathrm{Conditioned} mode.
Figure 12: Detailed dialogues generated in the \mathrm{Debate} mode.
Figure 13: Detailed dialogues generated in the \mathrm{Feedback} mode.
Figure 14: Detailed decision-making overview of case study.

References↩︎

[1]
B. Lei, Y. Zhang, S. Zuo, A. Payani, and C. Ding, “Macm: Utilizing a multi-agent system for condition mining in solving complex mathematical problems,” Advances in Neural Information Processing Systems, vol. 37, pp. 53418–53437, 2024.
[2]
M. A. Islam, M. E. Ali, and M. R. Parvez, “Mapcoder: Multi-agent code generation for competitive problem solving,” arXiv preprint arXiv:2405.11403, 2024.
[3]
J. He, C. Treude, and D. Lo, “LLM-based multi-agent systems for software engineering: Literature review, vision, and the road ahead,” ACM Transactions on Software Engineering and Methodology, vol. 34, no. 5, pp. 1–30, 2025.
[4]
A. E. Ghareeb et al., “Robin: A multi-agent system for automating scientific discovery,” arXiv preprint arXiv:2505.13400, 2025.
[5]
M. Zhuge, W. Wang, L. Kirsch, F. Faccio, D. Khizbullin, and J. Schmidhuber, “Gptswarm: Language agents as optimizable graphs,” in Forty-first international conference on machine learning, 2024.
[6]
G. Zhang et al., “G-designer: Architecting multi-agent communication topologies via graph neural networks,” arXiv preprint arXiv:2410.11782, 2024.
[7]
S. Li, Y. Liu, Q. Wen, C. Zhang, and S. Pan, “Assemble your crew: Automatic multi-agent communication topology design via autoregressive graph generation,” arXiv preprint arXiv:2507.18224, 2025.
[8]
Q. Wu et al., “Autogen: Enabling next-gen llm applications via multi-agent conversation framework,” arXiv preprint arXiv:2308.08155, vol. 3, no. 4, 2023.
[9]
Y. Du, S. Li, A. Torralba, J. B. Tenenbaum, and I. Mordatch, “Improving factuality and reasoning in language models through multiagent debate,” in Forty-first international conference on machine learning, 2023.
[10]
C. Zheng, Z. Liu, E. Xie, Z. Li, and Y. Li, “Progressive-hint prompting improves reasoning in large language models,” arXiv preprint arXiv:2304.09797, 2023.
[11]
Z. Liu, Y. Zhang, P. Li, Y. Liu, and D. Yang, “A dynamic llm-powered agent network for task-oriented agent collaboration,” in First conference on language modeling, 2024.
[12]
G. Zhang et al., “Cut the crap: An economical communication pipeline for llm-based multi-agent systems,” arXiv preprint arXiv:2410.02506, 2024.
[13]
S. Wang, Z. Tan, Z. Chen, S. Zhou, T. Chen, and J. Li, “AnyMAC: Cascading flexible multi-agent collaboration via next-agent prediction,” arXiv preprint arXiv:2506.17784, 2025.
[14]
Z. Wang et al., “Agentdropout: Dynamic agent elimination for token-efficient and high-performance llm-based multi-agent collaboration,” arXiv preprint arXiv:2503.18891, 2025.
[15]
E. H. Jiang et al., “Dynamic generation of multi-LLM agents communication topologies with graph diffusion models,” arXiv preprint arXiv:2510.07799, 2025.
[16]
W. Chen, J. Yuan, C. Qian, C. Yang, Z. Liu, and M. Sun, “Optima: Optimizing effectiveness and efficiency for llm-based multi-agent system,” in Findings of the association for computational linguistics: ACL 2025, 2025, pp. 11534–11557.
[17]
Y. Zeng et al., “S\(^2\)-MAD: Breaking the token barrier to enhance multi-agent debate efficiency,” arXiv preprint arXiv:2502.04790, 2025.
[18]
J. Hu, S. Guo, W. Liu, J. Yin, and Y. Wei, “Context-agent: Dynamic discourse trees for non-linear dialogue,” arXiv preprint arXiv:2604.05552, 2026.
[19]
X. Xue et al., “CoMAS: Co-evolving multi-agent systems via interaction rewards,” arXiv preprint arXiv:2510.08529, 2025.
[20]
H. Zhou et al., “Multi-agent design: Optimizing agents with better prompts and topologies,” arXiv preprint arXiv:2502.02533, 2025.
[21]
M. Scardamalia and C. Bereiter, “Knowledge building,” The Cambridge, 2006.
[22]
Y. Yang et al., “AgentNet: Decentralized evolutionary coordination for LLM-based multi-agent systems,” arXiv preprint arXiv:2504.00587, 2025.
[23]
M. Schlichtkrull, T. N. Kipf, P. Bloem, R. Van Den Berg, I. Titov, and M. Welling, “Modeling relational data with graph convolutional networks,” in European semantic web conference, 2018, pp. 593–607.
[24]
F. Wang, G. Zhu, C. Yuan, and Y. Huang, “Llm-enhanced cascaded multi-level learning on temporal heterogeneous graphs,” in Proceedings of the 47th international ACM SIGIR conference on research and development in information retrieval, 2024, pp. 512–521.
[25]
S. Ma et al., “TSPO: Breaking the double homogenization dilemma in multi-turn search policy optimization,” arXiv preprint arXiv:2601.22776, 2026.
[26]
S. Liu et al., “BAPO: Boundary-aware policy optimization for reliable agentic search,” arXiv preprint arXiv:2601.11037, 2026.
[27]
R. S. Sutton, D. McAllester, S. Singh, and Y. Mansour, “Policy gradient methods for reinforcement learning with function approximation,” Advances in neural information processing systems, vol. 12, 1999.
[28]
R. J. Williams, “Simple statistical gradient-following algorithms for connectionist reinforcement learning,” Machine learning, vol. 8, no. 3, pp. 229–256, 1992.
[29]
J. Chen, J. Feng, W. Gao, and K. Wei, “Decentralized natural policy gradient with variance reduction for collaborative multi-agent reinforcement learning,” Journal of Machine Learning Research, vol. 25, no. 172, pp. 1–49, 2024.
[30]
G. Team et al., “Gemma 3 technical report,” arXiv preprint arXiv:2503.19786, 2025.
[31]
S. Agarwal et al., “Gpt-oss-120b & gpt-oss-20b model card,” arXiv preprint arXiv:2508.10925, 2025.
[32]
A. Liu et al., “DeepSeek-V3. 2: Pushing the frontier of open large language models,” arXiv preprint arXiv:2512.02556, 2025.
[33]
Y. Wang et al., “Mmlu-pro: A more robust and challenging multi-task language understanding benchmark,” Advances in Neural Information Processing Systems, vol. 37, pp. 95266–95290, 2024.
[34]
S. Roy and D. Roth, “Solving general arithmetic word problems,” arXiv preprint arXiv:1608.01413, 2016.
[35]
K. Cobbe et al., “Training verifiers to solve math word problems,” arXiv preprint arXiv:2110.14168, 2021.
[36]
D. Hendrycks et al., “Measuring massive multitask language understanding,” arXiv preprint arXiv:2009.03300, 2020.
[37]
N. Jain et al., “Livecodebench: Holistic and contamination free evaluation of large language models for code,” arXiv preprint arXiv:2403.07974, 2024.
[38]
J. Wei et al., “Chain-of-thought prompting elicits reasoning in large language models,” Advances in neural information processing systems, vol. 35, pp. 24824–24837, 2022.
[39]
Ollama, Software available at https://github.com/ollama/ollama“Ollama: Large language model runner.” 2023, [Online]. Available: https://ollama.com/.
[40]
W. Wang, F. Wei, L. Dong, H. Bao, N. Yang, and M. Zhou, “Minilm: Deep self-attention distillation for task-agnostic compression of pre-trained transformers,” Advances in neural information processing systems, vol. 33, pp. 5776–5788, 2020.
[41]
OpenAI, Accessed: 2025-08-13“GPT-5 system card.” https://openai.com/index/gpt-5-system-card/, 2025.
[42]
S. Yao et al., “React: Synergizing reasoning and acting in language models,” in The eleventh international conference on learning representations, 2022.
[43]
W. Zhang et al., “ExpSeek: Self-triggered experience seeking for web agents,” arXiv preprint arXiv:2601.08605, 2026.
[44]
C. Gong and X. Li, “Agents with foundation models: Advance and vision,” Frontiers of Computer Science, vol. 19, no. 4, p. 194330, 2025.
[45]
S. Ma, Y. Guo, J. Su, Q. Huang, Z. Zhou, and Y. Wang, “Talk2image: A multi-agent system for multi-turn image generation and editing,” in Proceedings of the AAAI conference on artificial intelligence, 2026, vol. 40, pp. 32437–32445.
[46]
Y. Long, Y. Liu, and L. Xu, “EmoMAS: Emotion-aware multi-agent system for high-stakes edge-deployable negotiation with bayesian orchestration,” arXiv preprint arXiv:2604.07003, 2026.
[47]
G. Li, H. Hammoud, H. Itani, D. Khizbullin, and B. Ghanem, “Camel: Communicative agents for" mind" exploration of large language model society,” Advances in Neural Information Processing Systems, vol. 36, pp. 51991–52008, 2023.
[48]
J. Hu, X. Huang, Y. Sun, Y. Dong, and X. Huang, “Lying with truths: Open-channel multi-agent collusion for belief manipulation via generative montage,” arXiv preprint arXiv:2601.01685, 2026.
[49]
P. Zhang, Z. Jia, Z. Cai, S. Weng, S. Li, and B. Shi, “ReContraster: Making your posters stand out with regional contrast,” arXiv preprint arXiv:2604.10442, 2026.
[50]
S. Hong et al., “MetaGPT: Meta programming for a multi-agent collaborative framework,” in The twelfth international conference on learning representations, 2023.
[51]
W. Chen et al., “Agentverse: Facilitating multi-agent collaboration and exploring emergent behaviors,” in The twelfth international conference on learning representations, 2023.
[52]
R. Ye et al., “X-MAS: Towards building multi-agent systems with heterogeneous LLMs,” arXiv preprint arXiv:2505.16997, 2025.
[53]
T. Liang et al., “Encouraging divergent thinking in large language models through multi-agent debate,” arXiv preprint arXiv:2305.19118, 2023.
[54]
H. K. Choi, X. Zhu, and Y. Li, “Debate or vote: Which yields better decisions in multi-agent large language models?” arXiv preprint arXiv:2508.17536, 2025.
[55]
Y. Wang and X. Chen, “Mirix: Multi-agent memory system for llm-based agents,” arXiv preprint arXiv:2507.07957, 2025.
[56]
G. Zhang, M. Fu, G. Wan, M. Yu, K. Wang, and S. Yan, “G-memory: Tracing hierarchical memory for multi-agent systems,” arXiv preprint arXiv:2506.07398, 2025.
[57]
Y. Zhang et al., “Silo-bench: A scalable environment for evaluating distributed coordination in multi-agent LLM systems,” arXiv preprint arXiv:2603.01045, 2026.
[58]
C. Qian et al., “Chatdev: Communicative agents for software development,” in Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: Long papers), 2024, pp. 15174–15186.
[59]
S. Holt, M. R. Luyten, and M. van der Schaar, “L2MAC: Large language model automatic computer for extensive code generation,” arXiv preprint arXiv:2310.02003, 2025.
[60]
C. Qian et al., “Scaling large language model-based multi-agent collaboration,” arXiv preprint arXiv:2406.07155, 2024.
[61]
X. Wu et al., “ST-EVO: Towards generative spatio-temporal evolution of multi-agent communication topologies,” arXiv preprint arXiv:2602.14681, 2026.
[62]
J. Hu, Y. Dong, Y. Sun, and X. Huang, “Tapas are free! Training-free adaptation of programmatic agents via llm-guided program synthesis in dynamic environments,” in Proceedings of the AAAI conference on artificial intelligence, 2026, vol. 40, pp. 29477–29485.
[63]
J. Zou et al., “Latent collaboration in multi-agent systems,” arXiv preprint arXiv:2511.20639, 2025.
[64]
T. Fu et al., “Cache-to-cache: Direct semantic communication between large language models,” arXiv preprint arXiv:2510.03215, 2025.
[65]
Mathematical Association of America, Accessed via Art of Problem Solving or [Insert Dataset Name]“American invitational mathematics examination (AIME).” 1983--2025, [Online]. Available: https://www.maa.org/math-competitions/aime.