Variational Dynamic for Self-Supervised Exploration in Deep Reinforcement Learning
Chenjia Bai, Peng Liu, Kaiyu Liu, Lingxiao Wang, Yingnan Zhao, Lei Han
TL;DR
This work tackles exploration in reinforcement learning under sparse extrinsic rewards by introducing Variational Dynamic Model (VDM), a conditional generative model p(s'|s,a,z) that encodes multimodality and stochasticity via a latent variable z drawn from a learnable prior p(z|s,a) and inferred by q(z|s,a,s'). The model is trained by maximizing the variational lower bound L_VDM = E_{q}[log p_theta(s'|s,a,z)] - D_KL[q||p], and the agent's intrinsic reward is an upper-bound estimate of -log p(s'|s,a) computed from sampled latents, guiding self-supervised exploration. Empirical results across Atari, sticky-Atari, Super Mario, two-player Pong, and a real robotic task show VDM improves exploration efficiency and robustness, outperforming ICM, RFM, and Disagreement, with notable advantage in multimodal environments. The work includes theoretical and empirical comparisons to CVAE, demonstrating that conditioning the prior on (s,a) yields a tighter bound and better dynamics modeling. The findings suggest that variational dynamics with intrinsic rewards can enable scalable, self-supervised exploration in real-world, complex RL settings.
Abstract
Efficient exploration remains a challenging problem in reinforcement learning, especially for tasks where extrinsic rewards from environments are sparse or even totally disregarded. Significant advances based on intrinsic motivation show promising results in simple environments but often get stuck in environments with multimodal and stochastic dynamics. In this work, we propose a variational dynamic model based on the conditional variational inference to model the multimodality and stochasticity. We consider the environmental state-action transition as a conditional generative process by generating the next-state prediction under the condition of the current state, action, and latent variable, which provides a better understanding of the dynamics and leads a better performance in exploration. We derive an upper bound of the negative log-likelihood of the environmental transition and use such an upper bound as the intrinsic reward for exploration, which allows the agent to learn skills by self-supervised exploration without observing extrinsic rewards. We evaluate the proposed method on several image-based simulation tasks and a real robotic manipulating task. Our method outperforms several state-of-the-art environment model-based exploration approaches.
