Abstract
In this paper, we propose a novel algorithm named STOchastic Recursive Momentum for Policy Gradient (STORM-PG), which operates a SARAH-type stochastic recursive variance-reduced policy gradient in an exponential moving average fashion. STORM-PG enjoys a provably sharp $O(1/\epsilon^3)$ sample complexity bound, matching the best-known convergence rate for policy gradient algorithms. Simultaneously, STORM-PG avoids the alternations between large and small batches common in comparable variance-reduced methods, allowing for considerably simpler parameter tuning. Numerical experiments demonstrate the superiority of STORM-PG over comparative policy gradient algorithms.
Introduction
Policy Gradient (PG) methods are fundamental to Reinforcement Learning (RL), yet they face two significant hurdles: high variance and distribution shift. Because RL agents learn from stochastic interactions, gradient estimates are often noisy. Furthermore, as an agent's policy evolves, the data distribution shifts, rendering older samples less relevant.
Traditional variance reduction techniques like SVRPG or SRVRPG attempt to mitigate these issues using a double-loop structure. These methods periodically pause to collect a massive "mega-batch" of data to reset gradient estimates. This "restarting mechanism" is computationally cumbersome and introduces complex hyperparameters that are difficult to tune.
STORM-PG: Stochastic Recursive Momentum
The core innovation of this work is the STORM-PG estimator. Instead of the traditional "stop-and-reset" approach, STORM-PG employs a recursive momentum update based on an Exponential Moving Average (EMA).
The update rule is defined as: $$g_{t+1} = (1-\alpha)[d_i(\xi_{t+1}) - d_i^{\xi_{t+1}}(\xi_t) + g_t] + \alpha d_i(\xi_{t+1})$$
By blending new gradient information with a running momentum term ($g_t$) using a decay factor ($\alpha$), the algorithm maintains a smooth gradient estimate without needing periodic resets. To account for distribution shift, importance sampling weights ($d_i^{\xi_{t+1}}$) are used to adjust previous gradient information to the current policy state.
Theoretical Comparison
STORM-PG achieves a state-of-the-art sample complexity of $O(\epsilon^{-3})$, which is the current "gold standard" for first-order non-convex optimization. Crucially, it achieves this in a single-loop fashion, as shown in the comparison below.
Experimental Results
The authors evaluated STORM-PG on classic continuous control benchmarks, including Cart-Pole and Mountain-Car, using the rllab library.
In the Cart-Pole task, STORM-PG demonstrated a significant speedup, reaching maximum rewards in approximately 500 trajectories. In contrast, the previous state-of-the-art (SRVRPG) required 1,500 trajectories, and the standard GPOMDP baseline took 3,000. Similar performance gains were observed in the Mountain-Car environment, where STORM-PG reached stability within 600 trajectories.
Conclusion
STORM-PG offers a powerful combination of theoretical optimality and practical simplicity. By eliminating the need for nested loops and massive periodic batches, it provides a more stable and user-friendly framework for training RL agents. Future work may explore the scalability of this recursive momentum approach to high-dimensional tasks such as Atari games or complex robotics.
Summary updated