CURIOUS: Intrinsically Motivated Modular Multi-Goal Reinforcement Learning

Cédric Colas, Pierre-Yves Oudeyer, Olivier Sigaud, Pierre Fournier, Mohamed Chetouani

Introduction

In traditional Reinforcement Learning (RL), an engineer typically defines a specific, narrow task for an agent to solve. However, for truly autonomous "continual learning," an agent must operate in open-ended environments without external rewards, discovering for itself what it can control.

Two major hurdles exist in this open-ended setting:

  1. Modular Complexity: Real-world goals aren't "flat." Reaching for an object is fundamentally different from stacking two cubes. Standard architectures struggle to represent these diverse types of goals simultaneously.
  2. The Curriculum Problem: If an agent is left to explore on its own, it might waste time on "distracting" goals that are either already mastered or physically impossible. Without a human-provided curriculum, how does an agent decide what to practice next to maximize its overall competence?

To address these challenges, researchers introduced CURIOUS (Continual Universal Reinforcement learning with Intrinsically mOtivated sUbstitutionS), an algorithm that allows autonomous agents to master a diverse repertoire of skills by setting their own goals and building their own curriculum.

Methods: Architecture and Intrinsic Motivation

CURIOUS combines two key innovations to handle complex, multi-goal environments: Modular-UVFA and Absolute Learning Progress.

Modular-UVFA (M-UVFA)

Standard Universal Value Function Approximators (UVFAs) use a single goal vector, which limits their ability to handle tasks with varying geometries. M-UVFA extends this by splitting the goal representation into two parts: a module descriptor (a one-hot encoding of the task type, like "Push" or "Stack") and a goal parameter (the specific coordinates for that task).

M-UVFA Architecture

This modular approach allows a single policy to handle a variety of different task constraints. Furthermore, the algorithm employs Cross-Module and Cross-Goal Learning. Using an extension of Hindsight Experience Replay (HER), the agent can take a transition collected while trying to "Stack" and use it to learn about "Pushing" or "Reaching," maximizing the data efficiency of every interaction.

Absolute Learning Progress (LP)

To build its own curriculum, the agent tracks its "competence" (success rate) for each module. It then calculates Learning Progress (LP) as the derivative of this competence. By using the absolute value of LP, the agent is intrinsically motivated to focus on modules where its performance is changing the most. This means it prioritizes tasks it is currently learning and ignores tasks that are either impossible (zero LP) or already mastered (zero LP).

The Modular Goal Fetch Arm Benchmark

To test CURIOUS, the researchers introduced the Modular Goal Fetch Arm environment. It features a simulated 7-DOF robotic arm facing two cubes on a table. The agent must learn four achievable modules of increasing difficulty:

  1. Reach (gripper to 3D target)
  2. Push (cube to 2D target)
  3. Pick and Place (cube to 3D target)
  4. Stack (cube 1 on cube 2)

To test robustness, the environment also includes "distracting" modules involving out-of-reach or randomly moving cubes that the agent cannot possibly control.

Key Insights and Results

Self-Organized Curriculum

One of the most striking results is the agent's ability to naturally discover a developmental progression. It doesn't need a human to tell it the order of difficulty; the Learning Progress signal handles it automatically.

Self-Organized Curriculum

As shown in its competence curves, the agent first masters Reach, then Push, then Pick and Place, and finally Stack.

Ignoring the Impossible and Recovering from Forgetting

When faced with "distracting" goals (like moving a cube bolted to the table), CURIOUS quickly realizes it isn't making progress and drops the probability of selecting those goals. In contrast, a standard agent would waste significant time on them. Even when 7 out of 11 available modules were impossible distractors, CURIOUS maintained a high success rate on achievable goals.

Furthermore, because CURIOUS monitors absolute LP, it is highly resilient to catastrophic forgetting. If learning a new skill causes a drop in performance on an old skill, this creates a spike in absolute LP, "curiously" drawing the agent back to practice the old skill until it recovers. In tests simulating a "sensor failure," CURIOUS recovered 95% of its performance 45% faster than non-intrinsically motivated baselines.

Overall Performance

CURIOUS significantly outperformed "flat" architectures (which failed to learn the modular tasks) and "Module-Expert" approaches (which lacked the ability to transfer knowledge between tasks). In the modular environment, CURIOUS achieved high success rates across all tasks in roughly $250 \times 10^3$ episodes, while the best baseline required nearly double that.

Limitations and Future Work

While CURIOUS represents a significant step forward for autonomous learning, it has limitations:

  • Pre-defined Modules: Currently, the task types (modules) must be defined by the programmer. A major next step is allowing the agent to discover the modular structure of its environment (e.g., using VAEs) without being told which features belong to which task.
  • Moving Averages: The LP estimation relies on moving averages of success rates, which can be slow to react to sudden changes. More advanced Bayesian methods for tracking competence could improve reactivity.
  • Hierarchical Scaling: While CURIOUS handles multiple types of goals, it doesn't yet use a hierarchical structure where one goal is a sub-step for another. Integrating this with Hierarchical RL is a promising future direction.

Summary updated

BibTeX
@inproceedings{colas2019curious,
  author = {Cédric Colas and Pierre-Yves Oudeyer and Olivier Sigaud and Pierre Fournier and Mohamed Chetouani},
  title = {{CURIOUS: Intrinsically Motivated Modular Multi-Goal Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=SkZAHsZOWS},
}
Figure