TL;DR
This paper argues that Evolution Strategies (ES), when used with a sufficiently large perturbation variance, are more than just a noisy gradient estimator. They actively seek out parameter regions that are robust to perturbations, a property that can lead to qualitatively different and potentially more stable solutions compared to traditional gradient descent methods. This robustness-seeking behavior is demonstrated in both simple fitness landscapes and a complex humanoid locomotion task.
What Problem Does This Paper Address?
Deep reinforcement learning (RL) often relies on gradient-based methods to train neural network policies. While Evolution Strategies (ES) have recently shown promise in these domains, their similarity to finite-difference (FD) gradient estimation has led some to view them as merely a noisy, albeit scalable, approximation of gradient descent. This paper questions this interpretation, proposing that ES, particularly with a non-trivial perturbation variance, optimizes for a different objective: the average performance across a distribution of parameters, not just the performance at a single point. This difference, the authors argue, drives ES towards parameter settings that are robust to perturbations, a property that might be overlooked if ES is solely viewed through the lens of FD.
Methods
The core of the paper lies in contrasting ES with traditional finite-difference (FD) gradient estimation.
- Finite Differences (FD): This method estimates the gradient of a function by evaluating it at points slightly perturbed from the current parameter setting. The paper uses a standard central difference estimator for simplicity.
- Evolution Strategies (ES): The ES variant discussed (based on Salimans et al. [21]) works by:
- Sampling multiple parameter vectors from a distribution (typically Gaussian) centered around the current best parameters.
- Evaluating the performance of each sampled parameter vector.
-
Aggregating this performance information to estimate a "search gradient" that updates the distribution's mean. Crucially, the paper focuses on ES with a fixed, non-zero variance for its search distribution. This fixed variance is key to its robustness-seeking behavior.
-
Comparison Methods:
- Genetic Algorithm (GA): Used as a control, employing a similar mutation operator to ES but with a different objective function.
- Trust Region Policy Optimization (TRPO): A state-of-the-art gradient-based RL algorithm, used to compare the robustness of solutions found by gradient descent versus ES.
Datasets
The paper uses synthetic fitness landscapes for initial demonstrations and then evaluates its findings on the Humanoid Locomotion RL benchmark using the Mujoco physics simulator. This benchmark involves training a neural network to control a simulated humanoid robot to achieve a fast, energy-efficient gait.
Key Insights and Ideas
- ES as a Robustness Seeker: The most significant insight is that ES, with a sufficiently large perturbation variance, actively seeks parameter regions that perform well even when parameters are slightly perturbed. This is a direct consequence of optimizing the expected performance over a distribution, rather than performance at a single point.
- Divergence from FD: While ES can resemble FD, especially with very small perturbation variances, its objective function fundamentally differs. This difference allows ES to explore "robust areas" of the search space that might be missed by point-based gradient methods.
- Domain-Dependent Utility: The paper highlights that the "robustness-seeking" property of ES is not universally superior. In landscapes like "Narrowing Path," where precision is paramount, low-variance ES or FD might be more effective. However, in landscapes like "Fleeting Peaks," where avoiding local optima is key, high-variance ES excels.
- Implications for Deep RL: The robustness observed in the Humanoid Locomotion task suggests that ES-trained policies might be more stable and less susceptible to noise or minor variations in their parameters, which is a desirable trait in complex, stochastic environments.
Key Results
- Fitness Landscapes:
- In the "Donut" landscape, high-variance ES centers its distribution in a low-fitness area to avoid the donut hole, demonstrating it optimizes for expected performance. Lower variance ES and FD converge to the edge of the donut hole.
- In the "Narrowing Path" landscape, high-variance ES struggles to follow the path, while FD successfully navigates it. Lower variance ES performs better.
- In the "Fleeting Peaks" landscape, high-variance ES ignores local optima to reach the global optimum, while low-variance ES and FD get stuck.
- In the "Gradient Gap" landscape, high-variance ES can cross a zero-fitness gap, showcasing its ability to "look ahead" based on distributional information, a feat that FD (even with momentum) struggles to achieve intelligently.
- Humanoid Locomotion:
- Policies trained with ES were found to be significantly more robust to parameter perturbations than those trained with GA or TRPO, as measured by the ratio of median perturbed performance to unperturbed performance.
- ES achieved a robustness score of 0.5 (median perturbation performed half as well as unperturbed) compared to GA and TRPO, which showed much lower robustness.
- TRPO, while not as robust as ES, was still significantly more robust than the GA.
Limitations and Future Work
- Robustness vs. Evolvability: The paper acknowledges that the drive for robustness might sometimes come at the expense of evolvability, especially in full Natural Evolution Strategies (NES) where variance is also optimized.
- Domain Dependence: The effectiveness of high-variance ES is shown to be domain-dependent. Future work could explore understanding when robustness is most beneficial and how to balance it with other search objectives.
- Abstracting Robustness: The authors suggest investigating whether ES's mechanism for generating robustness can be abstracted and applied to more traditional EAs.
- Connection to Other Methods: The paper raises questions about how ES's robustness-seeking relates to other algorithms like gradient Langevin dynamics and how to modify existing methods to incorporate robustness.
- Compressibility: The paper speculates that robustness might imply compressibility of network weights, an area for future exploration.
Summary updated