Improving Exploration in Evolution Strategies for Deep Reinforcement Learning via a Population of Novelty-Seeking Agents

Edoardo Conti, Vashisht Madhavan, Felipe Petroski Such, Joel Lehman, Kenneth O. Stanley, Jeff Clune

This paper from Uber AI Labs presents a significant step forward in making Evolution Strategies (ES) a more robust tool for Deep Reinforcement Learning (RL). By borrowing concepts from the field of neuroevolution—specifically Novelty Search and Quality Diversity—the authors provide a way for ES to "explore" its way out of the local optima that frequently plague standard RL algorithms.

The Challenge: Sparsity and Deceptiveness

Reinforcement Learning agents often face two major hurdles in complex environments:

  • Sparsity: The agent receives no reward for long periods, leaving it with no gradient to follow toward a solution.
  • Deceptiveness: A local optimum appears attractive but prevents the agent from finding the global maximum. For example, a robot might walk directly into a wall because it represents the shortest linear path toward a goal, getting permanently stuck.

While standard Deep RL methods (like PPO or DQN) rely on "dithering"—adding random noise to actions—this is often insufficient for deep, directed exploration. Evolution Strategies (ES) are popular because they are highly parallelizable and fast, but they suffer from the same lack of directed exploration. This paper aims to give ES a "sense of curiosity" to overcome these traps.

Introducing Directed Exploration to ES

The researchers introduce three main algorithmic variants to inject exploration into ES:

  1. NS-ES (Novelty Search ES): Instead of optimizing for reward, the agent optimizes for novelty. It maintains an archive of past behaviors and uses a "Behavior Characterization" (BC)—a compact description of what the agent did (e.g., its final coordinates). The agent's fitness is determined by how different its behavior is from the $k$-nearest neighbors in the archive.
  2. NSR-ES (Novelty-Reward ES): A "Quality Diversity" approach that averages normalized reward and novelty scores. This encourages agents to be both high-performing and unique.
  3. NSRA-ES (NS-Reward-Adaptive ES): The most sophisticated version. It starts by optimizing for reward. If performance plateaus, it automatically increases the weight of the novelty signal to "kick" the agent out of a potential local optimum.

Key Innovation: The authors utilize a meta-population of agents. Instead of one agent trying to be novel, a population of agents explores different areas of the behavior space simultaneously, preventing the entire system from getting stuck in a single niche.

Environments and Performance

The algorithms were evaluated on several tasks, most notably a modified MuJoCo Humanoid Locomotion environment and a custom Deceptive Humanoid Trap. In the trap environment, a U-shaped wall is placed in front of the robot. To reach the goal, the robot must first walk away from the goal to go around the wall.

Environments and learning curves for the Humanoid Locomotion and Deceptive Trap tasks.

In the Humanoid Trap task, standard ES failed 100% of the time, getting stuck in the U-shaped wall. Conversely, NS-ES, NSR-ES, and NSRA-ES all successfully learned to navigate around the trap.

The algorithms were also tested on 12 Atari 2600 games chosen for their varying levels of deceptiveness. NSRA-ES outperformed standard ES on 8 out of 12 games. In games like Frostbite and Seaquest, the performance gains were massive. For instance, in Seaquest, standard ES agents often learn to stay at the bottom of the ocean to shoot fish, eventually running out of oxygen and dying—a classic local optimum. NS-ES variants successfully learn that "coming up for air" is a novel behavior, unlocking much higher scores.

Visualizing Exploration

The paper demonstrates that you can calculate a "gradient of novelty" in the high-dimensional parameter space of a neural network. This allows ES to move toward unexplored behaviors just as it would move toward higher rewards.

Behavioral exploration plots showing how novelty-seeking variants avoid getting stuck compared to standard ES.

By maintaining multiple lineages (the meta-population), the algorithm avoids the "cycling" problem where a single agent might just oscillate between two different novel behaviors. The scatter plots of agent behaviors clearly show how standard ES collapses into a single point (the trap), while the novelty-seeking variants spread out to explore the space and find the true goal.

Scalability and Future Work

Crucially, the authors maintained the core advantage of ES: scalability. Their experiments ran in roughly two hours on a distributed cluster, whereas traditional RL methods like A3C often require days of training for similar results.

While promising, the approach has limitations. Currently, the "Behavior Characterization" must be hand-designed (e.g., using RAM states or coordinates). Future work could involve learning these characterizations directly from pixels using autoencoders. Additionally, the adaptive weighting in NSRA-ES introduces new hyperparameters that may require tuning. Ultimately, this paper proves that "multiple simultaneous paths of exploration" is a powerful concept that could potentially be hybridized with other gradient-based RL algorithms in the future.

Summary updated

BibTeX
@inproceedings{conti2018improving,
  author = {Edoardo Conti and Vashisht Madhavan and Felipe Petroski Such and Joel Lehman and Kenneth O. Stanley and Jeff Clune},
  title = {{Improving Exploration in Evolution Strategies for Deep Reinforcement Learning via a Population of Novelty-Seeking Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=BJViu_b_bB},
}
Figure