Zero-Shot Coordination in Ad Hoc Teams with Generalized Policy Improvement and Difference Rewards
Rupal Nigam, Niket Parikh, Hamid Osooli, Mikihisa Yuasa, Jacob Heglund, Huy T. Tran
TL;DR
GPAT addresses zero-shot coordination in ad hoc teams by formulating an ad hoc MMDP and leveraging a library of pretrained policies through generalized policy improvement (GPI) while using learner-specific difference rewards to mitigate distribution shift from unseen teammates. It trains a set of learner policies on source ad hoc teams, learns $Δr$-based value functions, and at test time applies a GPI policy to select actions from the library without online learning, with optional rapid fine-tuning if allowed. Empirical results across foraging, predator-prey, Overcooked, and a real-world TurtleBot3 demonstration show GPAT outperforming robust and type-based baselines and approaching oracle performance when relevant skills exist in the library, while ablations highlight the beneficial role of difference rewards for policy switching. This approach reduces reliance on large pretraining pools and online inference, enabling scalable, data-efficient zero-shot transfer in cooperative multi-agent systems.
Abstract
Real-world multi-agent systems may require ad hoc teaming, where an agent must coordinate with other previously unseen teammates to solve a task in a zero-shot manner. Prior work often either selects a pretrained policy based on an inferred model of the new teammates or pretrains a single policy that is robust to potential teammates. Instead, we propose to leverage all pretrained policies in a zero-shot transfer setting. We formalize this problem as an ad hoc multi-agent Markov decision process and present a solution that uses two key ideas, generalized policy improvement and difference rewards, for efficient and effective knowledge transfer between different teams. We empirically demonstrate that our algorithm, Generalized Policy improvement for Ad hoc Teaming (GPAT), successfully enables zero-shot transfer to new teams in three simulated environments: cooperative foraging, predator-prey, and Overcooked. We also demonstrate our algorithm in a real-world multi-robot setting.
