EvoRainbow: Combining Improvements in Evolutionary Reinforcement Learning for Policy Search

Pengyi Li, Yan Zheng, Hongyao Tang, Xian Fu, Jianye Hao

TL;DR

EvoRainbow is a comprehensive framework that systematically identifies and combines the most effective mechanisms for Evolutionary Reinforcement Learning (ERL). By integrating the best-performing strategies for interaction, architecture, and optimization, the authors developed two new algorithms—EvoRainbow and EvoRainbow-Exp—that achieve state-of-the-art performance across 20 diverse tasks, ranging from robotic locomotion to deceptive mazes.

The Challenge: Merging Two Powerful Paradigms

Reinforcement Learning (RL) is highly sample-efficient but often gets stuck in local optima or struggles with exploration in sparse-reward environments. Evolutionary Algorithms (EAs) are robust and excellent at exploration but are notoriously sample-hungry. Combining them into "Evolutionary Reinforcement Learning" (ERL) seems like a natural win-win.

However, the ERL field has become a fragmented landscape of different "mechanisms"—different ways to let the EA and RL components interact. Until now, it was unclear which of these mechanisms were actually complementary and which were redundant or even detrimental when combined. Furthermore, most existing research has focused heavily on "dense reward" tasks (where the agent gets constant feedback), leaving it unclear how these hybrid methods perform in "sparse" or "deceptive" environments where the path to success isn't obvious.

Deconstructing ERL: A Five-Perspective Analysis

To find the optimal combination, the authors revisited ERL through five critical perspectives:

  1. Interaction Mode: They compared whether the EA and RL should run in parallel, or if one should "master" the other. They found that Parallel Mode—where both influence each other simultaneously—is the most robust.
  2. Individual Architecture: They tested Private Architectures (each individual in the population has its own network) against Shared Architectures (individuals share a state representation).
  3. EAs and Operators: They compared various Genetic Algorithm (GA) variants against the Cross-Entropy Method (CEM), finding CEM to be generally superior due to its adaptive search capabilities.
  4. Impact of EA on RL: They evaluated how the EA population should update the RL agent, identifying Genetic Soft Update as a key driver for performance.
  5. Fitness Surrogates: They explored using the RL "Critic" (the value function) to estimate the fitness of the EA population without needing extra environment interactions, which significantly boosts sample efficiency.

From these findings, they built two distinct versions of their algorithm:

  • EvoRainbow: Optimized for general tasks using shared architectures and fitness surrogates.
  • EvoRainbow-Exp: Optimized for exploration-heavy tasks using private architectures to prevent representation collapse.

Experimental Setup

The authors evaluated their methods on a massive suite of 20 tasks categorized by their reward characteristics:

  • Locomotion (MuJoCo): Humanoid, Ant, Walker, and Swimmer (High-dimensional, dense rewards).
  • MinAtar: Atari-inspired games like Breakout, Freeway, and Space Invaders.
  • Maze Tasks: Ant Maze, Trap Maze, Wall Task, and Large Maze. These are specifically chosen for their sparse or deceptive rewards, which are traditional "RL-killers."
  • Manipulation (MetaWorld): 8 robotic arm tasks including Soccer, Sweep Into, and Coffee Push.

Key Insights

  • The Shared Representation Trap: While sharing a state representation across the population makes learning much faster in standard tasks, it fails miserably in deceptive mazes. In these environments, value function estimates become inaccurate, causing the shared representation to "collapse" and hindering exploration.
  • Parallelism is Default: The paper argues that Parallel Mode should be the default for future ERL research. It ensures the exploration capability of the EA and the learning efficiency of RL are both fully utilized.
  • CEM Outperforms GA: The Cross-Entropy Method's ability to model the solution space with a Gaussian distribution and adapt its covariance matrix makes it much more efficient than traditional Genetic Algorithms for policy search.
  • Surrogates are Risky for Exploration: Using a "Critic" to guess fitness saves time but can lead to "performance collapse" in exploration tasks. If the surrogate signal is inaccurate, it might discard the very "elite" individuals needed to solve a hard maze.

Results: State-of-the-Art Performance

EvoRainbow and EvoRainbow-Exp consistently outperformed strong baselines like ERL, PDERL, and CEM-RL, as well as pure RL algorithms like SAC and TD3 across all tested domains.

Performance comparison of EvoRainbow and EvoRainbow-Exp against baselines across Locomotion, Maze Tasks, MinAtar, and Manipulation domains.
  • Locomotion & Manipulation: EvoRainbow achieved significantly higher scores and success rates than TD3 and previous ERL methods.
  • Exploration (Mazes): In environments where standard RL fails completely, EvoRainbow-Exp successfully reached the target by maintaining a diverse population without relying on potentially misleading surrogate fitness models.
  • Efficiency: By using fitness surrogates in general tasks, EvoRainbow reached peak performance with far fewer environment samples than previous hybrid methods.

Limitations and Future Work

The authors acknowledge that their step-by-step analysis might miss some complex interactions between all possible combinations of mechanisms. Furthermore, they haven't yet found a single "one-size-fits-all" framework; users currently have to choose between the standard EvoRainbow and the "Exp" version based on whether their task has sparse rewards.

Future research directions include developing more robust shared representations that don't collapse in sparse environments and exploring even more advanced evolutionary operators beyond CEM.

Summary updated

BibTeX
@inproceedings{li2024evorainbow,
  author = {Pengyi Li and YAN ZHENG and Hongyao Tang and Xian Fu and Jianye HAO},
  title = {{EvoRainbow: Combining Improvements in Evolutionary Reinforcement Learning for Policy Search}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=75Hes6Zse4},
}
Figure