Sparse Reward Exploration via Novelty Search and Emitters

Giuseppe Paolo, Alexandre Coninx, Stéphane Doncieux, Alban Laflaquière

Abstract

Reward-based optimization algorithms require both exploration, to find rewards, and exploitation, to maximize performance. The need for efficient exploration is even more significant in sparse reward settings, in which performance feedback is given sparingly, thus rendering it unsuitable for guiding the search process. In this work, we introduce the SparsE Reward Exploration via Novelty and Emitters (SERENE) algorithm, capable of efficiently exploring a search space, as well as optimizing rewards found in potentially disparate areas. Contrary to existing emitters-based approaches, SERENE separates the search space exploration and reward exploitation into two alternating processes. The first process performs exploration through Novelty Search, a divergent search algorithm. The second one exploits discovered reward areas through emitters, i.e. local instances of population-based optimization algorithms. A meta-scheduler allocates a global computational budget by alternating between the two processes, ensuring the discovery and efficient exploitation of disjoint reward areas. SERENE returns both a collection of diverse solutions covering the search space and a collection of high-performing solutions for each distinct reward area. We evaluate SERENE on various sparse reward environments and show it compares favorably to existing baselines.

Introduction

In many real-world reinforcement learning (RL) scenarios, rewards are "sparse." Imagine a robotic arm tasked with pushing a ball into a tiny hole; it receives a reward of 1 if it succeeds and 0 for every other movement. Standard RL agents, which rely on a continuous trail of "breadcrumb" rewards to learn, often fail in these settings because they spend excessive time wandering aimlessly without ever encountering a success signal.

Existing solutions like Quality-Diversity (QD) algorithms attempt to solve this by seeking a wide variety of behaviors. However, many current methods, such as CMA-ME, attempt to explore and exploit simultaneously using "emitters"—local optimization routines. In extremely sparse settings, these emitters often become "distracted" by trying to balance both objectives, leading to inefficient search or getting stuck in a single reward area while missing others.

Methodology: The SERENE Algorithm

SERENE (SparsE Reward Exploration via Novelty and Emitters) addresses these challenges by explicitly decoupling exploration from exploitation. The algorithm treats these as two distinct, alternating phases managed by a meta-scheduler.

High-level architecture of SERENE, showing the meta-scheduler alternating between exploration and exploitation.

Core Components

  1. Exploration Phase: This phase utilizes Novelty Search (NS). NS ignores rewards entirely, instead pushing the agent to reach new, unexplored parts of the "behavior space" (e.g., different final positions of a robot). This ensures broad coverage of the environment.
  2. Exploitation Phase: When the exploration phase happens to find a rewarding area, SERENE spawns Emitters. These are local, population-based evolutionary algorithms dedicated solely to maximizing the reward in that specific neighborhood.
  3. The Meta-Scheduler: This is the "brain" that divides the total computational budget into chunks. It decides when to switch back to exploration to ensure the agent doesn't stop looking for new reward zones just because it found one.
  4. Pareto Selection: To decide which emitter to run, SERENE looks at both the improvement potential (how much the reward is increasing) and novelty (how unique the area is). This prevents the algorithm from obsessing over the "easiest" reward and encourages it to master all discovered zones.

Experimental Setup

The researchers evaluated SERENE on four challenging sparse-reward environments designed to test an agent's ability to handle high-dimensional controls and find multiple, physically separated reward sources.

The four sparse-reward environments used for evaluation: Curling, Hard Maze, Redundant Arm, and Robotic Ant Maze.
  • Curling: A 2-DoF robotic arm pushing a ball into one of two goal areas.
  • Hard Maze: A mobile robot navigating a complex maze to reach two distinct reward zones.
  • Redundant Arm: A high-dimensional 20-DoF arm that must reach three different colored goals.
  • Robotic Ant Maze: A 4-legged "ant" robot navigating a maze to reach two goal centers.

Key Results and Insights

SERENE consistently outperformed baselines like MAP-Elites, CMA-ME, and NSGA-II across several metrics:

  • Optimization Speed: In the Curling and Redundant Arm tasks, SERENE reached maximum rewards in less than $10^5$ evaluations, significantly faster than MAP-Elites.
  • Global Coverage: SERENE maintained an exploration capacity comparable to pure Novelty Search (the gold standard for exploration) while achieving much higher reward values.
  • Multi-Objective Success: In environments with multiple reward zones (like the Hard Maze), SERENE was often the only algorithm capable of finding and fully optimizing all available reward areas. Baselines often found one area and then "collapsed" their search onto it, ignoring the rest of the world.

The success of SERENE stems from its separation of concerns. By letting Novelty Search focus purely on diversity, the agent covers the environment more effectively. Furthermore, the bootstrapping step—a short evaluation of an area's potential before committing a full budget—prevents wasting resources on "dead-end" reward zones.

Conclusion and Future Work

While SERENE shows significant promise, it currently relies on a hand-designed "behavior space" to define novelty. Future work involves using deep learning to automatically learn these behavior descriptors from raw data. Additionally, the authors suggest that "plugging in" different types of emitters (like gradient-based ones) could make the algorithm even more powerful for specific tasks.

Summary updated

Abstract

Reward-based optimization algorithms require both exploration, to find rewards, and exploitation, to maximize performance. The need for efficient exploration is even more significant in sparse reward settings, in which performance feedback is given sparingly, thus rendering it unsuitable for guiding the search process. In this work, we introduce the SparsE Reward Exploration via Novelty and Emitters (SERENE) algorithm, capable of efficiently exploring a search space, as well as optimizing rewards found in potentially disparate areas. Contrary to existing emitters-based approaches, SERENE separates the search space exploration and reward exploitation into two alternating processes. The first process performs exploration through Novelty Search, a divergent search algorithm. The second one exploits discovered reward areas through emitters, i.e. local instances of population-based optimization algorithms. A meta-scheduler allocates a global computational budget by alternating between the two processes, ensuring the discovery and efficient exploitation of disjoint reward areas. SERENE returns both a collection of diverse solutions covering the search space and a collection of high-performing solutions for each distinct reward area. We evaluate SERENE on various sparse reward environments and show it compares favorably to existing baselines.
BibTeX
@inproceedings{paolo2021sparse,
  author = {Giuseppe Paolo and Alexandre Coninx and Stéphane Doncieux and Alban Laflaquière},
  title = {{Sparse Reward Exploration via Novelty Search and Emitters}},
  booktitle = {GECCO},
  year = {2021},
  url = {https://openreview.net/forum?id=tLFrnzip0iW},
}
Figure