Automatic Curriculum Graph Generation for Reinforcement Learning Agents

Maxwell Svetlik, Matteo Leonetti, Jivko Sinapov, Rishi Shah, Nick Walker, Peter Stone

Introduction

Reinforcement Learning (RL) has demonstrated remarkable success in various domains, yet training agents to master complex tasks from a "blank slate" remains a significant challenge. Often, the learning process is either prohibitively slow or fails to converge entirely. To mitigate this, researchers employ Curriculum Learning, where an agent is progressively trained on a sequence of simpler "source tasks" before attempting the "target task."

However, traditional curriculum design suffers from two primary limitations: it relies heavily on time-consuming human expertise and typically follows a rigid linear sequence. This paper presents a novel framework that automates the creation of curricula structured as Directed Acyclic Graphs (DAGs), enabling more flexible and efficient knowledge transfer.

Methodology: From Sequences to Graphs

The core innovation lies in moving beyond simple linear task lists to a graph-based structure. This allows the agent to leverage knowledge from multiple independent sources simultaneously or in parallel.

A Directed Acyclic Graph (DAG) representing an automatically generated curriculum where simpler tasks lead to a final target.

The framework utilizes three key components:

  1. Potential-Based Reward Shaping (PBRS): A transfer mechanism that uses the value function learned in a source task to provide "hints" (shaped rewards) in the target task.
  2. Transfer Potential ($\nu$): A novel heuristic that estimates the utility of a source task based on its state-space size relative to the target task. It prioritizes tasks that are easy to learn but offer high coverage of the target's requirements.
  3. Automated Graph Generation: An algorithm that groups tasks by shared features and establishes edges based on transfer potential, constructing the DAG.

Experimental Evaluation

The method was tested in environments including Gridworld, Block Dude, and Ms. Pac-Man. In the complex Ms. Pac-Man domain, the agent perceived the environment through local, "agent-centric" features, ensuring that learned behaviors (like avoiding a nearby ghost) remained portable across different maze layouts.

The results were striking: the automatically generated curriculum not only enabled faster convergence compared to learning from scratch but also outperformed curricula manually designed by human experts.

Comparison of learning curves in Ms. Pac-Man, showing the Full Curriculum (automated) outperforming both "No Transfer" and "Hand Curriculum" baselines.

In the Block Dude puzzle game, the curriculum reduced the required training steps by approximately 24%, demonstrating "strong transfer"—where the total time spent on the curriculum plus the target task is less than training on the target task alone.

Conclusion

By automating curriculum design through graph generation and the transfer potential metric, this research removes a major bottleneck in RL training. The ability of an automated system to surpass human-designed curricula suggests that algorithmic approaches can identify non-intuitive but highly efficient learning paths. Future work aims to integrate this with automated task generation to create a fully autonomous end-to-end learning pipeline.

Summary updated

BibTeX
@inproceedings{svetlik2017automatic,
  author = {Maxwell Svetlik and Matteo Leonetti and Jivko Sinapov and Rishi Shah and Nick Walker and Peter Stone},
  title = {{Automatic Curriculum Graph Generation for Reinforcement Learning Agents}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10933},
}
Figure