cs.MAFeb 23, 2026

HieraMAS: Optimizing Intra-Node LLM Mixtures and Inter-Node Topology for Multi-Agent Systems

Authors: Tianjun Yao, Zhaoyi Li, Zhiqiang Shen

Organizations: Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, UAE.

Abstract

Multi-agent systems (MAS) built on large language models (LLMs) have shown strong performance across many tasks. Most existing approaches improve only one aspect at a time, such as the communication topology, role assignment, or LLM routing, while treating each agent as a single, indivisible unit. This misses the opportunity to use mixtures of LLMs within an agent to strengthen role-specific abilities. We propose HieraMAS, a hierarchical collaboration framework that combines intra-node LLM mixtures with an inter-node communication topology. HieraMAS introduces supernodes, where each functional role is implemented by multiple heterogeneous LLMs using a propose-synthesis structure. Optimizing HieraMAS creates unique credit-assignment challenges: final task performance depends heavily on the underlying LLMs' capabilities, which can lead reinforcement methods to incorrectly reward suboptimal configurations. To address this, we use a two-stage algorithm: (1) multi-level reward attribution, which provides fine-grained feedback at both the node level and the overall system level; (2) graph classification for topology selection, which treats choosing the communication structure as a holistic decision rather than optimizing edges one by one. Experiments on reasoning and coding benchmarks show that HieraMAS substantially outperforms existing methods while also delivering better cost-performance trade-offs.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Agent Q-Mix: Selecting the Right Action for LLM Multi-Agent Systems through Reinforcement Learning

    Apr 1, 2026Eric Hanchen Jiang, Levina Li, Rui Sun +9Multi-Agent Communication TopologyMulti-Agent Reasoning

  2. Competence-Aware Orchestration for LLM-Based Multi-Agent Systems

    Oct 9, 2026Songmiao Wang, Yuchen Wang, Chenglin Yu +2LLM Agent OrchestrationMulti-Agent LLM Systems

  3. HELENA:Hierarchical Sparse Coordination over a Union of Complementary Topologies for MAS

    Aug 5, 2026Zhifang Mao, Linyao Zheng, Xuhang Shi +1Multi-Agent LLM SystemsMulti-Agent Coordination