Delay-Aware Multi-Agent Reinforcement Learning

Baiming Chen, Mengdi Xu, Zuxin Liu, Liang Li, Ding ZhaoarXiv 2020

Introduction

In real-world cyber-physical systems, such as autonomous vehicles and industrial robotics, the assumption of instantaneous interaction is rarely met. Sensing, processing, and hardware actuation inevitably introduce delays. While standard Reinforcement Learning (RL) algorithms assume a synchronous loop where an action immediately affects the environment, multi-agent systems face a compounded challenge. If one agent experiences a delay, its "stale" actions create non-stationarity for all other participants. This violation of the Markov property—the principle that the future state depends only on the current state—often prevents standard multi-agent RL (MARL) agents from converging to optimal or safe policies.

This paper introduces Delay-Aware Multi-Agent Reinforcement Learning (DAMARL), a framework designed to restore the Markov property in delayed environments by redefining the interaction model and augmenting the state space with action buffers.

Delay-Aware Markov Games (DA-MG)

To address the non-stationarity caused by delays, the authors propose the Delay-Aware Markov Game (DA-MG). In this formulation, the state space is mathematically augmented. Instead of relying solely on the current environment state $s_t$, the state is expanded to include a "buffer" of actions that have been committed to but not yet executed due to system latency.

The interaction loop between agents and the environment using an action buffer to handle delays. At each step, the agent pops an old action to execute and appends a new planned action to the queue.

By treating the action buffer as part of the state, the environment becomes predictable again. The authors prove that this augmentation restores the Markov property, allowing standard RL theory to be applied to delayed systems. While this increases the dimensionality of the problem, the benefit of a stationary environment significantly outweighs the computational cost of a larger input vector.

The DAMA-DDPG Algorithm

The framework is implemented using DAMA-DDPG, a modified version of Multi-Agent Deep Deterministic Policy Gradient. The algorithm follows a Centralized Training and Decentralized Execution (CTDE) paradigm:

  • Centralized Training: During the training phase, a "critic" network has access to the global state and the action buffers of all agents, allowing it to learn the value of joint actions in the context of pending delays.
  • Decentralized Execution: During deployment, each "actor" (agent) operates using only its local observations and its own sequence of pending actions.
  • Action Buffer Mechanism: Agents interact with the environment through a queue. At each time step $t$, the system "pops" an action $a_t$ from the buffer for execution and "appends" a new planned action $a_{t+k}$ to the end of the sequence.

Experimental Evaluation

The researchers evaluated DAMARL across two distinct platforms to test its robustness in both abstract and high-stakes scenarios.

Multi-Agent Particle Environments (MAPE)

Standard MARL benchmarks were used to test three core cooperative and competitive dynamics:

  1. Cooperative Communication: A "speaker" must guide a "listener" to a specific landmark.
  2. Cooperative Navigation: Agents must cover landmarks while avoiding collisions.
  3. Predator-Prey: A team of predators must coordinate to catch a faster prey.
The three Multi-Agent Particle Environment (MAPE) scenarios used for evaluation: (a) Cooperative communication, (b) Cooperative navigation, and (c) Predator-prey.

Highway Traffic Simulator

To test real-world applicability, the authors used a simulator involving an unsignalized intersection. Four autonomous vehicles were required to coordinate turns without crashing while subjected to significant sensor and actuator delays.

Key Results and Insights

  • Performance Gains: In MAPE tasks, DAMA agents consistently outperformed vanilla DDPG and MADDPG. Notably, in the Predator-Prey task, DAMA agents achieved nearly double the "touch" count of delay-unaware baselines.
  • Safety Criticality: In the traffic intersection scenario, standard agents failed as delays increased. At a delay of 0.8 seconds, the success rate of standard agents dropped below 40%, whereas DAMA agents maintained high success and low crash rates.
  • Delay Sensitivity: The performance gap between DAMA and standard algorithms grows proportionally with the length of the delay. While extremely small delays (under 0.2s) show minimal difference, the DAMA framework becomes essential as latency increases.

Conclusion and Future Work

DAMARL demonstrates that explicit delay-awareness is a prerequisite for deploying MARL in physical systems. By restoring the Markov property through action buffers, agents can learn stable policies despite significant communication and actuation lags. Future research may focus on improving sample efficiency through opponent modeling and adapting the framework to handle variable delays (jitter) rather than fixed integer latencies.

Summary updated

BibTeX
@misc{chen2020delay,
  author = {Baiming Chen and Mengdi Xu and Zuxin Liu and Liang Li and Ding Zhao},
  title = {{Delay-Aware Multi-Agent Reinforcement Learning}},
  year = {2020},
  eprint = {2005.05441},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.05441},
}
Figure