Rainbow Delay Compensation: A Multi-Agent Reinforcement Learning Framework for Mitigating Observation Delays

Songchen Fu, Siang Chen, Shaojing Zhao, Letian Bai, Hong Liang, Ta Li, Yonghong Yan

Introduction

In the field of Multi-Agent Reinforcement Learning (MARL), standard algorithms often operate under the assumption of instantaneous observation—where agents perceive the state of the environment and their peers without latency. However, real-world applications such as autonomous drone swarms, robotic coordination, and high-frequency trading are governed by physical and network constraints that introduce significant observation delays. These delays disrupt the coordination required for multi-agent systems, turning synchronized maneuvers into chaotic failures.

This paper introduces Rainbow Delay Compensation (RDC), a modular framework designed to mitigate stochastic observation delays. By integrating state reconstruction, curriculum learning, and knowledge distillation, RDC enables agents to maintain high performance even when operating on stale or asynchronous data.

Problem Formulation: The DSID-POMDP

Traditional MARL models struggle with stochastic delays because they break the Markov assumption—the principle that the current observation provides sufficient information for decision-making. In a multi-agent setting, this is exacerbated by non-stationarity, as agents are simultaneously learning and changing their behaviors.

The authors formalize this challenge through the Decentralized Stochastic Individual Delay Partially Observable Markov Decision Process (DSID-POMDP). Unlike models that assume a uniform global lag, the DSID-POMDP accounts for individual delay distributions for every entity an agent observes. This reflects realistic scenarios where information about different allies or enemies may arrive at different times and in varying sequences.

The Rainbow Delay Compensation Framework

The RDC framework addresses these challenges through four integrated components, referred to as the "Rainbow" modules:

  1. Delay Compensator: This neural module (utilizing Transformers or GRUs) is tasked with predicting the current, delay-free observation from a sequence of delayed inputs. The framework offers two variants: Flash, a high-speed direct prediction model, and Echo, an autoregressive model that reconstructs the state trajectory step-by-step.
  2. Delay-Reconciled Critic: RDC utilizes the Centralized Training, Decentralized Execution (CTDE) paradigm. During training, the "Critic"—which evaluates the quality of actions—is provided with the true, delay-free global state. This provides a stable ground truth to guide the agents' learning process, even if the agents themselves only see delayed data.
  3. Curriculum Learning for Actors: To prevent policy instability, agents are not immediately thrust into high-delay environments. Instead, they begin training on delay-free data. As training progresses, the framework gradually introduces compensated (predicted) data, allowing the "Actor" networks to adapt to the compensator's outputs incrementally.
  4. Policy Knowledge Distillation: To further bolster robustness, RDC employs a teacher-student architecture. A "teacher" model, trained under low-delay conditions, provides supervision to a "student" model operating under high-delay conditions, ensuring the student captures high-level strategic nuances despite noisy inputs.

Experimental Methodology

The framework was evaluated using two primary MARL benchmarks:

  • Multi-Agent Particle Environment (MPE): Testing coordination in tasks like Simple Tag and Simple Spread.
  • StarCraft Multi-Agent Challenge (SMAC): Testing complex tactical micro-management in scenarios such as 6h_vs_8z.

To simulate realistic conditions, the researchers implemented a custom "Delay Filter" capable of generating fixed, partially fixed, and stochastic (unfixed) delays based on various statistical distributions (e.g., Binomial, Normal, and Poisson).

Key Insights and Results

The integration of RDC into baseline algorithms like QMIX and VDN yielded significant performance improvements:

  • Near-Oracle Performance: In MPE scenarios, RDC-equipped agents achieved rewards nearly identical to an "Oracle" model with zero observation delay.
  • Tactical Resilience in SMAC: In high-complexity combat, baseline methods often saw win rates drop to near zero as delays increased. RDC maintained a significant win rate, demonstrating its ability to reconstruct the tactical state effectively.
  • Generalization: Models trained on uniform delay distributions remained effective when tested against other distributions (Poisson or Normal), suggesting the framework learns a generalized ability to compensate for lag rather than simply memorizing specific patterns.
  • The Necessity of Coordination: A key finding was that state prediction alone is insufficient. The combination of Curriculum Learning and Knowledge Distillation was essential to stabilize training, as the compensator and the agent's policy are learning simultaneously.

Limitations and Future Work

While RDC represents a significant step forward, the authors identify several areas for future research. The current model assumes that information updates from different entities are independent, which may not hold in "multi-hop" communication networks where agents relay information to one another. Additionally, as the number of entities in an environment grows, the computational overhead of the compensator increases. Future work will focus on optimizing compensator architectures for massive-scale multi-agent systems and addressing interdependent communication delays.

Summary updated

BibTeX
@inproceedings{fu2025rainbow,
  author = {Songchen Fu and Siang Chen and Shaojing Zhao and Letian Bai and Hong Liang and Ta Li and Yonghong Yan},
  title = {{Rainbow Delay Compensation: A Multi-Agent Reinforcement Learning Framework for Mitigating Observation Delays}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=KsmlBRhLgs},
}
Figure