NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

No-Regret Thompson Sampling for Finite-Horizon Markov Decision Processes with Gaussian Processes

Jasmine Bayrooti, Sattar Vakili, Amanda Prorok, Carl Henrik Ek

Abstract

Thompson Sampling (TS) is a widely utilized exploration strategy in reinforcement learning (RL), yet its theoretical foundations in continuous-state environments have historically remained underdeveloped compared to its empirical performance. This paper addresses this gap by establishing a sublinear regret bound for Thompson Sampling in finite-horizon Markov Decision Processes (MDPs) using multi-output Gaussian Processes (GPs). By developing novel mathematical tools to handle the recursive nature of value functions and correlated uncertainty across state dimensions, the authors provide a rigorous framework for understanding exploration under structural GP assumptions.

Introduction

In sequential decision-making, agents must navigate the fundamental trade-off between exploration—gathering information about the environment—and exploitation—maximizing rewards based on current knowledge. Thompson Sampling offers a principled Bayesian approach to this challenge: an agent samples a model from its posterior distribution and acts optimally according to that sample. While TS has proven successful in multi-armed bandits and discrete RL, establishing "no-regret" guarantees in continuous-state MDPs is complex. Existing theories often rely on restrictive assumptions such as linear dynamics or discrete grids, which fail to capture the nuances of complex, continuous environments. This research provides a theoretical breakthrough by proving regret bounds for TS in continuous MDPs without such limiting structural constraints.

Methodology: The RL-GPS Algorithm

The authors analyze the RL-GPS (Reinforcement Learning with GP Sampling) algorithm. The framework jointly models the environment's reward function $R$ and transition dynamics $f$ using a multi-output Gaussian Process.

At the beginning of each episode $k$, the agent:

  1. Samples: Draws a realization of the reward and transition functions from the current GP posterior.
  2. Plans: Computes the optimal policy for the sampled environment using backward induction.
  3. Executes: Follows the computed policy for the duration of the finite horizon $H$, collecting new data to update the GP posterior.

Mathematical Innovations

Proving the convergence of RL-GPS requires overcoming the "recursive trap" of RL: the value of a state depends on the value of subsequent states, causing uncertainty to compound non-linearly. The authors introduce two primary tools:

  • Confidence Bounds for Composed GPs: Since a GP passed through another GP does not maintain a Gaussian distribution, the authors derived new high-probability bounds for compositional functions to control error propagation through Bellman updates.
  • Multi-output Elliptical Potential Lemma: This tool tracks correlated uncertainty across multiple state dimensions simultaneously, preventing the regret bound from scaling poorly with the dimensionality of the state space.

Experimental Framework

To validate the theoretical findings, the authors utilized synthetic continuous-state environments where the underlying dynamics could be strictly controlled:

  • GP-Sampled MDPs: Environments generated directly from GP priors with varying smoothness parameters to test the limits of the regret bounds.
  • Sparse Navigation Tasks: 2D continuous grid worlds, including free-movement and maze-constrained tasks, where rewards are only available at a specific goal location, testing the agent's ability to explore efficiently in the absence of dense feedback.

Key Insights and Results

Theoretical No-Regret Guarantee

The primary result is a proven regret bound of $\tilde{O}(\sqrt{KH\Gamma(KH)})$ over $K$ episodes. Here, $\Gamma$ represents the maximum information gain associated with the GP kernel. Because this bound is sublinear with respect to time, it demonstrates that the RL-GPS algorithm is "no-regret," meaning the agent's performance asymptotically approaches the optimal policy.

Kernel Smoothness and Correlation

Empirical results confirmed that the choice of kernel is critical. Smoother kernels, such as the Radial Basis Function (RBF), facilitate faster learning in smooth environments but are prone to failure in "rougher" or sparse environments due to model misspecification. In these cases, Matérn kernels proved more robust. Furthermore, the use of multi-output GPs—specifically the Linear Model of Coregionalization—allowed the agent to exploit correlations between state dimensions, significantly reducing regret compared to models that treat dimensions independently.

Conclusion and Limitations

This work provides a vital theoretical bridge for Thompson Sampling in continuous RL. However, the authors note specific limitations: the proofs assume that the true environment dynamics are jointly Gaussian and that value functions remain twice differentiable with bounded gradients. These assumptions may not hold in environments with sharp discontinuities, such as physical collisions with obstacles. Future research directions include extending these no-regret guarantees to infinite-horizon settings and relaxing the smoothness requirements to accommodate more rugged environment dynamics.

Summary updated

BibTeX
@inproceedings{bayrooti2025no,
  author = {Jasmine Bayrooti and Sattar Vakili and Amanda Prorok and Carl Henrik Ek},
  title = {{No-Regret Thompson Sampling for Finite-Horizon Markov Decision Processes with Gaussian Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=1bb974Q4jJ},
}
Figure