MA2RL: Masked Autoencoders for Generalizable Multi-Agent Reinforcement Learning
Jinyuan Feng, Min Chen, Zhiqiang Pu, Yifan Xu, Yanyan Liang
TL;DR
MA2RL addresses generalization in decentralized partially observable MARL by extending masked autoencoders to an entity-centric framework. It employs two variational autoencoders to encode observed entities and global states, dynamically infers latent representations of masked entities, and uses an attentive action decoder with a skill token to produce actions, achieving strong zero-shot and transfer performance. The method yields state-of-the-art asymptotic results on challenging tasks, improved sample efficiency, and robust generalization across single-task and multi-task settings. This framework offers a scalable path toward generalizable coordination in multi-agent systems, with potential impact on real-world cooperative robotics and autonomous networks.
Abstract
To develop generalizable models in multi-agent reinforcement learning, recent approaches have been devoted to discovering task-independent skills for each agent, which generalize across tasks and facilitate agents' cooperation. However, particularly in partially observed settings, such approaches struggle with sample efficiency and generalization capabilities due to two primary challenges: (a) How to incorporate global states into coordinating the skills of different agents? (b) How to learn generalizable and consistent skill semantics when each agent only receives partial observations? To address these challenges, we propose a framework called \textbf{M}asked \textbf{A}utoencoders for \textbf{M}ulti-\textbf{A}gent \textbf{R}einforcement \textbf{L}earning (MA2RL), which encourages agents to infer unobserved entities by reconstructing entity-states from the entity perspective. The entity perspective helps MA2RL generalize to diverse tasks with varying agent numbers and action spaces. Specifically, we treat local entity-observations as masked contexts of the global entity-states, and MA2RL can infer the latent representation of dynamically masked entities, facilitating the assignment of task-independent skills and the learning of skill semantics. Extensive experiments demonstrate that MA2RL achieves significant improvements relative to state-of-the-art approaches, demonstrating extraordinary performance, remarkable zero-shot generalization capabilities and advantageous transferability.
