Abstract
Parameter sharing is a key strategy in multi-agent reinforcement learning (MARL) for improving scalability, yet conventional fully shared architectures often collapse into homogeneous behaviors. Recent methods introduce diversity through clustering, pruning, or masking, but typically compromise resource efficiency. We propose Prism, a parameter sharing framework that induces inter-agent diversity by representing shared networks in the spectral domain via singular value decomposition (SVD). All agents share the singular vector directions while learning distinct spectral masks on singular values. This mechanism encourages inter-agent diversity and preserves scalability. Extensive experiments on both homogeneous (LBF, SMACv2) and heterogeneous (MaMuJoCo) benchmarks show that Prism achieves competitive performance with superior resource efficiency.
Introduction
In Multi-Agent Reinforcement Learning (MARL), scaling to large numbers of agents while maintaining behavioral diversity presents a significant challenge. Standard parameter sharing techniques, where all agents utilize the same neural network, often suffer from "homogeneous collapse." In this state, agents fail to develop specialized roles necessary for complex tasks, such as coordinating limbs in a multi-agent robot or managing diverse units in a strategy game.
Prior attempts to introduce diversity—such as agent clustering or weight-space masking—often incur high resource overhead. For instance, weight-space masking requires storing individual masks for every network connection per agent, which becomes prohibitively expensive as the agent count grows. Prism addresses this "scalability vs. diversity" trade-off by operating in the spectral domain.
Methods: Spectral Parameter Sharing
Prism shifts the mechanism of diversity from the high-dimensional weight space to the more compact spectral space. The framework follows a three-step process:
- SVD Decomposition: A standard weight matrix $W \in \mathbb{R}^{d \times k}$ is represented using Singular Value Decomposition as $W = U\Sigma V^\top$.
- Shared Basis: All agents share the left and right singular vectors ($U$ and $V$), which define the fundamental "directions" of the network's transformations.
- Spectral Masking: Each agent $i$ learns a unique, 1D mask $m_i$ that scales the singular values in $\Sigma$. This produces an agent-specific spectrum $\Sigma_i = \Sigma \odot M_i$, allowing agents to selectively activate different subspaces of the shared network.
To ensure stable and diverse learning, Prism incorporates diversity regularization to prevent mask collapse and orthogonal regularization to maintain the stability of the SVD decomposition. By masking singular values (a vector of length $d$) instead of weights (a matrix of size $d \times k$), Prism achieves exponential gains in parameter efficiency.
Experimental Evaluation
The authors evaluated Prism across three distinct MARL benchmarks:
- Level-based Foraging (LBF): Tests coordination in resource collection.
- SMACv2 (StarCraft Multi-Agent Challenge): Requires complex tactical micro-management.
- MaMuJoCo (Multi-Agent MuJoCo): A highly heterogeneous environment where agents control different joints of a single articulated robot.
Key Results and Insights
Prism demonstrates a unique ability to balance performance with extreme resource efficiency.
Performance and Diversity
In benchmarks like MaMuJoCo, Prism consistently matches or exceeds the performance of state-of-the-art methods like Kaleidoscope and AdaPS. Visualization of the learned masks reveals that agents naturally diverge from a common spectral profile to specialized roles as training progresses.
Resource Efficiency
The primary advantage of Prism is its minimal memory footprint. In scaling tests with 1,024 agents, weight-masking methods like Kaleidoscope saw their resource overhead explode to nearly 100% of the total memory. In contrast, Prism maintained a lean overhead of approximately 14.8%, making it far more suitable for large-scale deployments.
Robustness
Prism remains robust even under strict parameter budgets. When the total number of allowed parameters is halved, Prism maintains high win rates where other methods falter, thanks to its efficient use of the spectral subspace.
Conclusion and Future Work
Prism offers a scalable solution for inducing diversity in MARL by leveraging the spectral properties of neural networks. While highly effective, future work could explore automated tuning of the "common ratio" hyperparameter and extending the framework to on-policy algorithms like MAPPO. Additionally, investigating Prism's performance in highly non-stationary environments remains an interesting avenue for research.
Summary updated