Abstract
This paper provides the first theoretical treatment of reinforcement learning in adversarial Markov Decision Processes (MDPs) where feedback is delayed. We introduce Delayed OPPO, a policy optimization algorithm that achieves near-optimal regret bounds scaling with the total delay rather than the worst-case delay. Our results prove that agents can learn effectively even when the consequences of their actions are not immediately visible, bridging a significant gap between theoretical RL and real-world applications.
Introduction
In standard Reinforcement Learning (RL), an agent acts and immediately observes the resulting cost and the next state. However, in real-world scenarios like recommendation systems or clinical trials, feedback is often delayed. While delays have been studied in Multi-Armed Bandits (MABs), the MDP setting is significantly more complex because actions influence future state distributions.
Previous research on "delayed state observability" found the problem to be computationally intractable. This paper shifts focus to a more practical challenge: delayed feedback. In this setting, the agent knows its current state but receives information about costs and specific trajectories from past episodes with a delay. Furthermore, we address the adversarial setting, where costs can change arbitrarily over time, making it more robust than the typical stochastic setting.
The Delayed OPPO Algorithm
To address these challenges, we propose Delayed OPPO (Optimistic Proximal Policy Optimization). This algorithm extends standard policy optimization with several novel mechanisms:
- Asynchronous Updates: The algorithm performs policy updates whenever feedback arrives, using all available data to compute optimistic estimates of the Q-function.
- Explicit Exploration: To prevent "wasted exploration"—where an agent repeats actions because it hasn't seen the feedback yet—the algorithm mandates a minimum number of visits to state-action pairs before transitioning to exploitation.
- Skipping Technique: To maintain stability, the algorithm ignores feedback that arrives after a specific threshold, preventing extreme "straggler" delays from corrupting the regret bound.
- Doubling Scheme: A meta-algorithm allows Delayed OPPO to operate without prior knowledge of the total number of episodes ($K$) or the total delay ($D$), making it a parameter-free solution.
Theoretical Guarantees
A major contribution of this work is establishing regret bounds that scale with the total delay ($D$) rather than the maximum delay ($d_{max}$). This ensures robustness against occasional long delays.
As shown in the table above, for full-information feedback, Delayed OPPO achieves a regret bound of $\tilde{O}(\sqrt{K + D})$, which is nearly optimal as it matches the lower bound $\Omega(\sqrt{K + D})$. In the more challenging bandit feedback setting, the algorithm achieves $\tilde{O}((K + D)^{2/3})$ regret.
Empirical Validation
We evaluated Delayed OPPO using a synthetic $10 \times 10$ Grid World environment. The agent's task was to navigate from one corner to the opposite goal state, with delays drawn from a geometric distribution (mean = 10).
Delayed OPPO significantly outperformed naive baselines such as "Parallel-OPPO" and "Pipeline-OPPO." As illustrated in the performance plot, Delayed OPPO converges to the optimal policy faster and maintains a lower total cost, demonstrating its efficiency in handling asynchronous feedback streams.
Discussion and Future Work
Our work highlights the necessity of explicit exploration in delayed settings; standard optimism is insufficient when feedback is missing. While we achieved near-optimal bounds for full-information feedback, a gap remains in the bandit setting between the $(K+D)^{2/3}$ regret and the $\sqrt{K+D}$ lower bound. Closing this gap and extending these tabular results to deep learning function approximation are promising avenues for future research.
Summary updated