[Paper Review] Unsupervised Curricula for Visual Meta-Reinforcement Learning
This paper proposes CARML, a method for unsupervised meta-reinforcement learning that automatically generates a curriculum of visual tasks by modeling the meta-learner's trajectory distribution via a parametric density model. By alternating between updating the task distribution and meta-RL on these tasks, the approach enables effective pre-training that transfers to downstream tasks and accelerates supervised meta-RL, even in pixel-based environments with no hand-specified rewards.
In principle, meta-reinforcement learning algorithms leverage experience across many tasks to learn fast reinforcement learning (RL) strategies that transfer to similar tasks. However, current meta-RL approaches rely on manually-defined distributions of training tasks, and hand-crafting these task distributions can be challenging and time-consuming. Can "useful" pre-training tasks be discovered in an unsupervised manner? We develop an unsupervised algorithm for inducing an adaptive meta-training task distribution, i.e. an automatic curriculum, by modeling unsupervised interaction in a visual environment. The task distribution is scaffolded by a parametric density model of the meta-learner's trajectory distribution. We formulate unsupervised meta-RL as information maximization between a latent task variable and the meta-learner's data distribution, and describe a practical instantiation which alternates between integration of recent experience into the task distribution and meta-learning of the updated tasks. Repeating this procedure leads to iterative reorganization such that the curriculum adapts as the meta-learner's data distribution shifts. In particular, we show how discriminative clustering for visual representation can support trajectory-level task acquisition and exploration in domains with pixel observations, avoiding pitfalls of alternatives. In experiments on vision-based navigation and manipulation domains, we show that the algorithm allows for unsupervised meta-learning that transfers to downstream tasks specified by hand-crafted reward functions and serves as pre-training for more efficient supervised meta-learning of test task distributions.
Motivation & Objective
- To address the challenge of manually designing task distributions for meta-RL, which is time-consuming and impractical for complex environments.
- To enable unsupervised skill acquisition and exploration in visual environments without extrinsic rewards or task specifications.
- To co-adapt skill discovery and meta-learning by forming a closed loop that dynamically reorganizes the task curriculum based on the agent’s experience.
- To scale unsupervised meta-RL to high-dimensional visual observations using discriminative clustering and generative modeling.
- To evaluate whether unsupervised pre-training can serve as effective initialization for downstream supervised meta-RL.
Proposed method
- The method uses a variational EM framework where the E-step fits a Gaussian mixture model (GMM) in a discriminatively learned embedding space to represent the task distribution from the meta-learner’s trajectory data.
- The M-step performs meta-RL on the current task distribution, using reward functions sampled from the GMM to train a meta-policy.
- A hybrid discriminative-generative model is used to avoid mode collapse in high-dimensional visual spaces by ensuring learned skills are both discriminable and diverse.
- The curriculum is iteratively reorganized by periodically re-fitting the GMM to recent experience, enabling adaptive task distribution shifts as the agent learns.
- The approach leverages a recurrent meta-policy and a contrastive representation learning objective to improve visual feature quality for trajectory-level task acquisition.
- Reservoir sampling is used to manage experience replay and mitigate catastrophic forgetting during curriculum adaptation.
Experimental results
Research questions
- RQ1Can an unsupervised curriculum be automatically generated to support meta-RL in visual environments without hand-specified task distributions?
- RQ2How does co-adapting skill discovery and meta-learning improve transfer to downstream tasks compared to pipelined approaches?
- RQ3To what extent can unsupervised meta-RL serve as pre-training for more efficient supervised meta-RL on target task distributions?
- RQ4What are the limitations of direct transfer when the unsupervised curriculum does not align with the semantics of downstream tasks?
- RQ5How does the method scale to high-dimensional visual observations and avoid mode collapse in the task space?
Key findings
- CARML enables unsupervised meta-RL that successfully transfers to downstream goal-reaching tasks in both visual navigation and manipulation domains, even with no explicit reward shaping.
- The method achieves faster convergence in supervised meta-RL fine-tuning, demonstrating that the unsupervised pre-training provides a strong initialization for downstream task distributions.
- In the ViZDoom navigation environment, CARML outperformed baselines in direct transfer, though performance was limited by task distribution mismatch and visual complexity.
- On the Sawyer manipulation environment, direct transfer was weaker than in ViZDoom, likely due to lower visual richness and a larger gap between the unsupervised curriculum and test task semantics.
- The meta-policy learned via CARML enabled accelerated learning in supervised meta-RL, reducing the number of samples needed for effective adaptation to target task distributions.
- Ablation studies confirmed that the combination of discriminative clustering and generative modeling in the task distribution was critical for avoiding mode collapse and enabling diverse skill acquisition.
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.