Autonomous Task Sequencing for Customized Curriculum Design in Reinforcement Learning

Sanmit Narvekar, Jivko Sinapov, Peter Stone

Introduction

Reinforcement Learning (RL) agents often struggle to master complex target tasks when starting from scratch. Curriculum Learning addresses this by training agents on a sequence of progressively more difficult "source tasks." However, traditional curriculum design faces two significant hurdles: it is often a manual, labor-intensive process, and it typically ignores agent heterogeneity. A curriculum optimized for a high-resolution sensor suite may be ineffective for an agent with limited perception or different physical capabilities. This paper introduces a framework that treats curriculum design as a decision-making problem, automatically generating task sequences tailored to an agent's specific sensors and actuators.

The Curriculum MDP Framework

The core contribution of this work is the Curriculum MDP (CMDP). By modeling the sequencing of tasks as a Markov Decision Process in its own right, the authors move beyond static curricula. In this higher-level MDP:

  • States ($S^C$): Represent the current policy or knowledge state of the learning agent.
  • Actions ($A^C$): Are the available training tasks from a generated pool.
  • Transitions ($p^C$): Describe how training on a specific task transforms the agent's current policy into a new one.
  • Reward ($r^C$): Defined as the negative of the time (number of actions) required to learn a task.

The objective is to find a sequence of tasks that minimizes the total time required to reach a performance threshold on the final target task. To solve this efficiently, the authors employ a Recursive Monte-Carlo Approximation that iteratively samples the target task to identify where the agent struggles and selects source tasks that most effectively bridge the gap.

Experimental Evaluation

The framework was evaluated in a custom Grid World environment where agents must navigate obstacles, collect keys, and unlock doors. To test the impact of agent heterogeneity, three distinct agent types were used:

  1. Basic Agent: Equipped with 16 distance sensors.
  2. Action-Dependent Agent: Uses a specialized internal representation (tiling) for better directional generalization.
  3. Rope Agent: Possesses a unique "rope" action allowing it to cross pits, changing its optimal navigation strategy.
Figure 3: (a) The complex target task in Grid World. (b) Automatically generated curricula for three heterogeneous agents, showing how the sequence of training tasks adapts to the agent's specific capabilities.

Key Insights and Results

The experimental results highlight several critical findings for the field of RL curriculum design:

  • Customization is Essential: For every agent type, the automatically generated, agent-specific curriculum resulted in the fastest time to reach the target performance threshold.
  • The Agent-Task Pair: The research demonstrates that a curriculum is not a property of the task alone, but of the agent-task pair. A curriculum that teaches a "Rope Agent" to navigate around pits is useless for a "Basic Agent" that lacks the physical ability to cross them.
  • Detrimental Transfer: One of the most striking results is that using a curriculum designed for a different agent can be worse than no curriculum at all. Misaligned training sequences can introduce "dead time" or teach strategies that are suboptimal for the target agent's hardware.
  • Relevance Filtering: The CMDP approach successfully uses relevance metrics to ensure source tasks overlap with states the agent will actually encounter in the target task, preventing the curriculum from wandering into irrelevant training scenarios.

Conclusion and Future Work

By treating curriculum design as an autonomous sequencing problem, this framework removes the manual bottleneck and accounts for the diverse capabilities of modern RL agents. While the computational overhead of the "meta-learning" phase remains a challenge, the significant gains in training efficiency on target tasks are promising. Future research will explore Curriculum Transfer, investigating whether a curriculum designed for one agent can be efficiently adapted for a similar agent without restarting the entire CMDP process.

Summary updated

BibTeX
@inproceedings{narvekar2017autonomous,
  author = {Sanmit Narvekar and Jivko Sinapov and Peter Stone},
  title = {{Autonomous Task Sequencing for Customized Curriculum Design in Reinforcement Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/353},
}
Figure