Rényi State Entropy for Exploration Acceleration in Reinforcement Learning

Mingqi Yuan, Man-On Pun, Dong Wang · DOI

Introduction

In Deep Reinforcement Learning (RL), agents frequently encounter "sparse reward" environments where meaningful feedback from the environment is rare. To navigate these challenges, researchers often employ intrinsic rewards—a form of artificial "curiosity" designed to encourage agents to explore novel states. However, existing exploration methods face two significant hurdles: the "vanishing reward" problem, where intrinsic motivation decays before an environment is mastered, and high computational complexity due to fragile auxiliary models.

This paper introduces RISE (Rényi State Entropy maximization), a novel framework that provides a sustainable and aggressive exploration incentive. By leveraging Rényi entropy and a $k$-nearest neighbor ($k$-NN) estimator, RISE offers a mathematically grounded approach that outperforms state-of-the-art methods in both discrete and continuous environments.

Methodology

The RISE framework shifts the objective from standard Shannon entropy to Rényi entropy for state distribution maximization. The core architecture consists of three distinct phases designed to produce a robust intrinsic reward signal.

The RISE framework: (a) VAE training for latent representation, (b) automated k-value searching, and (c) intrinsic reward generation using k-NN distance.
  1. VAE for Robust Encoding: To process high-dimensional pixel inputs (such as Atari games), RISE utilizes a Variational Autoencoder (VAE) to map observations into a low-dimensional latent space. This approach is more stable than the random encoders often used in fast-exploration literature.
  2. $k$-value Search: The accuracy of entropy estimation is sensitive to the choice of $k$. RISE includes an automated search algorithm that identifies the optimal $k$ by minimizing the variance of entropy estimates across data subsets.
  3. $k$-NN Estimator: Rather than training a complex density model, RISE calculates the distance between a state and its $k$-th nearest neighbor in the latent space. A larger distance indicates a more novel state, resulting in a higher intrinsic reward.

Theoretical Insights: The "Aggression" of Rényi Entropy

A key contribution of this work is the demonstration that Rényi entropy, governed by the parameter $\alpha$, is superior to Shannon entropy for solving the "Coupon Collector’s Problem" (the goal of visiting every possible state).

Comparison of Shannon entropy H(d) and Rényi entropy H_alpha(d) for various alpha. Higher alpha values provide a more aggressive exploration signal.

As shown in the contour plots above, adjusting $\alpha$ allows the agent to become more "aggressive" in seeking out states with low probabilities. Rényi entropy penalizes small probabilities more heavily than Shannon entropy, preventing the agent from losing interest in exploration prematurely. Furthermore, the authors prove that RISE generalizes previous state-entropy methods, such as RE3, which can be viewed as a specific case within the Rényi framework.

Experimental Results

The authors evaluated RISE across three diverse benchmarks:

  • Maze2D: In grid-based navigation, RISE visited all possible states significantly faster than baselines.
  • Atari Games: Across nine classic games (e.g., Assault, Riverraid), RISE achieved the highest average return in every instance. In Riverraid, RISE scored approximately 10.07k, notably higher than PPO (7.99k) and RE3 (8.14k).
  • PyBullet: In continuous control tasks like Ant and Humanoid, RISE consistently outperformed competitors, proving its efficacy beyond discrete action spaces.

Crucially, RISE maintains high computational efficiency. By using $k$-NN on VAE embeddings, it achieves a "sweet spot"—it is faster than methods requiring direct density estimation while remaining more accurate than those using untrained random encoders.

Conclusion

RISE addresses the limitations of current exploration strategies by providing a flexible, entropy-based reward signal that does not vanish prematurely. While the current implementation requires a multi-phase approach for encoder training and $k$-value searching, its performance gains across varied domains suggest it is a powerful tool for sparse-reward RL. Future research may focus on online adaptations of the $k$-value search to further streamline the architecture.

Summary updated

BibTeX
@article{yuan2023renyi,
  author = {Mingqi Yuan and Man-On Pun and Dong Wang},
  title = {{Rényi State Entropy for Exploration Acceleration in Reinforcement Learning}},
  journal = {IEEE Trans. Artif. Intell.},
  year = {2023},
  url = {https://openreview.net/forum?id=lcbNhabPd8},
}
Figure