ADMN: Agent-Driven Modular Network for Dynamic Parameter Sharing in Cooperative Multi-Agent Reinforcement Learning

Yang Yu, Qiyue Yin, Junge Zhang, Pei Xu, Kaiqi Huang, Shuanghong Shen, Junyu Lu, Zhenya Huang

Abstract

In Multi-Agent Reinforcement Learning (MARL), researchers face a fundamental trade-off between training scalability and behavioral diversity. While naive parameter sharing accelerates learning, it often results in homogeneous agent behavior, hindering tasks that require specialized roles. We introduce the Agent-Driven Modular Network (ADMN), a framework that allows agents to share a pool of specialized neural modules while maintaining unique, time-varying routings. By combining shared knowledge with dynamic execution paths, ADMN achieves state-of-the-art performance in complex environments like StarCraft II and Google Research Football without sacrificing efficiency.

The Challenge of Parameter Sharing

Traditional MARL algorithms often rely on naive parameter sharing, where all agents utilize identical neural network weights. This approach significantly reduces the parameter space and speeds up convergence but forces agents to behave similarly. Specialized strategies—such as one agent acting as a decoy while others flank—become difficult to learn. Conversely, "no sharing" or "selective sharing" methods either fail to scale or rely on static groupings that cannot adapt to dynamic game conditions.

Methods: Dynamic Modular Routing

ADMN addresses this by decomposing the agent policy into a Base Modular Network and a Routing Network. The base network consists of multiple layers of shared, specialized modules. Each agent possesses a unique routing network that conditions on the agent's identity and local observations to determine the optimal combination of modules for the current state.

Comparison of parameter sharing architectures in MARL, highlighting ADMN's dynamic modular approach.

To ensure effective learning, ADMN employs two key innovations:

  • Soft Modularization: A weighted sum of module outputs allows for smooth gradient-based optimization.
  • Mutual Information (MI) Regularization: This objective prevents "routing collapse" by maximizing the correlation between an agent's routing choices and its subsequent behavior, ensuring that specialized roles are both meaningful and distinct.

Experimental Evaluation

The framework was evaluated on the StarCraft Multi-Agent Challenge (SMAC) and Google Research Football (GRF). These environments demand high-level coordination and precise micromanagement. ADMN consistently outperformed baselines like QMIX and CDS, particularly in large-scale scenarios (e.g., 27 vs. 30 units) where traditional methods struggle.

Visualization of agent coordination and remote attacks in the StarCraft Multi-Agent Challenge (SMAC).

Key Insights

  • Dynamic Diversity: Unlike static role assignment, ADMN allows agents to switch behaviors fluidly. Agents might share routing while traversing the map but diverge into specialized roles upon engaging the enemy.
  • Identity and Context: By integrating agent IDs with local observations, the routing network learns context-aware specialization—for instance, an injured unit adopting a defensive routing path.
  • Scalability: ADMN's modularity provides a middle ground that scales effectively to dozens of agents while preserving the capacity for individual specialization.

Conclusion and Future Work

ADMN provides a robust solution to the parameter sharing dilemma, enabling efficient training of diverse multi-agent systems. Future research will focus on improving the interpretability of individual modules and exploring zero-shot transfer capabilities to novel tasks.

Summary updated

BibTeX
@inproceedings{yu2024admn,
  author = {Yang Yu and Qiyue Yin and Junge Zhang and Pei Xu and Kaiqi Huang and Shuanghong Shen and Junyu Lu and Zhenya Huang},
  title = {{ADMN: Agent-Driven Modular Network for Dynamic Parameter Sharing in Cooperative Multi-Agent Reinforcement Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=4U7KxBDfr8},
}
Figure