Dimensionality Reduction and Prioritized Exploration for Policy Search

Marius Memmel, Puze Liu, Davide Tateo, Jan Peters

Abstract

Black-box policy optimization is a class of reinforcement learning algorithms that explores and updates the policies at the parameter level. This class of algorithms is widely applied in robotics with movement primitives or non-differentiable policies. Furthermore, these approaches are particularly relevant where exploration at the action level could cause actuator damage or other safety issues. However, Black-box optimization does not scale well with the increasing dimensionality of the policy, leading to high demand for samples, which are expensive to obtain in real-world systems. In many practical applications, policy parameters do not contribute equally to the return. Identifying the most relevant parameters allows to narrow down the exploration and speed up the learning. Furthermore, updating only the effective parameters requires fewer samples, improving the scalability of the method. We present a novel method to prioritize the exploration of effective parameters and cope with full covariance matrix updates. Our algorithm learns faster than recent approaches and requires fewer samples to achieve state-of-the-art results. To select the effective parameters, we consider both the Pearson correlation coefficient and the Mutual Information. We showcase the capabilities of our approach on the Relative Entropy Policy Search algorithm in several simulated environments, including robotics simulations.

Introduction: The Scalability Challenge in Black-Box Optimization

In Reinforcement Learning (RL) for robotics, exploring by adding random noise to a robot's actions at every time step can cause jerky movements, potentially damaging hardware. Black-Box Optimization (BBO) solves this by exploring in the parameter space—perturbing the policy's underlying parameters at the start of an episode to generate smooth, safe trajectories.

However, BBO faces a massive scalability problem. To explore complex tasks effectively, algorithms need to understand how different parameters interact, which requires maintaining a "full covariance matrix." The size of this matrix scales quadratically with the number of parameters, and updating it requires a huge number of samples (episodes) to ensure mathematical stability. Since real-world robot samples are incredibly expensive, this sample hunger makes full-covariance BBO impractical for high-dimensional policies.

Methods: DR-CREPS

The authors propose Dimensionality Reduced Constrained Relative Entropy Policy Search (DR-CREPS), which tackles sample inefficiency using three main components:

  1. Parameter Effectiveness Metric: Not all parameters contribute equally to a robot's success. The algorithm uses correlation metrics—specifically the Pearson Correlation Coefficient (PCC) or Mutual Information (MI)—to measure how strongly each parameter's variations correlate with the final episodic return.
  2. Prioritized Exploration (PE): Once "ineffective" parameters are identified, the algorithm shrinks their exploration variance. This focuses the random sampling noise almost entirely on the parameters that actually impact performance.
  3. Guided Dimensionality Reduction (GDR): To handle the full covariance matrix, the authors use Singular Value Decomposition (SVD) to project the matrix into a rotated space where all dimensions are uncorrelated. They then update only the effective parameters in this rotated space before projecting back. This mathematical trick bypasses the massive sample requirement of a standard full-covariance update.
Overview of the DR-CREPS algorithm workflow.

Experimental Setup and Key Results

The method was evaluated on four simulated continuous control and robotics environments: a modified 10D LQR baseline, ShipSteering, AirHockey (3-DoF), and BallStopping (7-DoF).

DR-CREPS demonstrated significant improvements in both sample efficiency and final performance across all tasks:

  • Massive Sample Efficiency Gains: In the LQR task, DR-CREPS required only 50 episodes per policy update to maintain a stable full covariance matrix, whereas standard CREPS required 150 and MORE required 250.
  • Task Success in Complex Environments: In tasks like AirHockey and BallStopping, DR-CREPS successfully learned reliable policies (e.g., intercepting the ball in ~500 episodes) while baselines either failed completely or suffered from high variance.
  • Outperforming Deep RL: On these structured robotics tasks, DR-CREPS outperformed standard deep RL baselines like TRPO and PPO, which struggled with sparse rewards and complex physical dynamics.
Performance comparison of DR-CREPS against baselines across multiple environments.

A key insight was that simple metrics like PCC performed as well as or better than MI. Because PCC is easier to estimate from small sample sizes, it is highly effective for this sample-starved regime. Furthermore, Prioritized Exploration actively smoothed out the robot's behavior in the BallStopping task, allowing it to solve a problem where exploration noise in ineffective parameters previously caused failure.

Conclusion

DR-CREPS offers a path toward practical full-covariance policy search in high-dimensional robotics. By identifying and focusing on effective parameters, it drastically reduces the sample cost of learning. While currently tailored for structured parametric policies like Movement Primitives, future work will explore how these dimensionality reduction techniques might be adapted for the entangled weight spaces of deep neural networks.

Summary updated

BibTeX
@inproceedings{memmel2022dimensionality,
  author = {Marius Memmel and Puze Liu and Davide Tateo and Jan Peters},
  title = {{Dimensionality Reduction and Prioritized Exploration for Policy Search}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=SEEUOmTmcPK},
}
Figure