Attention-Guided Contrastive Role Representations for Multi-Agent Reinforcement Learning

Zican Hu, Zongzhang Zhang, Huaxiong Li, Chunlin Chen, Hongyu Ding +1 more
2/12/2026

No official code found. Best implementation: NJU-RL/ACORM (66 stars, last commit 2024-03-26).

Abstract

Real-world multi-agent tasks usually involve dynamic team composition with the emergence of roles, which should also be a key to efficient cooperation in multi-agent reinforcement learning (MARL). Drawing inspiration from the correlation between roles and agent's behavior patterns, we propose a novel framework of **A**ttention-guided **CO**ntrastive **R**ole representation learning for **M**ARL (**ACORM**) to promote behavior heterogeneity, knowledge transfer, and skillful coordination across agents. First, we introduce mutual information maximization to formalize role representation learning, derive a contrastive learning objective, and concisely approximate the distribution of negative pairs. Second, we leverage an attention mechanism to prompt the global state to attend to learned role representations in value decomposition, implicitly guiding agent coordination in a skillful role space to yield more expressive credit assignment. Experiments on challenging StarCraft II micromanagement and Google research football tasks demonstrate the state-of-the-art performance of our method and its advantages over existing approaches. Our code is available at [https://github.com/NJU-RL/ACORM](https://github.com/NJU-RL/ACORM).

View on arXivView PDF

Code Implementations(1)

NJU-RL/ACORMCommunity100%

[ICLR 2024] Official Implementation of ACORM

669Shell, PythonNov 25, 20232 years ago

Similar Papers

Cite this paper

@article{hu2026attentionguided,
  title  = {Attention-Guided Contrastive Role Representations for Multi-Agent Reinforcement Learning},
  author = {Zican Hu and Zongzhang Zhang and Huaxiong Li and Chunlin Chen and Hongyu Ding and Zhi Wang},
  year   = {2026},
  eprint = {2312.04819},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.04819},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.04819.svg)](https://codeofpaper.com/paper/2312.04819)

Discussion