Learning to Ground Multi-Agent Communication with Autoencoders

Toru Lin, Minyoung Huh, Christopher Stauffer, Ser-Nam Lim, Phillip Isola

Abstract

Communication requires having a common language, a lingua franca, between agents. This language could emerge via a consensus process, but it may require many generations of trial and error. Alternatively, the lingua franca can be given by the environment, where agents ground their language in representations of the observed world. We demonstrate a simple way to ground language in learned representations, which facilitates decentralized multi-agent communication and coordination. We find that a standard representation learning algorithm -- autoencoding -- is sufficient for arriving at a grounded common language. When agents broadcast these representations, they learn to understand and respond to each other's utterances and achieve surprisingly strong task performance across a variety of multi-agent communication environments.

Introduction: The Grounding Problem in MARL

In Multi-Agent Reinforcement Learning (MARL), effective coordination often hinges on communication. However, agents face a fundamental hurdle known as the Grounding Problem. When decentralized agents begin training, they lack a shared vocabulary. An agent might broadcast a symbol, but without a common protocol, teammates cannot distinguish whether that symbol represents an environmental state, an intended action, or mere noise.

In fully decentralized settings, where agents are optimized independently, establishing a consistent communication protocol through trial and error is notoriously difficult. Standard RL-based communication often fails because the "noise" of ungrounded messages makes the learning signal too weak, leading agents to ignore the communication channel entirely. This paper introduces a simple yet powerful solution: grounding communication in self-supervised representation learning.

The ae-comm Framework

The authors propose ae-comm, a framework that grounds "speaking" in representation learning and "listening" in task performance. The architecture consists of two primary components for each agent:

  1. The Speaker Module: Rather than allowing an RL policy to generate arbitrary symbols, each agent utilizes an Image Encoder and a Communication Autoencoder. The agent encodes its raw visual observation into a latent vector and attempts to reconstruct the observation from a quantized bottleneck. This compressed bottleneck serves as the message broadcast to the team.
  2. The Listener Module: Received messages are processed through a Message Encoder. These features are concatenated with the agent's own visual features and fed into a Policy Network (a GRU) to determine the next action.
Overview of the multi-agent communication framework and the internal architecture of the ae-comm module.

Crucially, training is decentralized: the autoencoder is trained using a self-supervised reconstruction loss, while the policy is trained via standard RL (A3C). There is no gradient sharing between the speaker of one agent and the listener of another, ensuring the system remains scalable and biologically plausible.

Experimental Setup

The framework was evaluated across three environments requiring different levels of coordination:

  • CIFAR Game: A referential task where two agents must identify each other's CIFAR-10 images through message exchange.
  • FindGoal: A grid-world task where three agents must find a goal. While solvable individually, communication significantly accelerates discovery.
  • RedBlueDoors: A complex ordinal task where agents must open a red door before a blue door to receive a reward, necessitating signals about task progress.
Visualizations of the FindGoal (left) and RedBlueDoors (right) environments, illustrating visibility regions and coordination goals.

Key Results and Insights

The ae-comm method demonstrated substantial performance gains over standard RL-based communication baselines:

Method CIFAR Game (Avg. Reward ↑) RedBlueDoors (Avg. Reward ↑) FindGoal (Steps to Finish ↓)
No Comm 0.082 0.123 169.0
RL-Comm (Standard) 0.099 0.174 184.8
ae-comm (Ours) 0.348 0.984 103.5

In the RedBlueDoors task, the improvement was particularly stark, moving from near-failure to near-perfect coordination. The researchers identified several key factors behind this success:

  • Autoencoding as a Lingua Franca: By agreeing to "talk about what they see" using a shared compression scheme, agents establish a baseline for mutual understanding without complex signaling games.
  • The Poisoning Effect of RL Gradients: Interestingly, when the communication head was optimized by RL rewards (ae-rl-comm), performance dropped. The high variance of RL rewards appears to destabilize visual grounding, reverting clear representations back into uninterpretable "babble."
  • Emergent Semantics: t-SNE visualizations revealed that the autoencoder naturally clustered messages into meaningful environmental states (e.g., distinguishing between a closed and opened door) without explicit supervision.

Conclusion

By forcing agents to use autoencoder bottlenecks as their messages, the ae-comm framework provides a robust solution to the grounding problem. While currently limited to homogeneous agents and cooperative settings, this work demonstrates that simple representation learning is a sufficient foundation for the emergence of complex, grounded multi-agent communication protocols.

Summary updated

BibTeX
@inproceedings{lin2021learning,
  author = {Toru Lin and Minyoung Huh and Christopher Stauffer and Ser-Nam Lim and Phillip Isola},
  title = {{Learning to Ground Multi-Agent Communication with Autoencoders}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=dCHSm-usLx},
}
Figure