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

Tobias Jung, Peter Stone

TL;DR

This paper introduces GP-RMAX, a novel reinforcement learning algorithm that significantly improves sample efficiency in continuous domains by combining Gaussian Processes (GPs) for model learning with a grid-based value iteration planner. By leveraging GPs' ability to generalize and quantify uncertainty, GP-RMAX achieves more effective exploration and learns near-optimal policies with substantially fewer interactions than traditional methods.

What Problem Does This Paper Address?

Reinforcement learning (RL) agents learn by interacting with an environment to maximize cumulative rewards. In real-world applications, especially robotics, obtaining these interactions (samples) is costly and time-consuming. Therefore, developing RL algorithms that learn efficiently from a minimal number of samples (low sample complexity) is crucial. This paper focuses on continuous state-space domains with deterministic transitions, which are common in robotics. Existing sample-efficient RL methods often struggle with generalization or require extensive exploration, leading to slow learning. The challenge is to create an agent that can intelligently balance exploration (trying new actions to gain information) and exploitation (using current knowledge to maximize rewards) while rapidly learning an accurate model of the environment.

Methods

The proposed algorithm, GP-RMAX, builds upon the RMAX framework but enhances it for continuous domains. It consists of two intertwined components:

  • Model Learner (Gaussian Processes): Instead of using simpler models that might not generalize well, GP-RMAX employs Gaussian Processes (GPs) to learn the environment's transition dynamics. GPs are non-parametric, meaning they can adapt to complex functions, and importantly, they provide a natural way to estimate the uncertainty of their predictions. This uncertainty estimation is key for guiding exploration. The paper also highlights that GPs can automatically adjust their complexity through Bayesian hyperparameter selection, allowing them to learn accurate models from limited data.
  • Planner (Grid-based Value Iteration): The planner uses the learned model to determine the optimal action. It separates function approximation in the model learner from the interpolation in the planner. The planner solves the Bellman equation using value iteration on a uniform grid. This separation is beneficial because if the transition function is relatively simple, it can be learned accurately with few samples, while the value function, which can be complex, is handled through interpolation on the grid.

A novel aspect is the integration of GP-derived uncertainty into the Bellman update rule. This "optimism in the face of uncertainty" principle is implemented by modifying the standard update to account for the model's uncertainty, encouraging the agent to explore states where the model is less confident.

Datasets

The paper evaluates GP-RMAX on four standard benchmark domains:

  • Mountain Car: A classic problem where an underpowered car needs to build momentum to reach a goal.
  • Inverted Pendulum: Swinging up and stabilizing a single-link inverted pendulum.
  • Bicycle: Balancing a bicycle that rides at a constant speed.
  • Acrobot: Swinging up the tip of the lower link of an underactuated two-link robot.

No new benchmarks were introduced; the focus was on applying the algorithm to existing, well-studied RL problems to demonstrate its sample efficiency compared to established methods.

Key Insights and Ideas

  • GP Uncertainty for Targeted Exploration: The core insight is that Gaussian Processes provide a principled way to quantify model uncertainty. This uncertainty can then be directly used to guide exploration, making it more efficient than random exploration or simple grid-based visitation counts.
  • Separation of Model Learning and Planning: By decoupling the complex function approximation of the model from the interpolation required for planning, the algorithm can leverage the strengths of each component. GPs excel at learning from sparse data, and grid-based methods are effective for planning once a reasonable model is available.
  • Generalization is Key: GPs' ability to generalize from observed data to unseen states is crucial for sample efficiency. This allows the agent to infer information about large parts of the state space even with limited direct experience.
  • Continuous Uncertainty vs. Binary Uncertainty: The paper extends the RMAX idea of "known" vs. "unknown" states to a continuous uncertainty measure derived from GPs, leading to a more nuanced and gradual exploration strategy.

Key Results

GP-RMAX demonstrated strong performance across the benchmark domains:

  • High Sample Efficiency: The learning curves show that GP-RMAX learns significantly faster than the standard Sarsa(λ) algorithm with tile coding, achieving near-optimal performance with far fewer episodes (samples). For instance, in the Mountain Car domain, GP-RMAX reaches its optimal performance within 100 episodes, while Sarsa(λ) requires over 1000.
  • Near-Optimal Performance: In most domains, GP-RMAX achieved performance very close to the pre-computed optimal policy.
  • Comparison of Exploration Strategies: The paper compared different exploration strategies within GP-RMAX (GP-RMAX-EXP, GP-RMAX-GRID, GP-RMAX-NOEXP). GP-RMAX-EXP, which uses GP uncertainty for exploration, generally performed best or comparably to other variants, validating the effectiveness of GP-driven exploration.

Limitations and Future Work

  • Curse of Dimensionality: The primary limitation acknowledged is the reliance on grid-based value iteration for planning. This approach suffers from the "curse of dimensionality," limiting its scalability to problems with very high-dimensional state spaces. While more advanced discretization methods exist, they don't fully overcome this issue.
  • Simplifying Assumptions: The paper makes simplifying assumptions of deterministic state transitions and known reward functions. While these are not fundamental limitations and could be addressed, they simplify the current implementation.
  • Future Work: The authors suggest exploring nonlinear function approximation for the planner to overcome the curse of dimensionality. Additionally, addressing the simplifying assumptions (stochastic transitions, learning reward functions) would extend the algorithm's applicability.

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