Learning Emergent Discrete Message Communication for Cooperative Reinforcement Learning

Sheng Li, Yutai Zhou, Ross E. Allen, Mykel J. Kochenderfer

TL;DR

Researchers have developed a deep reinforcement learning model that allows multiple agents to "evolve" their own discrete, human-like communication protocols. By using a broadcast-and-listen mechanism powered by self-attention, these agents achieve coordination performance comparable to continuous-vector communication while remaining significantly more interpretable to human observers.

What Problem Does This Paper Address?

In Multi-Agent Reinforcement Learning (MARL), agents often need to share information to solve cooperative tasks. Traditionally, this is done via continuous communication, where agents exchange high-dimensional, real-valued vectors. While effective, these "hidden" messages are essentially black boxes—they have no inherent meaning to humans.

The authors address the lack of interpretability in agent communication. If we want humans to work alongside AI or understand why a swarm of robots made a specific decision, the agents need a "language" composed of discrete symbols or words. The challenge is making these discrete protocols (which are usually non-differentiable and hard to train) as efficient and stable as continuous ones.

Methods

The paper introduces a broadcast-and-listen architecture where agents communicate through a shared "chat room."

  1. Discretization via Argmax: Instead of sending continuous vectors, the model uses an argmax operation on message logits to produce either one-hot messages (picking one "word" from a list) or bit-strings (a sequence of binary choices). To keep the model trainable despite the non-differentiable argmax, the authors use "skip connections," concatenating the original embeddings with the messages to allow gradients to flow back to the earlier layers.
  2. Self-Attention: To handle the influx of messages in the public channel, agents use a multiplicative self-attention mechanism. This allows each agent to selectively "listen" to the most relevant teammates while ignoring noise.
  3. Augmented Embeddings: The final decision-making policy receives a "package" containing the agent's own observation, the attention weights it assigned to others, and the aggregated messages from the group.

Datasets (Environments)

The authors evaluated their approach across three distinct environments designed to necessitate cooperation:

  • Pulling Levers: A multi-agent bandit task where agents must coordinate to pull unique levers to maximize rewards.
  • Predator-Prey: A $7 \times 7$ grid world where four predators must coordinate to capture four prey. The authors modified this by making other agents "invisible," forcing the predators to rely entirely on communication to locate each other.
  • Multi-Walker: A continuous control task where three bipedal robots must carry a giant package together. If one falls or moves too fast, the mission fails.

Key Insights and Ideas

  • Discrete is "Good Enough": The most striking finding is that discrete communication—even with a very small vocabulary—performs nearly as well as continuous communication. In many cases, a 32-bit string (which is still vastly smaller than a standard continuous vector) matched the performance of the baseline.
  • The Importance of Attention: Self-attention is more critical for discrete communication than for continuous. Because discrete messages have limited representational capacity, the ability to weight who is speaking becomes the primary way agents manage complex information.
  • Emergent Semantics: By using t-SNE to cluster agent observations and their corresponding messages, the authors found that agents naturally assigned specific "words" to specific environmental states. For example, a specific discrete message might consistently correspond to "I see a prey at coordinates (X, Y)."
  • Human-in-the-Loop: Because the messages are discrete and clustered, the authors demonstrated that a human could look at a cluster map and "talk" to the agents by manually selecting a message, successfully guiding the AI to complete tasks.

Key Results

  • Performance Parity: In the Predator-Prey and Pulling Levers tasks, bit-string messaging (vocabulary size $2^{32}$) achieved returns statistically indistinguishable from continuous messaging.
  • Positive Signaling/Listening: Using supervised learning probes, the authors confirmed high "positive signaling" (messages are strongly correlated with the sender's state) and "positive listening" (received messages significantly influence the receiver's actions).
  • Interpretability: In human-agent interaction tests, humans selecting messages based on the learned protocol outperformed random message selection and approached the performance of the fully autonomous agents.

Limitations and Future Work

While the model works well for small teams, the "broadcast" nature of the chat room might become a bottleneck as the number of agents grows (the "cocktail party problem"). The authors also noted that while bit-strings are powerful, they are harder for humans to interpret than one-hot "words."

Future work suggested by the authors includes:

  • Implementing multi-headed attention to allow agents to track multiple different types of information simultaneously.
  • Developing more sophisticated metrics to measure communication quality beyond just "average return."
  • Exploring how these protocols scale to much larger populations of agents.

Summary updated

BibTeX
@inproceedings{li2022learning,
  author = {Sheng Li and Yutai Zhou and Ross E. Allen and Mykel J. Kochenderfer},
  title = {{Learning Emergent Discrete Message Communication for Cooperative Reinforcement Learning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2022},
  doi = {10.1109/icra46639.2022.9812285},
}
Figure