Introduction
In Multi-Agent Deep Reinforcement Learning (MARL), scaling systems to accommodate dozens or hundreds of agents remains a significant challenge. Traditionally, researchers have relied on two extremes: Separate Networks (SN), where each agent possesses a unique model, or Full Parameter Sharing (FuPS), where all agents share a single set of weights. While SN allows for diverse behaviors, it suffers from a parameter explosion that quickly exhausts hardware memory. Conversely, FuPS is memory-efficient and benefits from high sample efficiency but often leads to a "representation problem"—agents struggle to develop distinct strategies, particularly in heterogeneous environments where different roles are required.
To bridge this gap, we present Structured Network Pruning for Parameter Sharing (SNP-PS). This method enables agents to maintain unique "sub-brains" within a single shared neural network, achieving the diversity of individual networks with the efficiency of a shared one.
The SNP-PS Methodology
SNP-PS is built upon the Lottery Group Ticket Hypothesis (LGTH). Inspired by the original Lottery Ticket Hypothesis, the authors conjecture that a large, randomly initialized "root" network contains groups of subnetworks that, when properly masked and trained, can outperform a single shared network for multi-agent tasks.
Structured Pruning at Initialization
Unlike standard pruning that occurs after training to compress a model, SNP-PS applies pruning at the very beginning. The process follows these steps:
- Root Network Initialization: A standard neural network is initialized with random weights.
- Agent-Specific Masking: For each agent, a fixed percentage of neurons in each layer is randomly "turned off" (pruned). This creates a unique binary mask for every agent.
- Functional Overlap: Because the pruning is random, agents' subnetworks partially overlap. This allows agents to share neurons for common features (e.g., basic movement) while retaining unique neurons for individual decision-making logic.
- Shared Training: During the training phase, all agents update the underlying weights of the root network. However, gradients only flow through the specific unmasked paths assigned to each agent.
This "structured" approach—removing entire neurons rather than individual weights—is vital for "identifiability," ensuring the system can effectively distinguish between agent roles.
Experimental Evaluation
The effectiveness of SNP-PS was tested on two rigorous MARL benchmarks:
- StarCraft II Micromanagement (SMAC): Scenarios ranged from small teams (5m vs 6m) to massive heterogeneous battles (27m vs 30m and MMM2).
- Level-Based Foraging (LBF): A coordination game requiring agents with different "levels" to cooperate, specifically testing the model's ability to handle agents with diverse capabilities.
Key Insights and Results
Superior Performance and Scalability
In nearly all SMAC and LBF scenarios, SNP-PS (and its variant SNP-PS+id) outperformed standard parameter-sharing methods. Notably, in the massive "27m vs 30m" StarCraft task, traditional methods using one-hot agent IDs actually hindered training speed and performance. SNP-PS maintained high win rates without the computational drag associated with large-scale agent identification.
Parameter and Computational Efficiency
SNP-PS achieves state-of-the-art results without increasing the model's footprint. In LBF tests, SNP-PS utilized approximately 76k parameters—the same as naive parameter sharing—while competing "selective sharing" methods required nearly 229k parameters (a 3x increase) to achieve similar results. Furthermore, the overhead of applying binary masks is computationally negligible.
Representational Clarity
Using T-SNE visualizations to map high-dimensional hidden states into 2D space, the researchers found that SNP-PS creates much more distinct and organized clusters of agent "thoughts" compared to standard approaches. This confirms that the pruning masks successfully provide the "mental space" required for agents to develop specialized strategies.
Conclusion and Future Directions
SNP-PS offers a "Goldilocks" solution for MARL, providing a controllable way to balance shared knowledge and individual identity. By adjusting the pruning ratio, researchers can tune the model for homogeneous or heterogeneous tasks.
While the empirical results are robust, several avenues for future work remain. Currently, pruning ratios are set as hyperparameters; automating the discovery of optimal ratios for different environments is a key goal. Additionally, while the Lottery Group Ticket Hypothesis is supported by strong evidence, a formal mathematical proof is still required. Finally, the authors suggest exploring dynamic pruning, where agent masks could evolve and adapt throughout the training process to further optimize performance.
Summary updated