Abstract
This paper introduces a new approach to automatic curriculum learning that moves away from tracking "learning progress" to tracking "mastering rate." By using a structured map of task dependencies (a Directed Acyclic Graph), the proposed MR algorithm ensures agents don't waste time on tasks that are either too easy or currently impossible, significantly outperforming existing Teacher-Student methods in both supervised and reinforcement learning.
Introduction: The "Goldilocks Zone" of Learning
In machine learning, "Curriculum Learning" is the practice of training an agent on easy tasks before moving to harder ones—much like how humans learn arithmetic before calculus. In "Teacher-Student" frameworks, an automated "Teacher" chooses which task the "Student" (the learner) should tackle next.
Most current algorithms rely on Learning Progress (LP): the Teacher picks tasks where the Student is improving the fastest. However, this study identifies two major "sample inefficiency" traps in LP-based methods:
- The "Already Learned" Trap: Even after a Student has nearly perfected a task, small fluctuations in performance can look like "progress," causing the Teacher to keep assigning easy tasks instead of moving on.
- The "Can't Learn Yet" Trap: If a Student faces several difficult tasks for which they lack prerequisites, their progress on all of them is zero. The Teacher then samples these impossible tasks randomly, wasting half the training time on things the Student isn't ready for.
Methods
1. gProp Linreg (An Improved Baseline)
Before introducing the new algorithm, the authors simplified the state-of-the-art Teacher-Student model. They replaced the complex "Window" moving average with a simpler linear regression (Linreg) and swapped the "greedy" task selection (gAmax) for a proportional one (gProp). This makes the baseline more stable and easier to tune.
2. The Mastering Rate (MR) Algorithm
The core innovation is the MR algorithm. Unlike LP, which looks at the slope of improvement, MR looks at the absolute state of mastery. It requires a "min-max ordered curriculum"—essentially a map (Directed Acyclic Graph) showing which tasks are prerequisites for others.
Key components include:
- Mastering Rate ($M_c$): A normalized score (0 to 1) of how well the agent performs on task $c$ relative to the minimum and maximum possible rewards.
- Learnability Rate ($M_{Anc}$): A measure of whether the agent has mastered all ancestor tasks (prerequisites).
- Attention Program: The Teacher assigns tasks based on a product of three factors: Is it learnable? Is it not yet mastered? And are its successors still unlearned?
Experimental Evaluation
The researchers evaluated their algorithms on two distinct types of challenges:
- Supervised Learning: Adding two 9-digit decimal numbers using LSTMs.
- Reinforcement Learning (Gym MiniGrid): Three specific curricula within a grid-world environment: BlockedUnlockPickup, KeyCorridor, and ObstructedMaze (a complex 6-task curriculum with overlapping abilities).
Key Results
The MR algorithm demonstrated superior performance across all benchmarks. In the "ObstructedMaze" curriculum, LP-based agents often failed to obtain any positive reward even after 10 million frames. In contrast, the MR algorithm successfully mastered the entire curriculum, maintaining a median return near 0.8.
Quantitatively, the MR algorithm reached target accuracy significantly faster than previous Learning Progress methods. As shown in the efficiency analysis, MR-based teachers required substantially fewer training examples to reach mastery compared to LP-based teachers.
Key Insights and Ideas
- Structure is a Feature: While requiring task dependencies (the DAG) adds work, leveraging this structure prevents the agent from "wandering" into impossible tasks.
- Proportional > Greedy: Proportional sampling (
gProp) ensures that if two tasks are equally beneficial, they both get explored, leading to smoother learning curves. - The "Successor" Signal: By checking if a task's successors are learned, the Teacher knows it can stop focusing on a prerequisite even if the agent is still technically "progressing" on it.
Limitations and Future Work
The primary limitation is the requirement for a "min-max ordered curriculum," including reward estimates and a dependency graph. Future research could focus on automatically discovering these task relationships and reward bounds, allowing the MR algorithm to be applied to environments where the structure isn't known upfront.
Summary updated