Self-Supervised Goal-Reaching Results in Multi-Agent Cooperation and Exploration

Chirayu Nimonkar, Shlok Shah, Catherine Ji, Benjamin Eysenbach · DOI

Introduction

Reinforcement Learning (RL) typically relies on meticulously designed reward functions to guide agents toward desired behaviors. In Multi-Agent Reinforcement Learning (MARL), this "reward engineering" becomes increasingly complex and prone to failure, particularly in environments with sparse rewards where agents may never encounter a success signal. While single-agent systems have successfully utilized Goal-Conditioned RL (GCRL) to bypass reward engineering, extending this to multi-agent settings remains a significant challenge.

This paper introduces Independent Contrastive Reinforcement Learning (ICRL), a self-supervised approach that enables groups of agents to learn complex cooperative behaviors using only a single goal state. By leveraging contrastive learning, ICRL elicits emergent cooperation and exploration without the need for hand-crafted rewards or complex hierarchical sub-goal generation.

Methodology

ICRL treats each agent as an individual learner while utilizing a shared contrastive objective. The core components include:

  • Contrastive Representation Learning: Instead of predicting scalar rewards, the critic employs the InfoNCE loss to learn representations that distinguish between "positive" pairs (current state-action and a future reached goal) and "negative" pairs (randomly sampled goals).
  • Shared Parameters: To enhance learning efficiency, agents share actor and critic neural network parameters while maintaining individual actions based on local, partial observations.
  • Goal-Conditioned Objective: Tasks are defined via a mapping function ($m_g$) that translates observations into a goal space. Agents aim to maximize the likelihood of reaching states that align with the commanded goal.
  • Discrete Action Handling: For environments like StarCraft II, the Gumbel-Softmax trick is implemented to allow gradient flow through the critic during training.

Experimental Setup

The researchers evaluated ICRL across three distinct benchmarks: MPE Tag, SMAX (StarCraft Multi-Agent Challenge), and Multi-Agent Ant (Brax). These environments test a range of coordination requirements from discrete combat tactics to continuous physical control.

The three evaluation benchmarks: MPE Tag (left), SMAX StarCraft (middle), and Multi-Agent Ant (right).

Results and Discussion

ICRL demonstrated significant performance gains over traditional MARL baselines like IPPO and MAPPO, particularly in sparse-reward settings.

Performance in Sparse Environments

In StarCraft II maps such as 2s3z and 8m, ICRL was the only method to achieve a non-zero win rate under sparse reward conditions, while traditional baselines failed to record any victories. On the 3m map, ICRL's win rate was nearly triple that of MAPPO. Similarly, in the Multi-Agent Ant task, ICRL successfully reached the goal while IPPO made no progress.

Performance comparison between ICRL and IPPO on the MPE Tag environment showing Mean Episode Returns over 20M environment steps.

Emergent Exploration and Specialization

A key finding was the emergence of "directed exploration." By learning environment dynamics through the contrastive objective, agents developed logical strategies—such as focus-firing or kiting—before ever achieving a successful trial. Furthermore, despite shared parameters, agents exhibited role specialization based on their local observations (e.g., distinguishing between melee and ranged units in StarCraft).

Problem Factoring

Interestingly, treating the "Ant" robot as a multi-agent system (one agent per leg) simplified the learning process compared to a single-agent approach. Factoring the problem reduced the hypothesis space for each agent, facilitating faster initial learning.

Conclusion and Future Work

ICRL provides a robust framework for multi-agent cooperation using self-supervised goal-reaching. It outperforms specialized hierarchical methods like MASER, proving that well-tuned self-supervised objectives can be more effective than complex sub-goal generation. Future research will address the challenges of goal specification in complex domains and seek a formal theoretical grounding for the effective exploration observed in contrastive multi-agent objectives.

Summary updated

BibTeX
@inproceedings{nimonkar2026self,
  author = {Chirayu Nimonkar and Shlok Shah and Catherine Ji and Benjamin Eysenbach},
  title = {{Self-Supervised Goal-Reaching Results in Multi-Agent Cooperation and Exploration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=uCJyXkPw75},
}
Figure