Skip to main content
QUICK REVIEW

[Paper Review] Exploration and Anti-Exploration with Distributional Random Network Distillation

Kai Yang, Jian Tao|arXiv (Cornell University)|Jan 18, 2024
Reinforcement Learning in RoboticsComputer Science3 citations
TL;DR

This paper proposes Distributional Random Network Distillation (DRND), a novel exploration method that enhances Random Network Distillation (RND) by distilling a distribution of random target networks to resolve the 'bonus inconsistency' issue. DRND improves intrinsic reward precision through implicit pseudo-count estimation, outperforming RND and state-of-the-art methods in online exploration and serving as an effective anti-exploration mechanism in offline RL with minimal computational overhead.

ABSTRACT

Exploration remains a critical issue in deep reinforcement learning for an agent to attain high returns in unknown environments. Although the prevailing exploration Random Network Distillation (RND) algorithm has been demonstrated to be effective in numerous environments, it often needs more discriminative power in bonus allocation. This paper highlights the "bonus inconsistency" issue within RND, pinpointing its primary limitation. To address this issue, we introduce the Distributional RND (DRND), a derivative of the RND. DRND enhances the exploration process by distilling a distribution of random networks and implicitly incorporating pseudo counts to improve the precision of bonus allocation. This refinement encourages agents to engage in more extensive exploration. Our method effectively mitigates the inconsistency issue without introducing significant computational overhead. Both theoretical analysis and experimental results demonstrate the superiority of our approach over the original RND algorithm. Our method excels in challenging online exploration scenarios and effectively serves as an anti-exploration mechanism in D4RL offline tasks. Our code is publicly available at https://github.com/yk7333/DRND.

Motivation & Objective

  • To address the 'bonus inconsistency' problem in RND, where intrinsic bonuses deviate from desired distributions during early training and fail to reflect true state visitation frequencies.
  • To improve the precision and interpretability of intrinsic rewards in deep reinforcement learning without increasing computational cost.
  • To unify the strengths of count-based and curiosity-driven exploration by embedding pseudo-count behavior into a RND framework.
  • To demonstrate DRND's effectiveness as both an exploration booster in online RL and an anti-exploration penalty in offline RL.
  • To validate that DRND generalizes to both discrete and continuous control environments, including challenging D4RL benchmarks.

Proposed method

  • DRND introduces a predictor network that distills multiple fixed random target networks, enabling distributional estimation of state visitation frequencies.
  • The method implicitly models pseudo-counts by aggregating predictions across multiple random networks, improving the fidelity of intrinsic bonus allocation.
  • A dual bonus mechanism combines the prediction error from the predictor and a normalized pseudo-count estimate, with a learnable hyperparameter α balancing the two terms.
  • The fixed target networks are randomly initialized and never updated, ensuring no additional training overhead.
  • The approach generalizes RND and CFN: RND is a special case with one target network (N=1), and CFN emerges when α=1 and N=1.
  • DRND is integrated with PPO for online training and SAC for offline RL, forming the SAC-DRND algorithm.

Experimental results

Research questions

  • RQ1Does DRND mitigate the bonus inconsistency problem inherent in RND during early training and long-term learning?
  • RQ2Can DRND provide more accurate and stable intrinsic rewards than RND by better estimating state visitation frequencies?
  • RQ3How does DRND perform compared to SOTA methods in challenging online exploration environments like Montezuma’s Revenge and AntMaze?
  • RQ4Can DRND serve as an effective anti-exploration mechanism in offline RL, particularly in D4RL benchmarks?
  • RQ5What is the impact of the hyperparameter α on performance in both online and offline settings?

Key findings

  • In online environments, DRND outperformed PPO, RND, CFN, and ICM on Montezuma’s Revenge, Gravitar, and Venture, achieving higher final returns.
  • On continuous-control gym-robotics environments, DRND achieved superior performance compared to existing exploration methods.
  • In offline D4RL tasks, SAC-DRND outperformed multiple strong baselines, including SAC-RND, on medium datasets across hopper, halfcheetah, and walker2d.
  • On AntMaze tasks, SAC-DRND achieved a final average return of 83.0, outperforming TD3+BC (46.4), IQL (56.29), and ReBRAC (75.7) in the offline-to-online setting.
  • The method achieved a 7.0-point average improvement over baseline methods in the offline-to-online AntMaze setting, demonstrating strong generalization.
  • Computational evaluation showed DRND’s runtime was slightly lower than RND’s, with no significant increase in inference time as the number of target networks increased.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.