Reinforcement Learning via Conservative Agent for Environments with Random Delays

Jongsoo Lee, Jangwon Kim, Jiseok Jeong, Soohee HanarXiv 2025 · DOI

Abstract

Reinforcement learning (RL) in real-world scenarios often faces unpredictable feedback delays, which violate the Markov property and degrade agent performance. This paper proposes the Conservative Agent, a framework that handles random delays by treating every observation as if it arrived with a fixed maximum delay ($\Delta_{max}$). This transformation creates a constant-delay surrogate environment, enabling the use of standard delay-aware RL algorithms. When combined with Belief Projection-based Q-Learning (BPQL), the Conservative Agent demonstrates superior performance and sample efficiency across various continuous control tasks in the MuJoCo benchmark suite, maintaining robustness regardless of the underlying delay distribution.

Introduction

Standard Reinforcement Learning (RL) assumes the "Markov property," where the current state provides all necessary information for optimal decision-making. However, in practical applications like remote robotics or high-latency networks, feedback is often delayed. While state augmentation techniques effectively handle constant delays (e.g., feedback always arriving exactly $k$ steps late), random delays present a significantly harder challenge. They cause observations to arrive out of order or with varying "freshness," breaking Markovian dynamics and making it difficult for agents to maintain an accurate belief of the environment's current state. Existing solutions often require precise knowledge of the delay distribution or involve complex, unstable modeling of environment dynamics.

Methodology

The authors propose a "conservative" strategy: Wait for the worst case.

Constant-Delay Surrogate

If the maximum possible delay is $\Delta_{max}$, the agent ignores any state information until exactly $\Delta_{max}$ steps after it was generated. This effectively reformulates a chaotic random-delay environment into a manageable constant-delay surrogate. Because the agent only considers the upper bound ($\Delta_{max}$), it remains agnostic to the underlying probability distribution of the delays.

Illustration of the Conservative Agent's state processing mechanism, transforming random delays into a constant-delay surrogate.

Conservative-BPQL

To address the increased sample complexity inherent in augmented states, the authors integrate this strategy with Belief Projection-based Q-Learning (BPQL). BPQL maps large augmented states into a compact representation for the value function, enhancing learning efficiency. The framework is modular; the authors also demonstrated its generality through Conservative-VDPO, applying the same logic to Variational Delayed Policy Optimization.

Experimental Results

The approach was evaluated using the MuJoCo benchmark suite (e.g., Ant-v3, HalfCheetah-v3, Humanoid-v3) under random delays simulated via upper-truncated Poisson and uniform distributions.

Key Findings

  • Superior Performance: In tasks with a maximum delay of 20 steps, Conservative-BPQL significantly outperformed baselines. For instance, in Ant-v3 with $\Delta_{max}=20$, the Conservative Agent achieved a score of ~1976, nearly doubling the performance of the next best random-delay baseline, Delayed-SAC (~955).
  • Distribution Invariance: A critical finding is that performance remains invariant to changes in the delay distribution as long as the maximum delay remains constant. This ensures robustness in real-world deployments where network conditions fluctuate.
  • Efficiency: By utilizing BPQL, the agent reached high performance levels much faster than "naive" versions like Conservative-SAC, which struggled with high-dimensional augmented states. The computational overhead of the conservative wrapper was found to be negligible.

Discussion and Future Work

The Conservative Agent prioritizes stability over freshness. By discarding early-arriving packets to maintain a consistent $\Delta_{max}$ delay, the agent gains a stable, Markovian view of the world.

However, the method has limitations in environments with "long-tailed" delay distributions, where a rare but very large maximum delay forces the agent to use excessively old data. Future research may explore quantile-based cutoffs (e.g., using the 95th percentile as a pseudo-maximum) to trade off theoretical Markovian purity for better performance in high-variance scenarios. Additionally, while the method is robust, it currently requires prior knowledge of $\Delta_{max}$, which may not always be available in all applications.

Summary updated

BibTeX
@misc{lee2025reinforcement,
  author = {Jongsoo Lee and Jangwon Kim and Jiseok Jeong and Soohee Han},
  title = {{Reinforcement Learning via Conservative Agent for Environments with Random Delays}},
  year = {2025},
  eprint = {2507.18992},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.18992},
}
Figure