Stochastic Policy Gradient Ascent in Reproducing Kernel Hilbert Spaces

Santiago Paternain, Juan Andres Bazerque, Austin Small, Alejandro Ribeiro · DOI

TL;DR

This paper introduces a novel stochastic policy gradient ascent algorithm for reinforcement learning in Markov Decision Processes (MDPs) where policies are represented by functions in Reproducing Kernel Hilbert Spaces (RKHS). The key innovation is an algorithm that provides unbiased policy gradient estimates, reduces their variance, and controls policy complexity using sparse RKHS representations, leading to provable convergence and practical performance.

What Problem Does This Paper Address?

Reinforcement learning (RL) aims to find optimal policies that maximize cumulative rewards in an environment. Traditional RL methods often struggle with continuous state-action spaces due to the "curse of dimensionality." While methods like Q-learning can be used, they can be computationally challenging. Policy gradient methods offer an alternative by directly learning the policy. However, existing policy gradient methods often suffer from biased gradient estimates, leading to convergence issues, and can be computationally expensive, especially when dealing with complex function approximators like those in RKHS. This paper tackles these challenges by developing a principled approach to policy gradient learning within RKHS that addresses bias, variance, and complexity.

Methods

The authors propose a stochastic policy gradient ascent algorithm with three core novelties:

  1. Unbiased Stochastic Policy Gradients: They develop a method to compute unbiased estimates of policy gradients. This is achieved by using a geometrically distributed stopping time for trajectories, which ensures that the Q-function estimates are unbiased, and subsequently, the policy gradients are also unbiased. This is crucial for proving convergence to a stationary point.
  2. Variance Reduction: Drawing inspiration from numerical differentiation, they introduce a technique to reduce the variance of the stochastic policy gradient estimates. This involves using symmetric actions around the mean of the policy's action distribution, effectively leveraging more information from each sample to improve convergence speed.
  3. Sparse RKHS Representations: To combat the memory explosion problem inherent in RKHS (where the number of kernel elements can grow indefinitely), they employ sparse RKHS representations using a Kernel Orthogonal Matching Pursuit (KOMP) algorithm. This prunes the dictionary of kernel elements while keeping the induced error below a specified budget, ensuring bounded policy complexity.

Datasets

Not discussed in the paper. The authors use standard control problems for evaluation.

Key Insights and Ideas

  • Unbiased Gradients are Key for Convergence: The paper strongly emphasizes that unbiased policy gradient estimates are fundamental for proving convergence to a stationary point in functional stochastic gradient ascent, a feat not always achieved by prior methods.
  • Numerical Differentiation for RL Gradients: The idea of using numerical differentiation principles to reduce the variance of policy gradients is an elegant way to improve sample efficiency in RL.
  • Sparse RKHS for Practicality: The integration of KOMP to manage the complexity of RKHS representations is a critical step towards making these powerful function approximators practically usable in RL. It highlights the trade-off between model complexity and convergence guarantees.
  • Gaussian Policy as a Bridge: Using a randomized Gaussian policy as an approximation to a deterministic one is shown to be beneficial, providing a good approximation of the Q-function gradient and enabling the use of numerical differentiation techniques.

Key Results

  • Theoretical Convergence: The paper provides theoretical guarantees for convergence. Theorem 1 shows that their algorithm converges to a stationary point of the expected cumulative reward with probability one. Theorem 2 demonstrates that when using sparse RKHS representations (KOMP), the algorithm converges to a neighborhood of a critical point, with the size of the neighborhood depending on the step size and compression budget.
  • Bounded Model Order: The use of KOMP ensures that the model order (number of dictionary elements) of the learned policy remains bounded, addressing a major practical limitation of RKHS-based methods.
  • Empirical Success: Numerical experiments on the Continuous Mountain Car and Cartpole problems demonstrate successful learning of policies that achieve high rewards and are close to stationary points. For instance, they learned policies for the Mountain Car problem with 40 kernels and for the Cartpole problem with 120 kernels, achieving good performance.

Limitations and Future Work

  • Trade-off in Sparse RKHS: While sparse RKHS representations control complexity, they introduce a bias into the gradient estimate, leading to convergence to a neighborhood of a critical point rather than the exact point. The paper discusses how to choose parameters to balance this trade-off.
  • Parameter Tuning: The performance of the algorithm depends on the choice of step size (η) and compression budget (ε), which require careful tuning.
  • Future Work: The paper suggests that further exploration of parameter selection strategies for optimal trade-offs between accuracy and speed of convergence is warranted. The theoretical analysis of the convergence to a neighborhood of critical points with sparse representations is also a key contribution that could be extended.

Summary updated

BibTeX
@article{paternain2018stochastic,
  author = {Santiago Paternain and Juan Andres Bazerque and Austin Small and Alejandro Ribeiro},
  title = {{Stochastic Policy Gradient Ascent in Reproducing Kernel Hilbert Spaces}},
  journal = {IEEE Transactions on Automatic Control},
  year = {2018},
  doi = {10.1109/tac.2020.3029317},
}
Figure