Improving Human-AI Coordination through Adversarial Training and Generative Models

Paresh Chaudhary, Yancheng Liang, Daphne Chen, Simon S. Du, Natasha JaquesarXiv 2025 · DOI

Improving Human-AI Coordination through Adversarial Training and Generative Models

Introduction

In the field of Zero-Shot Coordination (ZSC), the objective is to develop AI agents capable of effective collaboration with novel human partners without prior interaction. Traditional Reinforcement Learning (RL) methods, such as Self-Play, often fail in these scenarios because agents tend to converge on idiosyncratic "handshake" protocols that do not generalize to human behavior. While adversarial training offers a potential path toward robustness, applying it to cooperative settings is non-trivial; a standard adversary often resorts to simple sabotage, which fails to elicit useful cooperative adaptations. The core challenge lies in creating an "adversarial cooperator"—a partner that attempts to help but specifically targets the learning agent's coordination weaknesses.

Methods: Generative Online Adversarial Training (GOAT)

The authors propose Generative Online Adversarial Training (GOAT), a framework that integrates generative modeling with a regret-based adversarial objective.

The GOAT framework architecture, featuring a pre-trained VAE and an adversarial training loop based on regret maximization.

The GOAT process consists of three primary components:

  1. Generative Constraint: A Variational Autoencoder (VAE) is pre-trained on a diverse corpus of cooperative trajectories and subsequently frozen. This ensures that any strategy sampled from the latent space $z$ corresponds to a valid, human-like cooperative behavior, preventing the adversary from devolving into pure sabotage.
  2. Latent Space Search: Rather than acting directly in the environment, an "Adversary Sampler" explores the VAE’s latent space to identify specific coordination strategies that challenge the current agent.
  3. Regret Maximization: The adversary aims to maximize Regret, defined as the difference between the optimal joint performance (achieved in Self-Play) and the actual performance when paired with the learning agent (Cross-Play). This objective drives the adversary to find "blind spots" in the agent's coordination repertoire.

Experimental Setup and Datasets

GOAT was evaluated across several environments of increasing complexity:

  • Cooperative Matrix Game (CMG): A one-step game used to visualize strategy coverage.
  • Cooperative Reaching Game (CRG): A grid-world task requiring simultaneous goal reaching.
  • Overcooked: A standard benchmark for human-AI coordination. Testing included the "Counter Circuit" layout and a novel "Multi-Strategy Counter" layout requiring dynamic recipe switching.
  • Human Study: Validation involved 40 real human participants to assess zero-shot performance in realistic settings.

Key Insights

  • Constraint as a Catalyst: Freezing the VAE forces the adversary to remain a "difficult teammate" rather than an opponent, effectively grounding the adversarial process in the space of plausible cooperative behaviors.
  • Regret vs. Minimax: Unlike Minimax objectives, which often lead to incompetent or "do-nothing" behaviors, regret-based training incentivizes the discovery of high-skill strategies that the agent has yet to master.
  • Efficient Exploration: Navigating a continuous latent manifold is significantly more efficient than sampling from discrete populations of agents, allowing for a more rapid and comprehensive curriculum.

Key Results

GOAT demonstrates significant improvements in coordination robustness and efficiency. In the challenging "Multi-Strategy Counter" layout of Overcooked, GOAT-trained agents achieved a 38% performance increase over the previous state-of-the-art method (GAMMA) when paired with real human partners.

Action coordination heatmap for the GOAT agent, demonstrating successful strategy coverage and coordination.

Furthermore, GOAT showed superior generalization when tested against various rule-based heuristic agents in the Reaching Game and reached peak performance faster than traditional population-based training methods.

Limitations and Future Work

The primary limitation of GOAT is its dependence on the initial training data for the VAE; the agent's "vocabulary" of partners is bounded by the diversity of the pre-training set. Additionally, the static nature of the generative model means it cannot adapt its fundamental behavioral space during training. Future research may explore dynamic generative models or the integration of direct human feedback into the adversarial loop to further enhance coordination capabilities in high-dimensional tasks like robotics.

Summary updated

BibTeX
@misc{chaudhary2025improving,
  author = {Paresh Chaudhary and Yancheng Liang and Daphne Chen and Simon S. Du and Natasha Jaques},
  title = {{Improving Human-AI Coordination through Adversarial Training and Generative Models}},
  year = {2025},
  eprint = {2504.15457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.15457},
}
Figure