Abstract
This paper introduces an extension of Gaussian Process Dynamic Programming (GPDP) to reinforcement learning scenarios where system dynamics are unknown. By leveraging Gaussian Processes (GPs) to model both the transition dynamics and the value functions, the proposed framework effectively handles continuous state and action spaces. Evaluation on an underpowered pendulum swing-up task demonstrates that the model-based GPDP approach achieves performance within 2% of a perfect-knowledge benchmark, showcasing high precision in complex, continuous control environments.
Introduction
Reinforcement Learning (RL) agents typically learn optimal policies through environmental interaction. While Dynamic Programming (DP) offers a robust theoretical framework for this, it is often hindered by the "curse of dimensionality," particularly in continuous state and action spaces. Standard DP requires discretization, which can lead to inaccuracies or computational intractability. Existing continuous solutions often rely on rigid parametric models or discrete action sets, struggling with complex, noisy dynamics. This research addresses the challenge of learning optimal control in fully continuous environments with unknown transition physics.
Methods
The authors propose a model-based RL approach utilizing Gaussian Processes (GPs), which provide non-parametric Bayesian predictions along with uncertainty estimates.
Learning Dynamics and GPDP
The agent constructs a Dynamics GP ($GP_f$) from observed trajectories to predict the next state $x_{k+1}$ based on the current state and action. In the GPDP algorithm, both the value function ($V$) and quality function ($Q$) are modeled as GPs. To maintain computational efficiency, $Q$ is modeled independently across states. Bayesian Monte Carlo integration is employed to propagate uncertainty during future reward calculations.
Policy Mapping
To represent sharp discontinuities common in optimal control (e.g., "bang-bang" control), the authors use a "switching" policy. Two separate GP experts—one for positive and one for negative control—are trained, with a binary classifier determining the appropriate expert for a given state. This allows the model to capture sharp boundaries that a single smooth GP would otherwise blur.
Results
The framework was evaluated on a simulated underpowered pendulum swing-up task. The dynamics model was trained on only 400 points, and results were compared against a "nearly optimal" discrete DP solution calculated using a massive grid of $7.5 \times 10^7$ states in a fully known environment.
Performance and Trajectory Alignment
The GPDP controller demonstrated remarkable accuracy, with the learned dynamics model achieving an absolute error below 0.04. In a 5-second simulation, the GPDP controller's cumulative loss was only 1.66% higher than the benchmark. As shown in the trajectories below, the GPDP agent's performance closely mirrors the optimal benchmark in terms of angle, angular velocity, and control effort.
Conclusion and Future Work
The use of GPs allows the model to incorporate uncertainty, which is crucial for preventing the compounding of errors in model-based RL. While the switching policy effectively captures sharp control boundaries, the $O(N^3)$ scaling of GPs remains a challenge for larger datasets. Future research will explore scaling to higher-dimensional systems and more sophisticated exploration strategies during the initial data collection phase.
Summary updated