Abstract
Coordination in multi-agent systems often requires communication, yet manually designing protocols is difficult and inflexible. We present CommNet, a neural network architecture that allows agents to learn their own communication protocol from scratch using continuous vectors and standard backpropagation. By treating communication as a differentiable channel, agents discover sophisticated coordination strategies for complex tasks without human-designed messaging.
Problem Statement
In multi-agent systems, such as robot swarms or autonomous vehicle fleets, coordination is vital, particularly when agents have limited local observations. Traditional approaches rely on hand-coded communication protocols (e.g., broadcasting GPS coordinates), which are often rigid and may fail to convey the most task-relevant information. The challenge lies in learning to communicate: enabling a group of agents, each with partial world views, to determine what information to share to maximize a collective reward. We seek a model that is flexible across varying agent counts and trainable via standard deep learning techniques.
Methods: The CommNet Architecture
CommNet (Communication Neural Net) controls each agent through a deep feed-forward network. The core innovation is a continuous communication channel integrated into the network layers.
- Broadcast and Average: At each communication step $i$, every agent $j$ broadcasts a continuous vector. The incoming signal $c_j^i$ for agent $j$ is the average of vectors sent by all other agents.
- Differentiability: Since communication uses continuous vectors and linear aggregation (averaging), the entire system is differentiable. This allows the "language" to be learned via backpropagation alongside action policies.
- Permutation Invariance: Averaging incoming signals ensures the model is invariant to agent ordering and can scale to different numbers of agents without architectural changes.
- Multi-hop Communication: Multiple communication cycles can occur before an action is selected, facilitating "deliberation" within the group.
Experimental Evaluation
The model was evaluated on four diverse tasks:
- Lever Pulling: Agents must coordinate to pull unique levers from a pool based only on their own IDs.
- Traffic Junction (MazeBase): Agents manage cars at a 4-way intersection, aiming for speed without collisions under limited $3 \times 3$ visibility.
- Combat (MazeBase): A 5v5 tactical battle requiring coordination to defeat an opposing team.
- bAbI Tasks: A reasoning dataset treated as a multi-agent task where each sentence is an "agent" communicating to answer a query.
Key Results and Insights
CommNet significantly outperformed independent controllers and fixed-communication baselines.
- Traffic Junction Performance: CommNet reduced failure rates drastically. In a standard junction, independent controllers failed 20.6% of the time, while CommNet failed only 2.2%. Remarkably, CommNet agents succeeded even with zero visibility, coordinating purely through the learned channel.
- Combat Success: CommNet achieved win rates of ~45-50%, outperforming independent controllers (~34%) and fully-connected baselines (~17%).
- Interpretable Protocols: Visualization of communication vectors revealed that agents learned to signal locations and intents (e.g., braking), effectively developing a "stop-and-go" protocol.
- Sparse Communication: Agents often sent near-zero vectors, becoming "silent" unless they had critical information, which prevents cluttering the shared channel.
Limitations and Future Work
While effective, the global broadcast channel may become noisy as the number of agents scales significantly. Future work could explore localized communication or attention mechanisms. Additionally, this study focused on homogeneous agents with shared rewards; extending this to heterogeneous groups or competitive scenarios with potential deception remains an open challenge.
Summary updated