Meta Automatic Curriculum Learning

Rémy Portelas, Clément Romac, Katja Hofmann, Pierre-Yves OudeyerarXiv 2020

Abstract

A major challenge in the Deep RL (DRL) community is to train agents able to generalize their control policy over situations never seen in training. Training on diverse tasks has been identified as a key ingredient for good generalization, which pushed researchers towards using rich procedural task generation systems controlled through complex continuous parameter spaces. In such complex task spaces, it is essential to rely on some form of Automatic Curriculum Learning (ACL) to adapt the task sampling distribution to a given learning agent, instead of randomly sampling tasks, as many could end up being either trivial or unfeasible. Since it is hard to get prior knowledge on such task spaces, many ACL algorithms explore the task space to detect progress niches over time, a costly tabula-rasa process that needs to be performed for each new learning agents, although they might have similarities in their capabilities profiles. To address this limitation, we introduce the concept of Meta-ACL, and formalize it in the context of black-box RL learners, i.e. algorithms seeking to generalize curriculum generation to an (unknown) distribution of learners. In this work, we present AGAIN, a first instantiation of Meta-ACL, and showcase its benefits for curriculum generation over classical ACL in multiple simulated environments including procedurally generated parkour environments with learners of varying morphologies.

Introduction

Deep Reinforcement Learning (DRL) agents frequently struggle to generalize their learned policies to novel scenarios. A common strategy to mitigate this is training agents on a diverse curriculum of tasks. Automatic Curriculum Learning (ACL) facilitates this by acting as a "teacher" that samples tasks within the student's "Zone of Proximal Development"—tasks that are neither too easy nor impossibly difficult.

However, traditional ACL methods are typically "tabula-rasa." Each time a new student agent begins training, the teacher starts without prior knowledge, exploring the task space from scratch to identify learnable regions. In high-dimensional, complex task spaces, this exploration is highly inefficient. This research introduces Meta-Automatic Curriculum Learning (Meta-ACL), a framework where the teacher leverages the training history of previous students to optimize the curriculum for new ones.

The AGAIN Algorithm

The authors propose AGAIN (Alp-Gmm And Inferred progress Niches), a modular instantiation of Meta-ACL. AGAIN transitions from a trial-and-error teaching approach to one that leverages historical data to predict successful learning paths.

The AGAIN algorithm workflow: from pre-training and competence profiling to history matching and composite teaching.

The AGAIN process follows a structured six-step pipeline:

  1. Exploratory Pre-training: The new student ($s^K$) is initially trained using a high-exploration ACL teacher (such as ALP-GMM) to observe its initial learning responses.
  2. Competence Profiling: The student undergoes a "pre-test" to generate a Knowledge Component (KC) vector, which acts as a unique fingerprint of its current capabilities.
  3. History Matching: The teacher queries a history database ($\mathcal{H}$) of past students to find the most similar predecessor using k-Nearest Neighbors in the KC space.
  4. Curriculum Extraction: The teacher identifies "Inferred Progress Niches" (IN)—specific task distributions where the similar past student demonstrated significant progress.
  5. Composite Teaching: Training resumes with a composite teacher that balances the inferred "expert" curriculum (exploitation) with the original ACL algorithm (exploration).
  6. History Update: The new student's training trajectory is added to the history database to benefit future learners.

Experimental Evaluation

Meta-ACL was evaluated across three simulated environments designed to test different aspects of curriculum transfer:

  • Toy 2D Environment: A controlled grid-based parameter space with specific "locked" and "unlocked" learning regions.
  • Parametric Box2D Parkour: A complex environment featuring agents with distinct morphologies—a Bipedal Walker (optimized for low gates) and a Two-armed Climber (optimized for high gates). This environment tests the teacher's ability to generalize across different agent "species."
  • Parametric BipedalWalker: A standard benchmark modified with procedural obstacles (stumps of varying height and spacing) to evaluate curriculum generation in single-agent re-training scenarios.

Results and Key Insights

The experimental results demonstrate that Meta-ACL significantly outperforms standard ACL baselines and industry standards.

Performance comparison in the Parkour environment: AGAIN and its variants significantly outperform standard ACL (ALP-GMM) and industry standards like ADR.

Performance Gains

In the challenging Parkour environment, AGAIN achieved a mastery rate of 41% within 10 million steps, a substantial improvement over the 31% achieved by the standard ALP-GMM baseline. Furthermore, AGAIN significantly outperformed Adaptive Domain Randomization (ADR), which struggled to identify learning progress in multi-modal task spaces without extensive manual tuning.

The "Single Student" Advantage

A surprising finding was that Meta-ACL provides benefits even in single-student scenarios. By training an agent once, extracting its successful curriculum, and then training a fresh agent using that curriculum, the final performance exceeded that of an agent trained for twice the duration. This suggests that the noisy exploration data generated during early training phases can hinder gradient-based optimization; Meta-ACL allows a new agent to bypass this "clutter."

Morphological Awareness

The Parkour experiments highlighted the teacher's ability to distinguish between different agent morphologies (walkers vs. climbers) based on brief pre-tests. The Meta-ACL teacher successfully tailored the task distribution to match the specific physical capabilities of each student.

Discussion and Future Work

While AGAIN provides a strong baseline for Meta-ACL, several areas for improvement remain. Currently, pre-tests use uniform task sampling; future iterations could employ adaptive testing to profile students more rapidly. Additionally, managing a growing history of training trajectories presents potential memory overhead.

The authors also note potential societal implications, such as the risk of a Meta-ACL teacher inheriting and amplifying biases from past students, potentially limiting a new student's learning path based on early, incomplete profiles. Future research will explore end-to-end Meta-ACL, where the teacher is a neural network trained directly to optimize the student's learning trajectory.

Videos and code are available at https://sites.google.com/view/meta-acl.

Summary updated

BibTeX
@misc{portelas2020meta,
  author = {Rémy Portelas and Clément Romac and Katja Hofmann and Pierre-Yves Oudeyer},
  title = {{Meta Automatic Curriculum Learning}},
  year = {2020},
  eprint = {2011.08463},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.08463},
}
Figure