Introduction
In many real-world scenarios—such as training robots in a simulator or optimizing complex chemical processes—we lack access to the gradient (the "slope") of the function we are trying to minimize. This constraint defines the Derivative-Free Optimization (DFO) or "zeroth-order" setting.
While first-order methods (which utilize gradients) have long benefited from momentum to accelerate convergence and navigate tricky optimization landscapes, applying momentum to DFO is non-trivial. Previous DFO methods were often slow, particularly in high-dimensional spaces. The core challenge addressed in this paper is creating a method that retains the simplicity and robustness of the Stochastic Three-Point (STP) method while unlocking the acceleration benefits of momentum, all backed by rigorous mathematical convergence proofs.
To solve this, the authors introduce SMTP (Stochastic Momentum Three Points), the first DFO method to successfully integrate "heavy ball" momentum with theoretical convergence guarantees. By combining a simple three-point evaluation strategy with momentum and importance sampling, SMTP achieves state-of-the-art performance on complex reinforcement learning benchmarks.
The SMTP and SMTP_IS Algorithms
The authors propose two primary algorithmic variants:
- SMTP (Stochastic Momentum Three Points): Building on the foundational STP method, SMTP does not simply look at the current point $x_k$. Instead, it picks a random direction $s_k$ and evaluates the function at three distinct points: the current point, a step forward ($x_k + \alpha s_k$), and a step backward ($x_k - \alpha s_k$). The critical innovation is the addition of a heavy ball momentum term, which utilizes a moving average of previous directions to inform the current step, smoothing out the noise from random sampling.
- SMTP_IS (SMTP with Importance Sampling): This variant is tailored for scenarios where some dimensions of the problem are "smoother" than others. By sampling directions with probabilities proportional to coordinate-wise Lipschitz constants ($L_i$), the algorithm focuses its computational effort where it is most effective, further accelerating convergence.
Theoretical Guarantees and Complexity
Proving convergence for momentum methods is notoriously difficult. The authors overcome this by using a "virtual iterates" analysis technique—a mathematical construct combining the current position and velocity. This allows them to provide the first-ever complexity results for a momentum-based DFO method.
As shown in the complexity table, the authors establish rigorous bounds for both SMTP and SMTP_IS across non-convex, convex, and strongly convex functions, proving that the momentum addition is theoretically sound.
Experimental Results
The algorithms were rigorously evaluated on the MuJoCo (Multi-Joint dynamics with Contact) suite, a standard benchmark for continuous control in reinforcement learning. The test environments included Swimmer-v1, Hopper-v1, HalfCheetah-v1, Ant-v1, and Humanoid-v1.
The performance gains, especially in high-dimensional tasks, were dramatic:
- Humanoid-v1: As the most complex task in the set, SMTP reached the target reward threshold in approximately 161,230 episodes. In stark contrast, the original STP method failed to reach the threshold entirely, and even the importance-sampled version (STP_IS) required over 530,000 episodes.
- Efficiency: In the Ant-v1 environment, SMTP proved to be roughly 5x faster than the standard STP method.
- State-of-the-Art Performance: SMTP consistently outperformed other high-performing DFO methods like ARS (Augmented Random Search) and classical policy gradient methods like TRPO (Trust Region Policy Optimization) across most MuJoCo environments.
Limitations and Future Directions
While SMTP represents a significant leap forward for DFO, the authors note a few limitations:
- Hyperparameter Sensitivity: Like most momentum methods, SMTP introduces a new momentum parameter ($\beta$) that requires tuning. While $\beta=0.5$ worked well in their empirical tests, the optimal value is likely task-dependent.
- Coordinate-wise Smoothness: SMTP_IS requires knowing or estimating the Lipschitz constants $L_i$. In their experiments, a neural network was used to estimate these, adding computational overhead.
- Directional Constraints: The current implementation of importance sampling is largely tied to the canonical basis (coordinate directions). Extending this framework to more general, arbitrary directions while maintaining the benefits of importance sampling remains an exciting path for future research.
Summary updated