MCMARL: Parameterizing Value Function via Mixture of Categorical Distributions for Multi-Agent Reinforcement Learning

Jian Zhao, Mingyu Yang, Youpeng Zhao, Xunhan Hu, Wengang Zhou, Jiangcheng Zhu, Houqiang Li · DOI

Abstract

In cooperative multi-agent tasks, a team of agents jointly interact with an environment by taking actions, receiving a team reward and observing the next state. During the interactions, the uncertainty of environment and reward will inevitably induce stochasticity in the long-term returns and the randomness can be exacerbated with the increasing number of agents. However, such randomness is ignored by most of the existing value-based multi-agent reinforcement learning (MARL) methods, which only model the expectation of Q-value for both individual agents and the team. Compared to using the expectations of the long-term returns, it is preferable to directly model the stochasticity by estimating the returns through distributions. With this motivation, this work proposes a novel value-based MARL framework from a distributional perspective, i.e., parameterizing value function via Mixture of Categorical distributions for MARL. Specifically, we model both individual Q-values and global Q-value with categorical distribution. To integrate categorical distributions, we define five basic operations on the distribution, which allow the generalization of expected value function factorization methods (e.g., VDN and QMIX) to their MCMARL variants. We further prove that our MCMARL framework satisfies Distributional-Individual-Global-Max (DIGM) principle with respect to the expectation of distribution, which guarantees the consistency between joint and individual greedy action selections in the global Q-value and individual Q-values. Empirically, we evaluate MCMARL on both a stochastic matrix game and a challenging set of StarCraft II micromanagement tasks, showing the efficacy of our framework.

Introduction

Cooperative Multi-Agent Reinforcement Learning (MARL) requires agents to coordinate their actions to maximize a shared team reward. Popular value-based methods like VDN and QMIX rely on value factorization, decomposing the global team Q-value into individual agent Q-values. However, these methods typically focus on the expected return, ignoring the inherent stochasticity of complex environments. Factors such as partial observability and noisy rewards create a distribution of possible outcomes that a single scalar mean cannot capture. MCMARL addresses this by modeling the full probability distribution of returns, providing a richer representation of uncertainty.

Methodology: Distributional Value Factorization

The core of MCMARL is representing each agent's value function as a categorical distribution over a fixed set of "atoms" (possible return values). To maintain the benefits of decentralized execution while enabling global coordination, the authors define five fundamental operations on these distributions:

  1. Weighting ($\omega \cdot X$): Scaling probabilities by a non-negative constant.
  2. Function ($f(X)$): Applying non-linear transformations like ReLU.
  3. Bias ($X + b$): Shifting the distribution by a constant.
  4. Projection ($\Phi(X)$): Re-mapping distributions onto the fixed atom set.
  5. Convolution ($X_1 * X_2$): Representing the sum of independent random variables.
Overview of MCMARL operations (a) and the Distribution Mixing Network architecture (b).

These operations allow the extension of standard factorization methods into distributional variants, such as DQMIX and DVDN. Crucially, the framework satisfies the Distributional-Individual-Global-Max (DIGM) principle. This theoretical guarantee ensures that decentralized greedy action selection based on individual expected returns remains consistent with the global team-wide maximization.

Experimental Results

The framework was rigorously tested on a stochastic matrix game and the StarCraft Multi-Agent Challenge (SMAC).

Distribution Accuracy

In stochastic environments where rewards may be bimodal, standard mean-based models fail to capture the true nature of the return. MCMARL demonstrates high fidelity in recovering these complex distributions, capturing nuances that scalar-based methods miss.

Comparison between the estimated total return distribution ($Z_{tot}$) and the ground truth ($Z_{true}$) in a stochastic environment.

Performance on SMAC

On the SMAC benchmark, DQMIX significantly outperformed baseline methods across various maps. For instance, on the challenging corridor map, DQMIX achieved a ~65% win rate, whereas standard QMIX failed to exceed 1%. On 10m_vs_11m, DQMIX reached a near-perfect 98.35% win rate, compared to 84.28% for QMIX. These results suggest that modeling the full distribution of returns leads to more robust learning and better performance in high-complexity tasks.

Conclusion

MCMARL provides a powerful framework for incorporating distributional information into multi-agent value factorization. By defining a set of distributional operations and proving the DIGM principle, the authors enable agents to reason about uncertainty while maintaining decentralized execution. Future work aims to expand the set of operations—specifically adding a multiplication operator—to support more advanced architectures like attention-based models.

Summary updated

BibTeX
@article{zhao2024mcmarl,
  author = {Jian Zhao and Mingyu Yang and Youpeng Zhao and Xunhan Hu and Wengang Zhou and Jiangcheng Zhu and Houqiang Li},
  title = {{MCMARL: Parameterizing Value Function via Mixture of Categorical Distributions for Multi-Agent Reinforcement Learning}},
  journal = {IEEE Trans. Games},
  year = {2024},
  doi = {10.1109/tg.2023.3310150},
}
Figure