ToM2C: Target-oriented Multi-agent Communication and Cooperation with Theory of Mind

Yuanfei Wang, Fangwei Zhong, Jing Xu, Yizhou Wang

TL;DR

ToM2C introduces a "Theory of Mind" (ToM) framework to multi-agent reinforcement learning. By allowing agents to infer the intentions of their teammates before deciding whether to communicate, agents achieve superior cooperation with a fraction of the communication bandwidth required by traditional methods.

The Challenge of Multi-Agent Cooperation

In multi-agent systems—like a fleet of delivery drones or a network of security cameras—cooperation is notoriously difficult. The "Target-oriented Multi-Agent Cooperation" (ToMAC) problem requires agents to divide labor effectively to avoid redundant efforts or conflicts (e.g., "I'll cover the north exit, you take the south").

Existing solutions usually fall into two traps:

  1. Implicit Modeling: Agents try to guess what others are doing based only on their own local observations, which often leads to confusion and conflict.
  2. Information Overload: Agents broadcast everything they see to everyone else. This "shouting" approach is bandwidth-heavy, scales poorly, and provides a lot of redundant information that doesn't actually help decision-making.

The authors ask: Can we make agents more like humans, who use Theory of Mind to infer the mental states (beliefs and goals) of others to guide their social interactions?

Illustration of the Theory of Mind concept in multi-agent cooperation.

The ToM2C Architecture

To address these challenges, the authors propose ToM2C (Target-oriented Multi-agent Communication and Cooperation), a two-level hierarchical architecture.

The ToM2C architecture featuring the Message Sender, Theory of Mind Net, and Decision Maker.
  • The ToM Net: This acts as the "social brain" of the agent. It consists of two modules:
  • Observation Estimation: The agent predicts what its peers can see based on their positions.
  • Goal Inference: Based on those predicted observations, the agent infers which targets its peers are likely to choose.
  • The Message Sender: Instead of broadcasting raw data, agents use a Graph Neural Network (GNN) to decide when and with whom to share their inferred intentions.
  • Communication Reduction (CR): To ensure efficiency, the system uses an "ablative" training trick. It measures how much a received message actually changes an agent's decision (using KL-divergence). If a message doesn't significantly alter the outcome, the system learns to "cut" that communication channel in the future.
  • The Decision Maker: A high-level Planner selects sub-goals (targets) based on local, inferred, and received information, while a low-level Executor carries out the physical actions to reach those goals.

Evaluation Environments

The model was evaluated on two primary benchmarks:

  1. Cooperative Navigation (CN): A classic task where multiple agents must occupy an equal number of landmarks while avoiding collisions.
  2. Multi-Sensor Multi-Target Coverage (MSMTC): A more complex, dynamic environment where sensors must rotate to track moving targets, complicated by line-of-sight obstacles and unpredictable "random-walking" targets.

Key Insights and Results

  • Inference is Cheaper than Communication: By spending a little computational power to infer what a teammate is doing, an agent can avoid sending a message entirely.
  • Intentions over Observations: Most communication-based AI sends "what I see." ToM2C sends "what I intend to do." Intentions are much more compact and directly useful for resolving conflicts.
  • Strategic Silence: The Communication Reduction (CR) module proves that in a well-coordinated team, most messages are actually redundant. ToM2C learns to stay silent unless the information is truly "news" to the receiver.
  • Zero-Shot Scalability: Because the ToM Net is modular (it treats every peer with the same shared-parameter logic), a model trained with 4 sensors can be dropped into a 10-sensor environment and still perform effectively without retraining.

Performance Highlights: * Higher Rewards: In the MSMTC task, ToM2C achieved a 75.38% coverage rate, significantly outperforming the previous state-of-the-art, TarMAC (70.56%) and HiT-MAC (61.48%). * Drastic Bandwidth Savings: ToM2C reduced communication bandwidth by over 90% compared to broadcasting methods. In the navigation task, it used a bandwidth of 67.44 compared to TarMAC’s 1344.00. * Robustness: The model maintained high performance even when agents only had partial access to the locations of their teammates, proving it can handle "fog of war" scenarios.

Limitations and Future Work

Currently, the model is designed for "target-oriented" tasks where goals are explicit. Extending this to "non-target" environments (like the card game Hanabi) would require a more complex way to automatically generate or define sub-goals. Additionally, the "pseudo-labels" used to train the communication reduction module can be noisy, potentially leading to sub-optimal pruning in highly chaotic environments. Future work will explore more diverse multi-agent benchmarks like the StarCraft Multi-Agent Challenge (SMAC).

Summary updated

BibTeX
@inproceedings{wang2022tom,
  author = {Yuanfei Wang and Fangwei Zhong and Jing Xu and Yizhou Wang},
  title = {{ToM2C: Target-oriented Multi-agent Communication and Cooperation with Theory of Mind}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=YWSYIXb7Bl},
}
Figure