Abstract
We establish an optimal sample complexity of $O(\epsilon^{-2})$ for obtaining an $\epsilon$-optimal global policy using a single-timescale actor-critic (AC) algorithm in infinite-horizon discounted Markov decision processes (MDPs) with finite state-action spaces, improving upon the prior state of the art of $O(\epsilon^{-3})$. Our approach applies STORM (STOchastic Recursive Momentum) to reduce variance in the critic updates. However, because samples are drawn from a nonstationary occupancy measure induced by the evolving policy, variance reduction via STORM alone is insufficient. To address this challenge, we maintain a buffer of small fraction of recent samples and uniformly sample from it for each critic update. Importantly, these mechanisms are compatible with existing deep learning architectures and require only minor modifications, without compromising practical applicability.
Introduction
Actor-critic (AC) algorithms are fundamental to modern reinforcement learning, powering popular frameworks like PPO and SAC. In these algorithms, an "actor" optimizes the policy while a "critic" estimates the value function. While practitioners often update both components simultaneously at similar learning rates—known as a single time-scale approach—theoretical analysis of such systems is notoriously difficult due to the complex coupling between actor and critic updates.
Prior theoretical work established that single time-scale algorithms require $O(\epsilon^{-3})$ samples to find an $\epsilon$-optimal policy. This left a significant gap compared to the known theoretical lower bound of $O(\epsilon^{-2})$. The primary bottleneck has been the high variance in critic updates, further complicated by the non-stationary data distribution as the actor's policy evolves.
Methodology: Taming Variance and Non-Stationarity
To bridge the gap to optimal sample complexity, we introduce two key modifications to the standard AC framework:
1. STORM for the Critic
We apply STOchastic Recursive Momentum (STORM) to the critic's updates. Unlike standard momentum, which can introduce bias through stale gradients, STORM utilizes a recursive correction term. This allows for significant variance reduction while maintaining an unbiased estimator, a crucial property for establishing tight convergence bounds.
2. Replay Buffer for Non-Stationarity
Variance reduction techniques like STORM typically assume data is sampled from a stationary distribution. In RL, the policy changes at every step, making the data distribution non-stationary. We address this by maintaining a buffer of recent samples. By sampling uniformly from this buffer for critic updates, we effectively smooth the shifting distribution, allowing the STORM mechanism to function correctly in a dynamic environment.
Theoretical Breakthrough
Our analysis utilizes a novel Lyapunov function and an "ODE Domination Lemma" to handle the heterogeneous step sizes: $O(k^{-1/2})$ for the actor and critic, and $O(k^{-1})$ for the STORM momentum. This mathematical framework allows us to prove that the proposed algorithm achieves the optimal $O(\epsilon^{-2})$ sample complexity.
Key Results and Insights
As shown in the comparison table above, our work achieves the optimal $O(\epsilon^{-2})$ rate while maintaining the practical single time-scale structure.
- Critic-Centric Variance Reduction: A key insight is that variance reduction is primarily needed for the critic. The actor's updates are naturally stable enough that momentum is not theoretically required there to reach the optimal rate.
- Faster Learning Rates: By stabilizing variance through STORM and the buffer, we can employ slower-decaying learning rates ($O(k^{-1/2})$) compared to the $O(k^{-2/3})$ required in previous work. This allows the algorithm to take larger steps for longer, accelerating convergence.
Conclusion
This work closes a major theoretical gap in reinforcement learning by showing that practical, single time-scale actor-critic algorithms can indeed reach the theoretical speed limit. The combination of STORM and a simple replay buffer provides a robust mechanism for variance control in non-stationary environments, offering both theoretical guarantees and a path toward more efficient deep RL implementations.
Summary updated