Proximal evolutionary strategy: improving deep reinforcement learning through evolutionary policy optimization

Yiming Peng, Gang Chen, Mengjie Zhang, Bing Xue

Abstract

Deep Reinforcement Learning (DRL) has traditionally been dominated by two paradigms: Policy Gradient Search (PGS) and Evolutionary Algorithms (EAs). While PGS offers high sample efficiency through gradient-based optimization, EAs provide robust global exploration and reduced sensitivity to hyperparameters. However, EAs have historically struggled with high computational complexity and poor sample efficiency in high-dimensional parameter spaces. This paper introduces Proximal Evolutionary Strategy (PES), a hybrid algorithm that bridges the gap between these two approaches. By combining layer-wise training, surrogate fitness models, and gradient-based local search, PES achieves state-of-the-art performance across various continuous control benchmarks while maintaining the exploratory benefits of evolutionary methods.

Introduction

In the landscape of DRL, algorithms like Proximal Policy Optimization (PPO) and Trust Region Policy Optimization (TRPO) have become standard due to their ability to efficiently navigate complex reward landscapes using backpropagation. In contrast, Evolutionary Strategies (ES) treat the neural network as a genome, evolving a population of solutions. Despite their robustness, EAs face three significant challenges:

  1. Computational Complexity: Algorithms such as CMA-ES exhibit $O(n^2)$ complexity relative to the number of parameters, making them impractical for deep networks.
  2. Sample Inefficiency: EAs typically require vast amounts of environment interaction as they often fail to reuse historical data effectively.
  3. Optimization Precision: Stochastic search often lacks the fine-grained precision required to optimize millions of weights for intricate tasks.

PES addresses these limitations through a three-stage architectural framework designed to make evolutionary DRL a competitive alternative to pure gradient-based methods.

Methodology

The development of PES follows an incremental strategy to resolve the inherent weaknesses of traditional ES.

PES-S1: Layer-wise Learning and Sparse Selection

To overcome the $O(n^2)$ complexity of CMA-ES, PES-S1 employs a "divide-and-conquer" approach. Instead of optimizing the entire network simultaneously, the algorithm evolves only one layer at a time while keeping the others frozen. To further reduce the search space, PES utilizes an $\epsilon$-greedy uniform random selection mechanism. This process selects only a sparse subset of weights within the active layer for evolution in each iteration, ensuring the covariance matrix remains manageable and the search remains computationally efficient.

Figure 1: The PES-S1 framework illustrating layer-wise evolution and sparse weight selection across learning iterations.

PES-S2: Surrogate Fitness Modeling

To address sample complexity, PES-S2 incorporates a surrogate model inspired by the proximal performance lower bound used in PPO. Rather than executing a full environment simulation for every individual in a population, PES builds a surrogate model that estimates fitness based on importance sampling from historical data. This allows the algorithm to evaluate many candidate policies using the same batch of experience, significantly reducing the number of required environment interactions.

Finally, PES-S3 introduces a local search phase to improve learning effectiveness. Once the evolutionary process identifies a promising region in the policy space, a gradient-based "polishing" step is applied. Using PPO-style gradients, the best-performing individual is refined, ensuring that the final policy achieves the high precision necessary for complex control tasks.

Experimental Evaluation

The PES algorithm was rigorously tested on ten continuous control benchmarks from OpenAI Gym and PyBullet, ranging from simple tasks like the Inverted Pendulum to highly complex environments like Bipedal Walker Hardcore and HalfCheetah.

Key Results

  • Efficiency Gains: Empirical results confirm that PES-S1 is approximately $4h$ times more computationally efficient than standard CMA-ES, where $h$ represents the number of layers in the network.
  • Sample Reuse: By leveraging surrogate models, PES-S2 demonstrated sample efficiency comparable to PPO, outperforming other evolutionary baselines like OpenAI-ES and Uber-GA.
  • Superior Performance: The complete PES-S3 framework outperformed state-of-the-art algorithms, including PPO, TRPO, and ACKTR, on several challenging tasks. Notably, on the "Bipedal Walker Hardcore" benchmark, PES maintained steady progress where other algorithms frequently stalled or exhibited high variance.

Discussion and Conclusion

PES represents a significant step forward in hybrid DRL. By treating EAs and PGS as complementary tools—using evolution for global exploration and gradients for local refinement—PES achieves a balance of robustness and efficiency. The use of sparse updates and layer-wise training proves that high-dimensional neural networks can be evolved without the prohibitive costs traditionally associated with CMA-ES.

Future work will focus on scaling PES to pixel-based inputs, such as Atari games, and exploring automated hyperparameter tuning to further streamline the hybrid optimization process. As it stands, PES offers a powerful new framework for researchers seeking the exploratory benefits of evolution without sacrificing the performance of modern deep learning.

Summary updated

BibTeX
@article{peng2024proximal,
  author = {Yiming Peng and Gang Chen and Mengjie Zhang and Bing Xue},
  title = {{Proximal evolutionary strategy: improving deep reinforcement learning through evolutionary policy optimization}},
  journal = {Memetic Comput.},
  year = {2024},
  doi = {10.1007/s12293-024-00419-1},
}
Figure