Tree Search-Based Policy Optimization under Stochastic Execution Delay

David Valensi, Esther Derman, Shie Mannor, Gal Dalal

Abstract

Standard Reinforcement Learning (RL) assumes instantaneous action execution, a premise often violated in real-world robotics and remote systems. While fixed delays have been studied, stochastic execution delays present a significant challenge due to state-space explosion in traditional history-augmented approaches. This paper introduces Delayed EfficientZero (DEZ), a model-based algorithm that leverages Monte-Carlo Tree Search (MCTS) and a learned forward model to anticipate future states under pending actions. We theoretically demonstrate that Markov policies are sufficient for optimal control in Stochastic Execution-Delay MDPs (SED-MDPs). Empirical evaluations on the Atari 100k benchmark show that DEZ significantly outperforms existing baselines in both constant and stochastic delay scenarios, maintaining high performance even as delays scale.

Introduction

In classical Markov Decision Processes (MDPs), an agent's action is executed immediately upon selection. However, real-world applications—ranging from planetary rovers to surgical robotics—frequently encounter gaps between decision and execution. This "execution delay" is often not just present but stochastic, varying unpredictably over time.

Conventional solutions often rely on state augmentation, incorporating the entire history of pending actions into the current state. While effective for small, fixed delays, this approach suffers from exponential state-space growth as delays increase or become random, rendering it computationally intractable for complex tasks. This research addresses the challenge of acting effectively under stochastic delays without the overhead of exhaustive history tracking.

Stochastic Execution-Delay MDPs (SED-MDPs)

The authors formalize this problem as Stochastic Execution-Delay MDPs (SED-MDPs). A key theoretical insight of this work is the proof of Markov Policy Sufficiency: if an agent can observe current delay values, it can achieve optimal performance using a Markov policy (conditioned on the current state and delay) rather than a complex, history-dependent one. This finding justifies the use of efficient model-based approaches over brute-force history augmentation.

Delayed EfficientZero (DEZ)

Building on the EfficientZero framework, the authors propose Delayed EfficientZero (DEZ). The core of DEZ is its ability to "imagine" the future state at which a currently selected action will actually be executed.

Architecture of the Delayed EfficientZero (DEZ) framework, showing the interaction between the forward model and the tree-search policy.

As illustrated in the architecture diagram, DEZ maintains a queue of pending actions and their associated delays. When making a decision at time $t$, the agent uses a learned forward model to simulate the environment's transitions under all currently pending actions. It predicts the latent state $\hat{s}_{t+z_t}$—the state the environment will be in when the new action $a_t$ finally executes. Monte-Carlo Tree Search (MCTS) is then performed from this "future-present" state to select the optimal action.

To facilitate learning, the algorithm employs Replay Buffer Corrections. The experience replay buffer is post-processed to align states with the actions that truly caused the observed transitions, effectively "de-delaying" the training data for the learner.

Experimental Evaluation

The researchers evaluated DEZ using the Atari 100k benchmark, modifying the environment to simulate both constant delays (up to 25 steps) and stochastic delays (following a random walk capped at a maximum value $M$).

Comparative performance of DEZ (labeled as SD-EZ) against Oblivious-EZ and Delayed DQN across the Atari 100k suite.

Key Results

DEZ (labeled as SD-EZ in experimental results) demonstrated superior performance and robustness compared to "Oblivious" EfficientZero (which ignores delay) and "Delayed-DQN" (a baseline for fixed delays).

  • Superiority in Stochasticity: In random-lag scenarios, DEZ outperformed baselines in 42 out of 45 experimental setups. Previous methods designed for constant delays often failed when delays became stochastic.
  • Scalability: DEZ maintained high efficiency even with delays as high as 25 steps, whereas previous methods typically struggled beyond 6 steps. In specific games like Hero, DEZ remained effective with delays up to 45 steps.

Conclusion and Future Work

DEZ proves that model-based RL, specifically through latent state imagination and MCTS, can effectively mitigate the complexities of stochastic execution delays. By shifting the burden of handling delay from the policy's complexity to the world model's predictive power, DEZ achieves state-of-the-art results on challenging benchmarks.

Future research directions include addressing compounding errors in the forward model, which can degrade performance over long horizons. Additionally, the authors aim to relax the assumption of observable delays and explore distributional predictions to better capture the uncertainty of stochastic environments.

Summary updated

BibTeX
@inproceedings{valensi2024tree,
  author = {David Valensi and Esther Derman and Shie Mannor and Gal Dalal},
  title = {{Tree Search-Based Policy Optimization under Stochastic Execution Delay}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=RaqZX9LSGA},
}
Figure