Developmental Reinforcement Learning through Sensorimotor Space Enlargement

Matthieu Zimmer, Alain Dutech, Yann Boniface

TL;DR

This paper introduces "Developmental Reinforcement Learning," a novel approach that mimics child development by gradually expanding an agent's sensory and motor capabilities. By using "developmental layers" to progressively uncover more of the environment's complexity, agents can learn complex tasks more efficiently and avoid catastrophic forgetting.

What Problem Does This Paper Address?

Deep reinforcement learning (RL) agents often struggle with high-dimensional, continuous state and action spaces. Learning from scratch in such complex environments is inefficient and prone to "catastrophic forgetting," where an agent forgets previously learned skills when adapting to new ones. Existing curriculum learning methods often require significant environment modifications or carefully designed task sequences. This paper aims to address these challenges by proposing an agent-centric method for gradually increasing the complexity of the problem it tackles, inspired by how children learn.

Methods

The core innovation is the Developmental Layer (DL), a new type of neural network layer. DLs act as filters, controlling which input dimensions (for state perception) or output dimensions (for action control) are accessible to the rest of the network. This allows the agent to start learning in a reduced sensorimotor space and progressively "uncover" more dimensions.

  • Sensorimotor Space Enlargement: The agent begins by learning a task with a limited set of perceptions and actions. At specific points (transfer moments), the DLs are updated to allow access to more dimensions, effectively increasing the sensorimotor space. This is framed as a form of transfer learning.
  • Intrinsic Motivation Heuristic: The decision of when to expand the sensorimotor space is guided by an intrinsic motivation heuristic. When the agent's performance stagnates, it triggers a transfer, suggesting it has learned as much as it can in the current, simpler space.
  • Catastrophic Forgetting Mitigation: To prevent forgetting, the paper explores two methods:
  • Initialization: The weights learned in the source task are used as the initial weights for the target task.
  • Elastic Weight Constraint (EWC): This method, inspired by prior work, limits the updates to important weights identified by the Fisher Information Matrix, preserving knowledge from the source task.

The approach is integrated with two state-of-the-art actor-critic algorithms: Deep Deterministic Policy Gradient (DDPG) and Neural Fitted Actor Critic (NFAC).

Datasets

The paper does not introduce new datasets. Instead, it uses two established high-dimensional continuous control environments:

  • Half-Cheetah: A 6-degree-of-freedom environment where the agent learns to run.
  • Humanoid: A 17-degree-of-freedom environment where the agent learns to walk.

The authors developed open-source implementations of these environments based on the Open Dynamic Engine (ODE), aiming to reproduce aspects of MuJoCo environments.

Key Insights and Ideas

  • Developmental approach is beneficial: Gradually increasing the complexity of the sensorimotor space, mirroring developmental learning, significantly aids RL agents in high-dimensional continuous domains.
  • DLs offer a flexible mechanism: Developmental Layers provide a clean, agent-centric way to manage the progressive enlargement of sensorimotor spaces without altering the environment itself.
  • Early success bootstraps later learning: Learning a suboptimal solution in a reduced space can act as a powerful bootstrap, leading to faster convergence and better final performance in the full space.
  • Intrinsic motivation for developmental planning: Using performance stagnation as a trigger for expanding the sensorimotor space is a practical and effective heuristic for determining developmental steps.
  • Transfer learning is crucial: The ability to transfer knowledge from simpler to more complex tasks is essential for efficient learning in this developmental framework.

Key Results

The paper demonstrates that incorporating developmental layers (DLs) into DDPG and NFAC leads to improved performance on both Half-Cheetah and Humanoid tasks.

  • Faster Learning: In most experimental setups, agents with DLs achieved better performance earlier in training compared to agents without DLs.
  • Higher Final Performance: The DL-equipped agents generally reached higher levels of discounted rewards sum.
  • EWC's Mixed Success: While EWC showed some benefits, it was not always superior to simple initialization, and it introduced additional complexity in hyperparameter tuning.
  • Visualizations: Figures 5 and 6 show median and quartile performance curves, illustrating the advantage of DLs, with and without EWC, across different algorithms and environments. The dashed orange lines indicate the transfer moments.

Limitations and Future Work

  • A Priori Knowledge for Development Plan: The order in which sensorimotor dimensions are uncovered (the "developmental plan") is currently determined offline via grid search. The authors acknowledge this is a limitation and suggest that a more sophisticated approach would involve dynamically adapting this plan online.
  • Environment Suitability: The authors note that the chosen environments might not be the "best suited" to showcase the full potential of DLs, suggesting that tasks with sparser rewards or where initial simplicity is more critical might benefit even more.
  • Heuristic for Transfer Trigger: While the intrinsic motivation heuristic is effective, it requires careful tuning of parameters (smoothing, time window).
  • Future Directions:
    • Developing online methods for determining the developmental plan.
  • Exploring other curriculum learning techniques (reward shaping, task simplification) in conjunction with DLs.
  • Investigating stochastic activation of DLs for continuous transfer.
  • Inserting DLs between hidden layers to enable higher-level growth of the parameter space.
  • Applying the approach to environments with sparser rewards.

Summary updated

Abstract

In the framework of model-free deep reinforcement learning with continuous sensorimotor space, we propose a new type of transfer learning, inspired by the child development, where the sensorimotor space of an agent grows while it is learning a policy. To decide how the dimensions grow in our neural network based actor-critic, we add new developmental layers to the neural networks which progressively uncover some dimensions of the sensorimotor space following an Intrinsic Motivation heuristic. To mitigate the catastrophic forgetting problem, we take inspiration from the Elastic Weight Constraint to regulate the learning of the neural controller. We validate our approach using two state-of-the-art algorithms (DDPG and NFAC) on two high-dimensional environment benchmarks (Half-Cheetah and Humanoid). We show that searching first for a suboptimal solution in a subset of the parameter space, and then in the full space, is helpful to bootstrap learning algorithms, and thus reach better performances in fewer episodes.
BibTeX
@inproceedings{zimmer2018developmental,
  author = {Matthieu Zimmer and Alain Dutech and Yann Boniface},
  title = {{Developmental Reinforcement Learning through Sensorimotor Space Enlargement}},
  booktitle = {Joint IEEE Int. Conf. on Developmental and Learning and Epigenetic Robotics (ICDL-EpiRob)},
  year = {2018},
  url = {https://openreview.net/forum?id=93NdrOCXrO},
}
Figure