[Paper Review] Latent World Models For Intrinsically Motivated Exploration
This paper proposes Latent World Models (LWM), a self-supervised representation learning method that arranges image-based observations in a low-dimensional latent space according to temporal proximity, enabling robust novelty detection via predictive model error. The method improves intrinsic exploration in partially observable, sparse-reward environments like Atari games, achieving state-of-the-art results on Montezuma’s Revenge and other hard exploration benchmarks by combining temporal contrastive learning with a world model for uncertainty-driven exploration.
In this work we consider partially observable environments with sparse rewards. We present a self-supervised representation learning method for image-based observations, which arranges embeddings respecting temporal distance of observations. This representation is empirically robust to stochasticity and suitable for novelty detection from the error of a predictive forward model. We consider episodic and life-long uncertainties to guide the exploration. We propose to estimate the missing information about the environment with the world model, which operates in the learned latent space. As a motivation of the method, we analyse the exploration problem in a tabular Partially Observable Labyrinth. We demonstrate the method on image-based hard exploration environments from the Atari benchmark and report significant improvement with respect to prior work. The source code of the method and all the experiments is available at https://github.com/htdt/lwm.
Motivation & Objective
- To address the challenge of intrinsic exploration in partially observable environments with sparse rewards, where random exploration is inefficient.
- To develop a self-supervised representation learning method that arranges latent embeddings according to temporal distance between observations, improving robustness to stochasticity.
- To use a predictive world model in the learned latent space to estimate missing environmental information and guide exploration through prediction error.
- To demonstrate the method's effectiveness on image-based environments, particularly hard-exploration Atari games with sparse rewards.
- To improve sample efficiency by recalculating intrinsic rewards from a replay buffer using up-to-date world model predictions.
Proposed method
- The method uses a contrastive learning objective based on temporal proximity: minimizing the Euclidean distance between representations of temporally close observations in the latent space.
- It applies feature whitening to prevent degenerate solutions and ensure disentangled, robust representations.
- A recurrent world model is trained to predict the next latent state given the current latent state and action, with prediction error used as intrinsic reward.
- The world model operates in the latent space, avoiding image-level reconstruction and improving efficiency.
- Intrinsic reward is computed as the prediction error of the world model and combined with extrinsic reward to train an exploration policy.
- Experience replay is used to improve sample efficiency, with intrinsic rewards recalculated per replay sample to ensure up-to-date estimation.
Experimental results
Research questions
- RQ1Can a self-supervised representation learning method that arranges latent embeddings by temporal distance improve robustness to stochasticity in image-based observations?
- RQ2Can a predictive world model trained on such representations effectively detect novel or unvisited states in partially observable environments?
- RQ3Does using prediction error from a latent-space world model as intrinsic reward significantly improve exploration efficiency in sparse-reward environments?
- RQ4Can the proposed method outperform prior intrinsic curiosity and novelty detection methods on hard-exploration Atari games?
- RQ5How does the method handle the interplay between episodic and lifelong uncertainty in exploration?
Key findings
- The LWM method achieved a final cumulative reward of 2276 on Montezuma’s Revenge, significantly outperforming prior methods such as ICM (161) and RND (377).
- On Frostbite, the method achieved 8409 cumulative reward, surpassing the next best method (4465) by over 3900 points.
- In Venture, LWM scored 998, exceeding the previous best (707) by 291 points, demonstrating improved performance on complex exploration tasks.
- The method successfully solved all tested sizes of the Partially Observable Labyrinth, including 4×4 and 5×5, where standard recurrent DQN failed entirely.
- The self-supervised representation learning method demonstrated empirical robustness to stochasticity and effective temporal arrangement of observations in the latent space.
- The use of up-to-date intrinsic rewards from replay buffer improved sample efficiency, enabling stable training on image-based environments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.