Quantifying Zero-shot Coordination Capability with Behavior Preferring Partners

Xihuai Wang, Shao Zhang, Wenhao Zhang, Wentao Dong, Jingxiao Chen, Ying Wen, Weinan Zhang · OpenReview

Abstract

Zero-shot coordination (ZSC) is a new challenge focusing on generalizing learned coordination skills to unseen partners. Existing methods train the ego agent with partners from pre-trained or evolving populations. The agent's ZSC capability is typically evaluated with a few evaluation partners, including human and agent, and reported by mean returns. Current evaluation methods for ZSC capability still need to improve in constructing diverse evaluation partners and comprehensively measuring the ZSC capability. We aim to create a reliable, comprehensive, and efficient evaluation method for ZSC capability. We formally define the ideal 'diversity-complete' evaluation partners and propose the best response (BR) diversity, which is the population diversity of the BRs to the partners, to approximate the ideal evaluation partners. We propose an evaluation workflow including 'diversity-complete' evaluation partners construction and a multi-dimensional metric, the Best Response Proximity (BR-Prox) metric. BR-Prox quantifies the ZSC capability as the performance similarity to each evaluation partner's approximate best response, demonstrating generalization capability and improvement potential. We re-evaluate strong ZSC methods in the Overcooked environment using the proposed evaluation workflow. Surprisingly, the results in some of the most used layouts fail to distinguish the performance of different ZSC methods. Moreover, the evaluated ZSC methods must produce more diverse and high-performing training partners. Our proposed evaluation workflow calls for a change in how we efficiently evaluate ZSC methods as a supplement to human evaluation.

Introduction

Zero-shot coordination (ZSC) represents a frontier in multi-agent reinforcement learning, where agents must coordinate with novel partners without prior interaction. This capability is critical for real-world applications like human-robot collaboration. However, current evaluation methodologies are often insufficient. They typically rely on mean episode returns against a limited set of partners, which fails to account for the inherent difficulty of coordinating with specific partner types or the "distribution gap" between training and evaluation partners.

The ZSC-Eval Framework

To address these limitations, we introduce ZSC-Eval, a comprehensive toolkit for rigorous ZSC evaluation. The framework consists of a three-stage pipeline: Generation, Selection, and Measurement.

The ZSC-Eval workflow: Generation of behavior-preferring partners, Selection via BR-Diversity, and Measurement using BR-Prox.

1. Generation: Behavior-Preferring Rewards

Instead of training partners solely to maximize game scores, we utilize event-based rewards. By weighting specific actions (e.g., "picking up an onion"), we generate partners with distinct strategies and "personalities," ensuring a wide coverage of potential partner behaviors.

2. Selection: Best-Response Diversity (BR-Div)

Testing against all possible partners is computationally infeasible. We propose Best-Response Diversity (BR-Div) to select a representative subset. BR-Div measures the diversity of the best responses to a set of partners, rather than the diversity of the partners themselves. This ensures the evaluation set covers a broad spectrum of required coordination skills.

3. Measurement: Best-Response Proximity (BR-Prox)

Standard mean returns can be misleading if a partner is inherently difficult to coordinate with. We introduce BR-Prox, which normalizes an agent's performance against the performance of a theoretical "Best Response" (oracle) for that specific partner. This metric highlights the true generalization gap and improvement potential.

Experimental Results

We benchmarked several ZSC algorithms (e.g., FCP, MEP, TrajeDi, HSP) in Overcooked and Google Research Football (GRF).

Illustration of BR-Diversity (a) and its comparison with standard population diversity (P-Div) across different population sizes (b).

Key Findings

  • Layout Complexity: Standard layouts like Asymmetric Advantages often fail to distinguish between advanced ZSC methods and simple self-play. More complex layouts with coordination bottlenecks are necessary for meaningful evaluation.
  • The Expert Gap: Current ZSC algorithms surprisingly struggle when paired with highly efficient "expert" partners, often performing better with moderate-skill partners.
  • Human Alignment: BR-Prox scores show a high correlation (0.90–1.00) with human subjective ratings, validating it as a reliable proxy for human-agent coordination.

Conclusion

ZSC-Eval provides a much-needed standardized "ruler" for the Cooperative AI community. By focusing on best-response diversity and proximity, it offers a more nuanced and human-aligned assessment of an agent's true coordination capabilities. Future work includes automating reward design using Large Language Models to further generalize the framework.

Summary updated

BibTeX
@misc{wang2023quantifying,
  author = {Xihuai Wang and Shao Zhang and Wenhao Zhang and Wentao Dong and Jingxiao Chen and Ying Wen and Weinan Zhang},
  title = {{Quantifying Zero-shot Coordination Capability with Behavior Preferring Partners}},
  year = {2023},
  eprint = {2310.05208},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.05208},
}
Figure