Nonparametric Stochastic Compositional Gradient Descent for Q-Learning in Continuous Markov Decision Problems

Ekaterina V. Tolstaya, Alec Koppel, Ethan Stump, Alejandro Ribeiro · DOI

TL;DR

This paper introduces KQ-Learning, a novel algorithm for reinforcement learning in continuous state and action spaces. It tackles the challenge of learning optimal policies by reformulating the problem as a non-convex optimization task in a Reproducing Kernel Hilbert Space (RKHS) and using a sparse projection method to manage complexity. KQ-Learning is shown to converge to a stationary point, achieving competitive performance on benchmark control tasks with significantly reduced model complexity.

What Problem Does This Paper Address?

Reinforcement learning (RL) agents aim to learn optimal decision-making policies in uncertain environments. While RL has seen great success, applying it to problems with continuous state and action spaces (common in robotics and control) remains a significant challenge. Traditional methods often struggle with the "curse of dimensionality" and ensuring convergence. Existing approaches for continuous spaces often rely on finite parameterizations (like neural networks) which can be difficult to analyze theoretically, or they face issues with stability and divergence when combining function approximation with bootstrapping. This paper addresses the need for a principled, stable, and computationally manageable RL method for continuous Markov Decision Problems (MDPs) that guarantees convergence.

Methods

The core of KQ-Learning lies in reformulating the Bellman optimality equation, which defines the optimal action-value function (Q), into a non-convex optimization problem within a Reproducing Kernel Hilbert Space (RKHS). This RKHS framework allows for nonparametric function representation. To handle the computational complexity arising from the RKHS, the authors employ a functional generalization of stochastic quasi-gradient (SQG) descent. A key innovation is the use of Kernel Orthogonal Matching Pursuit (KOMP)* to sparsify the kernel dictionary. This greedy compression technique keeps the model complexity manageable by selecting only the most relevant kernel basis functions, effectively controlling the error in the descent direction. The algorithm is designed to be memory-efficient and to avoid the uncontrolled growth of the function representation.

Datasets

The paper evaluates KQ-Learning on two standard continuous control benchmarks:

  • Inverted Pendulum: A classic control problem where the goal is to balance a pendulum upright.
  • Continuous Mountain Car: Another benchmark where the agent must learn to drive a car up a hill.

These are standard environments used for evaluating RL algorithms in continuous spaces.

Key Insights and Ideas

  • RKHS as a Principled Framework: Framing the Q-learning problem within an RKHS provides a theoretically sound basis for nonparametric function approximation in continuous spaces.
  • SQG for Non-Convexity: Adapting stochastic quasi-gradient descent is crucial for handling the non-convex nature of the Bellman optimality equation in this setting, which is a departure from standard convex optimization approaches in RL.
  • KOMP for Complexity Control: The application of Kernel Orthogonal Matching Pursuit is a critical component for making the RKHS approach computationally feasible. It allows for a parsimonious representation of the Q-function, preventing model explosion.
  • Guaranteed Convergence: The theoretical analysis provides convergence guarantees (almost surely to a stationary point, and to a bounded Bellman error with constant learning rates), which is a significant contribution for non-convex RL problems.
  • Interpretability: The kernel-based representation allows for insights into which state-action pairs are most important for learning the optimal policy.

Key Results

  • Convergence: The KQ-Learning algorithm is proven to converge with probability 1 to a stationary point of the regularized Bellman optimality equation within the RKHS.
  • Performance: On the Inverted Pendulum and Continuous Mountain Car tasks, KQ-Learning achieved competitive performance with state-of-the-art methods in terms of average episode reward.
  • Complexity Reduction: The method achieved this performance with a significant reduction in model complexity (orders of magnitude fewer parameters) compared to existing methods, as demonstrated by the model order plots.
  • Reproducibility: The results showed a smaller standard deviation around the average reward accumulation, indicating more reliable and reproducible learning.
  • Bellman Error: The normalized Bellman error converged to a small, non-zero value, indicating that the learned Q-function is a good approximation of the optimal Q-function.

Limitations and Future Work

  • Non-Convexity and Local Optima: The paper acknowledges that the non-convex nature of the problem means convergence is to a stationary point, not necessarily the global optimum. This is a fundamental challenge in this setting.
  • Sample Efficiency: While the method is memory-efficient, it could potentially be improved in terms of sample efficiency, perhaps through mini-batching or variance reduction techniques.
  • Exploration-Exploitation Trade-off: The paper discusses the need for careful tuning of exploration strategies (e.g., p-greedy policies) to balance learning and performance.
  • Future Work: The authors suggest exploring variance reduction and acceleration techniques. They also note the potential for further investigation into the link between their stochastic fixed point iteration and other temporal difference methods. The interpretability of the learned Q-function is highlighted as a valuable aspect for applications in domains like mechanical engineering or econometrics.

Summary updated

BibTeX
@inproceedings{tolstaya2018nonparametric,
  author = {Ekaterina V. Tolstaya and Alec Koppel and Ethan Stump and Alejandro Ribeiro},
  title = {{Nonparametric Stochastic Compositional Gradient Descent for Q-Learning in Continuous Markov Decision Problems}},
  booktitle = {ACC},
  year = {2018},
  doi = {10.23919/acc.2018.8430925},
}
Figure