Symmetry-Breaking Augmentations for Ad Hoc Teamwork

Ravi Hammond, Dustin Craggs, Mingyu Guo, Jakob Nicolaus Foerster, Ian Reid

TL;DR

This paper introduces Symmetry-Breaking Augmentations (SBA), a novel technique to improve how AI agents adapt to new teammates with unforeseen strategies in collaborative tasks. By artificially introducing variations in training data that exploit environmental symmetries, SBA helps AI agents learn more robust coordination strategies, leading to state-of-the-art performance in the complex Hanabi card game.

What Problem Does This Paper Address?

In multi-agent systems, especially those involving human-AI collaboration, a critical challenge is ad hoc teamwork (AHT). This refers to an AI agent's ability to effectively coordinate with novel teammates whose strategies might be unknown or different from those encountered during training. Humans are generally good at adapting to new social conventions and strategies, but AI agents often struggle. This difficulty is exacerbated by the fact that many environments have inherent symmetries. For example, in traffic, left and right turns might be functionally equivalent in certain scenarios. If an AI agent only trains with teammates who consistently use one convention (e.g., always turning right), it may fail when encountering a teammate who uses the symmetric convention (always turning left). This can lead to coordination failures, especially in high-stakes situations like autonomous driving. The paper aims to bridge this gap by enabling AI agents to generalize better to diverse and potentially unseen teammate strategies, particularly those that exploit environmental symmetries.

Methods

The core contribution is Symmetry-Breaking Augmentations (SBA). SBA is a policy augmentation technique that works by applying a symmetry-flipping operation to the training data. Specifically, for a given environment with known symmetries (represented by an equivalence mapping $\phi$), SBA transforms the observations and actions of the AI agent being trained. This means the agent experiences a version of the environment where certain conventions are flipped. For instance, if "red" and "green" are symmetric in a traffic light scenario, SBA might present the agent with a "green" light when the actual signal is "red" (and vice-versa), or it might present a "stop" signal when the actual signal is "go" (and vice-versa).

This process effectively amplifies the diversity of conventions the AI agent is exposed to during training, even if the training population of teammates is small. By experiencing these "symmetry-equivalent" versions of interactions, the agent learns to be robust to variations in teammate strategies that arise from these symmetries. The paper also introduces the Augmentation Impact (AugImp) metric, which quantifies how much a given augmentation (like SBA) diversifies a population of policies. This metric helps predict the effectiveness of SBA before training begins.

Datasets

The paper evaluates SBA on two main settings:

  • Iterated Lever Coordination Game: A custom-built, simple cooperative game where agents must coordinate to pull the same lever for a reward. This game is used to demonstrate the core concept of adapting to unseen conventions.
  • Hanabi: A well-established, complex cooperative card game used as a benchmark for multi-agent reinforcement learning and ad hoc teamwork. The authors use pre-existing populations of Hanabi agents trained with different algorithms (SAD, IQL, OP, OBL) for training and evaluation.

No new benchmarks were introduced, but the paper leverages existing agent populations to test generalization.

Key Insights and Ideas

  • Symmetries are a double-edged sword: While symmetries can simplify learning by reducing the state space, they can also lead to agents specializing in specific conventions, making them brittle when encountering symmetric alternatives.
  • Augmenting experience is key: Instead of trying to generate a perfectly diverse set of teammates from scratch, SBA augments the experience of the agent being trained by presenting it with variations of existing teammate strategies.
  • SBA is effective when symmetries are present: The AugImp metric highlights that SBA's effectiveness is directly tied to how much a population of agents relies on symmetry-breaking conventions. Populations that already exploit symmetries benefit more from SBA.
  • Adaptation to conventions is crucial for human-AI alignment: The paper frames SBA as a step towards better human-AI alignment, as humans also rely heavily on social conventions. AI agents that can adapt to diverse conventions are more likely to collaborate effectively with humans.

Key Results

  • State-of-the-art in Hanabi: SBA achieved significant performance improvements in the Hanabi card game, outperforming previous ad hoc teamwork methods. For example, improvements of up to 17% in game score were observed when adapting to previously unseen teammates.
  • Robustness across training set sizes: SBA consistently improved performance over the baseline (BR) across small, medium, and large training set sizes in Hanabi.
  • Generalization to unseen populations: SBA agents trained on one population (e.g., SAD) showed improved transfer performance when evaluated with teammates from other populations (e.g., IQL, OP).
  • SBA can be ineffective or harmful if symmetries are not exploited: When applied to populations that do not rely on symmetry-breaking conventions (like OP agents), SBA showed no significant improvement. In some cases, it even slightly harmed performance, particularly when transferring to populations with very specific convention requirements (like OBL agents).
  • Reduced reliance on specific conventions: In Hanabi, SBA agents trained with SAD and IQL populations hinted colors less often, suggesting they learned to rely on other conventions (like rank) to avoid eliciting unexpected reactions from teammates.

Limitations and Future Work

  • Symmetry requirement: SBA's effectiveness is contingent on the presence of environmental symmetries and the reliance of teammate strategies on these symmetries. Defining these symmetries can require expert knowledge.
  • Partial or imperfect symmetries: The current framework focuses on exact symmetries. Future work could extend SBA to handle partial or imperfect symmetries.
  • Automatic symmetry detection: The authors suggest developing methods to automatically detect symmetries in environments.
  • Integration with other AHT methods: SBA could be combined with other AHT improvements, such as search techniques, to further enhance performance.
  • Broader application: The authors plan to apply SBA to a wider range of Dec-POMDPs and explore its use in real-world scenarios where imperfect symmetries are prevalent.

Summary updated

BibTeX
@inproceedings{hammond2025symmetry,
  author = {Ravi Hammond and Dustin Craggs and Mingyu Guo and Jakob Nicolaus Foerster and Ian Reid},
  title = {{Symmetry-Breaking Augmentations for Ad Hoc Teamwork}},
  booktitle = {Bi-Align @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=pEQwTKmcks},
}
Figure