Adaptive Reinforcement Learning for Unobservable Random Delays

John Wikman, Alexandre Proutiere, David Broman

Introduction

Standard Reinforcement Learning (RL) typically models the interaction between an agent and its environment as a Markov Decision Process (MDP). This framework assumes a perfect, instantaneous world: an agent observes a state, selects an action, and the environment executes it immediately. However, in real-world dynamic environments—such as robotics and cyber-physical systems—this assumption frequently breaks down.

Delays are ubiquitous, stemming from sensing, computation, and network transmission. Crucially, these delays are often stochastic (varying randomly over time) and unobservable at the moment an action is decided. When an agent sends a command over a network, it cannot know exactly when that command will arrive. Historically, systems have handled this uncertainty conservatively through "action buffering," which forces the system to wait for a fixed, worst-case delay. While safe, this approach is highly inefficient, forcing the system to operate as if network conditions are perpetually poor.

To address this, recent research introduces the Interaction Layer, a novel framework that allows RL agents to handle random, unobservable delays adaptively. Paired with a new model-based algorithm called Actor-Critic with Delay Adaptation (ACDA), this approach significantly outperforms state-of-the-art methods by dynamically navigating network jitter and computation lags.

The Interaction Layer and ACDA

The researchers propose two major innovations to bridge the gap between theoretical RL and real-world latency.

1. The Interaction Layer

Think of the Interaction Layer as a strategic "middleman" situated between the agent (e.g., a cloud server) and the executing system (e.g., a robot). Instead of transmitting a single action, the agent sends an Action Packet containing a matrix of potential future actions.

Each row in this matrix corresponds to a different possible arrival time. For instance, if the packet arrives in 2ms, the robot executes the action in row 1; if it takes 10ms, it executes row 5. This predictive redundancy allows the agent to "hedge its bets" against unpredictable latency and packet loss, ensuring the robot always has an appropriate action ready regardless of when the transmission completes.

2. Actor-Critic with Delay Adaptation (ACDA)

To fully leverage the Interaction Layer, the authors developed ACDA, a model-based RL algorithm tailored for environments with unobservable delays.

  • Heuristic Estimation: Because the agent does not know exactly which of its previous actions were applied, it relies on the temporal correlation of delays. It assumes that network conditions come in waves—if the last packet was delayed, the current one likely will be too. This allows ACDA to make highly accurate estimates of the system's current state.
  • Model-Based Distribution Agent (MDA): Standard neural networks struggle with the variable-length inputs caused by stochastic delays. ACDA utilizes a Gated Recurrent Unit (GRU) to learn a world model that embeds the distribution of possible future states into a fixed-size vector. The policy network then uses this distributional latent representation to populate the action matrix.

Experimental Setup

The researchers evaluated ACDA across several standard MuJoCo locomotion tasks (Ant, Humanoid, HalfCheetah, Hopper, and Walker2d) using the Gymnasium library. To ensure the environments reflected real-world conditions, they introduced 5% action noise (preventing the agent from simply memorizing a deterministic world) and tested against multiple delay profiles:

  • Simulated Delay Processes: Gilbert-Elliot models for "bursty" network conditions and M/M/1 queues for standard traffic.
  • Real-World WiFi Delays: Two novel datasets capturing actual TCP packet jitter over WiFi: DLib (collected in a busy university library) and DOff (collected in a standard office).

Key Results

The results demonstrate that adapting to actual delay distributions is vastly superior to assuming a fixed worst-case delay.

  • Benchmark Dominance: ACDA outperformed state-of-the-art baselines, including BPQL and VDPO, in 24 out of 25 evaluated benchmark configurations.
  • Real-World Performance: When subjected to real-world WiFi delay traces, ACDA exhibited massive performance gains. In the HalfCheetah environment under library WiFi delays (DLib), ACDA achieved a return of ~8368, nearly doubling the performance of the next best baseline (VDPO), which reached only ~4159.

Limitations and Future Directions

While ACDA presents a significant leap forward, the authors note a few limitations. First, like many deep RL approaches, ACDA lacks formal convergence proofs in a Partially Observable Markov Decision Process (POMDP) setting. Second, transmitting a matrix of actions inherently increases bandwidth overhead. For high-dimensional robots operating on low-bandwidth connections (like Bluetooth), this could introduce new bottlenecks. Finally, the algorithm's heuristic relies heavily on the temporal correlation of delays; if delays were perfectly independent and identically distributed (i.i.d.), the performance gains would likely diminish.

Future work will focus on optimizing the action packet structure to reduce computational and bandwidth overhead, as well as exploring more complex interaction behaviors like selective packet discarding.

Summary updated

BibTeX
@inproceedings{wikman2026adaptive,
  author = {John Wikman and Alexandre Proutiere and David Broman},
  title = {{Adaptive Reinforcement Learning for Unobservable Random Delays}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=QpgIOT06k3},
}
Figure