Abstract
Parameter sharing is a common strategy in multi-agent reinforcement learning (MARL) to make the training more efficient and scalable. However, applying parameter sharing among agents indiscriminately hinders the emergence of agents diversity and degrades the final cooperative performance. To better balance parameter sharing and agents diversity, we propose a novel Agent-Driven Modular Network (ADMN), where agents share a base network consisting of multiple specialized modules, and each agent has its own routing to connect these modules. In ADMN, modules are shared among agents to improve the training efficiency, while the combination of different modules brings rich diversity. The agent routing at different time steps is learned end-to-end to achieve a dynamic and adaptive balance. Specifically, we also propose an information-theoretical regularization between the routing of agents and their behavior to further guarantee the identifiability of different routing. We evaluated ADMN in challenging StarCraft micromanagement games and Google Research Football games, and results demonstrate the superior performance of ADMN, particularly in larger or heterogeneous cooperative tasks.
Introduction
In cooperative Multi-Agent Reinforcement Learning (MARL), researchers face a fundamental trade-off: parameter sharing vs. agent diversity. Standard approaches often utilize "naive parameter sharing," where all agents share the exact same neural network weights. While this facilitates fast training and scalability, it frequently results in uniform behavior, preventing agents from developing specialized roles necessary for complex coordination.
Existing solutions typically either avoid parameter sharing entirely—which fails to scale—or use static selective sharing based on fixed groups. These methods lack the flexibility to allow agents to adapt their behavior dynamically as a mission evolves. ADMN addresses this by providing a "soft" modular architecture that adapts to the environment in real-time.
The ADMN Framework
The ADMN architecture consists of two primary components designed to balance efficiency with behavioral richness:
- Base Modular Network: The agent's computational core is divided into $L$ layers, each containing $m$ specialized modules. These modules are shared across all agents to maintain the benefits of collective learning.
- Routing Network: Each agent possesses a routing network that processes its unique identity (ID) and current local observation. It outputs a set of weights (probabilities) determining the contribution of each module to that agent's specific computation at any given time step.
To ensure that distinct routes translate into distinct behaviors, the authors introduce Mutual Information (MI) Regularization. This objective rewards the system when an agent's routing choice is highly predictive of its subsequent state transitions, preventing the routing network from collapsing into a state where every agent uses identical modules regardless of the context.
Experimental Evaluation
ADMN was evaluated on two rigorous benchmarks: the StarCraft Multi-Agent Challenge (SMAC) and Google Research Football (GRF). These environments require high-level coordination and micro-management under sparse reward conditions.
Key Results and Insights
- Dynamic Diversity: Unlike static role assignment, ADMN allows agents to shift roles fluidly. For example, agents might share a "remote attack" module while at a distance but switch to specialized "distraction" or "melee" modules as the tactical situation changes.
- Superior Performance and Scalability: ADMN consistently outperformed baselines like QMIX and RODE. In large-scale tasks like the
27m_vs_30mSMAC map, ADMN maintained high win rates where other methods struggled with diversity at scale. - Interpretability: Visualization via t-SNE revealed that agents naturally clustered their routing based on unit types and health status. Healthy agents often routed through "aggressive" modules, while injured agents transitioned to "retreat" or "recuperation" modules.
Conclusion
ADMN introduces a powerful paradigm for MARL by enabling dynamic, observation-based parameter sharing. By combining a shared modular base with individualized, time-varying routing, the framework achieves a superior balance between training efficiency and behavioral diversity. Future work may focus on decoding the specific functional roles of individual modules and applying ADMN to real-world robotic fleet coordination.
Summary updated