Contrastive Identity-Aware Learning for Multi-Agent Value Decomposition

Shunyu Liu, Yihe Zhou, Jie Song, Tongya Zheng, Kaixuan Chen, Tongtian Zhu, Zunlei Feng, Mingli Song

Introduction

In cooperative Multi-Agent Reinforcement Learning (MARL), teams of agents must coordinate to achieve a shared goal. A dominant approach is Value Decomposition (VD), where a centralized mixing network (e.g., QMIX) aggregates individual agent utilities into a global team value. However, a persistent challenge in VD is ambiguous credit assignment. Because agents often share parameters and the mixing network frequently treats them as interchangeable, agents tend to converge toward redundant, homogeneous behaviors. This "identity-insensitivity" in the mixing network acts as a bottleneck, preventing the emergence of specialized roles necessary for complex tasks.

Contrastive Identity-Aware Learning (CIA)

To address this, we introduce Contrastive Identity-Aware Learning (CIA), a plug-and-play module designed to enhance credit distinguishability. Unlike previous methods that attempt to force diversity at the policy level, CIA focuses on the mixing network itself.

The Basic VD Paradigm and the conceptual shift of CIA toward credit-level distinguishability.

The CIA framework operates through three primary mechanisms:

  1. Temporal Credit Attribution: The model quantifies an agent's contribution by calculating the gradient of the total team value with respect to that agent's individual value ($\partial Q^{tot} / \partial Q^k$) over a trajectory.
  2. Identity Representations: Each agent is assigned a unique, learnable identity embedding.
  3. Contrastive Learning: Using an InfoNCE loss, CIA maximizes the mutual information between an agent’s temporal credits and its identity representation. This forces the mixing network to assign distinct credit patterns to different agents, effectively "recognizing" their individual contributions.

Experimental Results

The effectiveness of CIA was evaluated on the StarCraft Multi-Agent Challenge (SMAC), a benchmark requiring high levels of coordination and specialization.

Performance comparison on a hard SMAC map, demonstrating that QMIX-CIA significantly outperforms standard QMIX and other baselines.

As shown in the results, CIA-enhanced models achieve near-perfect win rates in "Super Hard" scenarios where standard baselines often fail to learn effective policies. In didactic games like "Turn," visualizations confirmed that CIA successfully alternates credits between agents to reflect their actual contributions, whereas standard methods produce overlapping and ambiguous credit assignments.

Key Insights and Conclusion

The core insight of this work is that the mixing network is the primary bottleneck for agent diversity. By shifting the focus from agent-level policy diversity to credit-level distinguishability, CIA enables the discovery of specialized roles. As a versatile module, CIA can be integrated into various value decomposition architectures, providing a robust solution to the identity-insensitivity problem in cooperative MARL.

Summary updated

BibTeX
@inproceedings{liu2023contrastive,
  author = {Shunyu Liu and Yihe Zhou and Jie Song and Tongya Zheng and Kaixuan Chen and Tongtian Zhu and Zunlei Feng and Mingli Song},
  title = {{Contrastive Identity-Aware Learning for Multi-Agent Value Decomposition}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i10.26370},
}
Figure