Learning Attentional Communication for Multi-Agent Cooperation

Jiechuan Jiang, Zongqing Lu

Introduction

In Multi-Agent Reinforcement Learning (MARL), communication is often the "secret sauce" for effective cooperation. However, as the number of agents scales up, traditional communication methods falter. The paper introduces ATOC (Attentional Communication), a model that allows large groups of agents to learn when it is worth talking to each other and how to filter that information for better teamwork. By using an attention mechanism to trigger communication only when necessary, ATOC avoids the "information overload" that plagues traditional multi-agent systems, leading to significantly better coordination in complex, large-scale environments.

The Scalability Problem in MARL

Existing multi-agent communication methods usually fall into two traps:

  1. The "Everyone Talks to Everyone" Trap: In large-scale systems (e.g., hundreds of drones or robots), sharing all information globally creates massive overhead. Useful signals are drowned out by noise, making it difficult for agents to distinguish a critical local warning from irrelevant data across the field.
  2. The "Fixed Script" Trap: Some models use predefined communication structures, such as a master-slave hierarchy. While efficient, these architectures are rigid and struggle to adapt if the environment changes or if a new type of cooperation is required.

The core challenge is scalability: how can agents autonomously decide when communication is actually helpful and which neighbors they should listen to?

Proposed Method: Attentional Communication (ATOC)

The authors propose ATOC, which extends the Actor-Critic framework (specifically DDPG) to handle dynamic, large-scale communication.

ATOC Architecture Diagram

ATOC introduces three novel components to the standard architecture:

  • The Attention Unit: Instead of communicating at every step, each agent has an attention unit that evaluates its local observations and internal "intentions." It outputs a probability indicating whether communication is needed. If this probability is high, the agent becomes an initiator. The attention unit is trained as a binary classifier to predict whether communicating will lead to a higher expected reward (Q-value) than acting alone.
  • Dynamic Group Formation: An initiator selects a small set of collaborators in its immediate vicinity to form a temporary communication group. This group exists only for a set number of timesteps ($T$) before the need for communication is re-evaluated.
  • Bi-directional LSTM Communication Channel: Once a group is formed, a bi-directional LSTM processes the "thoughts" (internal states) of all agents in the group. Unlike simpler models that just average messages, the LSTM’s gates allow the model to selectively remember important information and forget the rest, guiding agents toward a coordinated strategy.

Experimental Setup

The researchers evaluated ATOC using a modified version of the Multi-Agent Particle Environment, a 2D continuous space world. They scaled these scenarios to handle significantly more agents than typical benchmarks:

  • Cooperative Navigation: 50 to 100 agents trying to reach an equal number of landmarks without colliding.
  • Cooperative Pushball: 50 agents working together to push a massive, heavy ball to a target.
  • Predator-Prey: 60 slower predators attempting to surround and capture 20 faster preys in a field with obstacles.

Key Insights

  • Communication as a Scarce Resource: By treating communication as something that should only happen when "valuable," the model naturally learns to focus its bandwidth on high-conflict areas, such as crowded intersections or near a shared goal.
  • Information Bridging: If an agent is selected by two different initiators, it acts as a "bridge," passing information between groups. This allows local coordination to ripple through a large swarm without requiring a global broadcast.
  • Noise Reduction: The paper demonstrates that "more information" isn't always better. Baselines like CommNet (which averages all messages) failed in large-scale tests because the "mean" message became meaningless noise. ATOC’s selective nature keeps the signal-to-noise ratio high.

Results and Performance

ATOC consistently outperformed baselines (DDPG, CommNet, and BiCNet) across all metrics.

Learning curves comparing ATOC against baselines
  • Navigation: In a 50-agent scenario, ATOC occupied 92% of landmarks with only 13 collisions. The best baseline (DDPG) only managed 22% occupancy with 32 collisions.
  • Pushball: ATOC achieved a normalized reward of 0.95, significantly higher than the 0.71–0.77 achieved by other communication-based models.
  • Scalability: A model trained on 50 agents was able to generalize to 100 agents with minimal performance loss, whereas baselines saw their performance collapse as agent density increased.
  • Visual Evidence: Heatmaps generated during the experiments showed that communication "flared up" exactly where agents were most likely to collide, proving the attention unit was working as intended.

Limitations and Future Work

While ATOC marks a significant step forward, it has a few limitations:

  • Proximity Bias: Currently, initiators select collaborators based strictly on proximity. In some tasks, agents might need to coordinate with distant partners (e.g., a scout and a base), which this model might struggle to capture.
  • Fixed Bandwidth: The model assumes a fixed maximum number of collaborators ($m$). In reality, the optimal number of collaborators might vary wildly depending on the task.
  • Temporal Consistency: The group persistence time ($T$) is a fixed hyperparameter. Future work could involve the attention unit deciding not just if to talk, but for how long the coordination should last.

Summary updated

BibTeX
@inproceedings{jiang2018learning,
  author = {Jiechuan Jiang and Zongqing Lu},
  title = {{Learning Attentional Communication for Multi-Agent Cooperation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=BkbSXd-O-S},
}
Figure