EX2: Exploration with Exemplar Models for Deep Reinforcement Learning
Justin Fu, John D. Co-Reyes, Sergey Levine
TL;DR
This work tackles exploration in deep reinforcement learning under sparse rewards by introducing EX^2, a novelty-driven method that relies on discriminatively trained exemplar models to estimate implicit state densities without training generative models. It establishes a theoretical link between exemplar discriminators and density estimation, and introduces latent-space smoothing and suboptimal-discriminator effects to produce practical density estimates that drive exploration. Two scalable architectures, Amortized Multi-Exemplar and K-Exemplar, are proposed and connected to GAN-style interpretations, enabling efficient training and generalization. Empirically, EX^2 matches or exceeds prior explicit-density methods on simple tasks and significantly outperforms them on challenging vizDoom tasks, demonstrating robust performance in high-dimensional image-based domains.
Abstract
Deep reinforcement learning algorithms have been shown to learn complex tasks using highly general policy classes. However, sparse reward problems remain a significant challenge. Exploration methods based on novelty detection have been particularly successful in such settings but typically require generative or predictive models of the observations, which can be difficult to train when the observations are very high-dimensional and complex, as in the case of raw images. We propose a novelty detection algorithm for exploration that is based entirely on discriminatively trained exemplar models, where classifiers are trained to discriminate each visited state against all others. Intuitively, novel states are easier to distinguish against other states seen during training. We show that this kind of discriminative modeling corresponds to implicit density estimation, and that it can be combined with count-based exploration to produce competitive results on a range of popular benchmark tasks, including state-of-the-art results on challenging egocentric observations in the vizDoom benchmark.
