A New Formalism, Method and Open Issues for Zero-Shot Coordination

Johannes Treutlein, Michael Dennis, Caspar Oesterheld, Jakob N. Foerster

Introduction

In multi-agent reinforcement learning (MARL), agents trained via Self-Play (SP) often achieve superhuman performance—think AlphaZero—but they tend to develop highly specific, arbitrary conventions. For example, if two autonomous robots learn to avoid collisions by always swerving left, they will crash if paired with a robot that learned to always swerve right. This inability to generalize to novel partners is a failure of Cross-Play (XP).

Zero-Shot Coordination (ZSC) addresses this by aiming to create agents that can coordinate with any independently trained agent using the same general algorithm, without prior agreement. While prior work introduced the "Other-Play" (OP) algorithm to encourage agents to ignore arbitrary labels (e.g., "Lever A" vs. "Lever B"), ZSC has historically lacked a rigorous mathematical framework. Furthermore, OP harbors a hidden weakness: it fails when faced with "ties," where multiple equally viable but mutually incompatible strategies exist.

The "Unique Maximizer" Fallacy

The original Other-Play algorithm operates on the assumption that there is only one optimal way to play. The authors identify this as the "Unique Maximizer" fallacy. If a coordination problem presents two equally good but distinct strategies, independent OP agents will essentially pick one at random. When paired together at test time, they are highly likely to mismatch and fail.

Methodology: Formalizing and Fixing ZSC

To address these shortcomings, the authors introduce several key technical contributions that formalize and extend ZSC:

  1. Label-Free Coordination (LFC) Formalism: The authors mathematically define what it means to operate without labels using Dec-POMDP isomorphisms. By conceptualizing a game where action and state names are shuffled, they force agents to rely on the underlying structural properties of the problem rather than arbitrary identifiers.
  2. Generalized Other-Play: The original OP algorithm is extended to accommodate more complex scenarios, such as environments where agents have different sets of possible actions or where the agents themselves are not interchangeable.
  3. Other-Play with Tie-Breaking (OPTB): To resolve the "tie" problem, the authors introduce a tie-breaking function. In practice, this is implemented using a hash function—a neural network with a fixed, shared random seed—that maps policies to a specific "score." Independent agents can then universally agree to select the policy with the highest hash score, ensuring they converge on the same convention without explicit communication.

Experimental Results

Rather than relying on standard, highly complex MARL datasets like StarCraft, the authors utilize stylized "toy" environments—such as a two-stage lever game and an asymmetric lever game. These environments allow for precise control over symmetries and coordination bottlenecks.

  • Theoretical Proofs: The authors mathematically prove that OPTB is the optimal solution for the LFC problem and constitutes a Nash equilibrium.
  • Empirical Success: In the two-stage lever game, vanilla Other-Play fails to achieve optimal Cross-Play scores because agents diverge on their second-round strategies. In contrast, OPTB achieves near-perfect coordination, significantly outperforming the baseline as the number of sampled policies for tie-breaking increases.
  • Explaining Past Failures: The authors suggest that the performance gaps observed in previous benchmarks, such as the popular card game Hanabi, might stem from these fundamental tie-breaking issues rather than mere optimization failures.

The LFC Paradox and Open Issues

While OPTB technically solves the LFC problem, the authors highlight a critical philosophical tension: the LFC Paradox.

Using a shared random seed for a hash function to break ties feels akin to "cheating." If agents coordinate by sharing implementation details, they are essentially establishing a new arbitrary convention rather than coordinating based on the structure of the task itself (e.g., choosing the one lever that yields a 0.9 reward over ten levers that yield 1.0). The current mathematical framework allows agents to coordinate on anything, provided they use the same tie-breaker, which arguably violates the true spirit of Zero-Shot Coordination.

Future Directions

The most significant limitation identified in the paper is the LFC problem definition itself. Moving forward, the authors propose:

  • Refining ZSC: Establishing a more restrictive definition where agents are strictly prohibited from sharing any implementation details (like random seeds or specific codebases), forcing them to rely entirely on high-level structural ideas.
  • The "Goldilocks" Symmetry: Discovering a symmetry concept that is strong enough to facilitate coordination but weak enough to avoid the need for arbitrary tie-breaking.
  • Scaling Up: Transitioning these refined formalisms from toy games to high-dimensional, real-world environments like Hanabi and physical robotics.

Summary updated

BibTeX
@inproceedings{treutlein2021new,
  author = {Johannes Treutlein and Michael Dennis and Caspar Oesterheld and Jakob N. Foerster},
  title = {{A New Formalism, Method and Open Issues for Zero-Shot Coordination}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
}
Figure