Abstract
Derivative-free optimization (DFO) is a critical tool for systems where explicit gradients are unavailable or computationally prohibitive to calculate. While Gaussian Smoothing (GS) is the standard approach for estimating gradients in these scenarios, the choice of a normal distribution is often arbitrary. This paper presents a generalized framework for random search that optimizes the perturbation distribution to minimize the Mean Squared Error (MSE) of gradient estimates. By introducing Bernoulli Smoothing (BeS) and a novel variance-reduction "shrinkage" technique, the researchers demonstrate that lower-kurtosis distributions and dimensionality-aware scaling lead to significantly faster convergence. Experimental results across reinforcement learning benchmarks and synthetic tasks show that these methods achieve a 3x to 10x speedup in computational efficiency over current state-of-the-art methods like Guided and Orthogonal Evolution Strategies.
Introduction
In many complex engineering and machine learning tasks, we encounter "black-box" functions where the mathematical formula for the gradient—the direction of steepest improvement—is unknown. Consider a search-and-rescue robot navigating uneven terrain; calculating the exact derivative of its success rate with respect to its joint actuators is nearly impossible.
This challenge is the domain of Derivative-Free Optimization (DFO). The most common technique, Gaussian Smoothing (GS), involves "poking" the system's parameters in random directions sampled from a normal distribution, observing the resulting change in performance, and using these samples to approximate a gradient. However, standard GS often suffers from high variance in its estimates, leading to slow and unstable convergence. While existing improvements like Guided Evolution Strategies (ES) or Orthogonal ES attempt to fix this by rotating the search directions, they introduce significant computational overhead. This research investigates whether simply changing the underlying distribution and applying statistical shrinkage can provide better results more efficiently.
Methodology
The core contribution of this work is the shift from treating the perturbation distribution as a fixed Gaussian to treating it as a variable to be optimized for accuracy. The authors prove that for non-convex functions, the speed of convergence is directly tied to the Mean Squared Error (MSE) of the gradient estimate. To minimize this MSE, they propose three primary innovations:
1. Bernoulli Smoothing (BeS)
Instead of sampling from a bell curve, BeS uses a standardized Bernoulli distribution, effectively flipping a coin to choose between -1 and 1 for each perturbation. The advantage lies in "kurtosis"—a measure of the "tailedness" of a distribution. While a Gaussian distribution has a kurtosis of 3, a Bernoulli distribution has the lowest possible kurtosis of 1. This lower kurtosis naturally results in a "cleaner," lower-variance gradient estimate.
2. The Shrinkage Factor
As the dimensionality ($d$) of a problem increases, gradient estimation error typically explodes. The authors derive a mathematical "shrinkage" factor: $L / (L + d + 1)$, where $L$ is the number of samples. By scaling the variance of the perturbations by this factor, the algorithm can maintain stable estimates even in high-dimensional spaces.
3. Proposed Algorithms
Combining these ideas, the researchers introduced GS-shrinkage (Gaussian smoothing with variance reduction) and BeS-shrinkage (Bernoulli smoothing with variance reduction). Crucially, these methods maintain a computational complexity of $O(Ld)$, making them as lightweight as standard GS and far faster than matrix-heavy alternatives.
Experimental Evaluation
The proposed methods were validated across three distinct benchmarking suites:
- Synthetic Linear Regression: This allowed for the precise measurement of MSE against known analytical gradients, confirming that shrinkage methods consistently produce more accurate estimates across various sample and batch sizes.
- Reinforcement Learning (MuJoCo & Meta-RL): The algorithms were tested on high-dimensional robotic tasks, including Ant, Walker2d, and HalfCheetah. These environments require complex locomotion and manipulation strategies.
- Nevergrad DFO Benchmarks: A standard library of noisy optimization problems (e.g., sphere, rosenbrock) was used to test the general robustness of the smoothing techniques.
Key Results and Insights
Superior Efficiency
In Reinforcement Learning tasks, the proposed methods were 3x to 10x faster per iteration than Orthogonal ES and Guided ES. By avoiding complex matrix operations and focusing on the distribution's shape, the authors achieved similar or better performance gains without the computational tax.
Faster Convergence
In the Ant and HalfCheetah environments, BeS-shrinkage and GS-shrinkage reached successful policies significantly faster than standard Gaussian Smoothing. BeS was found to be particularly effective at the start of optimization when gradients are large, while GS-shrinkage provided higher precision as the search approached an optimum.
Addressing the Dimensionality Trap
The mathematical application of the shrinkage factor proved essential for high-dimensional stability. It effectively countered the error growth that usually plagues random search as the number of parameters increases.
Conclusion and Future Work
This research demonstrates that the "Gaussian" in Gaussian Smoothing is not a requirement, but a variable. By selecting distributions with lower kurtosis and applying variance-reduction shrinkage, researchers can achieve state-of-the-art optimization performance with minimal computational overhead.
The authors acknowledge a subtle bias-variance tradeoff: while shrinkage reduces variance, it introduces a small amount of bias. Future research may explore adaptive distributions that transition between Bernoulli and Gaussian characteristics during the optimization process, or investigate non-IID (Independent and Identically Distributed) perturbations to further refine gradient precision.
Summary updated