Self-Paced Absolute Learning Progress as a Regularized Approach to Curriculum Learning

Tobias Niehues, Ulla Scheler, Pascal KlinkarXiv 2023 · DOI

Abstract

Reinforcement Learning (RL) often suffers from high computational costs. Curriculum Learning (CL) addresses this by sequencing tasks from easy to hard. However, the popular Absolute Learning Progress (ALP) metric can be misled by marginal progress in nearly impossible tasks, leading to inefficient sampling. We introduce Self-Paced Absolute Learning Progress (SPALP), a regularized approach that prioritizes progress in high-reward regions. By applying a squashing function to reward differences, SPALP effectively filters out noise in low-reward zones, guiding the teacher to focus on tasks the agent can master. Experiments in Bipedal Walker and Toy environments demonstrate that SPALP achieves faster convergence and higher mastery compared to standard ALP-GMM.

Introduction

Reinforcement Learning (RL) agents often struggle to learn complex behaviors from scratch. Curriculum Learning (CL) mitigates this by having a "teacher" algorithm select tasks for a "student" agent in an order that facilitates learning. A common strategy is to maximize Absolute Learning Progress (ALP), where the teacher focuses on areas where the agent's performance is changing most rapidly.

The Challenge: Progress Without Mastery

While ALP is effective, it possesses a significant blind spot: it treats all progress equally. An agent might show a small increase in reward on an extremely difficult task—for instance, failing slightly less quickly. Standard ALP interprets this as a signal to continue practicing that difficult task, potentially wasting millions of steps on behavior that does not lead to environment mastery. The goal of this work is to ensure the teacher prioritizes "winnable" progress.

Methods: Self-Paced Absolute Learning Progress (SPALP)

The authors propose Self-Paced Absolute Learning Progress (SPALP), a modification of the ALP-GMM framework that incorporates regularization from Self-Paced Learning.

The Squashing Function

The core of SPALP is a regularization function, $f_\alpha$, applied to normalized rewards in the range $[-1, 0]$. Instead of calculating progress as the raw difference $|r_{new} - r_{old}|$, SPALP uses: $$SPALP_i = |f_\alpha(r_{NN}) - f_\alpha(r_i)|$$ where $r_{NN}$ is the reward of the nearest neighbor in the task history.

The squashing function $f_\alpha$ reduces the perceived progress in low-reward regions (green) compared to high-reward regions (red) for the same absolute reward difference.

As shown in the figure above, the function is designed to be aggressive in low-reward regions (near -1). This "squashes" the perceived progress, making the teacher less likely to sample tasks where the agent is struggling. As rewards increase toward 0, the function becomes more linear, allowing the teacher to focus on the agent's actual learning frontier.

Dynamic Regularization

The strength of this squashing is controlled by a dynamic parameter $\alpha$. This parameter is updated based on a reward bound $r_b$. If the agent's performance is significantly below $r_b$, $\alpha$ remains high, enforcing strict regularization. As the agent improves, $\alpha$ decreases, eventually allowing the curriculum to behave like standard ALP once the agent has established a baseline of competence.

Key Results

The researchers evaluated SPALP against the standard ALP-GMM baseline in several environments, most notably the Bipedal Walker and a variety of Toy Environments.

Faster Convergence and Higher Mastery

In the Bipedal Walker task, where an agent learns to navigate obstacles, SPALP demonstrated a clear advantage in efficiency. By focusing on easier task subspaces (e.g., lower obstacles) for longer, it avoided the "noise" of failing in difficult regions.

Performance comparison in the Bipedal Walker environment: SPALP ($r_b = -0.1$) reaches peak mastery significantly faster than the standard ALP-GMM baseline.

As illustrated in the performance plot, SPALP reached peak mastery in approximately 20 epochs, whereas the standard ALP-GMM required nearly 35 epochs to achieve similar results. In synthetic toy environments, SPALP also achieved higher final mastery rates (e.g., 91.33% vs 80.86% in a 2D linear task), proving its robustness in guiding the agent toward full coverage of the task space.

Conclusion

SPALP introduces a principled way to regularize curriculum learning by filtering out unproductive progress signals in low-reward zones. By acting as a "safety net," it ensures that the teacher algorithm remains focused on tasks that are within the agent's current reach. Future work may explore "laddered" reward bounds to further smooth the transition between learning stages and improved memory management for the teacher's task history.

Summary updated

BibTeX
@misc{niehues2023self,
  author = {Tobias Niehues and Ulla Scheler and Pascal Klink},
  title = {{Self-Paced Absolute Learning Progress as a Regularized Approach to Curriculum Learning}},
  year = {2023},
  eprint = {2306.05769},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.05769},
}
Figure