[Paper Review] Curriculum in Gradient-Based Meta-Reinforcement Learning
This paper proposes Meta-Active Domain Randomization (Meta-ADR), a curriculum learning method that optimizes the task distribution in gradient-based meta-reinforcement learning to combat meta-overfitting and improve generalization. By using a discriminator to identify difficult tasks and training SVPG particles to propose a diverse, hard-curated set of tasks, Meta-ADR significantly enhances adaptation stability and performance across navigation and locomotion benchmarks compared to uniform random task sampling.
Gradient-based meta-learners such as Model-Agnostic Meta-Learning (MAML) have shown strong few-shot performance in supervised and reinforcement learning settings. However, specifically in the case of meta-reinforcement learning (meta-RL), we can show that gradient-based meta-learners are sensitive to task distributions. With the wrong curriculum, agents suffer the effects of meta-overfitting, shallow adaptation, and adaptation instability. In this work, we begin by highlighting intriguing failure cases of gradient-based meta-RL and show that task distributions can wildly affect algorithmic outputs, stability, and performance. To address this problem, we leverage insights from recent literature on domain randomization and propose meta Active Domain Randomization (meta-ADR), which learns a curriculum of tasks for gradient-based meta-RL in a similar as ADR does for sim2real transfer. We show that this approach induces more stable policies on a variety of simulated locomotion and navigation tasks. We assess in- and out-of-distribution generalization and find that the learned task distributions, even in an unstructured task space, greatly improve the adaptation performance of MAML. Finally, we motivate the need for better benchmarking in meta-RL that prioritizes extit{generalization} over single-task adaption performance.
Motivation & Objective
- To address the sensitivity of gradient-based meta-RL to task distribution, which leads to meta-overfitting, shallow adaptation, and instability.
- To improve generalization in meta-RL by learning a curriculum of tasks rather than relying on random sampling from a fixed distribution.
- To mitigate negative adaptation and performance degradation after meta-test gradient steps.
- To highlight flaws in current meta-RL benchmarking, especially biased evaluation due to non-uniform task sampling.
- To advocate for better benchmarking practices that prioritize out-of-distribution generalization over in-distribution adaptation performance.
Proposed method
- Meta-ADR uses a discriminator to estimate task difficulty based on pre- and post-adaptation rollouts, using this as a proxy reward.
- The discriminator's reward signal trains SVPG (Soft Actor-Critic with Policy Gradient) particles to propose new, diverse tasks that are most challenging for the meta-learner.
- The algorithm iteratively samples and evaluates tasks from the learned curriculum, focusing on those causing the highest adaptation difficulty.
- The method replaces uniform random task sampling with a curriculum that evolves based on the agent's adaptation performance and difficulty feedback.
- The task distribution is optimized end-to-end via gradient updates, allowing the meta-learner to adapt more robustly to a broader range of tasks.
- The approach is inspired by Active Domain Randomization (ADR) but adapted for meta-RL by learning a task curriculum that improves meta-generalization.
Experimental results
Research questions
- RQ1How does the choice of task distribution affect meta-RL performance, particularly in terms of meta-overfitting and adaptation stability?
- RQ2Can a learned curriculum of tasks improve generalization in gradient-based meta-RL beyond uniform random sampling?
- RQ3To what extent does Meta-ADR reduce negative adaptation in meta-RL agents during meta-test inference?
- RQ4How does non-uniform task sampling in benchmarking environments bias reported learning curves and performance metrics?
- RQ5What are the implications of current meta-RL benchmarking practices for evaluating true generalization capacity?
Key findings
- Meta-ADR significantly improves adaptation performance and stability across multiple simulated locomotion and navigation tasks compared to uniform random task sampling.
- The learned curriculum reduces meta-overfitting, with policies showing less degradation after meta-test gradient steps and fewer instances of negative adaptation.
- In the Humanoid-Direct-2D benchmark, Meta-ADR achieved stronger final performance and reduced performance variance across tasks, especially in out-of-distribution settings.
- Evaluation of locomotion velocity tasks revealed that uniform sampling favors easier tasks (e.g., v_t = 0), leading to misleadingly monotonic learning curves that do not reflect true generalization.
- Out-of-distribution tasks with velocities slightly away from zero (e.g., v_t = 0.5) showed better performance than in-distribution tasks with higher velocities, indicating a fundamental flaw in current benchmark task design.
- The study demonstrates that task distribution is a critical hyperparameter in meta-RL, and that learning it via Meta-ADR leads to more robust and generalizable policies.
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.