Policy Improvement Methods: Between Black-Box Optimization and Episodic Reinforcement Learning

Freek Stulp, Olivier Sigaud2013

TL;DR

This paper introduces PIBB, a novel algorithm that simplifies PI² and demonstrates that it's a Black-Box Optimization (BBO) algorithm, specifically a special case of CMA-ES. By creating an algorithmic pair (PI² and PIBB) that only differs in their RL vs. BBO nature, the authors provide a framework for objective comparisons, revealing that BBO can outperform RL even when RL uses more information.

What Problem Does This Paper Address?

The field of policy improvement, which aims to optimize a policy's parameters to maximize a utility function, has seen two main approaches: Reinforcement Learning (RL) and Black-Box Optimization (BBO). While BBO methods are general-purpose optimizers that can be applied to policy parameters, RL algorithms are specifically designed to leverage the structure of policy improvement problems. Recent years have seen a convergence between these two approaches, with RL methods becoming more like BBO. This paper aims to clarify this relationship by:

  1. Defining key algorithmic properties that distinguish RL and BBO.
  2. Demonstrating a trend in algorithm development that moves RL closer to BBO.
  3. Introducing a new algorithm (PIBB) that bridges the gap and allows for direct comparisons.
  4. Providing a framework to investigate why certain tasks might favor BBO over RL.

Methods

The paper introduces PIBB, a simplified version of the PI² algorithm. The key modifications are:

  • Constant Exploration: Instead of time-varying exploration noise, PIBB uses a constant perturbation vector for each roll-out. This aligns with BBO's approach where perturbations are applied once per episode.
  • No Temporal Averaging: PIBB simplifies the parameter update by only considering the cost-to-go at the first time step, effectively using the total trajectory cost. This removes the need for intermediate reward information, a characteristic of BBO.

The authors then demonstrate that PIBB is a Black-Box Optimization (BBO) algorithm. Specifically, they show it's a special case of Covariance Matrix Adaptation - Evolutionary Strategy (CMA-ES) by disabling its covariance matrix adaptation and setting specific parameters. This creates an algorithmic pair (PI² and PIBB) that share identical perturbation and parameter update mechanisms, differing only in their RL (PI²) or BBO (PIBB) nature.

Datasets

The experiments were conducted on the same five tasks previously used by Theodorou et al. (2010). These tasks involve controlling Dynamic Movement Primitives (DMPs) for robotic manipulation, including reaching a goal, passing through via-points, and controlling multi-jointed arms. The implementations were based on the same source code as the original paper, allowing for direct comparison.

Key Insights and Ideas

  • The RL-BBO Convergence is Real: The paper strongly supports the observation that RL methods are increasingly adopting principles from BBO, moving towards parameter perturbation and reward-weighted averaging.
  • BBO Can Outperform RL Even with Less Information: Surprisingly, PIBB, which uses only the total trajectory cost (a BBO characteristic), often outperforms PI², which uses intermediate rewards (an RL characteristic). This suggests that the "extra information" RL uses isn't always beneficial.
  • A Unified Framework for Comparison: The PI²/PIBB pair is a crucial contribution, enabling objective comparisons between RL and BBO by isolating the RL vs. BBO distinction while keeping other algorithmic features constant. This is vital for understanding why one approach might be better than the other.
  • Task Bias is Crucial: The authors hypothesize that the observed BBO advantage might be due to the specific nature of the robotic tasks and policy representations used, which may inherently favor BBO.

Key Results

  • PIBB Achieves Faster Convergence: Across the five tasks, PIBB demonstrated significantly faster convergence speeds compared to PI² variants, on average being 53% of the convergence speed of PI²¯.
  • Equivalent or Better Final Costs: PIBB achieved final costs that were equivalent or better than PI²¯, on average 6% lower than the reference PI².
  • BBO Advantage on Robotic Tasks: For the specific robotic tasks evaluated, PIBB consistently outperformed PI², even on tasks where intermediate rewards were expected to be beneficial for RL.
  • No Significant Difference When Normalizing Exploration: When exploration magnitudes were normalized to achieve the same variance in policy output space, the differences between PI² variants became insignificant, highlighting the importance of exploration tuning.

Limitations and Future Work

  • Task-Specific Advantage: The authors acknowledge that the observed BBO advantage might be specific to the chosen robotic tasks and policy representations. They emphasize the need for further investigation into how task properties influence the performance of RL and BBO algorithms.
  • Simplicity of PIBB: While PIBB is effective, it's a simplified version of CMA-ES. The authors expect that more sophisticated BBO algorithms like CMA-ES would likely outperform PIBB, and this is a direction for future work.
  • Investigating Togelius et al.'s Conjectures: The paper aims to provide a framework for verifying conjectures about which RL/BBO approaches are best suited for different problem types. This remains an ongoing area of research.
  • Broader BBO Algorithm Comparison: The authors plan to include a wider range of BBO algorithms in future comparisons to gain a more comprehensive understanding.

Summary updated

Abstract

34 pages
BibTeX
@misc{stulp2013policy,
  author = {Freek Stulp and Olivier Sigaud},
  title = {{Policy Improvement Methods: Between Black-Box Optimization and Episodic Reinforcement Learning}},
  year = {2013},
}
Figure