Rethinking Exploration in Reinforcement Learning with Effective Metric-Based Exploration Bonus

Yiming Wang, Kaiyan Zhao, Furui Liu, Leong Hou U

TL;DR

EME (Effective Metric-based Exploration-bonus) is a novel reinforcement learning framework that improves how agents explore sparse-reward environments. By replacing brittle visit-counting methods and mathematically flawed approximations with a robust behavioral metric and a reward-ensemble scaling factor, EME achieves superior performance in complex tasks ranging from photorealistic indoor navigation to hard Atari games.

The Challenge of Sparse Rewards

In Reinforcement Learning (RL), agents often face "sparse reward" problems—imagine a robot trying to find a specific key in a massive house; it gets no feedback until it actually touches the key. To solve this, researchers use intrinsic rewards (exploration bonuses) to encourage agents to visit "novel" states.

Current methods for measuring novelty usually fall into two traps:

  1. The Counting Bottleneck: Methods like RIDE or NovelD rely on counting how many times an agent has seen a state. This fails in complex, high-dimensional environments (like vision-based tasks) where every camera frame is technically "unique" due to minor lighting changes or moving shadows.
  2. The Theory-Practice Gap: Advanced methods like LIBERTY use "bisimulation metrics" to link state differences to value differences. However, to make the math tractable, they often use relaxations (like switching from $L_1$ to $L_2$ norms) that break their own theoretical guarantees, leading to poor performance in truly difficult exploration tasks.

Furthermore, many agents suffer from the "Noisy-TV" problem, where they get distracted by random, task-irrelevant changes in the environment (like a TV flickering with static) because they perceive it as constant novelty.

The EME Approach

The authors introduce EME, which tackles these issues through two main innovations:

  • The EME Metric ($d_E$): Instead of using the computationally expensive Wasserstein distance (common in bisimulation), EME proposes a new distance function. It measures the difference in rewards, the distance between subsequent states, and—crucially—the Kullback–Leibler (KL) divergence between policy distributions. By looking at how the agent's behavior would differ between states, the agent learns to ignore "Noisy-TV" distractions that don't actually affect its decision-making.
  • Diversity-Enhanced Scaling Factor (DSF): To move away from visit-counting, EME uses an ensemble of reward models. During training, if the different models in the ensemble disagree on what the reward should be (high variance), it indicates the agent is in a novel, unexplored area. This variance is used to scale the exploration bonus dynamically.

The paper provides a rigorous theoretical proof that this metric converges to a unique fixed point and provides a guaranteed upper bound on the difference in state values, maintaining the theoretical integrity that previous methods sacrificed.

Key Insights and Results

The authors evaluated EME across a diverse set of benchmarks to prove its scalability, including Robosuite (continuous control), Atari Games (hard exploration), MiniGrid (procedurally generated with Noisy-TVs), and Habitat (photorealistic 3D navigation).

  • Behavioral Similarity over Pixel Similarity: By integrating policy KL-divergence into the metric, EME defines novelty based on how a state affects the agent's actions. This makes the agent much more robust to visual noise.
  • Ensembles as Uncertainty Quantifiers: Using the variance of a reward ensemble is a clever way to bypass the need for episodic state counts. It scales naturally to continuous and high-dimensional spaces where "counting" is impossible.

Performance Highlights

Efficiency in Continuous Control: In Robosuite, EME achieved the highest mean success rates across multiple tasks. This is particularly evident in the "Pick-and-Place" task, where it reached a ~0.6-0.8 success rate while most baselines stayed below 0.4.

Robosuite Success Rates

Superior Navigation: In the Habitat environment, EME explored a significantly larger portion of the map compared to baselines, which often got stuck in the first few rooms.

Habitat Navigation Trajectories

Robustness to Noise and Hard Exploration: In MiniGrid tasks with "Noisy-TV" distractions, EME maintained a high success rate while other metric-based methods saw their performance collapse. Furthermore, EME demonstrated faster convergence and higher average returns in challenging Atari games like Asterix and UpNDown.

Limitations and Future Work

While EME excels in sparse-reward and hard-exploration scenarios, the authors note that it does not consistently outperform baselines in environments where rewards are already dense (like some MuJoCo benchmarks). Additionally, the method has not yet been tested in environments with extremely large action spaces.

Future research directions include developing a more generalized version of EME that can adapt to a wider variety of RL environments and further refining the ensemble approach to reduce computational overhead.

Summary updated

BibTeX
@inproceedings{wang2024rethinking,
  author = {Yiming Wang and Kaiyan Zhao and Furui Liu and Leong Hou U},
  title = {{Rethinking Exploration in Reinforcement Learning with Effective Metric-Based Exploration Bonus}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=QpKWFLtZKi},
}
Figure