Gaussian Processes for Sample Efficient Reinforcement Learning with RMAX-like Exploration

Tobias Jung, Peter Stone

Introduction

Reinforcement learning (RL) has achieved remarkable success in simulated environments where agents can interact with their surroundings millions of times. However, applying these techniques to physical systems like robotics presents a significant challenge: sample efficiency. In the real world, every interaction takes time and incurs physical wear. This paper introduces GP-RMAX, a model-based RL algorithm designed to achieve near-optimal control in continuous environments with minimal physical samples.

The GP-RMAX Framework

The core innovation of GP-RMAX lies in its modular approach to the RL problem, separating the learning of environmental physics from the determination of optimal behavior. By leveraging the strengths of Bayesian modeling and dynamic programming, the agent can squeeze maximum information out of every transition.

The GP-RMAX architecture showing the interaction between the model-learner, planner, and environment.

Model Learning with Gaussian Processes

Instead of directly learning a policy (model-free), the agent learns a transition function $f(x, a)$ that predicts the next state given the current state and action. GP-RMAX utilizes Gaussian Process (GP) regression for this task. GPs are non-parametric Bayesian models that provide not just a mean prediction, but also a mathematically grounded measure of uncertainty (variance). This uncertainty is crucial for directed exploration.

Planning and Interpolation

Once a model is learned, the agent performs planning using Value Iteration. Because the state space is continuous, the agent maintains a grid of values. When the model predicts a transition to a point $z$ that does not fall exactly on a grid node, the agent uses interpolation to estimate the value and update its policy.

Illustration of a state transition landing within a grid cell, requiring value interpolation for planning.

RMAX-style Exploration

To ensure the agent explores the environment effectively, GP-RMAX employs the "optimism in the face of uncertainty" principle. If the GP model's uncertainty for a specific state-action pair is high, the planner treats that state as if it offers the maximum possible reward ($V_{MAX}$). This "lures" the agent toward unknown regions. As more data is gathered and the GP's uncertainty drops, the agent naturally shifts from exploration to exploitation of its learned knowledge.

Experimental Evaluation

The authors tested GP-RMAX on several continuous control benchmarks, including Mountain Car, Inverted Pendulum, and the 4-dimensional Bicycle Balancing and Acrobot tasks. These represent standard stress tests for RL, ranging from simple 2D problems to complex 4D dynamics.

Key results include:

  • Mountain Car: GP-RMAX reached near-optimal performance in fewer than 10 episodes, while standard model-free methods like Sarsa($\lambda$) took hundreds.
  • Bicycle Balancing: The agent mastered this 4D task in roughly 20 episodes. Sarsa required over 100 episodes just to prevent the bike from falling immediately.
  • Performance Ceiling: In almost all cases, GP-RMAX converged to a behavior very close to the theoretical optimal, whereas model-free methods often plateaued at sub-optimal levels.

Key Insights

A major advantage of using GPs is supervised uncertainty. Unlike density-based exploration methods that simply count visits, GPs assess uncertainty based on the underlying complexity of the function. If the environment's physics are simple and linear, the GP becomes "certain" very quickly, allowing the agent to generalize across the state space rapidly and avoid redundant exploration.

Limitations and Future Directions

While highly efficient, GP-RMAX faces the "curse of dimensionality." The reliance on a uniform grid for planning means that computational requirements grow exponentially with the number of state dimensions. Furthermore, the current implementation assumes deterministic transitions and a known reward function. Future research may explore more scalable planning techniques, such as sparse grids or Monte Carlo Tree Search, to extend these benefits to higher-dimensional robotic systems with stochastic dynamics.

Summary updated

BibTeX
@inproceedings{jung2010gaussian,
  author = {Tobias Jung and Peter Stone},
  title = {{Gaussian Processes for Sample Efficient Reinforcement Learning with RMAX-like Exploration}},
  booktitle = {ECML/PKDD},
  year = {2010},
  doi = {10.1007/978-3-642-15880-3\_44},
}
Figure