Robust and Adaptive Temporal-Difference Learning Using An Ensemble of Gaussian Processes

Qin Lu, Georgios B. GiannakisarXiv 2021

Introduction

Temporal-Difference (TD) learning serves as a cornerstone for policy evaluation in reinforcement learning (RL). However, as agents move into continuous or high-dimensional state spaces, the choice of function approximator becomes critical. While neural networks are popular, Gaussian Processes (GPs) offer unique advantages, including non-parametric flexibility and principled uncertainty quantification. Despite these benefits, standard Gaussian Process Temporal-Difference (GPTD) learning is hindered by a cubic computational complexity ($O(t^3)$) relative to the number of samples, rendering it impractical for real-time, long-term applications. This paper presents OS-EGPTD, a framework that achieves linear scalability and adaptive kernel selection through random feature approximation and ensemble learning.

Scaling GPTD via Random Features

The primary bottleneck in GPTD is the inversion of the kernel matrix as the dataset grows. To circumvent this, the authors introduce Online Scalable GPTD (OS-GPTD). By employing Random Features (RF)—specifically random Fourier features for shift-invariant kernels—the method approximates the GP kernel in a lower-dimensional feature space. This transformation allows the value function to be represented as a linear combination of these features.

Consequently, the update rule becomes recursive, similar to Bayesian linear regression, reducing the complexity per timestep to $O(D^2)$, where $D$ is the number of features. This shift ensures that the computational burden remains constant over time, rather than growing with the history of observations. Unlike previous sparsification techniques that discard data to maintain speed, OS-GPTD utilizes all incoming information in an efficient, compressed form.

Adaptive Learning with Ensembles

A persistent challenge in kernel-based methods is the "model selection" problem: choosing the right kernel (e.g., the length scale of a Radial Basis Function) before the data is fully understood. OS-EGPTD addresses this by maintaining an ensemble of OS-GPTD experts. Each expert utilizes a different kernel configuration.

The algorithm employs a Bayesian weighting mechanism, where the influence of each expert is updated online based on its predictive accuracy. This ensemble approach allows the agent to adapt to the underlying structure of the value function on-the-fly, providing a layer of robustness against misspecified models. Because the individual experts can be updated in parallel, the ensemble provides significant expressiveness with minimal additional computational overhead.

Theoretical Analysis

Beyond empirical performance, the authors provide a rigorous theoretical foundation. They establish that OS-GPTD achieves logarithmic regret ($O(\log T)$) concerning the Bellman error. This bound is significant because it holds even in adversarial environments where the standard assumptions of GP generative models might be violated. Furthermore, the paper proves that the average online prediction error for long-term rewards converges to that of the best fixed estimator in hindsight as $T$ approaches infinity, providing strong guarantees for the algorithm's reliability in the limit.

Experimental Evaluation

The proposed methods were tested on two benchmarks: a 50-state Random Walk on a ring and the Puddle World navigation task.

  • Random Walk: This task demonstrated the ensemble's ability to handle high-dimensional continuous features. OS-EGPTD consistently outperformed single-kernel models by effectively weighting the most relevant experts as the agent explored the environment.
  • Puddle World: In this classic 2D task, the scalability of OS-GPTD was put to the test. Compared to Sparse GPTD (SPA-GPTD), which relies on data truncation, OS-GPTD provided comparable accuracy while being significantly faster. CPU time analysis revealed that OS-GPTD operates orders of magnitude faster than its sparse counterparts, confirming its suitability for online RL.

Conclusion

OS-EGPTD represents a significant step forward in making Bayesian reinforcement learning practical. By combining the scalability of random features with the adaptivity of ensemble methods, the authors provide a robust tool for policy evaluation. While the current work focuses on value estimation for fixed policies, the framework's extension to control (Q-learning) and actor-critic architectures remains a promising avenue for future research in complex, continuous control tasks.

Summary updated

BibTeX
@misc{lu2021robust,
  author = {Qin Lu and Georgios B. Giannakis},
  title = {{Robust and Adaptive Temporal-Difference Learning Using An Ensemble of Gaussian Processes}},
  year = {2021},
  eprint = {2112.00882},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.00882},
}
Figure