Generalising Multi-Agent Cooperation through Task-Agnostic Communication
Dulhan Jayalath, Steven Morad, Amanda Prorok
TL;DR
We address the inefficiency of task-specific communication strategies in cooperative MARL by proposing a task-agnostic communication framework that is environment-specific. The method pre-trains a permutation-invariant set autoencoder to map a variable number of agent observations into a fixed-size latent state s_hat from which policies are conditioned, enabling scalability and out-of-distribution detection. Theoretical contributions include convergence guarantees when the latent state perfectly captures observations and a bound on regret proportional to reconstruction error; empirically, the approach outperforms task-specific strategies on unseen tasks and scales to more agents. This work enables general-purpose robotic collaboration across tasks without retraining communication strategies and supports runtime anomaly detection, with practical implications for real-world multi-robot systems.
Abstract
Existing communication methods for multi-agent reinforcement learning (MARL) in cooperative multi-robot problems are almost exclusively task-specific, training new communication strategies for each unique task. We address this inefficiency by introducing a communication strategy applicable to any task within a given environment. We pre-train the communication strategy without task-specific reward guidance in a self-supervised manner using a set autoencoder. Our objective is to learn a fixed-size latent Markov state from a variable number of agent observations. Under mild assumptions, we prove that policies using our latent representations are guaranteed to converge, and upper bound the value error introduced by our Markov state approximation. Our method enables seamless adaptation to novel tasks without fine-tuning the communication strategy, gracefully supports scaling to more agents than present during training, and detects out-of-distribution events in an environment. Empirical results on diverse MARL scenarios validate the effectiveness of our approach, surpassing task-specific communication strategies in unseen tasks. Our implementation of this work is available at https://github.com/proroklab/task-agnostic-comms.
