Adversarially Guided Self-Play for Adopting Social Conventions

Mycal Tucker, Yilun Zhou, Julie ShaharXiv 2020

Abstract

Robotic agents must adopt existing social conventions in order to be effective teammates. These social conventions, such as driving on the right or left side of the road, are arbitrary choices among optimal policies, but all agents on a successful team must use the same convention. Prior work has identified a method of combining self-play with paired input-output data gathered from existing agents in order to learn their social convention without interacting with them. We build upon this work by introducing a technique called Adversarial Self-Play (ASP) that uses adversarial training to shape the space of possible learned policies and substantially improves learning efficiency. ASP only requires the addition of unpaired data: a dataset of outputs produced by the social convention without associated inputs. Theoretical analysis reveals how ASP shapes the policy space and the circumstances under which it offers the greatest benefits. Empirical results across three domains confirm ASP's advantages: it produces models that more closely match the desired social convention when given as few as two paired datapoints.

Introduction

In multi-agent systems, "social conventions" are arbitrary but optimal rules that allow agents to coordinate effectively (e.g., using a specific language or driving on the right). For a new robot to join an existing human or robotic team, it must adopt these pre-existing conventions.

The primary challenge is data efficiency. Standard imitation learning or "Policy Cloning" (PC) requires massive amounts of paired data (input-output pairs). Previous work, like Observationally Augmented Self-Play (OSP), improved this by combining self-play with paired data. However, gathering "paired" data—knowing exactly what an agent perceived and what it did—is often difficult in the real world. Humans, by contrast, can often infer a convention just by observing others' actions (unpaired data) without knowing their internal states. ASP seeks to give robots this same ability.

Methods: Adversarial Self-Play (ASP)

ASP optimizes a policy using a three-part loss function:

  1. Self-Play ($L_{SP}$): The agent learns to solve the task through reinforcement learning.
  2. Paired Data ($L_P$): A supervised learning term that uses a small set of "input-output" examples from the target convention.
  3. Unpaired Data ($L_U$): An adversarial discriminator is trained to distinguish between the outputs of the learning agent and the outputs of an agent following the desired convention. The learning agent is rewarded for "fooling" the discriminator.

By including the adversarial term, the agent is forced to produce outputs that "look like" the target convention, even for states where no paired data exists. This effectively narrows down the search space of possible optimal policies to only those that match the observed social norm.

Key Insights and Ideas

Theoretical analysis reveals that adversarial training acts as a "pruning" mechanism. It doesn't necessarily tell the agent the exact right action for every state, but it eliminates vast regions of the policy space that are inconsistent with the observed distribution of behaviors. While adversarial training alone might lead to "mapping ambiguity," even a tiny amount of paired data allows the agent to "snap" the rest of its behavior into the correct convention.

Latent space visualization showing how ASP (b, c) helps align the model's internal representations with the target convention (a) even with minimal paired data.

Experimental Results

The researchers evaluated ASP across three distinct domains: a 2D "Particle World" communication task, an MNIST Variational Autoencoder (VAE) representation task, and a multi-agent coordination game called "CommNet Levers."

Performance and Efficiency

In the Particle World environment, ASP-trained agents achieved significantly higher mixed-team rewards than OSP or Policy Cloning when provided with only 2–4 paired data points. Using the Friedman test, the authors confirmed that the performance gains of ASP over existing techniques were statistically significant ($p < 0.01$) across multiple trials.

Mean mixed-team score vs. number of paired examples: ASP achieves higher coordination scores with significantly fewer paired examples than OSP or PC.

In the MNIST VAE task, ASP produced better reconstructions for intermediate amounts of paired data (16–64 samples), effectively "re-discovering" the latent clustering of the original model. Furthermore, in the CommNet domain, as the complexity of the communication increased, ASP maintained high performance while OSP and PC performance degraded.

Conclusion

ASP demonstrates that leveraging unpaired behavioral data through adversarial training can drastically reduce the amount of supervision needed to adopt social conventions. While the technique requires a representative unpaired dataset to avoid "collapsed" behaviors, its task-agnostic nature makes it a powerful tool for multi-agent coordination. Future work will explore applying ASP to human-robot interaction, enabling robots to learn communication styles simply by observing human partners.

Summary updated

Abstract

Robotic agents must adopt existing social conventions in order to be effective teammates. These social conventions, such as driving on the right or left side of the road, are arbitrary choices among optimal policies, but all agents on a successful team must use the same convention. Prior work has identified a method of combining self-play with paired input-output data gathered from existing agents in order to learn their social convention without interacting with them. We build upon this work by introducing a technique called Adversarial Self-Play (ASP) that uses adversarial training to shape the space of possible learned policies and substantially improves learning efficiency. ASP only requires the addition of unpaired data: a dataset of outputs produced by the social convention without associated inputs. Theoretical analysis reveals how ASP shapes the policy space and the circumstances (when behaviors are clustered or exhibit some other structure) under which it offers the greatest benefits. Empirical results across three domains confirm ASP's advantages: it produces models that more closely match the desired social convention when given as few as two paired datapoints.
BibTeX
@misc{tucker2020adversarially,
  author = {Mycal Tucker and Yilun Zhou and Julie Shah},
  title = {{Adversarially Guided Self-Play for Adopting Social Conventions}},
  year = {2020},
  eprint = {2001.05994},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.05994},
}
Figure