Exploration by Random Distribution Distillation

Zhirui Fang, Kai Yang, Jian Tao, Jiafei Lyu, Lusong Li, Li Shen, Xiu LiarXiv 2025 · DOI

Abstract

Exploration remains a fundamental challenge in reinforcement learning, particularly in environments with sparse rewards. While count-based methods offer theoretical guarantees, they struggle with high-dimensional state spaces. Conversely, prediction-error methods like Random Network Distillation (RND) scale well but lack a direct connection to visitation counts. This paper introduces Random Distribution Distillation (RDD), a method that bridges this gap by training a predictor to approximate samples from a target normal distribution. We demonstrate that RDD provides a consistent estimator for state visitation counts, offering a robust and theoretically grounded intrinsic reward. Empirical evaluations across Atari and robotic manipulation tasks show that RDD significantly outperforms existing exploration baselines.

Introduction

In sparse-reward environments, agents receive feedback only upon reaching distant goals, making random exploration highly inefficient. To address this, intrinsic motivation—often termed "curiosity"—is used to reward agents for visiting novel states. Traditional approaches are divided into count-based methods, which are theoretically sound but computationally expensive in large state spaces, and prediction-error methods, which are scalable but often heuristic.

Random Distribution Distillation (RDD) unifies these approaches. By distilling a distribution rather than a fixed point, RDD creates an intrinsic reward that naturally approximates the reciprocal of state visitation counts ($1/n$), providing the scalability of neural networks with the mathematical rigor of count-based exploration.

Methodology: Distilling Random Distributions

The core of RDD lies in its target network. Unlike RND, where the target network is fixed, RDD defines the target as a random variable sampled from a normal distribution $N(\mu, \sigma^2)$ for each state $s$. A predictor network $f_\theta(s)$ is trained to minimize the mean squared error against these random samples.

Figure 1: Comparison of intrinsic reward decay across different methods. RDD (log(z)) closely tracks the theoretical 1/n decay, providing a more accurate pseudo-count than standard RND.

The intrinsic reward is defined as the squared distance between the predictor and the mean of the target distribution: $b(s) = \frac{1}{d} \|f_\theta(s) - \mu\|^2$. The authors prove that this reward acts as a consistent and unbiased estimator of $1/n$. This formulation reveals that RND is a special case of RDD with zero variance, and RDD represents the infinite-sample limit of multi-network distillation methods (like DRND), reducing estimation variance and providing a smoother exploration signal.

Experimental Results

RDD was evaluated against state-of-the-art methods including PPO, RND, and DRND across several challenging domains: Atari 2600 games, Adroit robotic hand manipulation, and Fetch robot arm tasks.

Figure 5: Training performance of RDD compared to baselines across Atari and robotic manipulation tasks. RDD consistently achieves higher scores and success rates, particularly in the most challenging sparse-reward environments.

In Montezuma’s Revenge, a benchmark for sparse-reward exploration, RDD achieved a score of 8238.5, surpassing RND's 5494.3. In robotic tasks like FetchPush, RDD was the only method to consistently reach a 1.0 success rate, demonstrating its effectiveness in high-dimensional continuous control. The results indicate that RDD's more accurate count estimation translates directly into more efficient exploration and faster convergence.

Conclusion

Random Distribution Distillation provides a powerful framework for exploration by linking prediction error to state visitation counts. By introducing randomness into the distillation target, RDD achieves superior performance and theoretical consistency compared to previous methods. Future work will explore the impact of state correlations on pseudo-count accuracy in complex environments.

Summary updated

BibTeX
@misc{fang2025exploration,
  author = {Zhirui Fang and Kai Yang and Jian Tao and Jiafei Lyu and Lusong Li and Li Shen and Xiu Li},
  title = {{Exploration by Random Distribution Distillation}},
  year = {2025},
  eprint = {2505.11044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.11044},
}
Figure