Integrating Strengths of Different Multi-Agent Workflows via Step-Aware Hybrid Topology Planning

Jingxuan Yu, Ju Jia, Yiqian Chen, Yuchong Chen, Cong Wu, Di Wu, Siqi Ma, Jie GuiNeurIPS 2026

TL;DR

When building teams of AI agents, forcing them into a strict assembly line makes them slow, while letting them all talk at once ruins long-term planning. This paper introduces HTAS, a framework that automatically wires AI agents into hybrid workflows—combining structured step-by-step pipelines with synchronous group brainstorming. By using an LLM to draft the initial org chart and gradient-based learning to prune bloat, it outperforms pure topologies on over 90% of tasks while cutting down both token costs and latency.

What Problem Does This Paper Address?

Imagine organizing a software engineering team. If you force them to communicate strictly in a one-way assembly line, complex projects stay organized, but everything takes forever. On the flip side, if you put everyone in a single chaotic Slack channel where everybody talks simultaneously, ideas flow fast, but nobody can execute a coherent multi-step plan.

Multi-agent systems (MAS) powered by Large Language Models (LLMs) face this exact dilemma. Current automated agent workflows generally fall into one of two camps:

  1. Sequential topologies: Structured as Directed Acyclic Graphs (DAGs), where agents pass outputs one by one in topological order. Great for long-horizon tasks, terrible for latency.
  2. Decentralized topologies: Connected subgraphs where agents broadcast and aggregate messages synchronously in parallel. Fast and great for multi-perspective consensus, but lacks step-by-step order.
Figure 1: (Upper left) Decentralized topology are suitable for short-term tasks from MMLU to AQuA, while sequential topology are suitable for long-term tasks from HumanEval to AsyncHow. (Lower left) Decentralized topology has better time efficiency. (Right) Motivation of hybrid MAS.

Until now, systems were locked into one paradigm or the other. The authors ask: Can we mathematically combine both into a single, learnable architecture so agents brainstorm in parallel within steps, and pass results sequentially between steps?

Methods

The authors propose HTAS (Step-Aware Hybrid Topology Planning), which treats the communication network between agents as a learnable probability distribution.

  • Hybrid Execution & Cycle Prevention (Novel): Every potential connection between two agents can take one of three states: none, sequential, or decentralized. Decentralized clusters form synchronous "steps" (intra-step brainstorming), while sequential edges dictate the execution order between those steps. Because merging synchronous groups with sequential pipelines can accidentally create infinite loops (deadlocks), the authors establish two graph-theoretic rules (Theorems 1 & 2) using "virtual connections" to guarantee the overarching workflow remains cycle-free during sampling.
  • Parameterized Graph Learning (Standard base, Novel adaptation): Similar to prior work, edge probabilities are parameterized using Gumbel-Softmax and updated via policy-gradient reinforcement learning based on task accuracy.
  • LLM-Driven Initialization (Novel): Searching a hybrid graph space from scratch is unstable—uniform random initialization wastes early training epochs on nonsensical workflows. Instead, HTAS prompts an LLM to propose a handful of valid, sensible hybrid topologies upfront, evaluates them, and pre-trains the probability distribution to mimic the best ones before starting gradient optimization.
  • Efficiency Normalizations (Novel): To keep budgets in check, the loss function adds two penalties: density normalization (an $L_1$ penalty on edge probabilities to prune redundant chatter and save tokens) and length normalization (penalizing the longest step-level path to reduce wall-clock execution time).

Datasets

The authors evaluate HTAS using GPT-4o-mini across six existing benchmarks (no new datasets are introduced), split into two categories:

  • Short-term reasoning: MMLU (general knowledge QA), GSM8k, and AQuA (mathematical reasoning).
  • Long-term planning: HumanEval and MBPP (code generation and planning), plus AsyncHow (an asynchronous graph-planning benchmark).

Key Insights and Ideas

  • Topology dictates cognitive style: Empirical tests confirm a clean split—decentralized graphs naturally win at short-term QA (where aggregating diverse viewpoints matters), whereas sequential DAGs dominate coding and multi-step planning.
  • Warm-starting matters more as search spaces grow: Because hybrid graphs have three choices per edge instead of two, random exploration easily gets lost. Using an LLM to "warm up" the optimizer improved final accuracy in 24 out of 27 test settings, with hybrid graphs benefiting the most.
  • Less chatter, same smarts: Agent networks tend to over-communicate. Gently penalizing graph density prunes 1 to 3 redundant edges on average, slashing token bills without hurting accuracy—proving many agent-to-agent messages are just expensive noise.

Key Results

  • Task Accuracy: Across all experiments, HTAS outperforms single-form topologies in 90.4% of tasks. In 5-agent setups, it beats strong learned baselines (like GPTSwarm, GDesigner, and MPAS) on 5 out of 6 benchmarks—boosting AsyncHow accuracy from 64.0% to 68.4%, MBPP to 77.5%, and HumanEval to 87.6%. (Pure decentralized MPAS narrowly edges it out on MMLU, 77.6% vs. 77.0%).
  • Initialization Boost: Adding the LLM initializer improves downstream learning in 88.8% (24/27) of evaluated scenarios across 5-, 7-, and 9-agent systems.
  • Cost & Speed Savings: Tuning the density and length penalties reduces token consumption by 20%–30% (saving ~4K tokens per AQuA task) and cuts execution time by 7%–13% (up to 12% on AQuA) with less than a 1% dip in accuracy.

Limitations and Future Work

  • Over-penalizing length hurts complex planning: The authors note that cranking the length penalty too high ($\lambda_2 = 0.1$) cuts latency by up to 50%, but severely degrades accuracy on long-term planning tasks that genuinely require multi-round sequential thought. Tuning these weights requires care.
  • Static post-training graphs: Once HTAS finishes training on a task distribution, the sampled workflow is fixed at test time. For future work, the authors plan to explore test-time training so the hybrid topology can dynamically rewire itself on the fly in changing environments.

Summary updated

Abstract

Large language model (LLM)-driven agents are proposed for a wide range of applications. As scenarios become increasingly composite, a graph-structured multi-agent system (MAS) offers a promising solution due to the orchestration of various skills. To architect a reasonable underlying workflow, recent advances mostly investigate two structures: sequential topology and decentralized topology. The former constrains the structure into a directed acyclic graph for multi-step executions but lacks sufficient scalability, while the latter leverages node-wise subgraphs for knowledge aggregation with synchronous parallelization but lacks long-term planning. Therefore, our key insight is that their strengths are mutually complementary. Driven by this motivation, we introduce step-aware hybrid topology for a MAS, where sequential connections support inter-step ordered planning and decentralized connections promote intra-step perspective integration. Concretely, to effectively coordinate different structural components, we clarify the corresponding topological definition and the protocols for step-wise serialization and parallelization. Subsequently, to dynamically refine desired structures, we introduce the parameterized distribution of a hybrid topology, which is initialized by LLM-driven graph planning. Eventually, to further reduce token consumption and time complexity, we supplement the topological density and length normalization for end-to-end learning. Extensive experiments demonstrate that the hybrid topology outperforms single-form topology in 90.4\% of tasks, our agentic initialization improves learning in 88.8\% of scenarios, proposed normalizations reduce token consumption by 20\%$\sim$30\% and time consumption by 7\%$\sim$13\% with a slight utility fluctuation. The code is available at https://github.com/rkxuan/HTAS.
BibTeX
@inproceedings{yu2026integrating,
  author = {Jingxuan Yu and Ju Jia and Yiqian Chen and Yuchong Chen and Cong Wu and Di Wu and Siqi Ma and Jie Gui},
  title = {{Integrating Strengths of Different Multi-Agent Workflows via Step-Aware Hybrid Topology Planning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=KvZcSEq1b8},
}
Figure