Scalable Multi-Agent Contrastive Reinforcement Learning
Abstract
Sparse rewards make cooperative multi-agent reinforcement learning difficult because useful feedback often appears only after multiple agents coordinate over long horizons. We introduce Multi-Agent Contrastive Reinforcement Learning (MACRL), a goal-conditioned method that trains parameter-shared decentralized actors with a centralized contrastive critic. Instead of learning from sparse task rewards, the critic contrasts joint state-action embeddings with future achieved goals from replay, turning every trajectory into dense self-supervised signal. Across tasks that vary in horizon length, coordination difficulty, and object interaction, our method is competitive with strong HER-based baselines when exploration is sufficient and substantially more robust when sparse rewards become uninformative. On the hardest tasks, it obtains substantial non-zero success while non-contrastive baselines remain near zero. Depth-scaled residual networks, previously shown to benefit single-agent contrastive RL, transfer to this cooperative setting and improve several hard tasks by up to 30 percentage points, while providing little consistent benefit to the reward-based baseline. These results indicate that centralized contrastive supervision offers a promising foundation for scalable cooperative goal-conditioned control.