[Paper Review] Masked World Models for Visual Control
This paper proposes Masked World Models (MWM), a decoupled visual model-based reinforcement learning framework that trains a convolutional feature-masked autoencoder with vision transformers for fine-grained visual representation learning, and a separate latent dynamics model for planning. By introducing auxiliary reward prediction to encode task-relevant details, MWM achieves state-of-the-art performance, attaining 81.7% success rate on 50 Meta-World visual manipulation tasks—significantly outperforming the prior SOTA baseline at 67.9%.
Visual model-based reinforcement learning (RL) has the potential to enable sample-efficient robot learning from visual observations. Yet the current approaches typically train a single model end-to-end for learning both visual representations and dynamics, making it difficult to accurately model the interaction between robots and small objects. In this work, we introduce a visual model-based RL framework that decouples visual representation learning and dynamics learning. Specifically, we train an autoencoder with convolutional layers and vision transformers (ViT) to reconstruct pixels given masked convolutional features, and learn a latent dynamics model that operates on the representations from the autoencoder. Moreover, to encode task-relevant information, we introduce an auxiliary reward prediction objective for the autoencoder. We continually update both autoencoder and dynamics model using online samples collected from environment interaction. We demonstrate that our decoupling approach achieves state-of-the-art performance on a variety of visual robotic tasks from Meta-world and RLBench, e.g., we achieve 81.7% success rate on 50 visual robotic manipulation tasks from Meta-world, while the baseline achieves 67.9%. Code is available on the project website: https://sites.google.com/view/mwm-rl.
Motivation & Objective
- To address the challenge of accurately modeling interactions between robots and small objects in visual control tasks.
- To overcome the limitations of end-to-end training in visual world models, which trade off representation quality and dynamics accuracy.
- To improve sample efficiency and asymptotic performance in visual model-based reinforcement learning by decoupling representation and dynamics learning.
- To explore whether self-supervised representation learning with convolutional feature masking can outperform pixel patch masking in capturing fine-grained visual details.
- To investigate whether auxiliary reward prediction enhances visual representations with task-relevant information for better downstream policy learning.
Proposed method
- Train a vision transformer-based autoencoder to reconstruct visual observations using masked convolutional features instead of masked image patches.
- Use a separate latent dynamics model that operates on the representations extracted by the autoencoder to predict future states.
- Introduce an auxiliary reward prediction head during autoencoder training to inject task-relevant information into visual representations.
- Continuously update the autoencoder and dynamics model using online experience collected during environment interaction.
- Decouple the training process: update the autoencoder with reconstruction and reward prediction, then update the dynamics model using frozen autoencoder features.
- Apply curriculum learning by progressively increasing the masking ratio during autoencoder pre-training to improve stability and feature quality.
Experimental results
Research questions
- RQ1Can decoupling visual representation learning and dynamics learning improve performance in visual model-based reinforcement learning?
- RQ2Does masking convolutional features instead of image patches lead to better capture of fine-grained visual details in visual control tasks?
- RQ3Can auxiliary reward prediction during representation learning improve the quality of visual features for downstream policy learning?
- RQ4How does MWM compare to end-to-end world models and other decoupled baselines in terms of sample efficiency and final performance?
- RQ5To what extent can representations pre-trained on one task generalize to unseen manipulation tasks?
Key findings
- MWM achieves a 81.7% success rate on 50 visual robotic manipulation tasks from Meta-World, significantly outperforming the prior SOTA baseline, which achieves 67.9%.
- The ablation study shows that MWM with reward prediction outperforms the same setup without it, confirming the benefit of task-relevant signal in representation learning.
- Frozen representations pre-trained on the Push task generalize well to unseen tasks such as Pick Place, Push Back, and Drawer Open, achieving performance comparable to or better than training MWM from scratch.
- State regression analysis confirms that representations trained with reward prediction yield lower error in predicting proprioceptive states, indicating improved feature quality.
- MWM outperforms DreamerV2 with contrastive representation learning, especially on complex tasks like Pick Place, demonstrating the advantage of the decoupled, masked feature approach.
- Masking convolutional features leads to better performance than pixel patch masking in visual control, despite similar performance on ImageNet classification, highlighting task-specific benefits.
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.