NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adaptation de la matrice de covariance pour l'apprentissage par renforcement direct

Freek Stulp, Olivier Sigaud

TL;DR

This paper introduces PI²-CMA, a novel reinforcement learning algorithm that automatically tunes exploration amplitude, a critical hyperparameter that has historically been difficult to set. By adapting the covariance matrix, PI²-CMA achieves more robust learning across various initial conditions and tasks, making it a significant step towards more autonomous and efficient robot learning.

What Problem Does This Paper Address?

Reinforcement learning (RL) algorithms are powerful tools for teaching robots complex tasks, but they often struggle with continuous state and action spaces. Direct policy search methods, which aim to optimize a policy's parameters directly, have shown promise in overcoming this challenge. However, these methods often require careful tuning of exploration parameters – how much randomness is introduced during learning – which significantly impacts performance and can be task-dependent. The paper addresses the difficulty of manually setting this exploration amplitude, which can hinder the effectiveness and robustness of RL algorithms, especially in real-world robotics applications.

Methods

The paper builds upon the Path Integral Policy Improvement (PI²) algorithm, a state-of-the-art direct policy search method. PI² uses a probability-weighted average to update policy parameters, drawing inspiration from stochastic optimal control. The authors compare PI² to two other probability-weighted methods: Cross-Entropy Method (CEM) and Covariance Matrix Adaptation-Evolutionary Strategies (CMA-ES).

The core innovation is the development of PI²-CMA. This new algorithm integrates the covariance matrix adaptation mechanism from CEM and CMA-ES into the PI² framework. Unlike standard PI², which uses a fixed covariance matrix, PI²-CMA dynamically updates it based on the observed costs during exploration. This allows the algorithm to learn the appropriate level of exploration automatically. A related algorithm, PI²-CMAES, is also proposed, which uses the more sophisticated covariance update from CMA-ES.

Datasets

The paper evaluates its proposed methods on a simulated 10-degree-of-freedom robot arm task. This task involves moving the arm to a specific target position while minimizing accelerations. The task is described in detail and illustrated in Figure 2, and it is noted that this benchmark has been used previously to compare other RL algorithms.

Key Insights and Ideas

  • Automatic Exploration Tuning: The most significant insight is that adapting the covariance matrix, a technique already present in CEM and CMA-ES, allows PI² to automatically determine the optimal exploration amplitude. This removes a major hyperparameter tuning burden for users.
  • Convergence Robustness: PI²-CMA demonstrates significantly more robust convergence across a wide range of initial exploration amplitudes compared to standard PI². This means users don't need to meticulously find the "right" starting point for exploration.
  • Emergent Properties: The ability of PI²-CMA to automatically adjust exploration is an emergent property of incorporating covariance matrix adaptation, rather than an explicitly designed feature.
  • Bridging Different RL Paradigms: The paper highlights the surprising convergence of seemingly different RL algorithms (CEM, CMA-ES, PI²) on similar probability-weighted update principles, suggesting a unifying theme in modern RL research.

Key Results

  • Improved Convergence: For the 10-DOF robot arm task, PI²-CMA achieved a cost of 10⁵(8 ± 7) after 500 updates, regardless of the initial exploration amplitude. In contrast, standard PI² with a fixed covariance matrix showed a much wider cost range of 10⁵(35 ± 43) for different initial amplitudes.
  • Faster Learning: PI²-CMA was shown to automatically increase exploration when needed, leading to faster convergence, and then decrease it once the task was learned.
  • Minimal Parameter Sensitivity: The paper suggests that the remaining parameters for PI²-CMA (number of trials per update, elitism parameter) are not critical and can be set to default values without significantly impacting performance.

Limitations and Future Work

  • Initial Covariance Matrix: While PI²-CMA automatically tunes exploration amplitude, it still requires an initial covariance matrix. However, the paper shows that even with initial amplitudes two orders of magnitude larger or smaller than optimal, PI²-CMA converges well.
  • Comparison with PI²-CMAES: The paper notes that PI²-CMAES (using CMA-ES's covariance update) showed only a minor difference in convergence speed, particularly with low initial exploration. The authors suggest that the effectiveness of CMA-ES might be task-dependent and that further research is needed to understand its advantages on typical robotic tasks.
  • Future Work: The authors plan to apply PI²-CMA to challenging tasks on humanoid robots, leveraging its ability to learn complex, high-dimensional tasks.

Summary updated

BibTeX
@article{stulp2013adaptation,
  author = {Freek Stulp and Olivier Sigaud},
  title = {{Adaptation de la matrice de covariance pour l'apprentissage par renforcement direct}},
  journal = {Rev. d'Intelligence Artif.},
  year = {2013},
  doi = {10.3166/ria.27.243-263},
}
Figure