Efficient iterative policy optimization

Nicolas Le RouxarXiv 2016 · OpenReview

TL;DR

This paper introduces Iterative POWER, a method for efficiently optimizing reinforcement learning policies with a limited number of policy updates. By approximating the expected reward with a sequence of concave lower bounds, it drastically reduces the need for new data collection, making it suitable for real-world applications like online advertising and robotics. The method also extends existing techniques to handle negative rewards, enabling the use of control variates for improved variance reduction.

What Problem Does This Paper Address?

Reinforcement learning (RL) aims to learn optimal policies (mappings from states to actions) that maximize cumulative rewards. Traditional RL methods often require a large number of interactions with the environment to achieve good performance. However, in many practical scenarios, such as deploying a new policy in a live online advertising system or controlling a robot, collecting new data is costly, time-consuming, or even damaging. This paper addresses the challenge of learning effective policies when the number of policy updates (and thus, the number of new data samples that can be collected) is severely limited. The authors highlight that while large companies can gather billions of samples, the delay between policy updates can be hours or days, necessitating methods that can achieve good performance with fewer policy iterations.

Methods

The core contribution is the Iterative POWER algorithm. It builds upon the POWER algorithm, which uses concave lower bounds to optimize the expected policy reward. The key innovation is an iterative scheme that updates the policy multiple times using these lower bounds.

Here's a breakdown of the methods:

  • Concave Lower Bounds: The paper leverages the idea of approximating the expected policy reward $J(\theta)$ with a sequence of concave lower bounds. This is achieved by introducing a distribution $q(\tau|\nu)$ and using it to construct a lower bound $p_q(\tau|\theta)$ for the true policy's probability $p(\tau|\theta)$. This bound is then used to optimize the expected reward.
  • Handling Negative Rewards: A significant limitation of prior work (like POWER) is the assumption of non-negative rewards. This paper extends the framework to handle negative rewards by introducing a convex upper bound on the policy's probability distribution. This allows for the construction of concave lower bounds even with negative returns, enabling the use of control variates.
  • Control Variates: To further reduce the variance of the policy gradient estimator, the paper incorporates control variates. These are auxiliary variables that, when used correctly, can significantly improve the stability and convergence speed of the learning process, especially when dealing with negative rewards.
  • Iterative Scheme: Instead of performing a single optimization step as in standard POWER, Iterative POWER performs multiple optimization steps. After optimizing the lower bound with respect to the policy parameters $\theta$ using a fixed reference policy $\theta_0$, the algorithm updates the reference policy to the newly optimized policy $\theta_1$ and recomputes the lower bound for the next iteration. This iterative refinement allows for more significant policy improvements with the same amount of data.

Datasets

  • Cartpole Benchmark: The Cartpole problem, a standard benchmark in reinforcement learning, was used to evaluate the algorithm's performance. This is a synthetic environment where the goal is to balance a pole on a cart.
  • Real Online Advertising Data: The authors also used a large-scale dataset from a real-world online advertising system. This data comprised over 1.3 billion ad displays over two weeks and included information about user history, current URL, ad size, bids, display costs, and sale values. This dataset was used to learn a modifier for an existing bidding system.

Key Insights and Ideas

  • Iterative Refinement is Crucial: The paper strongly suggests that simply optimizing a lower bound once (as in standard POWER) is insufficient for significant gains. Iteratively refining the policy using updated lower bounds, even with the same data, leads to substantial improvements.
  • Negative Rewards are Not a Showstopper: The ability to handle negative rewards by introducing convex upper bounds and control variates is a key enabler for applying these methods to a wider range of real-world problems where costs or penalties are inherent.
  • Control Variates are Powerful: The experiments show that using control variates, especially with higher values of T (number of iterations), dramatically improves performance on the Cartpole task. This highlights their importance in stabilizing learning and achieving better results.
  • Limited Updates, High Performance: The core message is that it's possible to achieve high performance with a limited number of policy updates, a critical requirement for many practical RL deployments.

Key Results

  • Cartpole Performance: Iterative POWER showed significant performance improvements on the Cartpole benchmark, especially with higher numbers of iterations (T) and proper control variates. For instance, Figure 1 and 2 show that increasing T from 1 to 5 or 20 leads to substantial gains in reward.
  • Online Advertising Gains: In the online advertising experiment, Iterative POWER with added constraints achieved a significantly greater improvement in advertiser value compared to a single iteration of POWER. The final improvement was about 60 times greater, with a negligible increase in expected spend.
  • Variance Reduction: The use of control variates was shown to be crucial for improving convergence and reducing variance, particularly for larger values of T.

Limitations and Future Work

  • Variance Issues with Many Iterations: The authors note that even with capped importance weights and control variates, performing too many iterations might lead to regions of high variance. This suggests the need for additional regularizers.
  • Need for Additional Regularizers: Future work could explore using additional regularizers, such as normalized weights or penalizing the standard deviation of the estimator, to further combat variance.
  • Finding Concave Lower Bounds for Regularizers: A key open problem is finding concave lower bounds for these additional regularizers to maintain the simplicity and theoretical guarantees of the overall algorithm.
  • Non-Log-Concave Policies: The current method relies on a log-concavity assumption on the policy, which can be restrictive for complex policies (e.g., those using deep networks). Extending the method to handle non-log-concave policies is a direction for future research.

Summary updated

Abstract

We tackle the issue of finding a good policy when the number of policy updates is limited. This is done by approximating the expected policy reward as a sequence of concave lower bounds which can be efficiently maximized, drastically reducing the number of policy updates required to achieve good performance. We also extend existing methods to negative rewards, enabling the use of control variates.
BibTeX
@misc{roux2016efficient,
  author = {Nicolas Le Roux},
  title = {{Efficient iterative policy optimization}},
  year = {2016},
  eprint = {1612.08967},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.08967},
}
Figure