CoDe: Communication Delay-Tolerant Multi-Agent Collaboration via Dual Alignment of Intent and Timeliness

Shoucheng Song, Youfang Lin, Sheng Han, Chang Yao, Hao Wu, Shuo Wang, Kai Lv

Abstract

Multi-agent reinforcement learning (MARL) typically assumes instantaneous communication between agents. However, real-world distributed systems face inherent network delays, leading to asynchronous communication where agents receive outdated information. This paper introduces CoDe (Communication Delay-tolerant Multi-Agent Collaboration), a framework designed to mitigate the impact of communication delays. CoDe employs a dual-alignment mechanism: agents transmit stable, long-term "intents" instead of transient states, and receivers fuse these messages based on both intent similarity and temporal recency. Experimental results across SMAC, Google Research Football, and Hallway benchmarks demonstrate that CoDe significantly outperforms existing MARL algorithms under both fixed and time-varying delays.

1. Introduction

In multi-agent systems, coordination is often the difference between success and failure. Communication allows agents to share local observations, enabling them to construct a more global view of the environment. While many MARL algorithms assume ideal communication—unlimited bandwidth and zero latency—real-world deployments encounter channel delays. When these delays exceed the decision-making interval, agents act on "stale" information, leading to coordination breakdowns. For instance, an agent might move to support a teammate based on a message sent several seconds ago, only to find the teammate has already moved elsewhere.

2. The Problem: Asynchronous Communication

Asynchronous communication occurs when the time a message is sent ($t_{send}$) differs significantly from the time it is received ($t_{recv}$). In such scenarios, an agent's buffer contains a jumbled collection of messages from various past time steps. Relying on this outdated data introduces cognitive biases, where the perceived state of the world deviates from reality. The authors demonstrate that under severe delays, traditional communication-enabled MARL algorithms can actually perform worse than those with no communication at all, as the misleading information disrupts local policy execution.

3. The CoDe Framework

To address these challenges, the CoDe framework optimizes both the content of the transmission and the processing of received messages.

3.1 Intent Learning via Future Action Inference

Rather than broadcasting current states or observations—which become obsolete almost immediately—CoDe agents broadcast their "intent." Intent is defined as a representation of an agent's stable, future behavioral trends.

This is implemented using a sequence-to-sequence (seq-to-seq) GRU structure. The sender-side model is trained using two primary objectives:

  • Inference Loss: This ensures the intent representation can accurately predict the agent's next $K$ actions.
  • Continuity Loss: This maximizes the cosine similarity between intents at adjacent time steps, ensuring that the transmitted behavioral trend remains stable over short windows, making it more robust to slight delays.

3.2 Dual Alignment of Intent and Timeliness

On the receiver side, CoDe utilizes a dual-alignment attention mechanism to intelligently fuse the delayed messages in the buffer:

  • Intent Alignment: The receiver uses its own current intent as a "query" to match against the "keys" (the intents received from teammates). This allows agents to prioritize information from teammates whose goals or collaborative needs align with their own.
  • Timeliness Alignment: To account for the age of the information, CoDe applies an exponential temporal discount factor based on the message's timestamp. Older messages are down-weighted, ensuring the agent prioritizes the most recent relevant data.

CoDe is designed to be algorithm-agnostic and is implemented on top of standard value decomposition methods like QMIX.

4. Experimental Evaluation

The authors evaluated CoDe against several baselines (including QMIX, TarMAC, NDQ, and MAIC) across three diverse environments:

  • SMAC (StarCraft Multi-Agent Challenge): In addition to standard maps, the authors introduced three new maps with randomized initial positions to increase the necessity of communication.
  • Google Research Football (GRF): A complex environment where high-level coordination (e.g., passing and positioning) is essential.
  • Hallway: A navigation task requiring precise synchronization between agents to reach a goal.

5. Key Results and Insights

The experimental results highlight CoDe's robustness:

  • Superiority in Ideal Conditions: Even with zero delay, CoDe outperforms baselines. In the communication-intensive 2s3z_vs_1ul map, CoDe achieved an 88% win rate, compared to the 8%–43% range of other algorithms.
  • Robustness to Fixed Delays: Under a fixed 5-step delay in SMAC (5z_vs_1ul), CoDe maintained a 68.6% win rate, while competitors like NDQ and TarMAC saw their performance drop to approximately 38% and 43%.
  • Resilience to Variable Delays: Under Gaussian-distributed delays $\mathcal{N}(5, 2)$, CoDe remained stable (66.7% win rate), proving that the dual-alignment mechanism effectively handles unpredictable network jitter.
  • Ablation Studies: Removing either the intent or timeliness alignment components led to significant performance degradation, confirming that both "what" is sent and "when" it was sent are critical for handling asynchronous communication.

6. Conclusion

CoDe provides a robust framework for multi-agent collaboration in the face of realistic network delays. By shifting the focus from transient state-sharing to long-term intent-sharing and employing a dual-alignment fusion strategy, CoDe maintains high coordination levels where traditional methods fail. Future work will focus on improving the horizon of intent prediction and addressing even more extreme delay scenarios.

Summary updated

BibTeX
@inproceedings{song2025code,
  author = {Shoucheng Song and Youfang Lin and Sheng Han and Chang Yao and Hao Wu and Shuo Wang and Kai Lv},
  title = {{CoDe: Communication Delay-Tolerant Multi-Agent Collaboration via Dual Alignment of Intent and Timeliness}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i22.34497},
}
Figure