Introduction: The Challenge of Sparse Rewards
Reinforcement Learning (RL) agents often struggle with "sparse reward" tasks. Imagine a robot trying to navigate a massive maze where it only receives a reward for reaching the very end; without intermediate feedback, learning is incredibly slow. Curriculum Reinforcement Learning (CRL) addresses this by starting the agent on easy tasks (e.g., starting right next to the goal) and gradually increasing the difficulty until the target task is mastered.
Despite its potential, traditional CRL faces two significant hurdles:
- Parametric Rigidity: Most methods rely on Kullback–Leibler (KL) divergence to measure the difference between task distributions, which typically requires those distributions to be simple Gaussians. This fails when the "ideal" tasks form complex shapes like circles, lines, or discrete points.
- Geometry Blindness: Standard methods often ignore the physical "distance" between tasks in the environment. Linear interpolation between an easy task and a hard task might result in a distribution that simply jumps between the two extremes, failing to provide the crucial intermediate stepping stones.
The GRADIENT Framework
To overcome these limitations, the authors introduce GRADIENT (GRAdual Domain adaptation for curriculum reInforcEment learNing via optimal Transport). GRADIENT treats the curriculum as a geodesic path between tasks, enabling smoother policy transfer and higher learning efficiency.
Core Innovations
- Wasserstein Barycenters: Instead of simple linear blending, GRADIENT uses Optimal Transport (OT) to find the "middle ground" between task distributions. This creates a geodesic interpolation—a path that physically morphs the source distribution into the target distribution.
- $\pi$-contextual-distance: The authors define a new metric to measure task similarity based on "bisimulation." Essentially, two tasks are considered "close" if an agent following a specific policy behaves similarly and receives similar rewards in both.
- Non-parametric Support: Because it relies on OT, the algorithm can handle discrete tasks (like specific grid cells in a maze) and continuous tasks without assuming they follow a standard bell curve.
- Gradual Domain Adaptation (GDA): The curriculum is broken into $K$ stages. The agent only advances to the next "morphing" stage once it hits a specific performance threshold, ensuring it is always adequately prepared for the next challenge.
As seen above, linear interpolation (blending) often creates "ghost" distributions where the agent is tasked with either the easiest or hardest task, but nothing in between. GRADIENT "morphs" the probability mass, ensuring the agent consistently experiences tasks of intermediate difficulty.
Experimental Validation
The authors evaluated GRADIENT on several simulated robotic and navigation benchmarks, including a discrete grid-world Maze, a continuous PointMass environment, and a complex robotic manipulation task called FetchPush.
Key Results
- Handling Complex Shapes: In the FetchPush task, the target tasks form a non-Gaussian half-circle. GRADIENT significantly outperformed state-of-the-art baselines like SPDL. Because SPDL is forced to use Gaussians, it sampled many "impossible" tasks (like pushing a box through a wall), whereas GRADIENT stayed accurately on the target manifold.
- Learning Efficiency: In the Maze task, GRADIENT reached the success threshold significantly faster than "No-Curriculum" (which failed entirely) and "Domain Randomization."
- Asymptotic Performance: GRADIENT didn't just learn faster; it often achieved a higher final success rate than competing methods, suggesting that a well-structured, geometrically-aware curriculum helps agents find better global optima.
Furthermore, the authors provide a theoretical guarantee proving that the performance gap between subsequent stages in their curriculum is bounded by the Wasserstein distance. This provides a strong mathematical foundation for why this "gradual" adaptation is so effective.
Limitations and Future Work
While GRADIENT represents a significant step forward, it does have limitations. Calculating Optimal Transport and Wasserstein barycenters can be computationally expensive, especially as the number of tasks or dimensions increases. Although the authors used the Sinkhorn algorithm to mitigate this, scaling to very high-dimensional contexts remains a challenge.
Additionally, the current experiments focused on tasks where the "context" (difficulty) could be described by a few low-dimensional numbers (like coordinates). Applying this framework to raw image-based contexts—where the curriculum might involve changing the visual clutter in a room—is a promising but unexplored direction. Finally, the algorithm currently requires a predefined "source" (easy) distribution; future work could involve automatically discovering the optimal starting point using intrinsic curiosity.
Summary updated