TL;DR
Curriculum Reinforcement Learning (CRL) often fails because it ignores the underlying geometry of the task space, leading to "jumps" in difficulty that stall learning. This paper demonstrates that framing curriculum generation as a constrained optimal transport problem creates smoother task transitions and significantly better agent performance. Their proposed algorithm, CURROT, outperforms existing state-of-the-art baselines across a wide variety of discrete and continuous environments.
What Problem Does This Paper Address?
Reinforcement Learning (RL) agents often struggle to learn complex behaviors from scratch, especially when rewards are sparse. Curriculum learning helps by presenting a sequence of tasks that gradually increase in difficulty.
However, automating this process is tricky. Many current methods generate curricula by interpolating between an "easy" initial task distribution and a "hard" target distribution. The authors identify two major flaws in existing interpolation-based methods like Self-Paced Reinforcement Learning (SPRL):
- Geometry Blindness: They typically use Kullback-Leibler (KL) divergence to measure the distance between task distributions. KL divergence doesn't care how "similar" two tasks actually are in the environment; it only cares about overlapping probability mass. This can lead to curricula that skip intermediate difficulty levels entirely.
- The "Splitting" Behavior: Standard performance constraints often allow the curriculum to mix very easy tasks with very hard ones to meet an "average" difficulty target. This "splitting" fails to keep the agent at the frontier of its capabilities.
Methods
The authors propose using Optimal Transport (OT) and the Wasserstein distance ($W_2$) to build curricula. Unlike KL divergence, the Wasserstein distance incorporates a "ground metric"—an explicit definition of how similar two tasks are (e.g., Euclidean distance between goal positions or shortest-path distance in a maze).
CURROT (Curriculum RL via Optimal Transport)
The core contribution is the CURROT algorithm. It frames curriculum generation as an optimization problem: minimize the Wasserstein distance to the target distribution, subject to a strict constraint that the agent must already be proficient in the tasks being sampled.
Key technical features include:
- Wasserstein Barycenters: Using these to find the "mean" distribution between where the agent is and where it needs to be.
- Support Restriction: Unlike previous methods that use expected performance, CURROT restricts the sampling distribution's support to only include tasks where the agent meets a minimum performance threshold.
- Particle-Based Approximation: To make OT computationally feasible for complex task spaces, the authors use a particle-based approach, representing distributions as sets of discrete samples.
Datasets and Benchmarks
The authors evaluated CURROT and a related OT method called GRADIENT against a suite of diverse benchmarks:
- E-Maze: A 2D grid world where the agent must navigate around a wall. This tested how different distance metrics (Euclidean vs. Shortest-Path) affect the curriculum.
- Unlock-Pickup (Minigrid): A complex discrete environment with over 80,000 possible tasks involving keys, doors, and boxes.
- Point-Mass: A continuous environment requiring navigation through narrow gates.
- Sparse Goal-Reaching (SGR): A 3D task space (position + precision) that includes many infeasible tasks.
- Teach My Agent: A standard CRL benchmark featuring a bipedal walker navigating obstacles of varying heights and spacings.
Key Insights and Ideas
- Geometry is King: The "aha moment" is that task similarity matters more than probability overlap. By using a metric that understands the environment's layout, the curriculum can "push" the agent through a logical progression of tasks.
- Avoiding the Average: Figure 4 (below) shows that using a standard expected performance constraint (top) results in a messy distribution that includes tasks the agent has already mastered and tasks that are far too hard. CURROT (bottom) stays focused on the "learning frontier."
- Metric Flexibility: The choice of the "ground metric" $d(c, c')$ is a powerful tool. In the E-Maze task, using a simple Euclidean distance failed because it didn't account for the wall, but a shortest-path metric allowed the curriculum to work perfectly.
Key Results
- Superior Performance: CURROT consistently matched or outperformed all baselines, including popular methods like ALP-GMM and PLR.
- Robustness to Infeasibility: In the "mostly infeasible" Teach My Agent scenario, CURROT was significantly more successful than other methods because its adaptive nature allowed it to find and focus on the small subspace of learnable tasks.
- Scaling: The authors demonstrated that their particle-based OT approach scales well to high-dimensional task spaces (up to 30 dimensions), where traditional parametric methods often collapse.
Limitations and Future Work
- Metric Design: CURROT requires a predefined distance metric between tasks. While Euclidean distance often works, some environments require hand-designed metrics (like the "highway distance" in Unlock-Pickup).
- Computational Overhead: Solving OT problems is more expensive than calculating KL divergence, though the authors note that for a few hundred particles, the overhead is negligible (less than 200ms per update).
- Future Direction: The authors suggest that learning the distance metric from experience—essentially combining intrinsic motivation with optimal transport—could be the next big step toward truly autonomous curriculum generation.
Summary updated